Date: Wednesday, March 9, 2022 @ 22:28:25 Author: felixonmars Revision: 1145821
archrelease: copy trunk to community-any Added: python-testfixtures/repos/community-any/PKGBUILD (from rev 1145820, python-testfixtures/trunk/PKGBUILD) Deleted: python-testfixtures/repos/community-any/PKGBUILD ----------+ PKGBUILD | 62 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-03-09 22:28:14 UTC (rev 1145820) +++ PKGBUILD 2022-03-09 22:28:25 UTC (rev 1145821) @@ -1,31 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-testfixtures -pkgver=6.18.4 -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=('79d7fc9f66c6dc1663cf996dbc20c10b4ecf9f5bbe9dea19b80ba89e0fc632c8dc42a7d05c59774e44b8d717bcc5ea6cf35648dd5c869f0a1d858900957654c0') - -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 1145820, python-testfixtures/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-03-09 22:28:25 UTC (rev 1145821) @@ -0,0 +1,31 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-testfixtures +pkgver=6.18.5 +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=('c81c5d94a465312d4afb328be7ad2fdfa17ebd3f5713c6a60175fb2e7a3e7cc818bfc5920dbd3492fd2243797a239c39b567d4ce4874f4d169185d30c5c3ea47') + +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/ +}