From 4a4808ef12e82f5a7b50d49b1166d47c496fc391 Mon Sep 17 00:00:00 2001 From: miqlas <5569059+extrowerk@users.noreply.github.com> Date: Thu, 3 Oct 2019 03:59:49 +0200 Subject: [PATCH] Cryptogprapy-Vectors : bump, pyversion (#4245) --- ...recipe => cryptography_vectors-2.7.recipe} | 39 +++++++++---------- 1 file changed, 18 insertions(+), 21 deletions(-) rename dev-python/cryptography-vectors/{cryptography_vectors-2.4.1.recipe => cryptography_vectors-2.7.recipe} (72%) diff --git a/dev-python/cryptography-vectors/cryptography_vectors-2.4.1.recipe b/dev-python/cryptography-vectors/cryptography_vectors-2.7.recipe similarity index 72% rename from dev-python/cryptography-vectors/cryptography_vectors-2.4.1.recipe rename to dev-python/cryptography-vectors/cryptography_vectors-2.7.recipe index 6568ada0b..f4fd8e763 100644 --- a/dev-python/cryptography-vectors/cryptography_vectors-2.4.1.recipe +++ b/dev-python/cryptography-vectors/cryptography_vectors-2.7.recipe @@ -5,12 +5,12 @@ data files required to test the \"cryptography\" Python module. \ Normal users will therefore never need to install this one." HOMEPAGE="https://pypi.org/project/cryptography-vectors/ https://github.com/pyca/cryptography" -COPYRIGHT="2013-2018 The cryptography developers" +COPYRIGHT="2013-2019 The cryptography developers" LICENSE="Apache v2 BSD (3-clause)" REVISION="1" -SOURCE_URI="https://pypi.io/packages/source/c/cryptography-vectors/cryptography_vectors-$portVersion.tar.gz" -CHECKSUM_SHA256="829d43e8066056de8ea7b8ad311db79e47d8d658e23d5f5fc4b0245a1b3baa74" +SOURCE_URI="https://files.pythonhosted.org/packages/d1/aa/c97197becda8c320744d76e5882b2ca54cfebc0388bb225c233555133b8d/cryptography_vectors-$portVersion.tar.gz" +CHECKSUM_SHA256="f12dfb9bd669a68004074cb5b26df6e93ed1a95ebd1a999dff0a840212ff68bc" ARCHITECTURES="any" @@ -23,27 +23,24 @@ REQUIRES=" BUILD_REQUIRES=" haiku_devel - setuptools_python - setuptools_python3 - " -BUILD_PREREQUIRES=" - cmd:python - cmd:python3 " -PYTHON_PACKAGES=(python python3) -PYTHON_VERSIONS=(2.7 3.6) +PYTHON_PACKAGES=(python python36 python3) +PYTHON_VERSIONS=(2.7 3.6 3.7) for i in "${!PYTHON_PACKAGES[@]}"; do - pythonPackage=${PYTHON_PACKAGES[i]} - pythonVersion=${PYTHON_VERSIONS[$i]} - - eval "PROVIDES_$pythonPackage=\" - ${portName}_$pythonPackage = $portVersion - \"" - eval "REQUIRES_$pythonPackage=\" - haiku - cmd:python$pythonVersion - \"" +pythonPackage=${PYTHON_PACKAGES[i]} +pythonVersion=${PYTHON_VERSIONS[$i]} +eval "PROVIDES_${pythonPackage}=\"\ + ${portName}_$pythonPackage = $portVersion\ + \"; \ +REQUIRES_$pythonPackage=\"\ + haiku\n\ + cmd:python$pythonVersion\ + \"" +BUILD_REQUIRES="$BUILD_REQUIRES + setuptools_$pythonPackage" +BUILD_PREREQUIRES="$BUILD_PREREQUIRES + cmd:python$pythonVersion" done BUILD()