[arch-commits] Commit in python-pytest-django/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu May 30 20:23:36 UTC 2019


    Date: Thursday, May 30, 2019 @ 20:23:36
  Author: felixonmars
Revision: 475207

upgpkg: python-pytest-django 3.4.8-1

Modified:
  python-pytest-django/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-30 20:22:48 UTC (rev 475206)
+++ PKGBUILD	2019-05-30 20:23:36 UTC (rev 475207)
@@ -2,7 +2,7 @@
 
 pkgbase=python-pytest-django
 pkgname=('python-pytest-django' 'python2-pytest-django')
-pkgver=3.4.7
+pkgver=3.4.8
 pkgrel=1
 pkgdesc="A Django plugin for py.test"
 arch=('any')
@@ -11,10 +11,16 @@
 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=('a2c521da0e38c7d48abd0c836d4644d1a290f55f3050ed00ea44886b6f20bc05d29e787d05de26c35995879569b3fcbe5e81db2c18d9e013dbb50f6305a64904')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-django/archive/$pkgver.tar.gz"
+        django-1.11.patch::https://github.com/pytest-dev/pytest-django/pull/739.patch
+        django-2.1.patch::https://github.com/pytest-dev/pytest-django/pull/741.patch)
+sha512sums=('0757f1b5aa61b0de20a18701192b18a12e0e4623f9894a9991f0609126087b955e29b1e83ee4ab00a09da5bd45461df35d2d5de9bf8202d963c208cdd7594218'
+            '5a0301e19fb6bc81a966aa0fd28735b40421073fd4cd93da7fa37dff42814d5c438e527beb59baec4bfc0de0b764e68ade129082425f7e906bfa88867986427d'
+            '5e6311eb5e696d49df62258a352293defcf51df5c8c1facc68925c699486910a63d4f894a651fd242da912fc52c2afab53417ae7613391fe0e767330e58170da')
 
 prepare() {
+  patch -d pytest-django-$pkgver -p1 -i ../django-1.11.patch
+  patch -d pytest-django-$pkgver -p1 -i ../django-2.1.patch
   cp -a pytest-django-$pkgver{,-py2}
 
   export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver



More information about the arch-commits mailing list