From 5b7eb2633c9d74ddb0a14db822e2e9d98f7db408 Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Thu, 15 Sep 2022 14:29:04 +0200 Subject: [PATCH] cryptography, bump version (#7209) --- ...raphy-2.9.2.recipe => cryptography-3.3.2.recipe} | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) rename dev-python/cryptography/{cryptography-2.9.2.recipe => cryptography-3.3.2.recipe} (86%) diff --git a/dev-python/cryptography/cryptography-2.9.2.recipe b/dev-python/cryptography/cryptography-3.3.2.recipe similarity index 86% rename from dev-python/cryptography/cryptography-2.9.2.recipe rename to dev-python/cryptography/cryptography-3.3.2.recipe index 9d7ba6854..56b154f98 100644 --- a/dev-python/cryptography/cryptography-2.9.2.recipe +++ b/dev-python/cryptography/cryptography-3.3.2.recipe @@ -8,9 +8,9 @@ HOMEPAGE="https://cryptography.io/" COPYRIGHT="2013-2020 The cryptography developers" LICENSE="Apache v2 BSD (3-clause)" -REVISION="2" +REVISION="1" SOURCE_URI="https://pypi.io/packages/source/c/cryptography/cryptography-$portVersion.tar.gz" -CHECKSUM_SHA256="a0c30272fb4ddda5f5ffc1089d7405b7a71b0b0f51993cb4e5dbb4590b2fc229" +CHECKSUM_SHA256="5a60d3780149e13b7a6ff7ad6526b38846354d11a15e21068e57073e29e19bed" ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" @@ -33,8 +33,8 @@ BUILD_PREREQUIRES=" cmd:pkg_config$secondaryArchSuffix " -PYTHON_PACKAGES=(python3 python38 python39) -PYTHON_VERSIONS=(3.7 3.8 3.9) +PYTHON_PACKAGES=(python3 python38 python39 python310) +PYTHON_VERSIONS=(3.7 3.8 3.9 3.10) PYTHON_LIBSUFFIXES+=(m) for i in "${!PYTHON_PACKAGES[@]}"; do pythonPackage=${PYTHON_PACKAGES[i]} @@ -54,6 +54,11 @@ eval "REQUIRES_$pythonPackage=\" lib:libpython$pythonVersion$pythonLibSuffix$secondaryArchSuffix lib:libssl$secondaryArchSuffix \"" +if [ "$targetArchitecture" = "x86_gcc2" ]; then + eval "PROVIDES_${pythonPackage}+=\"\n\ + cryptography_$pythonPackage = $portVersion\ + \"" +fi BUILD_REQUIRES="$BUILD_REQUIRES setuptools_$pythonPackage wheel_$pythonPackage