void-packages/srcpkgs/python-dogpile.cache/template
2019-12-23 18:04:57 +01:00

32 lines
940 B
Bash

# Template file for 'python-dogpile.cache'
pkgname=python-dogpile.cache
version=0.8.0
revision=2
archs=noarch
wrksrc="dogpile.cache-${version}"
build_style=python-module
pycompile_module="dogpile"
hostmakedepends="python-setuptools python3-setuptools"
depends="python python-decorator"
short_desc="Caching front-end based on the Dogpile lock (Python2)"
maintainer="Daniel Santana <daniel@santana.tech>"
license="BSD-3-Clause"
homepage="https://github.com/sqlalchemy/dogpile.cache"
distfiles="${PYPI_SITE}/d/dogpile.cache/dogpile.cache-${version}.tar.gz"
checksum=70f5eae4aec908f76188a2c287e07105f60c05d879bb9a4efcc5ba44563d8de6
post_install() {
vlicense LICENSE
}
python3-dogpile.cache_package() {
archs=noarch
pycompile_module="dogpile"
depends="python3 python3-decorator"
short_desc="${short_desc/Python2/Python3}"
alternatives="guessit:guessit:/usr/bin/guessit3"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}