mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-10 22:00:09 +02:00
mechanize: bump version.
This commit is contained in:
@@ -24,7 +24,7 @@ COPYRIGHT="2002-2010 John J. Lee
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/python-mechanize/mechanize/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="0f14880646fc96da91440712546fd136896b151228366cdc0604534e0687036c"
|
||||
CHECKSUM_SHA256="377ca7b2160716857a2035d986abba1c133f4f80939c19002333c82bd4c01e98"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
@@ -49,10 +49,13 @@ eval "PROVIDES_${pythonPackage}=\"\
|
||||
\"; \
|
||||
REQUIRES_$pythonPackage=\"\
|
||||
haiku\n\
|
||||
html5lib_$pythonPackage\n\
|
||||
cmd:python$pythonVersion\
|
||||
\""
|
||||
BUILD_REQUIRES="$BUILD_REQUIRES
|
||||
setuptools_$pythonPackage"
|
||||
html5lib_$pythonPackage
|
||||
setuptools_$pythonPackage
|
||||
"
|
||||
BUILD_PREREQUIRES="$BUILD_PREREQUIRES
|
||||
cmd:python$pythonVersion"
|
||||
done
|
||||
@@ -79,3 +82,14 @@ INSTALL()
|
||||
$prefix/lib/python*
|
||||
done
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
pythonPackage=${PYTHON_PACKAGES[i]}
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
|
||||
python=python$pythonVersion
|
||||
$python run_tests.py
|
||||
done
|
||||
}
|
||||
Reference in New Issue
Block a user