Date: Tuesday, August 30, 2022 @ 10:34:08 Author: felixonmars Revision: 1288559
archrelease: copy trunk to community-any Added: python-wand/repos/community-any/PKGBUILD (from rev 1288558, python-wand/trunk/PKGBUILD) Deleted: python-wand/repos/community-any/PKGBUILD ----------+ PKGBUILD | 63 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 32 insertions(+), 31 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-08-30 10:33:53 UTC (rev 1288558) +++ PKGBUILD 2022-08-30 10:34:08 UTC (rev 1288559) @@ -1,31 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-wand -pkgver=0.6.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=('35877d615b4dace15833ff33638969b7917bf3f464e041d2ec0b8b32a8cfe5842dff3af13344a12a24f2d17773ca067f9e9e2d9fdd759669428326c5f81cd2a9') - -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 -} Copied: python-wand/repos/community-any/PKGBUILD (from rev 1288558, python-wand/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-08-30 10:34:08 UTC (rev 1288559) @@ -0,0 +1,32 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-wand +pkgver=0.6.10 +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' '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=('57c2072c2429d7b115a24b5a04ea3bec122c265958827233614ce65c86f9352d266d85fad075a5fec6a860049c20cd1634e55457eb17e2511a04ba8fc52ffd47') + +build() { + cd wand-$pkgver + python setup.py build +} + +check() { + cd wand-$pkgver + pytest --deselect tests/image_methods_test.py::test_forward_fourier_transform \ + --deselect tests/image_methods_test.py::test_inverse_fourier_transform +} + +package() { + cd wand-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}