diff --git a/dev-python/urllib3/urllib3-1.9.1.recipe b/dev-python/urllib3/urllib3-1.15.1.recipe similarity index 82% rename from dev-python/urllib3/urllib3-1.9.1.recipe rename to dev-python/urllib3/urllib3-1.15.1.recipe index ad14cd03f..79a0369eb 100644 --- a/dev-python/urllib3/urllib3-1.9.1.recipe +++ b/dev-python/urllib3/urllib3-1.15.1.recipe @@ -18,8 +18,8 @@ HOMEPAGE="http://urllib3.readthedocs.org/ COPYRIGHT="2008-2014 Andrey Petrov and contributors" LICENSE="MIT" REVISION="1" -SOURCE_URI="https://github.com/shazow/urllib3/archive/1.9.1.tar.gz" -CHECKSUM_SHA256="baf4dbc6d78f4a7bb28a44d3772cd8f3b24df5282f5cb72f3d85106aa06cf2a3" +SOURCE_URI="https://github.com/shazow/urllib3/archive/$portVersion.tar.gz" +CHECKSUM_SHA256="2bc87c7b9af197657f407afe016e50eb209238832b82e80a7b4d10899bf8fea0" SOURCE_DIR="urllib3-$portVersion" ARCHITECTURES="x86 x86_gcc2 x86_64" @@ -29,26 +29,27 @@ PROVIDES=" " REQUIRES=" haiku - cmd:python + cmd:python2 " BUILD_REQUIRES=" haiku_devel + python_setuptools " BUILD_PREREQUIRES=" - cmd:python + cmd:python2 cmd:gcc " BUILD() { - $portPackageLinksDir/cmd~python/bin/python setup.py build + $portPackageLinksDir/cmd~python2/bin/python2 setup.py build } INSTALL() { # GENERIC: all python_setuptools-based installs need this - python=$portPackageLinksDir/cmd~python/bin/python + python=$portPackageLinksDir/cmd~python2/bin/python2 pythonVersion=$($python --version 2>&1 | sed 's/Python //' | head -c3) installLocation=$prefix/lib/python$pythonVersion/vendor-packages/ export PYTHONPATH=$installLocation:$PYTHONPATH