python3-dogpile.cache: update to 1.0.2.

This update drops the python-dogpile.cache package, as Python 2 is not
supported anymore since 1.0.2.
This commit is contained in:
Daniel Santana 2020-08-25 14:24:52 -03:00 committed by Piotr
parent 1342a63770
commit dfa8dcd1d6
2 changed files with 7 additions and 18 deletions

View File

@ -1 +0,0 @@
python-dogpile.cache

View File

@ -1,35 +1,25 @@
# Template file for 'python-dogpile.cache'
pkgname=python-dogpile.cache
version=1.0.1
# Template file for 'python3-dogpile.cache'
pkgname=python3-dogpile.cache
version=1.0.2
revision=1
archs=noarch
wrksrc="dogpile.cache-${version}"
build_style=python-module
build_style=python3-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python python-decorator"
checkdepends="python3-decorator tox"
short_desc="Caching front-end based on the Dogpile lock (Python2)"
short_desc="Caching front-end based on the Dogpile lock"
maintainer="Daniel Santana <daniel@santana.tech>"
license="BSD-3-Clause"
homepage="https://github.com/sqlalchemy/dogpile.cache"
changelog="https://github.com/sqlalchemy/dogpile.cache/raw/master/docs/build/changelog.rst"
distfiles="${PYPI_SITE}/d/dogpile.cache/dogpile.cache-${version}.tar.gz"
checksum=695dd61f32d97233d5c5e1d7ac1238f5116391ea990b4b24a239229e280bf36e
checksum=64fda39d25b46486a4876417ca03a4af06f35bfadba9f59613f9b3d748aa21ef
do_check() {
tox -e py27,py${py3_ver/./}
tox -e py${py3_ver/./}
}
post_install() {
vlicense LICENSE
}
python3-dogpile.cache_package() {
archs=noarch
depends="python3 python3-decorator"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}