Date: Tuesday, February 18, 2020 @ 18:44:10 Author: felixonmars Revision: 576102
archrelease: copy trunk to community-any Added: python-testfixtures/repos/community-any/PKGBUILD (from rev 576101, 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-18 18:43:54 UTC (rev 576101) +++ PKGBUILD 2020-02-18 18:44:10 UTC (rev 576102) @@ -1,31 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-testfixtures -pkgver=6.11.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=('364f6b0794e08aef5598c76ca797a0b3c062e0c660c6b730040a068c19c5e412957218571e44f5dc2a2d25b17b061af1dfa2bb682420a9f1d481fb8efb625a9c') - -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 576101, python-testfixtures/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-02-18 18:44:10 UTC (rev 576102) @@ -0,0 +1,31 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-testfixtures +pkgver=6.12.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=('ba9a57c07edcb33bdecc33f4587f096351d37ed2e32b95b9b13ff4c170a0585a22533db36362fb164e9c88ef8049973fce76dad991e591cc0618a7e8171a88db') + +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 +}