diff --git a/dev-python/requests/python3_requests-2.8.1.recipe b/dev-python/requests/python3_requests-2.9.1.recipe similarity index 92% rename from dev-python/requests/python3_requests-2.8.1.recipe rename to dev-python/requests/python3_requests-2.9.1.recipe index 066d62aa0..77a6ec034 100644 --- a/dev-python/requests/python3_requests-2.8.1.recipe +++ b/dev-python/requests/python3_requests-2.9.1.recipe @@ -6,7 +6,7 @@ COPYRIGHT="2014 Kenneth Reitz" LICENSE="Apache v2" REVISION="1" SOURCE_URI="https://pypi.python.org/packages/source/r/requests/requests-$portVersion.tar.gz" -CHECKSUM_SHA256="84fe8d5bf4dcdcc49002446c47a146d17ac10facf00d9086659064ac43b6c25b" +CHECKSUM_SHA256="c577815dd00f1394203fc44eb979724b098f88264a9ef898ee45b8e5e9cf587f" SOURCE_DIR="requests-$portVersion" ARCHITECTURES="x86 x86_gcc2 x86_64" diff --git a/dev-python/requests/python_requests-2.3.0.recipe b/dev-python/requests/python_requests-2.9.1.recipe similarity index 77% rename from dev-python/requests/python_requests-2.3.0.recipe rename to dev-python/requests/python_requests-2.9.1.recipe index 6d188756c..9cc3a9125 100644 --- a/dev-python/requests/python_requests-2.3.0.recipe +++ b/dev-python/requests/python_requests-2.9.1.recipe @@ -4,9 +4,9 @@ HOMEPAGE="http://python-requests.org/ http://pypi.python.org/pypi/requests" COPYRIGHT="2014 Kenneth Reitz" LICENSE="Apache v2" -REVISION="2" -SOURCE_URI="https://pypi.python.org/packages/source/r/requests/requests-2.3.0.tar.gz" -CHECKSUM_SHA256="1c1473875d846fe563d70868acf05b1953a4472f4695b7b3566d1d978957b8fc" +REVISION="1" +SOURCE_URI="https://pypi.python.org/packages/source/r/requests/requests-$portVersion.tar.gz" +CHECKSUM_SHA256="c577815dd00f1394203fc44eb979724b098f88264a9ef898ee45b8e5e9cf587f" SOURCE_DIR="requests-$portVersion" ARCHITECTURES="x86 x86_gcc2 x86_64" @@ -16,7 +16,7 @@ PROVIDES=" " REQUIRES=" haiku - cmd:python + cmd:python2 # actually has its own copy... #ca_root_certificates " @@ -25,19 +25,19 @@ BUILD_REQUIRES=" haiku_devel " 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