[arch-commits] Commit in python-dogpile.cache/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Nov 25 17:59:14 UTC 2018
Date: Sunday, November 25, 2018 @ 17:59:13
Author: felixonmars
Revision: 409731
archrelease: copy trunk to community-any
Added:
python-dogpile.cache/repos/community-any/PKGBUILD
(from rev 409730, python-dogpile.cache/trunk/PKGBUILD)
Deleted:
python-dogpile.cache/repos/community-any/PKGBUILD
----------+
PKGBUILD | 119 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 59 insertions(+), 60 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-25 17:58:55 UTC (rev 409730)
+++ PKGBUILD 2018-11-25 17:59:13 UTC (rev 409731)
@@ -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.7
-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' 'pifpaf' 'python2-pifpaf')
-source=("https://pypi.io/packages/source/d/dogpile.cache/dogpile.cache-$pkgver.tar.gz")
-sha512sums=('fbe01c635b2d58cdda61df8597643775c09d56d432e1cd658a8288e761c992f0b58991120f7f77ef5dea68f93271c6c412651326449bdac8a7f37f767b49e85c')
-
-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 409730, python-dogpile.cache/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-11-25 17:59:13 UTC (rev 409731)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-dogpile.cache
+pkgname=(python-dogpile.cache python2-dogpile.cache)
+pkgver=0.6.8
+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' 'pifpaf' 'python2-pifpaf')
+source=("https://pypi.io/packages/source/d/dogpile.cache/dogpile.cache-$pkgver.tar.gz")
+sha512sums=('854389f36b914962c86aa7701ed51e0076b33cbd465dde77d3ce95a16e139476f1d1062b380bd1076b39681199fd9c7e64e45299b22b8149baeb8c9c7bc02a02')
+
+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