mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
testing/py3-imdbpy: build with gpep517
This commit is contained in:
parent
b33a60ab28
commit
3ee5389dbf
@ -1,24 +1,27 @@
|
||||
# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
|
||||
pkgname=py3-imdbpy
|
||||
pkgver=2021.4.18
|
||||
pkgrel=4
|
||||
pkgrel=5
|
||||
pkgdesc="Python bindings for the Internet Movie Database (IMDb)"
|
||||
url="https://imdbpy.sourceforge.io/"
|
||||
arch="noarch"
|
||||
license="GPL-2.0-or-later"
|
||||
depends="py3-lxml py3-sqlalchemy"
|
||||
makedepends="py3-setuptools"
|
||||
makedepends="py3-setuptools py3-gpep517"
|
||||
subpackages="$pkgname-pyc"
|
||||
source="https://files.pythonhosted.org/packages/source/I/IMDbPY/IMDbPY-$pkgver.tar.gz"
|
||||
options="!check" # Disable tests for now: https://github.com/alberanid/imdbpy/issues/240
|
||||
builddir="$srcdir/IMDbPY-$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…
Reference in New Issue
Block a user