[arch-commits] Commit in python-dogpile.cache/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Aug 17 01:21:34 UTC 2016


    Date: Wednesday, August 17, 2016 @ 01:21:34
  Author: felixonmars
Revision: 186873

archrelease: copy trunk to community-any

Added:
  python-dogpile.cache/repos/community-any/PKGBUILD
    (from rev 186872, python-dogpile.cache/trunk/PKGBUILD)
Deleted:
  python-dogpile.cache/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  121 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 61 insertions(+), 60 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-08-17 01:21:17 UTC (rev 186872)
+++ PKGBUILD	2016-08-17 01:21:34 UTC (rev 186873)
@@ -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.1
-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=('python-mako' 'python2-mako' 'python-redis' 'python2-redis' 'python2-memcached'
-              'memcached' 'redis' '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")
-md5sums=('35d7fb30f22bbd0685763d894dd079a9')
-
-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 186872, python-dogpile.cache/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-08-17 01:21:34 UTC (rev 186873)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-dogpile.cache
+pkgname=(python-dogpile.cache python2-dogpile.cache)
+pkgver=0.6.2
+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' 'python-binary-memcached'
+              'python2-binary-memcached')
+source=("https://pypi.io/packages/source/d/dogpile.cache/dogpile.cache-$pkgver.tar.gz")
+md5sums=('ab3771eb2155b9658c9e33fa1b827708')
+
+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