From 9fbdcf69116e18575551926c55300936a5db3b57 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Tue, 1 Dec 2015 17:22:25 +0100 Subject: [PATCH] New package: python-wrapt-1.10.5 --- srcpkgs/python-wrapt/template | 30 ++++++++++++++++++++++++++++++ srcpkgs/python3.4-wrapt | 1 + 2 files changed, 31 insertions(+) create mode 100644 srcpkgs/python-wrapt/template create mode 120000 srcpkgs/python3.4-wrapt diff --git a/srcpkgs/python-wrapt/template b/srcpkgs/python-wrapt/template new file mode 100644 index 0000000000..2b2ffd5594 --- /dev/null +++ b/srcpkgs/python-wrapt/template @@ -0,0 +1,30 @@ +# Template file for 'python-wrapt' +pkgname=python-wrapt +version=1.10.5 +revision=1 +wrksrc="wrapt-${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="wrapt" +short_desc="Python2 module for decorators, wrappers and monkey patching" +maintainer="Alessio Sergi " +homepage="https://github.com/GrahamDumpleton/wrapt" +license="2-clause-BSD" +distfiles="${PYPI_SITE}/w/wrapt/wrapt-${version}.tar.gz" +checksum=99cbb4e3a3ea964df0cb1437261fc1198616ec872e7b501622f3f7f92fcd0833 + +post_install() { + vlicense LICENSE +} + +python3.4-wrapt_package() { + pycompile_version="3.4" + pycompile_module="wrapt" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + vlicense LICENSE + } +} diff --git a/srcpkgs/python3.4-wrapt b/srcpkgs/python3.4-wrapt new file mode 120000 index 0000000000..d9d8dda7eb --- /dev/null +++ b/srcpkgs/python3.4-wrapt @@ -0,0 +1 @@ +python-wrapt \ No newline at end of file