Date: Friday, October 9, 2020 @ 09:13:38 Author: felixonmars Revision: 722280
archrelease: copy trunk to community-any Added: python-testfixtures/repos/community-any/PKGBUILD (from rev 722279, python-testfixtures/trunk/PKGBUILD) Deleted: python-testfixtures/repos/community-any/PKGBUILD ----------+ PKGBUILD | 62 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-10-09 09:13:29 UTC (rev 722279) +++ PKGBUILD 2020-10-09 09:13:38 UTC (rev 722280) @@ -1,31 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-testfixtures -pkgver=6.14.2 -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=('19eee4a2a898e272818fd144b5ae0aac997bdb116d02f16a52ca509998c66ca330ae44784086623d88f2a2a9e76418d8934e511a26026b5baf15db860314465f') - -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 722279, python-testfixtures/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-10-09 09:13:38 UTC (rev 722280) @@ -0,0 +1,31 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-testfixtures +pkgver=6.15.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=('67d90791c5f18e16963b770a1572a394657b7b5fd6c5e551f21f905e0ad07f6832e16ae9510b73e3e36553814fa9c2d58ea75d673f2ad587cf45cb6f32cb8155') + +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 +}