Removed dev-python/m2crypto.

This commit is contained in:
László Valkó 2021-04-26 00:27:21 +02:00
parent ecf6ea2af3
commit e15b6b4efc
4 changed files with 0 additions and 82 deletions

View file

@ -1,4 +0,0 @@
AUX 0.24-cpuarch.patch 559 BLAKE2B eeaefa1791dcae15af8163fd58d1ab42ba538d6329241ede3c258149898012fc19e0a0d9731140b42f5639906964b4d85f8b3c75ce5f00968ff164733d131248 SHA512 0b84a5ee31f8a405bebc6a92cefab20ecd8952db570f5f894d28a19150a161b857c8c5142104e739de47fb9b027bb7422cda7cff783c181becac9601613c9e9d
DIST M2Crypto-0.24.0.tar.gz 184457 BLAKE2B 15a11dc1b13359041875e8321d0159a1a393b7f85dfbd38d650721d8a2eaed2cc2199859c3e1e3c890033711e0b137f4c78b90f04681ff44a3356558b9f55aea SHA512 c23ae0f8ac790d4ef108a217a44e994341f6bbe4e12a7fef2518d8def82331246a145e19a2504b82b790a3ad4b467d2facc8a73bb7f1190b56441d8482c66aca
EBUILD m2crypto-0.24.0.ebuild 1207 BLAKE2B c25cfffe5585caf6e1cdd5cc9e66efb0919c5cf763e72e4e7af5e5caff3125cc8177ee669d3fb62458a5874ff5ed45d9a4068eccf9e2d8b6401979a260f07747 SHA512 b7848d13f94ff6fac6e491dc2a1a68f413c24cdc439f30552c991206fef77af06f1029abf5f8b8d877e9a471cdb50f2012e8f0a01fa6217f5e4abb4c3a543184
MISC metadata.xml 380 BLAKE2B 99a1c8e8202bed7c6d0ff8cdff3f17b664791405b082be2b7d72b3fe2b77bf89c886666d9bdce6a96c540b9518042b9d49b9af926ca10ab4c5b3b416182de01c SHA512 f2e3b4228c45471f0132b3bb412f017f4006eb82bd63e187db3efdfd3f412c1db19bdb79d37630bb059f75ef69f110687b8924d22c2aef0101cb40eb3486f1e6

View file

@ -1,11 +0,0 @@
--- M2Crypto-0.24.0/setup.py.orig 2017-04-24 01:52:50.368912266 +0200
+++ M2Crypto-0.24.0/setup.py 2017-04-24 01:53:45.223167325 +0200
@@ -91,7 +91,7 @@
# For RedHat-based distros, the '-D__{arch}__' option for
# Swig needs to be normalized, particularly on i386.
- mach = platform.machine().lower()
+ mach = os.getenv('__SWIG_CPU_ARCH', platform.machine().lower())
if mach in ('i386', 'i486', 'i586', 'i686'):
arch = '__i386__'
elif mach in ('ppc64', 'powerpc64'):

View file

@ -1,55 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="threads(+)"
inherit eutils distutils-r1
MY_PN="M2Crypto"
DESCRIPTION="M2Crypto: A Python crypto and SSL toolkit"
HOMEPAGE="https://gitlab.com/m2crypto/m2crypto https://pypi.python.org/pypi/M2Crypto"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="libressl"
RDEPEND="
!libressl? ( >=dev-libs/openssl-0.9.8:0= )
libressl? ( dev-libs/libressl:= )
"
DEPEND="${RDEPEND}
>=dev-lang/swig-1.3.28:0
dev-python/setuptools[${PYTHON_USEDEP}]
"
S="${WORKDIR}/${MY_PN}-${PV}"
# Tests access network, and fail randomly. Bug #431458.
RESTRICT=test
python_prepare_all() {
epatch "${FILESDIR}"/0.24-cpuarch.patch
distutils-r1_python_prepare_all
}
python_compile() {
if use x86; then
export __SWIG_CPU_ARCH=i686
fi
if use amd64; then
export __SWIG_CPU_ARCH=x86_64
fi
distutils-r1_python_compile
}
python_test() {
esetup.py test
}

View file

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<upstream>
<remote-id type="pypi">M2Crypto</remote-id>
<remote-id type="gitlab">m2crypto/m2crypto</remote-id>
</upstream>
</pkgmetadata>