mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-07 09:44:29 +02:00
testing/py3-itunespy: build with gpep517
This commit is contained in:
parent
8b3c7fc9b2
commit
d658d99234
1 changed files with 7 additions and 4 deletions
|
@ -3,24 +3,27 @@
|
|||
pkgname=py3-itunespy
|
||||
_pkgname=itunespy
|
||||
pkgver=1.6
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="Library to fetch data from the iTunes Store API"
|
||||
url="https://github.com/sleepyfran/itunespy"
|
||||
arch="noarch"
|
||||
license="MIT"
|
||||
depends="py3-requests py3-pycountry"
|
||||
makedepends="py3-setuptools"
|
||||
makedepends="py3-setuptools py3-gpep517"
|
||||
options="!check" # no test suite
|
||||
subpackages="$pkgname-pyc"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/sleepyfran/itunespy/archive/$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgname-$pkgver"
|
||||
|
||||
build() {
|
||||
python3 setup.py build
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir .dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 setup.py install --skip-build --root="$pkgdir"
|
||||
gpep517 install-wheel --destdir "$pkgdir" \
|
||||
.dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue