[arch-commits] Commit in python-dogpile.cache/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Jun 27 05:05:34 UTC 2017
Date: Tuesday, June 27, 2017 @ 05:05:33
Author: felixonmars
Revision: 241068
archrelease: copy trunk to community-any
Added:
python-dogpile.cache/repos/community-any/PKGBUILD
(from rev 241067, python-dogpile.cache/trunk/PKGBUILD)
Deleted:
python-dogpile.cache/repos/community-any/PKGBUILD
----------+
PKGBUILD | 120 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 60 insertions(+), 60 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-27 05:04:54 UTC (rev 241067)
+++ PKGBUILD 2017-06-27 05:05:33 UTC (rev 241068)
@@ -1,60 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-dogpile.cache
-pkgname=(python-dogpile.cache python2-dogpile.cache)
-pkgver=0.6.3
-pkgrel=1
-pkgdesc="A caching front-end based on the Dogpile lock"
-arch=('any')
-url="http://pypi.python.org/pypi/dogpile.cache"
-license=('BSD')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('memcached' 'redis' 'python-mako' 'python2-mako' 'python-redis' 'python2-redis'
- 'python2-memcached' 'python-pytest-runner' 'python2-pytest-runner' 'python-mock'
- 'python2-mock' 'python-pytest-cov' 'python2-pytest-cov' 'python-pylibmc'
- 'python2-pylibmc' 'python-pifpaf' 'python2-pifpaf')
-source=("https://pypi.io/packages/source/d/dogpile.cache/dogpile.cache-$pkgver.tar.gz")
-sha512sums=('4320735d251cf5b69cc836195f98c35ff18f5cdbab57f8978e00ff16d73181d4ead330b8d69e029279e8a95e835ca81711c480f7af82966238d6d181ab155cdc')
-
-prepare() {
- cp -a "dogpile.cache-$pkgver"{,-py2}
-}
-
-build() {
- cd "$srcdir"/dogpile.cache-$pkgver
- python setup.py build
-
- cd "$srcdir"/dogpile.cache-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/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
-
- cd "$srcdir"/dogpile.cache-$pkgver-py2
- python2 -m pytest -k 'not test_memcached_backend and not test_redis_backend'
- pifpaf2 --env-prefix DOGPILE run memcached --port 11234 -- python2 -m pytest tests/cache/test_memcached_backend.py
- pifpaf2 --env-prefix DOGPILE run redis --port 11234 -- python2 -m pytest tests/cache/test_redis_backend.py
-}
-
-package_python-dogpile.cache() {
- depends=('python-setuptools')
-
- cd dogpile.cache-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-dogpile.cache() {
- depends=('python2-setuptools')
-
- cd dogpile.cache-$pkgver-py2
- python2 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-any/PKGBUILD (from rev 241067, python-dogpile.cache/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-06-27 05:05:33 UTC (rev 241068)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-dogpile.cache
+pkgname=(python-dogpile.cache python2-dogpile.cache)
+pkgver=0.6.4
+pkgrel=1
+pkgdesc="A caching front-end based on the Dogpile lock"
+arch=('any')
+url="http://pypi.python.org/pypi/dogpile.cache"
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('memcached' 'redis' 'python-mako' 'python2-mako' 'python-redis' 'python2-redis'
+ 'python2-memcached' 'python-pytest-runner' 'python2-pytest-runner' 'python-mock'
+ 'python2-mock' 'python-pytest-cov' 'python2-pytest-cov' 'python-pylibmc'
+ 'python2-pylibmc' 'python-pifpaf' 'python2-pifpaf')
+source=("https://pypi.io/packages/source/d/dogpile.cache/dogpile.cache-$pkgver.tar.gz")
+sha512sums=('0e86ed6aacbfbbbefdc3622ac956679c4986c77989daa3c3e845d4b8dbbf7945b4d0764789f03540b2ff59712e2ee86c8283cc3ee8d9e950f9ef1772db7ea137')
+
+prepare() {
+ cp -a "dogpile.cache-$pkgver"{,-py2}
+}
+
+build() {
+ cd "$srcdir"/dogpile.cache-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/dogpile.cache-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/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
+
+ cd "$srcdir"/dogpile.cache-$pkgver-py2
+ python2 -m pytest -k 'not test_memcached_backend and not test_redis_backend'
+ pifpaf2 --env-prefix DOGPILE run memcached --port 11234 -- python2 -m pytest tests/cache/test_memcached_backend.py
+ pifpaf2 --env-prefix DOGPILE run redis --port 11234 -- python2 -m pytest tests/cache/test_redis_backend.py
+}
+
+package_python-dogpile.cache() {
+ depends=('python-setuptools')
+
+ cd dogpile.cache-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-dogpile.cache() {
+ depends=('python2-setuptools')
+
+ cd dogpile.cache-$pkgver-py2
+ python2 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