Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cryptography/
Date: Tue, 18 May 2021 11:40:17
Message-Id: 1621338003.5276093d36fdf47fa6ac4cfe17a5435995a6fe5d.mgorny@gentoo
1 commit: 5276093d36fdf47fa6ac4cfe17a5435995a6fe5d
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 18 11:38:27 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue May 18 11:40:03 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5276093d
7
8 dev-python/cryptography: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/cryptography/Manifest | 2 -
13 dev-python/cryptography/cryptography-3.3.2.ebuild | 66 -----------------------
14 dev-python/cryptography/metadata.xml | 3 --
15 3 files changed, 71 deletions(-)
16
17 diff --git a/dev-python/cryptography/Manifest b/dev-python/cryptography/Manifest
18 index 46e9995bac7..af5ed6c6b19 100644
19 --- a/dev-python/cryptography/Manifest
20 +++ b/dev-python/cryptography/Manifest
21 @@ -1,4 +1,2 @@
22 -DIST cryptography-3.3.2.tar.gz 539883 BLAKE2B e35de90362b24170c4025f67914e60c16fbf37fce6bcd5d6f3fe32e5a9bb60de8edbebcb1ff0450fabc9c244d4b1a4618c720b630f28c747fea17e9bf008f01f SHA512 55f6ee13342b3209b1fcb310f4c4d33d22856ee785cb2347e6ad36c34e9b42f6e0d5bece8e458b09663a5b78e34c4567fe7a211b51ca71f55ccc93e3f62dc5e4
23 DIST cryptography-3.4.7.tar.gz 546893 BLAKE2B 49bc1e098ed1ba0181059b645f6668cda6332d196eaca55270ebce6e07e5bb6ab6724c5050fde20e89b7025773960d74ec782bb875badbbd5dc9a04db0a536f1 SHA512 3c4cf64bc0b067ccdbb71efe04c32ac9d673faea6cc4ccd13d6b1b61920be4785806d19359b7657d032a2ff1c011a8b4f16ec4924d9df8a59d1a875a7f844473
24 -DIST cryptography_vectors-3.3.2.tar.gz 35168168 BLAKE2B 3991a16556ae5be0d153cfe302dd9a860918a80bd0bdef7104f3c170ba63941c4b1ff74750bc12329422a6061161cb6452bea60e191d85c0d79e0852566c6c0b SHA512 18590adb96a6f04b8a41d4346b126b8adfc854cbcec85f8c1c0a23b1b363f215b37da60ea94a481b8fd7752f07fba515b08fc18faf2e29fb858e133129971f7c
25 DIST cryptography_vectors-3.4.7.tar.gz 35168102 BLAKE2B fbefd3ff96548dde012fd290aba1c99d57db376023d486910e486cc9c143461ef1ae9b77824cc03307723d35142f0360bc961b548a4edc02357d3f1a0e7e4e9f SHA512 269b50fa4c5300da6758006d12be42f998630d23053ef9af0eb588fc9e6994b044d8822cff105e338f4d0d746ed0e204a4a9c42f54667e355e1ce86e6754bbe9
26
27 diff --git a/dev-python/cryptography/cryptography-3.3.2.ebuild b/dev-python/cryptography/cryptography-3.3.2.ebuild
28 deleted file mode 100644
29 index fd7468560e2..00000000000
30 --- a/dev-python/cryptography/cryptography-3.3.2.ebuild
31 +++ /dev/null
32 @@ -1,66 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -PYTHON_COMPAT=( python3_{7..9} pypy3 )
39 -PYTHON_REQ_USE="threads(+)"
40 -
41 -inherit distutils-r1 multiprocessing
42 -
43 -VEC_P=cryptography_vectors-${PV}
44 -DESCRIPTION="Library providing cryptographic recipes and primitives"
45 -HOMEPAGE="https://github.com/pyca/cryptography/ https://pypi.org/project/cryptography/"
46 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
47 - test? ( mirror://pypi/c/cryptography_vectors/${VEC_P}.tar.gz )"
48 -
49 -LICENSE="|| ( Apache-2.0 BSD )"
50 -SLOT="0"
51 -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"
52 -IUSE="idna"
53 -
54 -RDEPEND="
55 - >=dev-python/six-1.4.1[${PYTHON_USEDEP}]
56 - idna? ( >=dev-python/idna-2.1[${PYTHON_USEDEP}] )
57 - $(python_gen_cond_dep '
58 - >=dev-python/cffi-1.8:=[${PYTHON_USEDEP}]
59 - ' 'python*')
60 - "
61 -BDEPEND="
62 - test? (
63 - >=dev-python/hypothesis-1.11.4[${PYTHON_USEDEP}]
64 - dev-python/iso8601[${PYTHON_USEDEP}]
65 - dev-python/pretend[${PYTHON_USEDEP}]
66 - dev-python/pyasn1-modules[${PYTHON_USEDEP}]
67 - dev-python/pytz[${PYTHON_USEDEP}]
68 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
69 - )"
70 -
71 -distutils_enable_tests pytest
72 -
73 -DEPEND="
74 - >=dev-libs/openssl-1.0.2o-r6:0=
75 - "
76 -RDEPEND+=${DEPEND}
77 -
78 -DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst )
79 -
80 -src_prepare() {
81 - default
82 -
83 - # work around availability macros not supported in GCC (yet)
84 - if [[ ${CHOST} == *-darwin* ]] ; then
85 - local darwinok=0
86 - if [[ ${CHOST##*-darwin} -ge 16 ]] ; then
87 - darwinok=1
88 - fi
89 - sed -i -e 's/__builtin_available(macOS 10\.12, \*)/'"${darwinok}"'/' \
90 - src/_cffi_src/openssl/src/osrandom_engine.c || die
91 - fi
92 -}
93 -
94 -python_test() {
95 - local -x PYTHONPATH=${PYTHONPATH}:${WORKDIR}/${VEC_P}
96 - pytest -vv -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" ||
97 - die "Tests fail with ${EPYTHON}"
98 -}
99
100 diff --git a/dev-python/cryptography/metadata.xml b/dev-python/cryptography/metadata.xml
101 index ff02c2b32ae..2dfa57bc0fb 100644
102 --- a/dev-python/cryptography/metadata.xml
103 +++ b/dev-python/cryptography/metadata.xml
104 @@ -5,9 +5,6 @@
105 <email>python@g.o</email>
106 <name>Python</name>
107 </maintainer>
108 - <use>
109 - <flag name="idna">enable support for the old, deprecated IDNA specification (RFC 3490)</flag>
110 - </use>
111 <upstream>
112 <remote-id type="pypi">cryptography</remote-id>
113 <remote-id type="github">pyca/cryptography</remote-id>