1 |
commit: 961ef76eed825abfc471341d1b93f9cd498a0073 |
2 |
Author: orbea <orbea <AT> riseup <DOT> net> |
3 |
AuthorDate: Sat Apr 30 15:54:44 2022 +0000 |
4 |
Commit: Quentin Retornaz <gentoo <AT> retornaz <DOT> com> |
5 |
CommitDate: Sun May 1 00:19:01 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=961ef76e |
7 |
|
8 |
dev-python/cryptography: Updated for version 3.4.7-r3 |
9 |
|
10 |
Signed-off-by: orbea <orbea <AT> riseup.net> |
11 |
Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com> |
12 |
|
13 |
....4.7-r2.ebuild => cryptography-3.4.7-r3.ebuild} | 35 ++++++++++++---------- |
14 |
1 file changed, 20 insertions(+), 15 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/cryptography/cryptography-3.4.7-r2.ebuild b/dev-python/cryptography/cryptography-3.4.7-r3.ebuild |
17 |
similarity index 72% |
18 |
rename from dev-python/cryptography/cryptography-3.4.7-r2.ebuild |
19 |
rename to dev-python/cryptography/cryptography-3.4.7-r3.ebuild |
20 |
index b3d9bc1..87fcff4 100644 |
21 |
--- a/dev-python/cryptography/cryptography-3.4.7-r2.ebuild |
22 |
+++ b/dev-python/cryptography/cryptography-3.4.7-r3.ebuild |
23 |
@@ -1,28 +1,34 @@ |
24 |
-# Copyright 1999-2021 Gentoo Authors |
25 |
+# Copyright 1999-2022 Gentoo Authors |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
|
28 |
-EAPI=7 |
29 |
+EAPI=8 |
30 |
|
31 |
-PYTHON_COMPAT=( python3_{7..10} pypy3 ) |
32 |
+DISTUTILS_USE_PEP517=setuptools |
33 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
34 |
PYTHON_REQ_USE="threads(+)" |
35 |
|
36 |
inherit distutils-r1 multiprocessing |
37 |
|
38 |
VEC_P=cryptography_vectors-${PV} |
39 |
DESCRIPTION="Library providing cryptographic recipes and primitives" |
40 |
-HOMEPAGE="https://github.com/pyca/cryptography/ https://pypi.org/project/cryptography/" |
41 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz |
42 |
- test? ( mirror://pypi/c/cryptography_vectors/${VEC_P}.tar.gz )" |
43 |
+HOMEPAGE=" |
44 |
+ https://github.com/pyca/cryptography/ |
45 |
+ https://pypi.org/project/cryptography/ |
46 |
+" |
47 |
+SRC_URI=" |
48 |
+ mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz |
49 |
+ test? ( mirror://pypi/c/cryptography_vectors/${VEC_P}.tar.gz ) |
50 |
+" |
51 |
|
52 |
LICENSE="|| ( Apache-2.0 BSD )" |
53 |
SLOT="0" |
54 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv sparc x86" |
55 |
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
56 |
|
57 |
RDEPEND=" |
58 |
$(python_gen_cond_dep ' |
59 |
>=dev-python/cffi-1.8:=[${PYTHON_USEDEP}] |
60 |
' 'python*') |
61 |
- " |
62 |
+" |
63 |
BDEPEND=" |
64 |
test? ( |
65 |
>=dev-python/hypothesis-1.11.4[${PYTHON_USEDEP}] |
66 |
@@ -32,13 +38,14 @@ BDEPEND=" |
67 |
dev-python/pytz[${PYTHON_USEDEP}] |
68 |
dev-python/pytest-subtests[${PYTHON_USEDEP}] |
69 |
dev-python/pytest-xdist[${PYTHON_USEDEP}] |
70 |
- )" |
71 |
+ ) |
72 |
+" |
73 |
|
74 |
distutils_enable_tests pytest |
75 |
|
76 |
DEPEND=" |
77 |
>=dev-libs/openssl-1.0.2o-r6:0= |
78 |
- " |
79 |
+" |
80 |
RDEPEND+=${DEPEND} |
81 |
|
82 |
PATCHES=( |
83 |
@@ -56,11 +63,9 @@ src_prepare() { |
84 |
# work around availability macros not supported in GCC (yet) |
85 |
if [[ ${CHOST} == *-darwin* ]] ; then |
86 |
local darwinok=0 |
87 |
- if [[ ${CHOST##*-darwin} -ge 16 ]] ; then |
88 |
- darwinok=1 |
89 |
- fi |
90 |
- sed -i -e 's/__builtin_available(macOS 10\.12, \*)/'"${darwinok}"'/' \ |
91 |
- src/_cffi_src/openssl/src/osrandom_engine.c || die |
92 |
+ [[ ${CHOST##*-darwin} -ge 16 ]] && darwinok=1 |
93 |
+ sed -e 's/__builtin_available(macOS 10\.12, \*)/'"${darwinok}"'/' \ |
94 |
+ -i src/_cffi_src/openssl/src/osrandom_engine.c || die |
95 |
fi |
96 |
|
97 |
# this version does not really use Rust, it just creates a dummy |