[arch-commits] Commit in python-pytest-django/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Apr 14 11:00:59 UTC 2021
Date: Wednesday, April 14, 2021 @ 11:00:59
Author: felixonmars
Revision: 918396
archrelease: copy trunk to community-any
Added:
python-pytest-django/repos/community-any/PKGBUILD
(from rev 918395, 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 2021-04-14 11:00:44 UTC (rev 918395)
+++ PKGBUILD 2021-04-14 11:00:59 UTC (rev 918396)
@@ -1,37 +0,0 @@
-# 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
-}
Copied: python-pytest-django/repos/community-any/PKGBUILD (from rev 918395, python-pytest-django/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-04-14 11:00:59 UTC (rev 918396)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pytest-django
+pkgver=4.2.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=('2dcaa80f3ebb67984d3849cea5de296388990ca65a607f995b89bd67e2d8964f944100bccb42a32bb75c7009849619e50421c2dce077037ce0440233dbdc13f1')
+
+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