mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 14:26:38 +02:00
30 lines
845 B
Text
30 lines
845 B
Text
# Contributor: Galen Abell <galen@galenabell.com>
|
|
# Maintainer: Galen Abell <galen@galenabell.com>
|
|
pkgname=py3-pysonic
|
|
_pyname=py-sonic
|
|
pkgver=1.0.2
|
|
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
|
|
makedepends="py3-gpep517 py3-setuptools py3-wheel"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://files.pythonhosted.org/packages/source/p/$_pyname/$_pyname-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pyname-$pkgver"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
1ad099d6ed9064cbfc238f4177d847d2cb47e2506923e0f3e77fa7c516c07ac939f672341aa1fb87b5b89da19366ab25926117c880d4c8405beb5a7752e155e7 py-sonic-1.0.2.tar.gz
|
|
"
|