Gentoo Archives: gentoo-commits

From: Quentin Retornaz <gentoo@××××××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/libressl:master commit in: dev-python/m2crypto/
Date: Sat, 25 Dec 2021 23:59:20
Message-Id: 1640476629.459086f6791e0aaf2b04e20fa675ff2d74907644.quentin@gentoo
1 commit: 459086f6791e0aaf2b04e20fa675ff2d74907644
2 Author: orbea <orbea <AT> riseup <DOT> net>
3 AuthorDate: Sat Dec 25 18:19:11 2021 +0000
4 Commit: Quentin Retornaz <gentoo <AT> retornaz <DOT> com>
5 CommitDate: Sat Dec 25 23:57:09 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=459086f6
7
8 dev-python/m2crypto: Remove old version
9
10 Leaves 0.37.1 for older libressl versions for now.
11
12 Signed-off-by: orbea <orbea <AT> riseup.net>
13 Closes: https://github.com/gentoo/libressl/pull/372
14 Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com>
15
16 dev-python/m2crypto/Manifest | 1 -
17 dev-python/m2crypto/m2crypto-0.36.0-r1.ebuild | 70 ---------------------------
18 2 files changed, 71 deletions(-)
19
20 diff --git a/dev-python/m2crypto/Manifest b/dev-python/m2crypto/Manifest
21 index d57a141..8b5375f 100644
22 --- a/dev-python/m2crypto/Manifest
23 +++ b/dev-python/m2crypto/Manifest
24 @@ -1,3 +1,2 @@
25 -DIST M2Crypto-0.36.0.tar.gz 1127584 BLAKE2B 5cdbbb11ff67d4ddffb2853a72383f3c7f1e1aa53ab84166aeda4fbea1b0d7f506761bb07bf8cb5b36f94bdbeb2ea2b46e0693da8355f81b4bf5c4c1c1cc18b1 SHA512 5b7d6d10c943ff0e09e0e9748d5578e7e0f7659a73de4ba49481152bca05871aef2bfbb869e1636a7cebcf2dd8b9f67fb0d299a833d1d4ebd538031c35d7bca1
26 DIST M2Crypto-0.37.1.tar.gz 1247031 BLAKE2B 3628150b8da15d7356298b6e52e0d8fa7875921a184a0eba3a97eff0588c9e0fee340c92fd486919057d900d6e3b2b711174dde9761fe247848f92ac6434df0a SHA512 9a5e0220704b4897a9ca7efa4b3b57447b9175c52e8039a85bff7bb1a43b709c69f3c8b5903df461f8de39d3f8a20f9bf494df6f5882771846adfe2c03fbea9e
27 DIST M2Crypto-0.38.0.tar.gz 1241269 BLAKE2B 95433090e08ff72cd2b0779491dc38b89eca159b26812e763b5b8973e3d27249a96d5a2c983b59f414184f64beb8e455dc26979310378db89dd2081741d4d17d SHA512 b1e24e3101ce0dd9f17be4cabeddc2ec0f1228b270d74ef2fb38bae8807c5025b031d0743185f06370786a3dd5c3f42129720534dcff07ea4de3c727613f8d20
28
29 diff --git a/dev-python/m2crypto/m2crypto-0.36.0-r1.ebuild b/dev-python/m2crypto/m2crypto-0.36.0-r1.ebuild
30 deleted file mode 100644
31 index faca271..0000000
32 --- a/dev-python/m2crypto/m2crypto-0.36.0-r1.ebuild
33 +++ /dev/null
34 @@ -1,70 +0,0 @@
35 -# Copyright 2018-2021 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=7
39 -
40 -PYTHON_COMPAT=( python3_{6..9} )
41 -PYTHON_REQ_USE="threads(+)"
42 -
43 -inherit distutils-r1 toolchain-funcs
44 -
45 -MY_PN="M2Crypto"
46 -DESCRIPTION="A Python crypto and SSL toolkit"
47 -HOMEPAGE="https://gitlab.com/m2crypto/m2crypto https://pypi.org/project/M2Crypto/"
48 -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
49 -
50 -LICENSE="MIT"
51 -SLOT="0"
52 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
53 -
54 -RDEPEND="
55 - dev-libs/openssl:0=
56 - $(python_gen_cond_dep '
57 - dev-python/typing[${PYTHON_USEDEP}]
58 - ' -2)
59 -"
60 -DEPEND="${RDEPEND}"
61 -BDEPEND="
62 - >=dev-lang/swig-2.0.9
63 - dev-python/setuptools[${PYTHON_USEDEP}]
64 -"
65 -
66 -S="${WORKDIR}/${MY_PN}-${PV}"
67 -
68 -PATCHES=(
69 - "${FILESDIR}/${PN}-libressl-0.31.0.patch"
70 -)
71 -
72 -swig_define() {
73 - local x
74 - for x; do
75 - if tc-cpp-is-true "defined(${x})"; then
76 - SWIG_FEATURES+=" -D${x}"
77 - fi
78 - done
79 -}
80 -
81 -src_prepare() {
82 - # TODO
83 - sed -e 's:test_server_simple_timeouts:_&:' \
84 - -i tests/test_ssl.py || die
85 - distutils-r1_src_prepare
86 -}
87 -
88 -python_compile() {
89 - # setup.py looks at platform.machine() to determine swig options.
90 - # For exotic ABIs, we need to give swig a hint.
91 - local -x SWIG_FEATURES=
92 -
93 - # https://bugs.gentoo.org/617946
94 - swig_define __ILP32__
95 -
96 - # https://bugs.gentoo.org/674112
97 - swig_define __ARM_PCS_VFP
98 -
99 - distutils-r1_python_compile --openssl="${ESYSROOT}"/usr
100 -}
101 -
102 -python_test() {
103 - esetup.py test
104 -}