Date: Saturday, July 28, 2018 @ 14:19:46
  Author: felixonmars
Revision: 363765

archrelease: copy trunk to community-staging-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2018-07-28 14:19:46 UTC (rev 363764)
+++ PKGBUILD    2018-07-28 14:19:46 UTC (rev 363765)
@@ -1,63 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonm...@archlinux.org>
-
-pkgbase=python-pytest-django
-pkgname=('python-pytest-django' 'python2-pytest-django')
-pkgver=3.3.2
-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')
-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=('27f07b06b85726de3ab5a9c9d605db5abd2792363be39422ef06b21e19f09e96d18181ff245bda29c245fb2fc3ba5b4a31f9c39c3e27766cff00c2a15fded0cf')
-
-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-staging-any/PKGBUILD (from rev 
363763, python-pytest-django/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-07-28 14:19:46 UTC (rev 363765)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@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
+}

Reply via email to