From 6183659aa47305fdb288b2f1898182f53172b9ab Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Wed, 25 Oct 2023 20:28:28 +0000 Subject: Adding metadata --- dev-python/m2crypto/Manifest | 2 +- dev-python/m2crypto/m2crypto-0.39.0.ebuild | 62 ------------------------------ dev-python/m2crypto/m2crypto-0.40.1.ebuild | 62 ++++++++++++++++++++++++++++++ 3 files changed, 63 insertions(+), 63 deletions(-) delete mode 100644 dev-python/m2crypto/m2crypto-0.39.0.ebuild create mode 100644 dev-python/m2crypto/m2crypto-0.40.1.ebuild (limited to 'dev-python') diff --git a/dev-python/m2crypto/Manifest b/dev-python/m2crypto/Manifest index 54606413979b..f2c0d2b69103 100644 --- a/dev-python/m2crypto/Manifest +++ b/dev-python/m2crypto/Manifest @@ -1,2 +1,2 @@ -DIST m2crypto-0.39.0.tar.gz 1250692 BLAKE2B 4c9edb767f7f80e9d58d23955d3cdd17e93c4a8aa9a9a0e3f220e7ec7ed845ec3ac7e916e275ad25c4d082cf78478b1adb3fb526d2b8024faf78575192b07809 SHA512 78ef9f6a6c21a460ae6debbc8a07b855d9f1fd5199bfe562dd2542ab50c69eeaf2691c0e8342bb47f0e565082672ff55c4f248285257a6f464629b52ff5d4bde DIST m2crypto-0.40.0.tar.gz 1168113 BLAKE2B 3c73db46495d43d953c089c51d97fab7c251c516524d4cc5ac137ed2cfb3613e0769be6c81bdc6391bc29e1737d7eb4425ffbecfe9b2bc17ca2a183c38cd7e93 SHA512 1520771be7b38e1a4c0f2c17732374123f0f007c4b9c7b6794aa1b0fdb5c57a43918d5ac03542e6a960213aa43cbe27227deef5e5224d3d79b6e2630a394e801 +DIST m2crypto-0.40.1.tar.gz 1168233 BLAKE2B dbf851e22de8a9579baabd420584317e290ff804dadaca280e45a50576e67852bb2327202f775c7a19f8e22fa57a98311bb7050618ba7e519d00bd927ee497d5 SHA512 28010d573af9465759d09014ccea84e6131679244e436b55004ab6f23293d4c0be7ec966ee8efe4f88cca3875ba98655fd1a63e66e1b23fe8d58e2a58476fc89 diff --git a/dev-python/m2crypto/m2crypto-0.39.0.ebuild b/dev-python/m2crypto/m2crypto-0.39.0.ebuild deleted file mode 100644 index caf38959b059..000000000000 --- a/dev-python/m2crypto/m2crypto-0.39.0.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 2021-2023 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=8 - -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 toolchain-funcs - -DESCRIPTION="A Python crypto and SSL toolkit" -HOMEPAGE="https://gitlab.com/m2crypto/m2crypto https://pypi.org/project/M2Crypto/" -SRC_URI="https://gitlab.com/m2crypto/m2crypto/-/archive/${PV}/m2crypto-${PV}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" -IUSE="libressl test" -RESTRICT="!test? ( test )" - -BDEPEND=" - >=dev-lang/swig-2.0.9 - test? ( dev-python/parameterized[${PYTHON_USEDEP}] ) -" -RDEPEND=" - !libressl? ( dev-libs/openssl:0= ) - libressl? ( >=dev-libs/libressl-3.5.0:0= ) -" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}/${PN}-libressl-0.38.0-r2.patch" -) - -distutils_enable_tests setup.py - -swig_define() { - local x - for x; do - if tc-cpp-is-true "defined(${x})"; then - SWIG_FEATURES+=" -D${x}" - fi - done -} - -src_prepare() { - sed -e 's:test_server_simple_timeouts:_&:' \ - -i tests/test_ssl.py || die - distutils-r1_src_prepare -} - -python_compile() { - # setup.py looks at platform.machine() to determine swig options. - # For exotic ABIs, we need to give swig a hint. - local -x SWIG_FEATURES= - - # https://bugs.gentoo.org/617946 - swig_define __ILP32__ - # https://bugs.gentoo.org/674112 - swig_define __ARM_PCS_VFP - - distutils-r1_python_compile --openssl="${ESYSROOT}"/usr -} diff --git a/dev-python/m2crypto/m2crypto-0.40.1.ebuild b/dev-python/m2crypto/m2crypto-0.40.1.ebuild new file mode 100644 index 000000000000..caf38959b059 --- /dev/null +++ b/dev-python/m2crypto/m2crypto-0.40.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 2021-2023 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 toolchain-funcs + +DESCRIPTION="A Python crypto and SSL toolkit" +HOMEPAGE="https://gitlab.com/m2crypto/m2crypto https://pypi.org/project/M2Crypto/" +SRC_URI="https://gitlab.com/m2crypto/m2crypto/-/archive/${PV}/m2crypto-${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="libressl test" +RESTRICT="!test? ( test )" + +BDEPEND=" + >=dev-lang/swig-2.0.9 + test? ( dev-python/parameterized[${PYTHON_USEDEP}] ) +" +RDEPEND=" + !libressl? ( dev-libs/openssl:0= ) + libressl? ( >=dev-libs/libressl-3.5.0:0= ) +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-libressl-0.38.0-r2.patch" +) + +distutils_enable_tests setup.py + +swig_define() { + local x + for x; do + if tc-cpp-is-true "defined(${x})"; then + SWIG_FEATURES+=" -D${x}" + fi + done +} + +src_prepare() { + sed -e 's:test_server_simple_timeouts:_&:' \ + -i tests/test_ssl.py || die + distutils-r1_src_prepare +} + +python_compile() { + # setup.py looks at platform.machine() to determine swig options. + # For exotic ABIs, we need to give swig a hint. + local -x SWIG_FEATURES= + + # https://bugs.gentoo.org/617946 + swig_define __ILP32__ + # https://bugs.gentoo.org/674112 + swig_define __ARM_PCS_VFP + + distutils-r1_python_compile --openssl="${ESYSROOT}"/usr +} -- cgit v1.3