aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorGalen Abell <galen@galenabell.com>2020-04-18 10:53:12 -0400
committerLeo <thinkabit.ukim@gmail.com>2020-04-18 20:00:44 +0000
commit75b77b2b09367e66bdb8c4447ca29fdd347a1c61 (patch)
tree334c28b26e98687d93f8038b8db06d5ce795a544 /testing
parentbbae666c2421fe4d7515499a8f94b4a7df1d003f (diff)
downloadaports-75b77b2b09367e66bdb8c4447ca29fdd347a1c61.tar.bz2
aports-75b77b2b09367e66bdb8c4447ca29fdd347a1c61.tar.xz
testing/py3-pysonic: new aport
https://github.com/crustymonkey/py-sonic Python library to wrap the Subsonic REST API testing/
Diffstat (limited to 'testing')
-rw-r--r--testing/py3-pysonic/APKBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/py3-pysonic/APKBUILD b/testing/py3-pysonic/APKBUILD
new file mode 100644
index 0000000000..c4c61733c3
--- /dev/null
+++ b/testing/py3-pysonic/APKBUILD
@@ -0,0 +1,25 @@
+# Contributor: Galen Abell <galen@galenabell.com>
+# Maintainer: Galen Abell <galen@galenabell.com>
+pkgname=py3-pysonic
+_pyname=py-sonic
+pkgver=0.7.7
+pkgrel=0
+pkgdesc="Python library to wrap the Subsonic REST API"
+url="https://github.com/crustymonkey/py-sonic"
+arch="noarch"
+license="GPL-3.0-only"
+options="!check" # no tests
+depends="python3"
+makedepends="py3-setuptools"
+source="https://files.pythonhosted.org/packages/source/${_pyname%${_pyname#?}}/$_pyname/$_pyname-$pkgver.tar.gz"
+builddir="$srcdir/$_pyname-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="45731677ed34d238542f8f401d993e8227b86dd9024e5822cee27eadcee598bc3caf232d97ff970b250e38e5f41ce27884b2e4cba3f915b9764603fc7b45375d py-sonic-0.7.7.tar.gz"