diff --git a/srcpkgs/python-entrypoints/template b/srcpkgs/python-entrypoints/template deleted file mode 100644 index 6070650f35d..00000000000 --- a/srcpkgs/python-entrypoints/template +++ /dev/null @@ -1,37 +0,0 @@ -# Template file for 'python-entrypoints' -pkgname=python-entrypoints -version=0.3 -revision=2 -archs=noarch -wrksrc="entrypoints-${version}" -build_style=python-module -pycompile_module="entrypoints.py" -hostmakedepends="python-setuptools python3-setuptools" -depends="python-backports.configparser" -short_desc="Discover and load entry points from installed packages (Python2)" -maintainer="Alessio Sergi " -license="MIT" -homepage="https://github.com/takluyver/entrypoints" -distfiles="https://github.com/takluyver/entrypoints/archive/${version}.tar.gz" -checksum=f26eddc371e37d8e9f6663b77524d6731567f005bd1e4ac950c0e33c48fbc065 - -pre_build() { - sed -i "s|@VERSION@|${version}|" setup.py -} -post_install() { - for pyver in $python_versions; do - vinstall entrypoints.py 644 usr/lib/python${pyver}/site-packages - done - vlicense LICENSE -} - -python3-entrypoints_package() { - archs=noarch - pycompile_module="entrypoints.py" - depends="python3" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-entrypoints b/srcpkgs/python3-entrypoints deleted file mode 120000 index 33316dfeacf..00000000000 --- a/srcpkgs/python3-entrypoints +++ /dev/null @@ -1 +0,0 @@ -python-entrypoints \ No newline at end of file diff --git a/srcpkgs/python-entrypoints/patches/setup.py.patch b/srcpkgs/python3-entrypoints/patches/setup.py.patch similarity index 100% rename from srcpkgs/python-entrypoints/patches/setup.py.patch rename to srcpkgs/python3-entrypoints/patches/setup.py.patch diff --git a/srcpkgs/python3-entrypoints/template b/srcpkgs/python3-entrypoints/template new file mode 100644 index 00000000000..85c910e46c1 --- /dev/null +++ b/srcpkgs/python3-entrypoints/template @@ -0,0 +1,22 @@ +# Template file for 'python3-entrypoints' +pkgname=python3-entrypoints +version=0.3 +revision=3 +wrksrc="entrypoints-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Discover and load entry points from installed packages (Python3)" +maintainer="Orphaned " +license="MIT" +homepage="https://github.com/takluyver/entrypoints" +distfiles="https://github.com/takluyver/entrypoints/archive/${version}.tar.gz" +checksum=f26eddc371e37d8e9f6663b77524d6731567f005bd1e4ac950c0e33c48fbc065 + +pre_build() { + vsed -i "s|@VERSION@|${version}|" setup.py +} +post_install() { + vinstall entrypoints.py 644 usr/lib/python${py3_ver}/site-packages + vlicense LICENSE +}