26 lines
865 B
Bash
26 lines
865 B
Bash
# Template file for 'python3-setuptools'
|
|
pkgname=python3-setuptools
|
|
version=50.3.2
|
|
revision=1
|
|
wrksrc="setuptools-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-devel"
|
|
depends="python3"
|
|
short_desc="Easily build and distribute Python3 packages"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://github.com/pypa/setuptools"
|
|
distfiles="${PYPI_SITE}/s/setuptools/setuptools-${version}.zip"
|
|
checksum=ed0519d27a243843b05d82a5e9d01b0b083d9934eaa3d02779a23da18077bd3c
|
|
alternatives="setuptools:easy_install:/usr/bin/easy_install3"
|
|
provides="python3-distribute-${version}_1"
|
|
replaces="python3-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_install3
|
|
}
|