diff --git a/srcpkgs/python-setuptools b/srcpkgs/python-setuptools new file mode 120000 index 00000000000..05923bd3cc8 --- /dev/null +++ b/srcpkgs/python-setuptools @@ -0,0 +1 @@ +python2-setuptools \ No newline at end of file diff --git a/srcpkgs/python-setuptools/template b/srcpkgs/python2-setuptools/template similarity index 70% rename from srcpkgs/python-setuptools/template rename to srcpkgs/python2-setuptools/template index 5c5faa52fec..a3c18827a7e 100644 --- a/srcpkgs/python-setuptools/template +++ b/srcpkgs/python2-setuptools/template @@ -1,14 +1,14 @@ -# Template file for 'python-setuptools' -pkgname=python-setuptools +# Template file for 'python2-setuptools' +pkgname=python2-setuptools # https://github.com/pypa/setuptools/issues/1458 # python2 support for setuptools ended at 44.0.0 version=44.0.0 -revision=2 +revision=3 build_style=python2-module -hostmakedepends="python-devel" -depends="python" +hostmakedepends="python2-devel" +depends="python2" short_desc="Easily build and distribute Python2 packages" -maintainer="Orphaned " +maintainer="Leah Neukirchen " license="MIT" homepage="https://github.com/pypa/setuptools" distfiles="${PYPI_SITE}/s/setuptools/setuptools-${version}.zip" @@ -24,3 +24,9 @@ post_install() { vlicense LICENSE mv ${PKGDESTDIR}/usr/bin/easy_install ${PKGDESTDIR}/usr/bin/easy_install2 } + +python-setuptools_package() { + build_style=meta + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" (transitional dummy package)" +} diff --git a/srcpkgs/python-setuptools/update b/srcpkgs/python2-setuptools/update similarity index 100% rename from srcpkgs/python-setuptools/update rename to srcpkgs/python2-setuptools/update