Date: Thursday, December 30, 2021 @ 14:37:19 Author: felixonmars Revision: 1088408
archrelease: copy trunk to community-any Added: python-pytest-django/repos/community-any/PKGBUILD (from rev 1088407, python-pytest-django/trunk/PKGBUILD) Deleted: python-pytest-django/repos/community-any/PKGBUILD ----------+ PKGBUILD | 74 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 37 insertions(+), 37 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-12-30 14:37:11 UTC (rev 1088407) +++ PKGBUILD 2021-12-30 14:37:19 UTC (rev 1088408) @@ -1,37 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-pytest-django -pkgver=4.4.0 -pkgrel=3 -pkgdesc="A Django plugin for py.test" -arch=('any') -license=('BSD') -url="https://github.com/pytest-dev/pytest-django" -depends=('python-pytest') -makedepends=('python-setuptools-scm') -checkdepends=('python-django' 'python-pytest-xdist') -source=("$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-django/archive/v$pkgver.tar.gz") -sha512sums=('47e4a84606aeb6bb99ed74603faf988298d52f81f74ec8e4608cb670f0f331ad0c6555f3e4a516fc7834aea4e634f849dc0ff6d446a86e924a116fbe90bd79e0') - -export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver - -build() { - cd "$srcdir"/pytest-django-$pkgver - python setup.py build -} - -check() { - # Hack entry points by installing it - - cd "$srcdir"/pytest-django-$pkgver - python setup.py install --root="$PWD/tmp_install" --optimize=1 - PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH:$PWD" \ - DJANGO_SETTINGS_MODULE=pytest_django_test.settings_sqlite \ - py.test tests -} - -package() { - cd pytest-django-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 - install -Dm664 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} Copied: python-pytest-django/repos/community-any/PKGBUILD (from rev 1088407, python-pytest-django/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-12-30 14:37:19 UTC (rev 1088408) @@ -0,0 +1,37 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-pytest-django +pkgver=4.5.0 +pkgrel=1 +pkgdesc="A Django plugin for py.test" +arch=('any') +license=('BSD') +url="https://github.com/pytest-dev/pytest-django" +depends=('python-pytest') +makedepends=('python-setuptools-scm') +checkdepends=('python-django' 'python-pytest-xdist') +source=("$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-django/archive/v$pkgver.tar.gz") +sha512sums=('9d86a35a05521e1cc3582f17fd6d78367d0d8383ee06e5a2f97ea5da658be4008471094d6c0b4c1d43da3091cf7e936e40ec984d232f9e3cc8cf69cd88adb9b9') + +export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver + +build() { + cd "$srcdir"/pytest-django-$pkgver + python setup.py build +} + +check() { + # Hack entry points by installing it + + cd "$srcdir"/pytest-django-$pkgver + python setup.py install --root="$PWD/tmp_install" --optimize=1 + PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH:$PWD" \ + DJANGO_SETTINGS_MODULE=pytest_django_test.settings_sqlite \ + py.test tests +} + +package() { + cd pytest-django-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm664 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}