# Compiling Time: 0.01 SBU
# Maintainer: Pingax <pingax@frugalware.orgt>

pkgname=python2-setuptools
pkgver=42.0.2
pkgrel=1
pkgdesc="Tool to build and install python packages"
groups=('devel-extra')
depends=('python>=2.7.14-2' 'python2-packaging' 'python2-appdirs' 'python-six')
archs=('x86_64')
_F_pypi_name="setuptools"
_F_pypi_ext=".zip"
Finclude pypi
_F_cd_path="setuptools-$pkgver"

provides=('python-distribute' 'distribute' 'python-setuptools')
conflicts=('python-distribute' 'distribute' 'python-setuptools')
replaces=('python-distribute' 'distribute' 'python-setuptools')
sha1sums=('0ce9a7a1ad235d1c8025778823cf74742c35422d')

build() {

	## no windows crap please
	export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0
	Fcd
	Fpatchall
	Fexec python bootstrap.py || Fdie
	Fmake
	Fmakeinstall
}

# optimization OK
