[arch-commits] Commit in python-dogpile.cache/trunk (PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 10:34:35 UTC 2020


    Date: Thursday, November 12, 2020 @ 10:34:35
  Author: foutrelis
Revision: 751546

Fix tests with pytest 6

Modified:
  python-dogpile.cache/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-12 10:32:00 UTC (rev 751545)
+++ PKGBUILD	2020-11-12 10:34:35 UTC (rev 751546)
@@ -11,9 +11,16 @@
 makedepends=('python-setuptools')
 checkdepends=('memcached' 'pifpaf' 'redis' 'python-mako' 'python-redis' 'python-pytest' 'python-mock'
               'python-pytest-cov' 'python-pylibmc')
-source=("https://pypi.io/packages/source/d/dogpile.cache/dogpile.cache-$pkgver.tar.gz")
-sha512sums=('b49e9005916636aff0a25b9158923ea9362b3edf1f42704d06e65b14892d0cdb6b1da7d620f10d752efb1ae1987a9187b0f642cc30d07de3fc961921e1794a87')
+source=("https://pypi.io/packages/source/d/dogpile.cache/dogpile.cache-$pkgver.tar.gz"
+        $pkgname-pytest6.patch::https://github.com/sqlalchemy/dogpile.cache/commit/625f73ce189b.patch)
+sha512sums=('b49e9005916636aff0a25b9158923ea9362b3edf1f42704d06e65b14892d0cdb6b1da7d620f10d752efb1ae1987a9187b0f642cc30d07de3fc961921e1794a87'
+            '55a7dee9eaa079f4267120999be27b099467b4fb32f2fe1b3748d569477fa0521b4418378c3aeb5a409e46c1cacbedb9d15270e3838f3ff16bf78e66bd225a22')
 
+prepare() {
+  cd dogpile.cache-$pkgver
+  patch -Np1 -i ../$pkgname-pytest6.patch
+}
+
 build() {
   cd dogpile.cache-$pkgver
   python setup.py build



More information about the arch-commits mailing list