diff --git a/srcpkgs/python-distutils-extra/template b/srcpkgs/python-distutils-extra/template index da4cfc6c9ce..4b103081893 100644 --- a/srcpkgs/python-distutils-extra/template +++ b/srcpkgs/python-distutils-extra/template @@ -1,15 +1,28 @@ # Template file for 'python-distutils-extra' pkgname=python-distutils-extra -version=2.37 -revision=3 -build_style=python-module -hostmakedepends="python-setuptools intltool" -depends="python python-distribute" +version=2.38 +revision=1 noarch="yes" +build_style=python-module +python_versions="2.7 3.4" pycompile_module="DistUtilsExtra" -short_desc="Enhancements to the Python build system" +hostmakedepends="intltool python-setuptools python3.4-setuptools" +makedepends="python-devel python3.4-devel" +depends="python-setuptools" +short_desc="Enhancements to the Python2 build system" maintainer="Juan RP " homepage="https://launchpad.net/python-distutils-extra" license="GPL-2" distfiles="http://launchpad.net/${pkgname}/trunk/${version}/+download/${pkgname}-${version}.tar.gz" -checksum=5c9539badfdc7e0ebb463ee66b9c09d48a08ca121c84ec7316b1fbb799a72878 +checksum=3d100d5d3492f40b3e7a6a4500f71290bfa91e2c50dc31ba8e3ff9b5d82ca153 + +python3.4-distutils-extra_package() { + noarch="yes" + depends="python3.4-setuptools" + pycompile_version="3.4" + pycompile_module="DistUtilsExtra" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove /usr/lib/python3.4 + } +} diff --git a/srcpkgs/python3.4-distutils-extra b/srcpkgs/python3.4-distutils-extra new file mode 120000 index 00000000000..bc37f604bbc --- /dev/null +++ b/srcpkgs/python3.4-distutils-extra @@ -0,0 +1 @@ +python-distutils-extra \ No newline at end of file