diff options
author | Patrick Lauer <patrick@gentoo.org> | 2017-09-30 15:22:41 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2017-09-30 15:29:52 +0000 |
commit | 484a60bfa923aff042573f809299e763959d2744 (patch) | |
tree | 12a850ca7e4f6878c1d0ab198058362d9137760c /dev-python/m2crypto | |
parent | dev-python/docutils: Bump (diff) | |
download | gentoo-484a60bfa923aff042573f809299e763959d2744.tar.gz gentoo-484a60bfa923aff042573f809299e763959d2744.tar.bz2 gentoo-484a60bfa923aff042573f809299e763959d2744.zip |
dev-python/m2crypto: Bump
Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'dev-python/m2crypto')
-rw-r--r-- | dev-python/m2crypto/Manifest | 1 | ||||
-rw-r--r-- | dev-python/m2crypto/m2crypto-0.26.4.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/m2crypto/Manifest b/dev-python/m2crypto/Manifest index 0961936844bc..f4f0dc5776d9 100644 --- a/dev-python/m2crypto/Manifest +++ b/dev-python/m2crypto/Manifest @@ -1,3 +1,4 @@ DIST M2Crypto-0.24.0.tar.gz 184457 SHA256 80a56441a1d2c0cf27e725be7554c92598b938fc8767ee2c71fdbc2fdc055ee8 SHA512 c23ae0f8ac790d4ef108a217a44e994341f6bbe4e12a7fef2518d8def82331246a145e19a2504b82b790a3ad4b467d2facc8a73bb7f1190b56441d8482c66aca WHIRLPOOL 47a437ee1207b4cca8d67aa4bdec95b9194030e3fc7146ace8d071caa9be829f3e9516ff9399e695615acdf930a90040deb0f1175d81994465ed0853688e3b37 DIST M2Crypto-0.25.1.tar.gz 300904 SHA256 ac303a1881307a51c85ee8b1d87844d9866ee823b4fdbc52f7e79187c2d9acef SHA512 096d414efd5558f9ca4cebf46a297fa39f799e35c4325e031ee816689345e041370f2129650a10db66ebfcfe64309a7c7b49082306567baaf003b88ed9d60bda WHIRLPOOL c634685f8e096c41fc6caf9b364c5393b8f62fb585cd63f7599bb9cc10f910eb25cf48772616773ad9708d1f0fc25f139ee897d925d18432a03e18db552bfe7b DIST M2Crypto-0.26.0.tar.gz 305914 SHA256 05d94fd9b2dae2fb8e072819a795f0e05d3611b09ea185f68e1630530ec09ae8 SHA512 f6ba0173833d1b9a318402a3445fbb522f1848c7406face0cc08d384de6b6944395737f5871353ca1488c6655be7ffb0ad7b40b5e98d5954858da4540590d242 WHIRLPOOL 9984e4367ecca0e0fe2ca94db69db817660c9b045bdd45e117ffe23fb8ea5e522c342e08738328ed2769ee85d215e22d42e33ada806bf9de6555e28d4d31cc7c +DIST M2Crypto-0.26.4.tar.gz 1116587 SHA256 5cae7acc0b34821f8c0ddf6665e482893fe1f198ad6379e61ffa9d8e65f5c199 SHA512 632b71850edd4f4e32d6d3aa83cb0e8068654c087498c88265f999180e0c58917aa6d29c5d1033f597397da98c3dc9acb9d21feddbb2f3da25a368f6a0af60f9 WHIRLPOOL 9388b016cf47f849379ef47a1819a9ee4fd647f8491a61e7381107032ba0e57f28bf6ebca868cf8cc6e4d6fb9341c77a01bc620b5133ea6e689aab72349a07d0 diff --git a/dev-python/m2crypto/m2crypto-0.26.4.ebuild b/dev-python/m2crypto/m2crypto-0.26.4.ebuild new file mode 100644 index 000000000000..bd08f83725fe --- /dev/null +++ b/dev-python/m2crypto/m2crypto-0.26.4.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="threads(+)" + +inherit 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="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" + +IUSE="libressl" + +RDEPEND=" + !libressl? ( >=dev-libs/openssl-0.9.8:0= ) + libressl? ( dev-libs/libressl:0= ) + dev-python/typing[${PYTHON_USEDEP}] +" +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_compile() { + distutils-r1_python_compile --openssl="${EPREFIX}"/usr +} + +python_test() { + esetup.py test +} |