Date: Tuesday, September 15, 2020 @ 19:38:34 Author: felixonmars Revision: 707186
archrelease: copy trunk to community-any Added: python-pytest-django/repos/community-any/PKGBUILD (from rev 707185, 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 2020-09-15 19:38:24 UTC (rev 707185) +++ PKGBUILD 2020-09-15 19:38:34 UTC (rev 707186) @@ -1,37 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-pytest-django -pkgver=3.9.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=('6b33fdaac71504620fdeae53d2d4ada75494ece9c623c2e1933421cb12134da03879c5c74d7b22569a8f7c4837d699748018876c1943a4a8228fcfe123bc2a6a') - -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.8/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 707185, python-pytest-django/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-09-15 19:38:34 UTC (rev 707186) @@ -0,0 +1,37 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-pytest-django +pkgver=3.10.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=('7f66fa9287fb80082018613ec3b15a0da3f7a13075e85f0a2eff9e13358c993e56245c441d952d13f232bf7e49a05c799b4affbb844e90abaac736d86bb0a6c9') + +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.8/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 +}