From 73a0345655e9a8d59911828b101fb6f53ca4b398 Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Wed, 28 Oct 2020 19:32:30 +0100 Subject: [PATCH] add a copy of cryptography-3.2 from main repo --- CHANGELOG.txt | 3 ++ dev-python/cryptography/Manifest | 5 +- .../cryptography/cryptography-3.2.ebuild | 53 +++++++++++++++++++ dev-python/cryptography/metadata.xml | 14 ++--- 4 files changed, 67 insertions(+), 8 deletions(-) create mode 100644 dev-python/cryptography/cryptography-3.2.ebuild diff --git a/CHANGELOG.txt b/CHANGELOG.txt index fc44f10ad..043ce7b99 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,3 +1,6 @@ +2020-10-28 + * add a copy of cryptography-3.2 from main repo + 2020-10-27 * bump simplisafe-python-9.6.0 * bump pysqueezebox-0.5.4 diff --git a/dev-python/cryptography/Manifest b/dev-python/cryptography/Manifest index f1a1a6a67..8902dd169 100644 --- a/dev-python/cryptography/Manifest +++ b/dev-python/cryptography/Manifest @@ -1,4 +1,7 @@ DIST cryptography-2.9.2.tar.gz 517571 BLAKE2B a3c3ae9ebea1fa9677f59b4e98d1f690e83d5b10562d8b257d71aea2092409785787b8bc9dac3dd56215ce0cd958192060cc7a6c8f62c56c76ec632c166a9c7f SHA512 a8cb7ba229cddfa15bf4ed00d40e76e2ece57958203b9c50c3f782c7977e1c725fa147a1eebc31d50684a622d53e73f97864e1a935753472ea4b2d89eb6ffb6a +DIST cryptography-3.2.tar.gz 540815 BLAKE2B be4edd5d4cd9564e8622284ff9b1d3a7cc7d6e46cfa790d8e1cfa1ce389c5d628e39b056dc5cba3b94ab3fa45603df73a7b4ebd9d1c70fc88c457780f6616311 SHA512 0096e6408b5868cc0b5e6f67945e4200bb943a00ac803546048fa4d332f81af4a224b2d67b911ee8da1ad086120935d7d557fc70a739ecffb22f408ee9b8d09e DIST cryptography_vectors-2.9.2.tar.gz 35141183 BLAKE2B e0b1e5d425091e4bab13ba65dea2ce08d29bdb8e2a639582b0683854943d34d02164923012e3e0c7aa89d7aff59554800f346694473210eb0bdf293424f267eb SHA512 7d8d20f9a3edde8a19b96b5ac9f1d0622421980b0ca6996fb83a659970e964a41679d21d9e5d60d1c1db2c8b1296ce89185954e7e43e86c8bb65b68e805e28ca +DIST cryptography_vectors-3.2.tar.gz 35168065 BLAKE2B ebd915eee9b91bd61445bcb442d3052972b1463132b8e63343832baa27c25566e22ca9f50c9d4ea73cb12185f9228144eaac4bf5cc68a3bd79f347fe2d021adc SHA512 bb0d00c8a66fd328ef38b0008519856a14d35b6fd634a6f67ea5530775d36538fbd326326c3f0cd962b1a008c21f2aded4d733f97bc12577679ed8be67b858bc EBUILD cryptography-2.9.2.ebuild 2055 BLAKE2B 01084cf1f23847d624cb40289ec567e738acd0982fe74216cbe3bf25e66236b86f82b76f0a01c61485e02ac46276be226651b74cf4813db9d1c2791de3b267fb SHA512 b963fe29097785545cf36462c3f018813cbaa97df68d0f8de26eddeeb0887ac376f15774582324593f09590ad0051d1c5b8eadcce33e324dd49b404873283fa4 -MISC metadata.xml 499 BLAKE2B 2e4c37917ebb1604f399b0db4abe27b02b133a2cc8fb69fbbf52b6fdc0aee079dde61be188bfa5bca043a1804a670ffb53f6ab1e79147230166f696741fadad8 SHA512 26eda8b0a2ac91dce2946e18e941e2e75df15e4583e4ddb1f1329403eaae30db9976017f92981c462bfb8c8a559de2a2ea9531f4ac5ccb2d57cadb00e68e05ec +EBUILD cryptography-3.2.ebuild 1603 BLAKE2B 91d3cc7995d6f2a7ac6e25d830652d9c99fec02d202fb06ed195d3649848fa762966e3c80d10040d1ac365aedbd812c74154be5ffc09c9b10485b1adf8dbc4c8 SHA512 1d18a716b6e4429816754fa6cdd07549d9cae8e7c59922df7b624ea27ebc8b3fa46fdd9e171d2da1aa16b7fe319216aade3c009296c1a8bb5076f3411ea6b0eb +MISC metadata.xml 479 BLAKE2B 637fbeecd5f411ce492dc6bc433f5996e33422be878f1fd47b2e28b98554b0e086be846c273f6dd9f4fbf0dc1880123fa4b9201dc130d802cb29f3288b0b340c SHA512 ab01a7440d9a51c073b2d8b9670ae3e821897fec59ee969165576961e2432ed84aa5fbda3075af46877809a78792923f9a75d4d64b33d1defa7c662bcd23bb33 diff --git a/dev-python/cryptography/cryptography-3.2.ebuild b/dev-python/cryptography/cryptography-3.2.ebuild new file mode 100644 index 000000000..97b2d2558 --- /dev/null +++ b/dev-python/cryptography/cryptography-3.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 multiprocessing + +VEC_P=cryptography_vectors-${PV} +DESCRIPTION="Library providing cryptographic recipes and primitives" +HOMEPAGE="https://github.com/pyca/cryptography/ https://pypi.org/project/cryptography/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz + test? ( mirror://pypi/c/cryptography_vectors/${VEC_P}.tar.gz )" + +LICENSE="|| ( Apache-2.0 BSD )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="libressl idna" + +RDEPEND=" + >=dev-python/six-1.4.1[${PYTHON_USEDEP}] + idna? ( >=dev-python/idna-2.1[${PYTHON_USEDEP}] ) + $(python_gen_cond_dep ' + >=dev-python/cffi-1.8:=[${PYTHON_USEDEP}] + ' 'python*') + " +BDEPEND=" + test? ( + >=dev-python/hypothesis-1.11.4[${PYTHON_USEDEP}] + dev-python/iso8601[${PYTHON_USEDEP}] + dev-python/pretend[${PYTHON_USEDEP}] + dev-python/pyasn1-modules[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +DEPEND=" + !libressl? ( >=dev-libs/openssl-1.0.2o-r6:0= ) + libressl? ( >=dev-libs/libressl-2.9.1:0= ) + " +RDEPEND+=${DEPEND} + +DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst ) + +python_test() { + local -x PYTHONPATH=${PYTHONPATH}:${WORKDIR}/${VEC_P} + pytest -vv -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" || + die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/cryptography/metadata.xml b/dev-python/cryptography/metadata.xml index ff02c2b32..e75318aa0 100644 --- a/dev-python/cryptography/metadata.xml +++ b/dev-python/cryptography/metadata.xml @@ -1,15 +1,15 @@ - + - python@gentoo.org - Python + b@edevau.net + Andreas Billmeier - - enable support for the old, deprecated IDNA specification (RFC 3490) - cryptography - pyca/cryptography + + cryptography-dev@python.org + The cryptography developers +