summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-02-15 22:19:03 +0000
committerMichał Górny <mgorny@gentoo.org>2013-02-15 22:19:03 +0000
commit370421ac4fab48fc5c03ffcb9ec3b3f9323fa6e4 (patch)
tree7cae580d7ea8a75bd75537006e194094a1b935a1 /dev-python
parentStable for arm, wrt bug #457412 (diff)
downloadhistorical-370421ac4fab48fc5c03ffcb9ec3b3f9323fa6e4.tar.gz
historical-370421ac4fab48fc5c03ffcb9ec3b3f9323fa6e4.tar.bz2
historical-370421ac4fab48fc5c03ffcb9ec3b3f9323fa6e4.zip
Migrate to distutils-r1.
Package-Manager: portage-2.2.0_alpha163/cvs/Linux x86_64 Manifest-Sign-Key: 0x42B9401D
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/m2crypto/ChangeLog9
-rw-r--r--dev-python/m2crypto/Manifest15
-rw-r--r--dev-python/m2crypto/m2crypto-0.21.1-r1.ebuild69
3 files changed, 90 insertions, 3 deletions
diff --git a/dev-python/m2crypto/ChangeLog b/dev-python/m2crypto/ChangeLog
index 11442097cb1e..7913a60c5ccc 100644
--- a/dev-python/m2crypto/ChangeLog
+++ b/dev-python/m2crypto/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/m2crypto
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/m2crypto/ChangeLog,v 1.72 2012/05/13 20:46:48 aballier Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/m2crypto/ChangeLog,v 1.73 2013/02/15 22:19:02 mgorny Exp $
+
+*m2crypto-0.21.1-r1 (15 Feb 2013)
+
+ 15 Feb 2013; Michał Górny <mgorny@gentoo.org> +m2crypto-0.21.1-r1.ebuild:
+ Migrate to distutils-r1.
13 May 2012; Alexis Ballier <aballier@gentoo.org> m2crypto-0.21.1.ebuild:
keyword ~amd64-fbsd
diff --git a/dev-python/m2crypto/Manifest b/dev-python/m2crypto/Manifest
index b809a21da190..f3c8573b1285 100644
--- a/dev-python/m2crypto/Manifest
+++ b/dev-python/m2crypto/Manifest
@@ -1,4 +1,17 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
DIST M2Crypto-0.21.1.tar.gz 413563 SHA256 25b94498505c2d800ee465db0cc1aff097b1615adc3ac042a1c85ceca264fc0a SHA512 b261eed84b3bda8a664c065241c2007f6443235a0fbcdd856c5a0b1f015e75662724b72a56e94aeb174414fff5c8dd71dfcb4b18f677f576ab7e30811a8adf9b WHIRLPOOL 88f184452a660cff934371d18e0065974dec3cea052cf78ef0bbecf35ed2ef6d69f8a40016f1b3fbac24fa06697b7e4c5e9e1f6afd20d30ff63fa1c22b69e8d0
+EBUILD m2crypto-0.21.1-r1.ebuild 1698 SHA256 1d3e6ffea132287b620088f80f2aef7e224cd2a2fe6368e8c6404790304540ef SHA512 f840d83695896170fdd05a46512069831b92ad9a37fe79ee5d1fb290eec4830dd4930c0a127ce64db07713fdf4aa14c8253d1240c132def66e1b438c1a4253dd WHIRLPOOL 42c71d8e664d45790f68ebc17001a877579801885d65dd03d29aec0a93563a7c0cf3985a21e36d30dd431b99046794f4a1692bf0bf7a87a90fa1d81990d6a367
EBUILD m2crypto-0.21.1.ebuild 1618 SHA256 88eeca7f938092987b9b2b938308ef7656c363753fee89cd12584ecd8dcbebd6 SHA512 8256fd021a500be3204547ab33ad1922e25c93c00edb1fa91bcff7b47c2b0ca9523c6c797c28c0c45ac6c6b3892b20cdd8fddf7a553d895ae98d9683c3fab99e WHIRLPOOL 4f9b5cb5ad5bf70dfec2b37f2d864096b3233e2f15c5d497a4e2d87b28b92fae85ae62eb2e0fac4f1b93b7fc3cc965018d97b8c9b3cad5ea88d124ebcf25ed8f
-MISC ChangeLog 9419 SHA256 d4870e48c129569439b18b44072752776072478f7c079802338718621a86f3ea SHA512 dc58686e444bea3de143bf7ae735fbacf263b0d582a470660cc9987aab3f7bc85d35b9e6c66cd55d96454a449321e80c50147b46a12df67772dbc8c8b4b4de98 WHIRLPOOL 4101b77b2753aaa95e267647172a838753d0b760f203798965d8d62824a661bed4d59d58b714fd3b2655393358e24e8ebcd073b19762920cb383d6df4ad2f374
+MISC ChangeLog 9558 SHA256 309126b6caf3f391234b5b374930870ee3d8780ef5354cee9803d589f8441c2e SHA512 baff2a9e1c971415fd0bcb857b7210d9327741ffda6d3c739dcf645202048445df14448aaa3a2d9ba6c7a4e8fd8833b5eb934731f2cd52ca9922f03221f3cce2 WHIRLPOOL 1a109a6a517e1064dbb452a7dfa3008f02bcd66ba1bbd3c8dfb91ec9a60a7ba00767e7a9a6d325e3e8c1b2a7c25c2df17586354f06b1c1b9685d9b482f2db05a
MISC metadata.xml 231 SHA256 4b3c3ef12b8947ff65c09c0c6bbeda5e9837776cbd593d20951d4fca97b38fc8 SHA512 70d64f2f5642ac485ed4b1ab58e307485d3bbe417edaab9c0cfc6ca1ad56de0b26b350b439bff4ac3d8d4c432df4b086f24f715a1ce631b8231bcd5cb9938561 WHIRLPOOL 59674c4927ea7a1df761e8ff83a04cafa8fc07973491a2c2e033e5afc2dead61366f0f66c8b14290b9e0652af24a8a0919753f8020e8a510ce1bbe4395165ae2
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iJwEAQEIAAYFAlEetGUACgkQfXuS5UK5QB1aEAP/Rvbl2ohD/5P1/qyLLSi8LQWV
+MZ2F6H0Fsx+nAx8GqhfkNXQwcxgh3Mj+3p0GwPwh0TGJuSW+7ocwFpRUIlWNIy8v
+kY/uv3NAPVSGTHg23vstBEdkqwqsFcrq6OrCbr4ZqvSp/6aTeBi6yGuoEo1DKUoU
+BbxWXdBUCYzEqE15VKU=
+=NFnV
+-----END PGP SIGNATURE-----
diff --git a/dev-python/m2crypto/m2crypto-0.21.1-r1.ebuild b/dev-python/m2crypto/m2crypto-0.21.1-r1.ebuild
new file mode 100644
index 000000000000..238f1b5b375e
--- /dev/null
+++ b/dev-python/m2crypto/m2crypto-0.21.1-r1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/m2crypto/m2crypto-0.21.1-r1.ebuild,v 1.1 2013/02/15 22:19:02 mgorny Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_5,2_6,2_7} )
+
+inherit distutils-r1
+
+MY_PN="M2Crypto"
+
+DESCRIPTION="M2Crypto: A Python crypto and SSL toolkit"
+HOMEPAGE="http://chandlerproject.org/bin/view/Projects/MeTooCrypto http://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 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="doc examples"
+
+RDEPEND=">=dev-libs/openssl-0.9.8"
+DEPEND="${RDEPEND}
+ >=dev-lang/swig-1.3.28
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ doc? ( dev-python/epydoc[${PYTHON_USEDEP}] )"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+# Tests access network, and fail randomly. Bug #431458.
+RESTRICT=test
+
+python_prepare_all() {
+ # use pre-swigged sources
+ sed -i -e '/sources/s:\.i:_wrap.c:' setup.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_configure_all() {
+ set -- swig -python -includeall -I/usr/include \
+ -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i
+
+ echo "${@}" >&2
+ "${@}" || die 'swig failed'
+}
+
+python_compile_all() {
+ if use doc; then
+ cd doc || die
+ epydoc --html --output=api --name=M2Crypto M2Crypto || die
+ fi
+}
+
+python_test() {
+ esetup.py test
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( doc/. )
+
+ distutils-r1_python_install_all
+
+ if use examples; then
+ docinto examples
+ dodoc -r demo/.
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}