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

@@ -1,28 +0,0 @@
DESCRIPTION="
Download, build, install, upgrade, and uninstall Python packages -- easily!
"
HOMEPAGE="http://pypi.python.org/pypi/setuptools"
SRC_URI="http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
CHECKSUM_MD5="7df2a529a074f613b509fb44feefe74e"
BUILD()
{
cd setuptools-0.6c11
python setup.py build
}
INSTALL()
{
cd setuptools-0.6c11
if [ -n "${DESTDIR}" ];then
python setup.py install --root=${DESTDIR}
else
python setup.py install
fi
}
LICENSE="Python"
COPYRIGHT="2009, Phillip J. Eby"

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"

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"