setuptools: turn bep into recipe and add latest version

* The SSL certificate for pipy seems broken, so wget won't download.
This commit is contained in:
Adrien Destugues
2014-03-30 12:52:37 +02:00
parent 5e7594c665
commit c484238c12
3 changed files with 62 additions and 28 deletions

View File

@@ -0,0 +1,31 @@
SUMMARY="Download, build, (un)install, upgrade, Python packages"
DESCRIPTION="
Download, build, install, upgrade, and uninstall Python packages -- easily!
"
HOMEPAGE="http://pypi.python.org/pypi/setuptools"
SRC_URI="https://pypi.python.org/packages/source/s/setuptools/setuptools-$portVersion.tar.gz"
REVISION="1"
CHECKSUM_MD5="87680a0eb0bb6f720d5e2d89ba67debc"
ARCHITECTURES="!x86_gcc2"
PROVIDES="
$portName = $portVersion
"
BUILD_PREREQUIRES="
cmd:python
"
BUILD()
{
python setup.py build
}
INSTALL()
{
python setup.py install --root=$portDir
}
LICENSE="Python"
COPYRIGHT="2009-2014, Phillip J. Eby"