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

2019-10-25 Thread Felix Yan via arch-commits
Date: Friday, October 25, 2019 @ 19:51:27
  Author: felixonmars
Revision: 519598

archrelease: copy trunk to community-staging-any

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

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

Copied: python-dogpile.cache/repos/community-staging-any/PKGBUILD (from rev 
519596, python-dogpile.cache/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2019-10-25 19:51:27 UTC (rev 519598)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+
+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:


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

2018-07-17 Thread Evangelos Foutras via arch-commits
Date: Wednesday, July 18, 2018 @ 02:00:51
  Author: foutrelis
Revision: 361221

archrelease: copy trunk to community-staging-any

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

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

Copied: python-dogpile.cache/repos/community-staging-any/PKGBUILD (from rev 
361220, python-dogpile.cache/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2018-07-18 02:00:51 UTC (rev 361221)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-dogpile.cache
+pkgname=(python-dogpile.cache python2-dogpile.cache)
+pkgver=0.6.6
+pkgrel=2
+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=('d3d7bc21ede95ddab08c337558aa08fc8709126c286857b0e77bb0fb98c3a10131786cf826dd956ed5dc11447d0d07679b2bbd403ae2b2cf259835566757464b')
+
+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:


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

2016-12-24 Thread Felix Yan
Date: Sunday, December 25, 2016 @ 03:24:36
  Author: felixonmars
Revision: 201820

archrelease: copy trunk to community-staging-any

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

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

Copied: python-dogpile.cache/repos/community-staging-any/PKGBUILD (from rev 
201819, python-dogpile.cache/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2016-12-25 03:24:36 UTC (rev 201820)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-dogpile.cache
+pkgname=(python-dogpile.cache python2-dogpile.cache)
+pkgver=0.6.2
+pkgrel=2
+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:


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

2015-09-19 Thread Felix Yan
Date: Saturday, September 19, 2015 @ 19:17:17
  Author: fyan
Revision: 141044

archrelease: copy trunk to community-staging-any

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

--+
 PKGBUILD |   70 +
 1 file changed, 70 insertions(+)

Copied: python-dogpile.cache/repos/community-staging-any/PKGBUILD (from rev 
141043, python-dogpile.cache/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2015-09-19 17:17:17 UTC (rev 141044)
@@ -0,0 +1,70 @@
+# $Id: PKGBUILD 138808 2015-08-27 08:24:22Z fyan $
+# Maintainer: Felix Yan 
+
+pkgbase=python-dogpile.cache
+pkgname=(python-dogpile.cache python2-dogpile.cache)
+_pypiname=dogpile.cache
+pkgver=0.5.6
+pkgrel=3
+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-dogpile.core' 
'python2-dogpile.core')
+checkdepends=('python-mako' 'python2-mako' 'python-nose' 'python2-nose'
+  'python-coverage' 'python2-coverage' 'python-redis' 
'python2-redis' 'python2-memcached'
+  'memcached' 'redis' 'python-pytest-runner' 
'python2-pytest-runner'
+  # 'python-mock' 'python2-mock'  # See comments below in check()
+  'python-pbr' 'python2-pbr' 'python-six' 'python2-six'  # These 
can be removed when we have a working mock in repos
+  )
+source=("http://pypi.python.org/packages/source/d/$_pypiname/$_pypiname-$pkgver.tar.gz";)
+md5sums=('6283f8e0d94f06d75b6987875cb2e6e8')
+
+prepare() {
+  cp -a "$_pypiname-$pkgver"{,-py2}
+}
+
+build() {
+  cd $_pypiname-$pkgver
+  python setup.py build
+
+  cd ../$_pypiname-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  # Dirty hack: workaround mock errors by installing it with ptr, because we 
have a too old version in the repos
+  # https://github.com/testing-cabal/mock/issues/249
+
+  _run() {
+rm -f "$srcdir/memcached.pid" "$srcdir/redis.pid"
+memcached -d -P "$srcdir/memcached.pid"
+redis-server --daemonize yes --pidfile "$srcdir/redis.pid"
+"$@"
+kill $(cat "$srcdir/memcached.pid") $(cat "$srcdir/redis.pid")
+  }
+
+  cd $_pypiname-$pkgver
+  _run python setup.py ptr
+
+  cd ../$_pypiname-$pkgver-py2
+  _run python2 setup.py ptr
+}
+
+package_python-dogpile.cache() {
+  depends=('python-dogpile.core' 'python-setuptools')
+
+  cd "$srcdir/$_pypiname-$pkgver"
+  python setup.py install --root="$pkgdir/" --optimize=1
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-dogpile.cache() {
+  depends=('python2-dogpile.core' 'python2-setuptools')
+
+  cd "$srcdir/$_pypiname-$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:


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

2015-08-27 Thread Felix Yan
Date: Thursday, August 27, 2015 @ 13:45:26
  Author: fyan
Revision: 138813

archrelease: copy trunk to community-any

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

--+
 PKGBUILD |   70 +
 1 file changed, 70 insertions(+)

Copied: python-dogpile.cache/repos/community-any/PKGBUILD (from rev 138812, 
python-dogpile.cache/trunk/PKGBUILD)
===
--- community-any/PKGBUILD  (rev 0)
+++ community-any/PKGBUILD  2015-08-27 11:45:26 UTC (rev 138813)
@@ -0,0 +1,70 @@
+# $Id: PKGBUILD 138808 2015-08-27 08:24:22Z fyan $
+# Maintainer: Felix Yan 
+
+pkgbase=python-dogpile.cache
+pkgname=(python-dogpile.cache python2-dogpile.cache)
+_pypiname=dogpile.cache
+pkgver=0.5.6
+pkgrel=2
+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-dogpile.core' 
'python2-dogpile.core')
+checkdepends=('python-mako' 'python2-mako' 'python-nose' 'python2-nose'
+  'python-coverage' 'python2-coverage' 'python-redis' 
'python2-redis' 'python2-memcached'
+  'memcached' 'redis' 'python-pytest-runner' 
'python2-pytest-runner'
+  # 'python-mock' 'python2-mock'  # See comments below in check()
+  'python-pbr' 'python2-pbr' 'python-six' 'python2-six'  # These 
can be removed when we have a working mock in repos
+  )
+source=("http://pypi.python.org/packages/source/d/$_pypiname/$_pypiname-$pkgver.tar.gz";)
+md5sums=('6283f8e0d94f06d75b6987875cb2e6e8')
+
+prepare() {
+  cp -a "$_pypiname-$pkgver"{,-py2}
+}
+
+build() {
+  cd $_pypiname-$pkgver
+  python setup.py build
+
+  cd ../$_pypiname-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  # Dirty hack: workaround mock errors by installing it with ptr, because we 
have a too old version in the repos
+  # https://github.com/testing-cabal/mock/issues/249
+
+  _run() {
+rm -f "$srcdir/memcached.pid" "$srcdir/redis.pid"
+memcached -d -P "$srcdir/memcached.pid"
+redis-server --daemonize yes --pidfile "$srcdir/redis.pid"
+"$@"
+kill $(cat "$srcdir/memcached.pid") $(cat "$srcdir/redis.pid")
+  }
+
+  cd $_pypiname-$pkgver
+  _run python setup.py ptr
+
+  cd ../$_pypiname-$pkgver-py2
+  _run python2 setup.py ptr
+}
+
+package_python-dogpile.cache() {
+  depends=('python-dogpile.core' 'python-setuptools')
+
+  cd "$srcdir/$_pypiname-$pkgver"
+  python setup.py install --root="$pkgdir/" --optimize=1
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-dogpile.cache() {
+  depends=('python2-dogpile.core' 'python2-setuptools')
+
+  cd "$srcdir/$_pypiname-$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: