python-dogpile.cach: add python-decorator as dep

This commit is contained in:
Justin Berthault 2019-06-03 17:32:04 +02:00 committed by Helmut Pozimski
parent 7e1ffb6d71
commit 1ba94fd595

View file

@ -1,13 +1,13 @@
# Template file for 'python-dogpile.cache' # Template file for 'python-dogpile.cache'
pkgname=python-dogpile.cache pkgname=python-dogpile.cache
version=0.7.1 version=0.7.1
revision=1 revision=2
archs=noarch archs=noarch
wrksrc="dogpile.cache-${version}" wrksrc="dogpile.cache-${version}"
build_style=python-module build_style=python-module
pycompile_module="dogpile" pycompile_module="dogpile"
hostmakedepends="python-setuptools python3-setuptools" hostmakedepends="python-setuptools python3-setuptools"
depends="python" depends="python python-decorator"
short_desc="A caching front-end based on the Dogpile lock (Python2)" short_desc="A caching front-end based on the Dogpile lock (Python2)"
maintainer="Daniel Santana <daniel@santana.tech>" maintainer="Daniel Santana <daniel@santana.tech>"
license="BSD-3-Clause" license="BSD-3-Clause"
@ -22,7 +22,7 @@ post_install() {
python3-dogpile.cache_package() { python3-dogpile.cache_package() {
archs=noarch archs=noarch
pycompile_module="dogpile" pycompile_module="dogpile"
depends="python3" depends="python3 python3-decorator"
short_desc="${short_desc/Python2/Python3}" short_desc="${short_desc/Python2/Python3}"
alternatives="guessit:guessit:/usr/bin/guessit3" alternatives="guessit:guessit:/usr/bin/guessit3"
pkg_install() { pkg_install() {