diff --git a/srcpkgs/python-lazy-object-proxy/template b/srcpkgs/python-lazy-object-proxy/template new file mode 100644 index 00000000000..b4a9163b431 --- /dev/null +++ b/srcpkgs/python-lazy-object-proxy/template @@ -0,0 +1,30 @@ +# Template file for 'python-lazy-object-proxy' +pkgname=python-lazy-object-proxy +version=1.2.1 +revision=1 +wrksrc="lazy-object-proxy-${version}" +build_style=python-module +python_versions="2.7 3.4" +hostmakedepends="python-setuptools python3.4-setuptools" +makedepends="python-devel python3.4-devel" +pycompile_module="lazy_object_proxy" +short_desc="Fast and thorough lazy object proxy (Python2)" +maintainer="Alessio Sergi " +homepage="https://github.com/ionelmc/python-lazy-object-proxy" +license="2-clause-BSD" +distfiles="${PYPI_SITE}/l/lazy-object-proxy/lazy-object-proxy-${version}.tar.gz" +checksum=22ed751a2c63c6cf718674fd7461b1dfc45215bab4751ca32b6c9b8cb2734cb3 + +post_install() { + vlicense LICENSE +} + +python3.4-lazy-object-proxy_package() { + pycompile_version="3.4" + pycompile_module="lazy_object_proxy" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + vlicense LICENSE + } +} diff --git a/srcpkgs/python3.4-lazy-object-proxy b/srcpkgs/python3.4-lazy-object-proxy new file mode 120000 index 00000000000..a1a392a0e66 --- /dev/null +++ b/srcpkgs/python3.4-lazy-object-proxy @@ -0,0 +1 @@ +python-lazy-object-proxy \ No newline at end of file