[arch-commits] Commit in python-dogpile.cache/repos/community-staging-any (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 16 21:35:52 UTC 2020
Date: Monday, November 16, 2020 @ 21:35:52
Author: felixonmars
Revision: 755678
archrelease: copy trunk to community-staging-any
Added:
python-dogpile.cache/repos/community-staging-any/PKGBUILD
(from rev 755677, python-dogpile.cache/trunk/PKGBUILD)
Deleted:
python-dogpile.cache/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 77 +++++++++++++++++++++++++++----------------------------------
1 file changed, 35 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-16 21:35:33 UTC (rev 755677)
+++ PKGBUILD 2020-11-16 21:35:52 UTC (rev 755678)
@@ -1,42 +0,0 @@
-# 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:
Copied: python-dogpile.cache/repos/community-staging-any/PKGBUILD (from rev 755677, python-dogpile.cache/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-16 21:35:52 UTC (rev 755678)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-dogpile.cache
+pkgver=1.1.0
+pkgrel=1
+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=('48627e4124bd25678059985c49ffde75d49d987c429d1e9a02ddd60a77b20e41899da30ae78e0f2891ff76a9c3d72a6ec782e829d659c3048cdbc921022ebb55')
+
+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 -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list