aports/testing/py3-imdbpy/APKBUILD
2024-08-08 20:15:09 +02:00

29 lines
878 B
Text

# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
pkgname=py3-imdbpy
pkgver=2021.4.18
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 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() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() {
gpep517 install-wheel --destdir "$pkgdir" \
.dist/*.whl
}
sha512sums="
512e459f18018b0439ba7162a85b9492d9bb58e7d360258c228e7437ac971c6957b22017561437c7922dbe3251a9150e99d9590b099e72db8034b0cfe13841fa IMDbPY-2021.4.18.tar.gz
"