From a2834672ba593294dd327f61153a1ac548f5741f Mon Sep 17 00:00:00 2001 From: Daniel Santana Date: Sat, 10 Nov 2018 13:14:36 -0200 Subject: [PATCH] New package: python-dogpile.cache-0.6.7 --- srcpkgs/python-dogpile.cache/template | 32 +++++++++++++++++++++++++++ srcpkgs/python3-dogpile.cache | 1 + 2 files changed, 33 insertions(+) create mode 100644 srcpkgs/python-dogpile.cache/template create mode 120000 srcpkgs/python3-dogpile.cache 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