Date: Friday, March 11, 2022 @ 22:02:52 Author: felixonmars Revision: 1148818
archrelease: copy trunk to community-any Added: python-pytest-subtests/repos/community-any/PKGBUILD (from rev 1148817, python-pytest-subtests/trunk/PKGBUILD) Deleted: python-pytest-subtests/repos/community-any/PKGBUILD ----------+ PKGBUILD | 68 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-03-11 22:02:43 UTC (rev 1148817) +++ PKGBUILD 2022-03-11 22:02:52 UTC (rev 1148818) @@ -1,34 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-pytest-subtests -pkgver=0.6.0 -pkgrel=1 -pkgdesc='unittest subTest() support and subtests fixture' -arch=('any') -license=('MIT') -url='https://github.com/pytest-dev/pytest-subtests' -depends=('python-pytest') -makedepends=('python-setuptools-scm') -source=("https://github.com/pytest-dev/pytest-subtests/archive/$pkgver/$pkgname-$pkgver.tar.gz") -sha512sums=('9b4fa2e1957388f0e61a13a3cce95976fb5fdea64def627c5a1bf75049a0272e82f19ed9aa117bac0d02c6fd8832f22e7cfe409694ea81920def49742142eb93') - -export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver - -build() { - cd pytest-subtests-$pkgver - python setup.py build -} - -check() { - cd pytest-subtests-$pkgver - python setup.py egg_info - PYTHONPATH="$PWD" pytest -} - -package() { - cd pytest-subtests-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 - install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -# vim:set ts=2 sw=2 et: Copied: python-pytest-subtests/repos/community-any/PKGBUILD (from rev 1148817, python-pytest-subtests/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-03-11 22:02:52 UTC (rev 1148818) @@ -0,0 +1,34 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-pytest-subtests +pkgver=0.7.0 +pkgrel=1 +pkgdesc='unittest subTest() support and subtests fixture' +arch=('any') +license=('MIT') +url='https://github.com/pytest-dev/pytest-subtests' +depends=('python-pytest') +makedepends=('python-setuptools-scm') +source=("https://github.com/pytest-dev/pytest-subtests/archive/$pkgver/$pkgname-$pkgver.tar.gz") +sha512sums=('96531a42c06a20cdf3f3665993d3e80d198a60d536246f4dc46df20b56e47f3f6fdce9478351a8922e370435f974e63d565550213fbbeed8487eedc131f46404') + +export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver + +build() { + cd pytest-subtests-$pkgver + python setup.py build +} + +check() { + cd pytest-subtests-$pkgver + python setup.py egg_info + PYTHONPATH="$PWD" pytest +} + +package() { + cd pytest-subtests-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +# vim:set ts=2 sw=2 et: