# Template file for 'python-dogpile.cache' pkgname=python-dogpile.cache version=0.7.1 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 " license="BSD-3-Clause" homepage="https://github.com/sqlalchemy/dogpile.cache" distfiles="${PYPI_SITE}/d/dogpile.cache/dogpile.cache-${version}.tar.gz" checksum=691b7f199561c4bd6e7e96f164a43cc3781b0c87bea29b7d59d859f873fd4a31 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 } }