[arch-commits] Commit in python-pytest-django/repos/community-staging-any (2 files)

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 4 09:08:55 UTC 2019


    Date: Monday, November 4, 2019 @ 09:08:55
  Author: foutrelis
Revision: 523829

archrelease: copy trunk to community-staging-any

Added:
  python-pytest-django/repos/community-staging-any/PKGBUILD
    (from rev 523828, python-pytest-django/trunk/PKGBUILD)
Deleted:
  python-pytest-django/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   98 +++++++++++++++++++++++--------------------------------------
 1 file changed, 37 insertions(+), 61 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-04 09:08:50 UTC (rev 523828)
+++ PKGBUILD	2019-11-04 09:08:55 UTC (rev 523829)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pytest-django
-pkgname=('python-pytest-django' 'python2-pytest-django')
-pkgver=3.5.1
-pkgrel=2
-pkgdesc="A Django plugin for py.test"
-arch=('any')
-license=('BSD')
-url="https://github.com/pytest-dev/pytest-django"
-makedepends=('python-pytest' 'python2-pytest' 'python-setuptools-scm' 'python2-setuptools-scm'
-             'python2-pathlib')
-checkdepends=('python-django' 'python2-django' 'python-pytest-xdist' 'python2-pytest-xdist')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-django/archive/v$pkgver.tar.gz")
-sha512sums=('ac6e014b8550b1d96c57588b5059ffef6ece4e6647813b7b26794762fb09c38a6e189dc63b5bbe0165bcd566b3c43a11f32b7ab4d4b271cc2d7989efd4d1d6ea')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-prepare() {
-  cp -a pytest-django-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/pytest-django-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/pytest-django-$pkgver-py2
-  python2 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
-
-  cd "$srcdir"/pytest-django-$pkgver-py2
-  python2 setup.py install --root="$PWD/tmp_install" --optimize=1
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH:$PWD" \
-  DJANGO_SETTINGS_MODULE=pytest_django_test.settings_sqlite \
-    py.test2 tests
-}
-
-package_python-pytest-django() {
-  depends=('python-pytest')
-
-  cd pytest-django-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm664 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-pytest-django() {
-  depends=('python2-pytest' 'python2-pathlib')
-
-  cd pytest-django-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm664 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-pytest-django/repos/community-staging-any/PKGBUILD (from rev 523828, python-pytest-django/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-04 09:08:55 UTC (rev 523829)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pytest-django
+pkgver=3.5.1
+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=('ac6e014b8550b1d96c57588b5059ffef6ece4e6647813b7b26794762fb09c38a6e189dc63b5bbe0165bcd566b3c43a11f32b7ab4d4b271cc2d7989efd4d1d6ea')
+
+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
+}



More information about the arch-commits mailing list