Date: Saturday, November 5, 2022 @ 19:40:57 Author: felixonmars Revision: 1342412
archrelease: copy trunk to community-any Added: python-testfixtures/repos/community-any/PKGBUILD (from rev 1342411, python-testfixtures/trunk/PKGBUILD) Deleted: python-testfixtures/repos/community-any/PKGBUILD ----------+ PKGBUILD | 62 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-11-05 19:40:48 UTC (rev 1342411) +++ PKGBUILD 2022-11-05 19:40:57 UTC (rev 1342412) @@ -1,31 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-testfixtures -pkgver=7.0.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=("https://github.com/Simplistix/testfixtures/archive/$pkgver/$pkgname-$pkgver.tar.gz") -sha512sums=('f5de315fed9e15aa9b3a48c5d5a84d2fb9b39316da67c146900044e9d09e0d9885e7f7d1a9cc6718dc02e22cbac98585f660a400fa310275e266b84eeefc4674') - -build() { - cd testfixtures-$pkgver - python setup.py build -} - -check() { - cd testfixtures-$pkgver - python setup.py pytest --addopts "--ignore=build" -} - -package() { - cd testfixtures-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 docs/license.txt -t "$pkgdir"/usr/share/licenses/$pkgname/ -} Copied: python-testfixtures/repos/community-any/PKGBUILD (from rev 1342411, python-testfixtures/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-11-05 19:40:57 UTC (rev 1342412) @@ -0,0 +1,31 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-testfixtures +pkgver=7.0.3 +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=("https://github.com/Simplistix/testfixtures/archive/$pkgver/$pkgname-$pkgver.tar.gz") +sha512sums=('9206de71820798d99cfa94f58dfabccb0e429254db46eaacfd67e13b170df84ba324811da689925f8c2f678d3f65eb688b4c473f01e638a2f7d815e94d237c2c') + +build() { + cd testfixtures-$pkgver + python setup.py build +} + +check() { + cd testfixtures-$pkgver + python setup.py pytest --addopts "--ignore=build" +} + +package() { + cd testfixtures-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 docs/license.txt -t "$pkgdir"/usr/share/licenses/$pkgname/ +}