ayaports/testing/py3-wand/APKBUILD

50 lines
999 B
Text
Raw Permalink Normal View History

2023-01-10 14:16:39 -05: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 14:16:39 -05:00
_pkgname=wand
2023-11-26 10:32:38 -05:00
pkgver=0.6.13
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 13:55:59 -04: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 13:55:59 -04:00
options="!check" # Failing test units
2023-01-10 14:16:39 -05:00
builddir="$srcdir"/$_pkgname-$pkgver
2023-08-30 13:55:59 -04:00
subpackages="$pkgname-pyc"
2021-11-30 21:44:44 +00:00
2023-11-26 10:32:38 -05:00
prepare() {
default_prepare
rm pyproject.toml
}
2021-11-30 21:44:44 +00:00
build() {
2023-08-30 13:55:59 -04:00
gpep517 build-wheel \
2023-11-26 10:32:38 -05:00
--wheel-dir .dist \
2023-08-30 13:55:59 -04:00
--output-fd 3 3>&1 >&2
}
check() {
pytest -v
2021-11-30 21:44:44 +00:00
}
package() {
2023-08-30 13:55:59 -04:00
python3 -m installer -d "$pkgdir" \
2023-11-26 10:32:38 -05:00
.dist/*.whl
2021-11-30 21:44:44 +00:00
}
2023-08-30 13:55:59 -04:00
2023-04-01 09:18:47 -04:00
sha512sums="
2023-11-26 10:32:38 -05:00
4551ba719b6bb90bb6818e9f0fcb9e35e41c5e49de17b565f4b8b148b03a25eff4033ed9d49ebc46f2e9fbfc83ae976f817fe595a11a4704b12c77954506ffc0 py3-wand-0.6.13.tar.gz
2023-04-01 09:18:47 -04:00
"