[arch-commits] Commit in python-dogpile.cache/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Dec 12 07:21:18 UTC 2018
Date: Wednesday, December 12, 2018 @ 07:21:17
Author: felixonmars
Revision: 415560
archrelease: copy trunk to community-any
Added:
python-dogpile.cache/repos/community-any/PKGBUILD
(from rev 415559, python-dogpile.cache/trunk/PKGBUILD)
Deleted:
python-dogpile.cache/repos/community-any/PKGBUILD
----------+
PKGBUILD | 118 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 59 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-12-12 07:20:59 UTC (rev 415559)
+++ PKGBUILD 2018-12-12 07:21:17 UTC (rev 415560)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-dogpile.cache
-pkgname=(python-dogpile.cache python2-dogpile.cache)
-pkgver=0.7.0
-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' 'python-decorator' 'python2-decorator')
-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=('5e2995b966796d39f1b3bf5820bd6a9d285b7e24f2c5e139053712964c4486139f98ebdc18f148cab549ff5dd463e7095a0b3dc9b15c392f5d092deb20ad378d')
-
-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-decorator')
-
- 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-decorator')
-
- 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 415559, python-dogpile.cache/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-12-12 07:21:17 UTC (rev 415560)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-dogpile.cache
+pkgname=(python-dogpile.cache python2-dogpile.cache)
+pkgver=0.7.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' 'python-decorator' 'python2-decorator')
+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=('39c0a1d3d5027bc61cc69eda46c846c72d09892b2de0ea2e9545b1f710911dce8726b4ee4a0daef0d3c409a16733920d437f6e833a5b3f55ccc80267bb0da39c')
+
+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-decorator')
+
+ 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-decorator')
+
+ 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