ayaports/testing/py3-wand/APKBUILD

45 lines
946 B
Text
Raw Normal View History

2023-01-10 19:16:39 +00:00
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
2021-11-30 21:44:44 +00:00
pkgname=py3-wand
2023-01-10 19:16:39 +00:00
_pkgname=wand
2023-04-01 13:18:47 +00:00
pkgver=0.6.11
2021-11-30 21:44:44 +00:00
pkgrel=0
pkgdesc="Ctypes-based simple MagickWand API binding for Python"
url="https://github.com/emcconville/wand"
2023-08-30 17:55:59 +00:00
license="MIT"
arch="noarch"
depends="
imagemagick
libxml2
"
makedepends="
py3-setuptools
py3-gpep517
py3-wheel
py3-installer
"
2021-11-30 21:44:44 +00:00
source="$pkgname-$pkgver.tar.gz::https://github.com/emcconville/wand/archive/$pkgver.tar.gz"
2023-08-30 17:55:59 +00:00
options="!check" # Failing test units
2023-01-10 19:16:39 +00:00
builddir="$srcdir"/$_pkgname-$pkgver
2023-08-30 17:55:59 +00:00
subpackages="$pkgname-pyc"
2021-11-30 21:44:44 +00:00
build() {
2023-08-30 17:55:59 +00:00
gpep517 build-wheel \
--wheel-dir dist \
--output-fd 3 3>&1 >&2
}
check() {
pytest -v
2021-11-30 21:44:44 +00:00
}
package() {
2023-08-30 17:55:59 +00:00
python3 -m installer -d "$pkgdir" \
dist/*.whl
2021-11-30 21:44:44 +00:00
}
2023-08-30 17:55:59 +00:00
2023-04-01 13:18:47 +00:00
sha512sums="
996073d1b22fdd7924801114b24d803eb15e94c8980800a4ddb58110f72f9495aebc4de227db3a07af9c754a96c369c9ba7c7201442933ba653df1eefb74165f py3-wand-0.6.11.tar.gz
"