Date: Friday, February 21, 2020 @ 13:39:15 Author: felixonmars Revision: 577527
archrelease: copy trunk to community-any Added: python-testfixtures/repos/community-any/PKGBUILD (from rev 577526, python-testfixtures/trunk/PKGBUILD) Deleted: python-testfixtures/repos/community-any/PKGBUILD ----------+ PKGBUILD | 62 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-02-21 13:38:59 UTC (rev 577526) +++ PKGBUILD 2020-02-21 13:39:15 UTC (rev 577527) @@ -1,31 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-testfixtures -pkgver=6.13.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=('3079f11357e44bcbf6d3fd58db522125aa7a78c049421627cc16560984b95cfdca5b68bd6cc1cf60ff98b30b6d74ef4b88aa4a0579bebe9806bfa2625635502c') - -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 577526, python-testfixtures/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-02-21 13:39:15 UTC (rev 577527) @@ -0,0 +1,31 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-testfixtures +pkgver=6.13.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=('43f93f3f21fa7ac0ff8c75c4c6464e04a8bccd33bbd7e53e107319fa485a8acb5c9afd1fc0afb0c245b2410e6fadd2cc7e6b6e7a82030ca7d3077753768577ba') + +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 +}