Date: Friday, August 7, 2020 @ 19:21:18 Author: felixonmars Revision: 671679
archrelease: copy trunk to community-any Added: python-dogpile.cache/repos/community-any/PKGBUILD (from rev 671678, python-dogpile.cache/trunk/PKGBUILD) Deleted: python-dogpile.cache/repos/community-any/PKGBUILD ----------+ PKGBUILD | 70 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 35 insertions(+), 35 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-08-07 19:21:06 UTC (rev 671678) +++ PKGBUILD 2020-08-07 19:21:18 UTC (rev 671679) @@ -1,35 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-dogpile.cache -pkgver=1.0.1 -pkgrel=1 -pkgdesc="A caching front-end based on the Dogpile lock" -arch=('any') -url="https://pypi.python.org/pypi/dogpile.cache" -license=('BSD') -depends=('python-decorator' 'python-stevedore') -makedepends=('python-setuptools') -checkdepends=('memcached' 'pifpaf' 'redis' 'python-mako' 'python-redis' 'python-pytest' 'python-mock' - 'python-pytest-cov' 'python-pylibmc') -source=("https://pypi.io/packages/source/d/dogpile.cache/dogpile.cache-$pkgver.tar.gz") -sha512sums=('bd50ea84d8a8b3573d5fbd8953110180fc91d703383f7574a40731cf7e0bb6ceb9165ef93e5598f14d5509d39791c05e9e8607014dfad417fa826502c0240902') - -build() { - cd dogpile.cache-$pkgver - python setup.py build -} - -check() { - cd 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 -} - -package() { - cd dogpile.cache-$pkgver - python 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 671678, python-dogpile.cache/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-08-07 19:21:18 UTC (rev 671679) @@ -0,0 +1,35 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-dogpile.cache +pkgver=1.0.2 +pkgrel=1 +pkgdesc="A caching front-end based on the Dogpile lock" +arch=('any') +url="https://pypi.python.org/pypi/dogpile.cache" +license=('BSD') +depends=('python-decorator' 'python-stevedore') +makedepends=('python-setuptools') +checkdepends=('memcached' 'pifpaf' 'redis' 'python-mako' 'python-redis' 'python-pytest' 'python-mock' + 'python-pytest-cov' 'python-pylibmc') +source=("https://pypi.io/packages/source/d/dogpile.cache/dogpile.cache-$pkgver.tar.gz") +sha512sums=('b49e9005916636aff0a25b9158923ea9362b3edf1f42704d06e65b14892d0cdb6b1da7d620f10d752efb1ae1987a9187b0f642cc30d07de3fc961921e1794a87') + +build() { + cd dogpile.cache-$pkgver + python setup.py build +} + +check() { + cd 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 +} + +package() { + cd dogpile.cache-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +# vim:set ts=2 sw=2 et: