33 lines
1.0 KiB
Bash
33 lines
1.0 KiB
Bash
# 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=3
|
|
build_style=python2-module
|
|
hostmakedepends="python2-devel"
|
|
depends="python2"
|
|
short_desc="Easily build and distribute Python2 packages"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/pypa/setuptools"
|
|
distfiles="${PYPI_SITE}/s/setuptools/setuptools-${version}.zip"
|
|
checksum=e5baf7723e5bb8382fc146e33032b241efc63314211a3a120aaa55d62d2bb008
|
|
alternatives="setuptools:easy_install:/usr/bin/easy_install2"
|
|
provides="python-distribute-${version}_1"
|
|
replaces="python-distribute>=0"
|
|
|
|
export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0
|
|
export SETUPTOOLS_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1
|
|
|
|
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)"
|
|
}
|