From c484238c12f61f61f78b9c1122eebf2414d84e5e Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Sun, 30 Mar 2014 12:52:37 +0200 Subject: [PATCH] setuptools: turn bep into recipe and add latest version * The SSL certificate for pipy seems broken, so wget won't download. --- dev-python/setuptools/setuptools-0.6.recipe | 28 ----------------- .../setuptools/setuptools-0.6c11.recipe | 31 +++++++++++++++++++ dev-python/setuptools/setuptools-3.3.recipe | 31 +++++++++++++++++++ 3 files changed, 62 insertions(+), 28 deletions(-) delete mode 100644 dev-python/setuptools/setuptools-0.6.recipe create mode 100644 dev-python/setuptools/setuptools-0.6c11.recipe create mode 100644 dev-python/setuptools/setuptools-3.3.recipe diff --git a/dev-python/setuptools/setuptools-0.6.recipe b/dev-python/setuptools/setuptools-0.6.recipe deleted file mode 100644 index 36e7f49f0..000000000 --- a/dev-python/setuptools/setuptools-0.6.recipe +++ /dev/null @@ -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" diff --git a/dev-python/setuptools/setuptools-0.6c11.recipe b/dev-python/setuptools/setuptools-0.6c11.recipe new file mode 100644 index 000000000..e3e2552d5 --- /dev/null +++ b/dev-python/setuptools/setuptools-0.6c11.recipe @@ -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" diff --git a/dev-python/setuptools/setuptools-3.3.recipe b/dev-python/setuptools/setuptools-3.3.recipe new file mode 100644 index 000000000..e3e2552d5 --- /dev/null +++ b/dev-python/setuptools/setuptools-3.3.recipe @@ -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"