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

Felix Yan felixonmars at archlinux.org
Fri Aug 17 06:26:03 UTC 2018


    Date: Friday, August 17, 2018 @ 06:26:03
  Author: felixonmars
Revision: 372113

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  127 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 64 insertions(+), 63 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-17 06:24:14 UTC (rev 372112)
+++ PKGBUILD	2018-08-17 06:26:03 UTC (rev 372113)
@@ -1,63 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pytest-django
-pkgname=('python-pytest-django' 'python2-pytest-django')
-pkgver=3.3.3
-pkgrel=1
-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')
-checkdepends=('python-django' 'python2-django' 'python-pytest-xdist' 'python2-pytest-xdist')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-django/archive/$pkgver.tar.gz")
-sha512sums=('eb6896f76375a03b0aa94fdb25f3ef81d83a4d6c81cd813fe76b84ed06f6bf5df139b7883b368308b0c333c9d4fa0527214b6e0433519a9b2b4967d1abf19c26')
-
-prepare() {
-  sed -i 's/setuptools_scm==1.11.1/setuptools_scm/' pytest-django-$pkgver/setup.py
-
-  cp -a pytest-django-$pkgver{,-py2}
-
-  export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-}
-
-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.7/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')    
-
-  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-any/PKGBUILD (from rev 372112, python-pytest-django/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-17 06:26:03 UTC (rev 372113)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-pytest-django
+pkgname=('python-pytest-django' 'python2-pytest-django')
+pkgver=3.4.1
+pkgrel=1
+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/$pkgver.tar.gz")
+sha512sums=('d449b9b3badc2bd4cba0249deabdee1161df751674b49ef1a1023a77a2a19a03bfead7a1b1e4d73a63818a157d9887942b2b01117bf364ca8aedd7860e05aa35')
+
+prepare() {
+  sed -i 's/setuptools_scm==1.11.1/setuptools_scm/' pytest-django-$pkgver/setup.py
+
+  cp -a pytest-django-$pkgver{,-py2}
+
+  export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+}
+
+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.7/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
+}



More information about the arch-commits mailing list