Date: Friday, May 15, 2020 @ 18:13:44 Author: felixonmars Revision: 628061
archrelease: copy trunk to community-any Added: python-wand/repos/community-any/PKGBUILD (from rev 628060, python-wand/trunk/PKGBUILD) Deleted: python-wand/repos/community-any/PKGBUILD ----------+ PKGBUILD | 64 +++++++++++++++++++++++++++++-------------------------------- 1 file changed, 31 insertions(+), 33 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-05-15 18:13:34 UTC (rev 628060) +++ PKGBUILD 2020-05-15 18:13:44 UTC (rev 628061) @@ -1,33 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-wand -pkgver=0.5.9 -pkgrel=1 -pkgdesc="Ctypes-based simple MagickWand API binding for Python" -url="https://github.com/emcconville/wand" -license=('MIT') -arch=('any') -depends=('imagemagick' 'libxml2' 'python') -makedepends=('python-setuptools') -checkdepends=('python-pytest-runner' 'python-pytest-xdist' 'python-memory-profiler' 'python-psutil' - 'ghostscript' 'librsvg') -source=("$pkgname-$pkgver.tar.gz::https://github.com/emcconville/wand/archive/$pkgver.tar.gz") -sha512sums=('109fc570550c84c7648318c8d71d61ea105250928a50ad30f349948d12a70824616bd463a75f871f27a466a6bba52a7385a6f96130358bd293b8bdae5186c393') - -build() { - cd wand-$pkgver - python setup.py build -} - -check() { - cd wand-$pkgver - python setup.py pytest || warning "Tests failed" -} - -package() { - cd wand-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE - - rm "$pkgdir"/usr/README.rst -} Copied: python-wand/repos/community-any/PKGBUILD (from rev 628060, python-wand/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-05-15 18:13:44 UTC (rev 628061) @@ -0,0 +1,31 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-wand +pkgver=0.6.0 +pkgrel=1 +pkgdesc="Ctypes-based simple MagickWand API binding for Python" +url="https://github.com/emcconville/wand" +license=('MIT') +arch=('any') +depends=('imagemagick' 'libxml2' 'python') +makedepends=('python-setuptools') +checkdepends=('python-pytest-runner' 'python-pytest-xdist' 'python-memory-profiler' 'python-psutil' + 'ghostscript' 'librsvg') +source=("$pkgname-$pkgver.tar.gz::https://github.com/emcconville/wand/archive/$pkgver.tar.gz") +sha512sums=('fc4bf2a105c9c8c00b55b0a016db53879fb78dd496fe67b2cd153eea46eec656a5e34deff46c0f12dc3652290cddb06e75b5db61ea2b9b0fde48c53601b94f76') + +build() { + cd wand-$pkgver + python setup.py build +} + +check() { + cd wand-$pkgver + python setup.py pytest || : +} + +package() { + cd wand-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}