diff --git a/srcpkgs/python-distribute/template b/srcpkgs/python-distribute/template index 1dddc7afea3..a9845d71e50 100644 --- a/srcpkgs/python-distribute/template +++ b/srcpkgs/python-distribute/template @@ -4,7 +4,8 @@ version=0.6.28 revision=1 wrksrc="distribute-${version}" build_style=python-module -makedepends="python-devel" +python_versions="2 3" +makedepends="python-devel python3-devel" noarch="yes" depends="python" pycompile_module="pkg_resources.py easy_install.py site.py setuptools" @@ -14,3 +15,10 @@ homepage="http://pypi.python.org/pypi/distribute" license="PSF" distfiles="http://pypi.python.org/packages/source/d/distribute/distribute-$version.tar.gz" checksum=a42e897551aeb7600708f4aa6a0c02acb4458613976234b7d4fad7ae841a8d63 + +python3-distribute_package() { + depends="python3" + pkg_install() { + vmove /usr/lib/python3.3 + } +} diff --git a/srcpkgs/python3-distribute b/srcpkgs/python3-distribute new file mode 120000 index 00000000000..9ad4e498661 --- /dev/null +++ b/srcpkgs/python3-distribute @@ -0,0 +1 @@ +python-distribute \ No newline at end of file