[arch-commits] Commit in python-dogpile.cache/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Mar 6 20:20:30 UTC 2018
Date: Tuesday, March 6, 2018 @ 20:20:29
Author: felixonmars
Revision: 303208
archrelease: copy trunk to community-any
Added:
python-dogpile.cache/repos/community-any/PKGBUILD
(from rev 303207, 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 2018-03-06 20:20:01 UTC (rev 303207)
+++ PKGBUILD 2018-03-06 20:20:29 UTC (rev 303208)
@@ -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.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:
Copied: python-dogpile.cache/repos/community-any/PKGBUILD (from rev 303207, python-dogpile.cache/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-03-06 20:20:29 UTC (rev 303208)
@@ -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.5
+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=('2ff7589f835a1853131f1e2abb02e031d84b10569343e814c2663592b1b3fa7cb9b6fed61226010f5d752148073f7b3c461864a6eeb00a6267f0283bd9039c03')
+
+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