diff --git a/dev-python/pathtools/pathtools-0.1.2.recipe b/dev-python/pathtools/pathtools-0.1.2.recipe index ff23b025d..17a8011ec 100644 --- a/dev-python/pathtools/pathtools-0.1.2.recipe +++ b/dev-python/pathtools/pathtools-0.1.2.recipe @@ -6,7 +6,7 @@ HOMEPAGE="http://python-requests.org/ http://pypi.python.org/pypi/requests" COPYRIGHT="2010 Yesudeep Mangalapilly" LICENSE="MIT" -REVISION="1" +REVISION="2" SOURCE_URI="https://pypi.python.org/packages/source/p/pathtools/pathtools-0.1.2.tar.gz" CHECKSUM_SHA256="7c35c5421a39bb82e58018febd90e3b6e5db34c5443aaaf742b3f33d4655f1c0" SOURCE_DIR="pathtools-$portVersion" @@ -18,7 +18,7 @@ PROVIDES=" " REQUIRES=" haiku - cmd:python + cmd:python2 " BUILD_REQUIRES=" @@ -26,19 +26,19 @@ BUILD_REQUIRES=" 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