Date: Friday, January 15, 2021 @ 04:56:27 Author: felixonmars Revision: 820938
archrelease: copy trunk to community-any Added: python-testfixtures/repos/community-any/PKGBUILD (from rev 820937, python-testfixtures/trunk/PKGBUILD) Deleted: python-testfixtures/repos/community-any/PKGBUILD ----------+ PKGBUILD | 62 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-01-15 04:56:08 UTC (rev 820937) +++ PKGBUILD 2021-01-15 04:56:27 UTC (rev 820938) @@ -1,31 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-testfixtures -pkgver=6.17.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=('46723361a53511eb4d1739196d46aeaee72993ce2446049374051a5431ea42341b1ebb3daff04ac9b02343017a47335484323cd602aa1e79f4d183522a4f488a') - -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 820937, python-testfixtures/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-01-15 04:56:27 UTC (rev 820938) @@ -0,0 +1,31 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-testfixtures +pkgver=6.17.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=('6424f813926516fd90693ac7ecf39a30c71e19b02965c6c7e5c23971555dc8f18a6f09dd419d6efea7bb1e35de1234684b10358ba25fcaa7ba191e9f7aa5c933') + +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 +}