diff --git a/srcpkgs/python-dogpile.cache/template b/srcpkgs/python-dogpile.cache/template new file mode 100644 index 00000000000..7e5393031ca --- /dev/null +++ b/srcpkgs/python-dogpile.cache/template @@ -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 " +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 + } +} diff --git a/srcpkgs/python3-dogpile.cache b/srcpkgs/python3-dogpile.cache new file mode 120000 index 00000000000..924a1d09742 --- /dev/null +++ b/srcpkgs/python3-dogpile.cache @@ -0,0 +1 @@ +python-dogpile.cache \ No newline at end of file