Date: Wednesday, January 26, 2022 @ 18:29:12 Author: felixonmars Revision: 1116175
archrelease: copy trunk to community-any Added: python-pytest-forked/repos/community-any/PKGBUILD (from rev 1116174, python-pytest-forked/trunk/PKGBUILD) Deleted: python-pytest-forked/repos/community-any/PKGBUILD ----------+ PKGBUILD | 74 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 37 insertions(+), 37 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-01-26 18:29:05 UTC (rev 1116174) +++ PKGBUILD 2022-01-26 18:29:12 UTC (rev 1116175) @@ -1,37 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-pytest-forked -pkgver=1.3.0 -pkgrel=6 -pkgdesc='run tests in isolated forked subprocesses' -arch=('any') -license=('MIT') -url='https://github.com/pytest-dev/pytest-forked' -makedepends=('python-pytest' 'python-setuptools-scm') -depends=('python-pytest') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-forked/archive/v$pkgver.tar.gz") -sha512sums=('3fbbde21b4157eb8d2f72ae4285e2a84718a1ba85781ee10b53cc36d8de21512c6f2285fad5fa3cf40dcb6df767cc87fc8e749897011d89e84dcf153fc466ba6') - -prepare() { - export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver -} - -build() { - cd "$srcdir"/pytest-forked-$pkgver - python setup.py build -} - -check() { - # Hack entry points by installing it - cd "$srcdir"/pytest-forked-$pkgver - python setup.py install --root="$PWD/tmp_install" --optimize=1 - PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH" py.test -} - -package() { - cd pytest-forked-$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-forked/repos/community-any/PKGBUILD (from rev 1116174, python-pytest-forked/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-01-26 18:29:12 UTC (rev 1116175) @@ -0,0 +1,37 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-pytest-forked +pkgver=1.4.0 +pkgrel=1 +pkgdesc='run tests in isolated forked subprocesses' +arch=('any') +license=('MIT') +url='https://github.com/pytest-dev/pytest-forked' +makedepends=('python-pytest' 'python-setuptools-scm') +depends=('python-pytest') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-forked/archive/v$pkgver.tar.gz") +sha512sums=('f5ccf71d7f335073b5cfef15d44a65b315824c1087017ee692118354fc2f17da697ed6b0a7d7030b6259a4c3ceb9356ebd015f7867f3b4a5673eae12fd9ec952') + +prepare() { + export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver +} + +build() { + cd "$srcdir"/pytest-forked-$pkgver + python setup.py build +} + +check() { + # Hack entry points by installing it + cd "$srcdir"/pytest-forked-$pkgver + python setup.py install --root="$PWD/tmp_install" --optimize=1 + PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH" py.test +} + +package() { + cd pytest-forked-$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: