New package: python-dogpile.cache-0.6.7

This commit is contained in:
Daniel Santana 2018-11-10 13:14:36 -02:00 committed by maxice8
parent f854cc8c2b
commit a2834672ba
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,32 @@
# Template file for 'python-dogpile.cache'
pkgname=python-dogpile.cache
version=0.6.7
revision=1
noarch=yes
wrksrc="dogpile.cache-${version}"
build_style=python-module
pycompile_module="dogpile"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="A caching front-end based on the Dogpile lock (Python2)"
maintainer="Daniel Santana <daniel@santana.tech>"
license="BSD-3-Clause"
homepage="http://bitbucket.org/zzzeek/dogpile.cache"
distfiles="${PYPI_SITE}/d/dogpile.cache/dogpile.cache-${version}.tar.gz"
checksum=fca7deb7c276b879b01c15c5d39b3c05701dc43b263ec3fef1e52cb851cf88ab
post_install() {
vlicense LICENSE
}
python3-dogpile.cache_package() {
noarch=yes
pycompile_module="dogpile"
depends="python3"
short_desc="${short_desc/Python2/Python3}"
alternatives="guessit:guessit:/usr/bin/guessit3"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

View File

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