From e59359df4e8a125d8e5039c512fdda844932d200 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Sat, 11 Nov 2017 15:02:09 +0100 Subject: [PATCH] mechanize: bump version. --- ...ize-0.3.1.recipe => mechanize-0.3.6.recipe} | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) rename dev-python/mechanize/{mechanize-0.3.1.recipe => mechanize-0.3.6.recipe} (85%) diff --git a/dev-python/mechanize/mechanize-0.3.1.recipe b/dev-python/mechanize/mechanize-0.3.6.recipe similarity index 85% rename from dev-python/mechanize/mechanize-0.3.1.recipe rename to dev-python/mechanize/mechanize-0.3.6.recipe index 6d1f0a1e1..642abed7f 100644 --- a/dev-python/mechanize/mechanize-0.3.1.recipe +++ b/dev-python/mechanize/mechanize-0.3.6.recipe @@ -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 +}