python-setuptools: rename to python2-setuptools

adopted by Leah at her request
This commit is contained in:
classabbyamp 2024-09-28 04:38:37 -04:00 committed by classabbyamp
parent 64c987d347
commit 355a485cb1
3 changed files with 13 additions and 6 deletions

1
srcpkgs/python-setuptools Symbolic link
View file

@ -0,0 +1 @@
python2-setuptools

View file

@ -1,14 +1,14 @@
# Template file for 'python-setuptools' # Template file for 'python2-setuptools'
pkgname=python-setuptools pkgname=python2-setuptools
# https://github.com/pypa/setuptools/issues/1458 # https://github.com/pypa/setuptools/issues/1458
# python2 support for setuptools ended at 44.0.0 # python2 support for setuptools ended at 44.0.0
version=44.0.0 version=44.0.0
revision=2 revision=3
build_style=python2-module build_style=python2-module
hostmakedepends="python-devel" hostmakedepends="python2-devel"
depends="python" depends="python2"
short_desc="Easily build and distribute Python2 packages" short_desc="Easily build and distribute Python2 packages"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT" license="MIT"
homepage="https://github.com/pypa/setuptools" homepage="https://github.com/pypa/setuptools"
distfiles="${PYPI_SITE}/s/setuptools/setuptools-${version}.zip" distfiles="${PYPI_SITE}/s/setuptools/setuptools-${version}.zip"
@ -24,3 +24,9 @@ post_install() {
vlicense LICENSE vlicense LICENSE
mv ${PKGDESTDIR}/usr/bin/easy_install ${PKGDESTDIR}/usr/bin/easy_install2 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)"
}