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

Felix Yan felixonmars at archlinux.org
Thu Nov 12 19:03:20 UTC 2020


    Date: Thursday, November 12, 2020 @ 19:03:20
  Author: felixonmars
Revision: 753323

archrelease: copy trunk to community-staging-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-12 19:03:17 UTC (rev 753322)
+++ PKGBUILD	2020-11-12 19:03:20 UTC (rev 753323)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-pytest-django
-pkgver=4.1.0
-pkgrel=2
-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=('734921f5c6f8569f6488706fbb6ca2515a5b24c6641fd260771022bd4fd72b65d062a8130f59163e8b30f4c9bceb383d154b26f8fbf46a1903339668d0a7d12b')
-
-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.9/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-staging-any/PKGBUILD (from rev 753320, python-pytest-django/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-12 19:03:20 UTC (rev 753323)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pytest-django
+pkgver=4.1.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=('734921f5c6f8569f6488706fbb6ca2515a5b24c6641fd260771022bd4fd72b65d062a8130f59163e8b30f4c9bceb383d154b26f8fbf46a1903339668d0a7d12b')
+
+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.9/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