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

Felix Yan felixonmars at archlinux.org
Fri Nov 1 13:51:33 UTC 2019


    Date: Friday, November 1, 2019 @ 13:51:32
  Author: felixonmars
Revision: 521945

archrelease: copy trunk to community-staging-any

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

----------+
 PKGBUILD |  118 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-01 13:51:29 UTC (rev 521944)
+++ PKGBUILD	2019-11-01 13:51:32 UTC (rev 521945)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-dogpile.cache
-pkgname=(python-dogpile.cache python2-dogpile.cache)
-pkgver=0.8.0
-pkgrel=2
-pkgdesc="A caching front-end based on the Dogpile lock"
-arch=('any')
-url="https://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')
-source=("https://pypi.io/packages/source/d/dogpile.cache/dogpile.cache-$pkgver.tar.gz")
-sha512sums=('5894d25d506fcdef02161c40dc2ea76190195fd40185887a305216271182f7b72284945a97b545ffdad2918a4c9c04baba9c4d78ab7d42d22fdf3f0a507e88c5')
-
-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'
-  pifpaf --env-prefix DOGPILE run memcached --port 11234 -- python2 -m pytest tests/cache/test_memcached_backend.py
-  pifpaf --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-staging-any/PKGBUILD (from rev 521943, python-dogpile.cache/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-01 13:51:32 UTC (rev 521945)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-dogpile.cache
+pkgname=(python-dogpile.cache python2-dogpile.cache)
+pkgver=0.8.0
+pkgrel=3
+pkgdesc="A caching front-end based on the Dogpile lock"
+arch=('any')
+url="https://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')
+source=("https://pypi.io/packages/source/d/dogpile.cache/dogpile.cache-$pkgver.tar.gz")
+sha512sums=('5894d25d506fcdef02161c40dc2ea76190195fd40185887a305216271182f7b72284945a97b545ffdad2918a4c9c04baba9c4d78ab7d42d22fdf3f0a507e88c5')
+
+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'
+  pifpaf --env-prefix DOGPILE run memcached --port 11234 -- python2 -m pytest tests/cache/test_memcached_backend.py
+  pifpaf --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