mercurial: force use of python < 3.x

This commit is contained in:
Chris Roberts
2014-11-15 16:20:58 -07:00
parent 3357d285af
commit 6aa0eafee0

View File

@@ -7,7 +7,7 @@ COPYRIGHT="2005-2014 Matt Mackall et al."
LICENSE="GNU GPL v2"
SRC_URI="http://mercurial.selenic.com/release/mercurial-$portVersion.tar.gz"
CHECKSUM_SHA256="26418276fbc36850782f1f4feb30da4a83800b48493082985c4d3ac29ad0ca0f"
REVISION="1"
REVISION="2"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PATCHES="mercurial-3.2.1.patch"
@@ -19,7 +19,7 @@ PROVIDES="
REQUIRES="
haiku_devel >= $haikuVersion
cmd:python
cmd:python < 3
cmd:nano
"
@@ -28,7 +28,7 @@ BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
cmd:python
cmd:python < 3
cmd:gcc
cmd:gettext
cmd:ld
@@ -45,7 +45,6 @@ INSTALL()
{
$portPackageLinksDir/cmd~python/bin/python setup.py install \
--prefix="$prefix" \
--install-headers="$includedir" \
--force
}