Date: Saturday, August 21, 2021 @ 04:56:13 Author: felixonmars Revision: 1004056
archrelease: copy trunk to community-any Added: python-testfixtures/repos/community-any/PKGBUILD (from rev 1004055, python-testfixtures/trunk/PKGBUILD) Deleted: python-testfixtures/repos/community-any/PKGBUILD ----------+ PKGBUILD | 62 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-08-21 04:56:05 UTC (rev 1004055) +++ PKGBUILD 2021-08-21 04:56:13 UTC (rev 1004056) @@ -1,31 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-testfixtures -pkgver=6.18.0 -pkgrel=1 -pkgdesc="A collection of helpers and mock objects that are useful when writing unit tests or doc tests" -arch=('any') -license=('MIT') -url="https://github.com/Simplistix/testfixtures" -depends=('python') -makedepends=('python-setuptools') -checkdepends=('python-pytest-runner' 'python-zope-component' 'python-sybil' - 'python-pytest-django' 'python-django' 'python-twisted') -source=("$pkgname-$pkgver.tar.gz::https://github.com/Simplistix/testfixtures/archive/$pkgver.tar.gz") -sha512sums=('0a6d2105405d1a97df06765479e1cbce042779240353a33accf748b69c8d0011ea0c2dcb3c6f568aac0436608cd84a7293987110723dcf4e61c6836e1bf95b8a') - -build() { - cd "$srcdir"/testfixtures-$pkgver - python setup.py build -} - -check() { - cd "$srcdir"/testfixtures-$pkgver - python setup.py pytest --addopts "--ignore=build" -} - -package() { - cd testfixtures-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 - install -D -m644 docs/license.txt "$pkgdir"/usr/share/licenses/$pkgname/license.txt -} Copied: python-testfixtures/repos/community-any/PKGBUILD (from rev 1004055, python-testfixtures/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-08-21 04:56:13 UTC (rev 1004056) @@ -0,0 +1,31 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-testfixtures +pkgver=6.18.1 +pkgrel=1 +pkgdesc="A collection of helpers and mock objects that are useful when writing unit tests or doc tests" +arch=('any') +license=('MIT') +url="https://github.com/Simplistix/testfixtures" +depends=('python') +makedepends=('python-setuptools') +checkdepends=('python-pytest-runner' 'python-zope-component' 'python-sybil' + 'python-pytest-django' 'python-django' 'python-twisted') +source=("$pkgname-$pkgver.tar.gz::https://github.com/Simplistix/testfixtures/archive/$pkgver.tar.gz") +sha512sums=('3f6d5442dc61ea335c20226598d6bbc695e544abc02f10ed06f29ec3839f89a3e0a474b3c120ba77ecdf4d008b149b32751b98d1956a17ebe2d3d7fb7b6ba690') + +build() { + cd "$srcdir"/testfixtures-$pkgver + python setup.py build +} + +check() { + cd "$srcdir"/testfixtures-$pkgver + python setup.py pytest --addopts "--ignore=build" +} + +package() { + cd testfixtures-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -D -m644 docs/license.txt "$pkgdir"/usr/share/licenses/$pkgname/license.txt +}