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/pyopenssl/
Date: Sat, 15 May 2021 21:37:05
Message-Id: 1621113671.8e36cbc10d577426614aca2cb1b64506ec9b2e6b.mgorny@gentoo
1 commit: 8e36cbc10d577426614aca2cb1b64506ec9b2e6b
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 15 21:21:11 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat May 15 21:21:11 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e36cbc1
7
8 dev-python/pyopenssl: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pyopenssl/Manifest | 2 -
13 dev-python/pyopenssl/pyopenssl-19.1.0-r1.ebuild | 51 -------------------------
14 dev-python/pyopenssl/pyopenssl-20.0.0-r1.ebuild | 51 -------------------------
15 3 files changed, 104 deletions(-)
16
17 diff --git a/dev-python/pyopenssl/Manifest b/dev-python/pyopenssl/Manifest
18 index 847f7caa8a9..cfda79f1614 100644
19 --- a/dev-python/pyopenssl/Manifest
20 +++ b/dev-python/pyopenssl/Manifest
21 @@ -1,3 +1 @@
22 -DIST pyOpenSSL-19.1.0.tar.gz 160510 BLAKE2B e6e39f860221a2696aa3fa32ac89ed48e34b18e4accc366a86264d943a15a1b00ba1a0d8349550d1775d25836aa5d214e1e3fe4ec0a9c0f6d5ab00cd9fede633 SHA512 4acd96f287d72eb11bd812697d28cd6eb6a96a4653248b65f967187830a6b17cc1254775a18a3405469f3d45abdae6f02d165f2f35f035f3174c2826fba82916
23 -DIST pyOpenSSL-20.0.0.tar.gz 173786 BLAKE2B 3fb1e90e20b3e083fc93f6dc8a54fb54e15ceb38c4d2e84e2d7d68bb56f9e3828cd264e3554f25465e858687e74a7f20b91216fb7a0b4b2c656ea86423cd3442 SHA512 26e8a64d53a35434ad4bf5ef50ed5c37d7b92b0db971a2103dcafea56a0b377d67333af630a31405a97cf2cffddde320907b4950ed336a8321391854bcd2c50a
24 DIST pyOpenSSL-20.0.1.tar.gz 173736 BLAKE2B 37e1741425a296142d38c20c70f9950eec2bd043fc58e50c9955b98dc6825111328af852d247b154aa120ab42ea9dc2ae8186d350dd0c664cd5920b9a902963e SHA512 e81e0870398b882d77453b02e972559c0be82dbfe87bd8a48a65e8943acc3ea07dc8c3150b88e299c237496043443d1a5832219c337e4436f99ef419b36dd23f
25
26 diff --git a/dev-python/pyopenssl/pyopenssl-19.1.0-r1.ebuild b/dev-python/pyopenssl/pyopenssl-19.1.0-r1.ebuild
27 deleted file mode 100644
28 index 180a40299af..00000000000
29 --- a/dev-python/pyopenssl/pyopenssl-19.1.0-r1.ebuild
30 +++ /dev/null
31 @@ -1,51 +0,0 @@
32 -# Copyright 1999-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -PYTHON_COMPAT=( python3_{7,8,9} pypy3 )
38 -PYTHON_REQ_USE="threads(+)"
39 -
40 -inherit distutils-r1 flag-o-matic
41 -
42 -MY_PN=pyOpenSSL
43 -MY_P=${MY_PN}-${PV}
44 -
45 -DESCRIPTION="Python interface to the OpenSSL library"
46 -HOMEPAGE="
47 - https://www.pyopenssl.org/
48 - https://pypi.org/project/pyOpenSSL/
49 - https://github.com/pyca/pyopenssl
50 -"
51 -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
52 -S=${WORKDIR}/${MY_P}
53 -
54 -LICENSE="Apache-2.0"
55 -SLOT="0"
56 -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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
57 -IUSE="test"
58 -RESTRICT="!test? ( test )"
59 -
60 -RDEPEND="
61 - >=dev-python/six-1.5.2[${PYTHON_USEDEP}]
62 - >=dev-python/cryptography-2.8[${PYTHON_USEDEP}]"
63 -DEPEND="${RDEPEND}
64 - test? (
65 - virtual/python-cffi[${PYTHON_USEDEP}]
66 - dev-python/flaky[${PYTHON_USEDEP}]
67 - dev-python/pretend[${PYTHON_USEDEP}]
68 - >=dev-python/pytest-3.0.1[${PYTHON_USEDEP}]
69 - )"
70 -
71 -distutils_enable_sphinx doc \
72 - dev-python/sphinx_rtd_theme
73 -
74 -python_prepare_all() {
75 - # Requires network access
76 - sed -i -e 's/test_set_default_verify_paths/_&/' tests/test_ssl.py || die
77 - distutils-r1_python_prepare_all
78 -}
79 -
80 -python_test() {
81 - TZ=UTC pytest -vv || die "Testing failed with ${EPYTHON}" # Fixes bug #627530
82 -}
83
84 diff --git a/dev-python/pyopenssl/pyopenssl-20.0.0-r1.ebuild b/dev-python/pyopenssl/pyopenssl-20.0.0-r1.ebuild
85 deleted file mode 100644
86 index 24caf321b36..00000000000
87 --- a/dev-python/pyopenssl/pyopenssl-20.0.0-r1.ebuild
88 +++ /dev/null
89 @@ -1,51 +0,0 @@
90 -# Copyright 1999-2021 Gentoo Authors
91 -# Distributed under the terms of the GNU General Public License v2
92 -
93 -EAPI=7
94 -
95 -PYTHON_COMPAT=( python3_{7..9} pypy3 )
96 -PYTHON_REQ_USE="threads(+)"
97 -
98 -inherit distutils-r1 flag-o-matic
99 -
100 -MY_PN=pyOpenSSL
101 -MY_P=${MY_PN}-${PV}
102 -
103 -DESCRIPTION="Python interface to the OpenSSL library"
104 -HOMEPAGE="
105 - https://www.pyopenssl.org/
106 - https://pypi.org/project/pyOpenSSL/
107 - https://github.com/pyca/pyopenssl/
108 -"
109 -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
110 -S=${WORKDIR}/${MY_P}
111 -
112 -LICENSE="Apache-2.0"
113 -SLOT="0"
114 -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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
115 -IUSE="test"
116 -RESTRICT="!test? ( test )"
117 -
118 -RDEPEND="
119 - >=dev-python/six-1.5.2[${PYTHON_USEDEP}]
120 - >=dev-python/cryptography-3.2[${PYTHON_USEDEP}]"
121 -DEPEND="${RDEPEND}
122 - test? (
123 - virtual/python-cffi[${PYTHON_USEDEP}]
124 - dev-python/flaky[${PYTHON_USEDEP}]
125 - dev-python/pretend[${PYTHON_USEDEP}]
126 - >=dev-python/pytest-3.0.1[${PYTHON_USEDEP}]
127 - )"
128 -
129 -distutils_enable_sphinx doc \
130 - dev-python/sphinx_rtd_theme
131 -
132 -python_prepare_all() {
133 - # Requires network access
134 - sed -i -e 's/test_set_default_verify_paths/_&/' tests/test_ssl.py || die
135 - distutils-r1_python_prepare_all
136 -}
137 -
138 -python_test() {
139 - TZ=UTC pytest -vv || die "Testing failed with ${EPYTHON}" # Fixes bug #627530
140 -}