ayaports/user/py3-wand/APKBUILD

26 lines
799 B
Text
Raw Normal View History

2021-11-30 21:44:44 +00:00
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=py3-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
build() {
cd $srcdir/wand-$pkgver
python3 setup.py build
}
package() {
cd $srcdir/wand-$pkgver
python3 setup.py install --root="$pkgdir" --optimize=1
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
sha512sums="453f611fe33b0e5490ea2d3a472dc3f90bae8f123c3dc801ab80c74a12744ee58bf995eb34c0b1233dadb7d6eba864a107f10177d2b1dff325ed94115973b815 py3-wand-0.6.5.tar.gz"