ayaports/user/py3-wand/APKBUILD

25 lines
805 B
Text

# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=py3-wand
_pkgname=wand
pkgver=0.6.5
pkgrel=0
pkgdesc="Ctypes-based simple MagickWand API binding for Python"
url="https://github.com/emcconville/wand"
license='MIT'
arch='noarch'
depends='imagemagick libxml2 python3'
makedepends='py3-setuptools'
source="$pkgname-$pkgver.tar.gz::https://github.com/emcconville/wand/archive/$pkgver.tar.gz"
options="!check" # No testsuite
builddir="$srcdir"/$_pkgname-$pkgver
build() {
python3 setup.py build
}
package() {
python3 setup.py install --root="$pkgdir" --optimize=1
}
sha512sums="453f611fe33b0e5490ea2d3a472dc3f90bae8f123c3dc801ab80c74a12744ee58bf995eb34c0b1233dadb7d6eba864a107f10177d2b1dff325ed94115973b815 py3-wand-0.6.5.tar.gz"