[arch-commits] Commit in python-dogpile.cache/repos/community-staging-any (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 12 10:39:37 UTC 2020
Date: Thursday, November 12, 2020 @ 10:39:37
Author: foutrelis
Revision: 751548
archrelease: copy trunk to community-staging-any
Added:
python-dogpile.cache/repos/community-staging-any/PKGBUILD
(from rev 751547, python-dogpile.cache/trunk/PKGBUILD)
Deleted:
python-dogpile.cache/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 77 +++++++++++++++++++++++++++++++++----------------------------
1 file changed, 42 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-12 10:39:34 UTC (rev 751547)
+++ PKGBUILD 2020-11-12 10:39:37 UTC (rev 751548)
@@ -1,35 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-dogpile.cache
-pkgver=1.0.2
-pkgrel=2
-pkgdesc="A caching front-end based on the Dogpile lock"
-arch=('any')
-url="https://pypi.python.org/pypi/dogpile.cache"
-license=('BSD')
-depends=('python-decorator' 'python-stevedore')
-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')
-
-build() {
- cd dogpile.cache-$pkgver
- python setup.py build
-}
-
-check() {
- cd dogpile.cache-$pkgver
- python -m pytest -k 'not test_memcached_backend and not test_redis_backend'
- pifpaf --env-prefix DOGPILE run memcached --port 11234 -- python -m pytest tests/cache/test_memcached_backend.py
- pifpaf --env-prefix DOGPILE run redis --port 11234 -- python -m pytest tests/cache/test_redis_backend.py
-}
-
-package() {
- cd dogpile.cache-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-dogpile.cache/repos/community-staging-any/PKGBUILD (from rev 751547, python-dogpile.cache/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-12 10:39:37 UTC (rev 751548)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-dogpile.cache
+pkgver=1.0.2
+pkgrel=3
+pkgdesc="A caching front-end based on the Dogpile lock"
+arch=('any')
+url="https://pypi.python.org/pypi/dogpile.cache"
+license=('BSD')
+depends=('python-decorator' 'python-stevedore')
+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"
+ $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
+}
+
+check() {
+ cd dogpile.cache-$pkgver
+ python -m pytest -k 'not test_memcached_backend and not test_redis_backend'
+ pifpaf --env-prefix DOGPILE run memcached --port 11234 -- python -m pytest tests/cache/test_memcached_backend.py
+ pifpaf --env-prefix DOGPILE run redis --port 11234 -- python -m pytest tests/cache/test_redis_backend.py
+}
+
+package() {
+ cd dogpile.cache-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list