summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2007-01-06 11:16:02 +0000
committerTiziano Müller <dev-zero@gentoo.org>2007-01-06 11:16:02 +0000
commit9815b2d6600cfcbb47c803776c0c3b20545e9349 (patch)
tree69b903b890df1dcc90e2847c549e91d3b59aecea /dev-python/m2crypto
parentDropped old version (diff)
downloadgentoo-2-9815b2d6600cfcbb47c803776c0c3b20545e9349.tar.gz
gentoo-2-9815b2d6600cfcbb47c803776c0c3b20545e9349.tar.bz2
gentoo-2-9815b2d6600cfcbb47c803776c0c3b20545e9349.zip
Version bump. Dropped old versions (bug #95559).
(Portage version: 2.1.2_rc4-r1)
Diffstat (limited to 'dev-python/m2crypto')
-rw-r--r--dev-python/m2crypto/ChangeLog10
-rw-r--r--dev-python/m2crypto/files/digest-m2crypto-0.173
-rw-r--r--dev-python/m2crypto/m2crypto-0.17.ebuild45
3 files changed, 56 insertions, 2 deletions
diff --git a/dev-python/m2crypto/ChangeLog b/dev-python/m2crypto/ChangeLog
index 75ad3bac7a8d..69ce8f4183e4 100644
--- a/dev-python/m2crypto/ChangeLog
+++ b/dev-python/m2crypto/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/m2crypto
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/m2crypto/ChangeLog,v 1.18 2006/10/10 20:40:48 kloeri Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/m2crypto/ChangeLog,v 1.19 2007/01/06 11:16:02 dev-zero Exp $
+
+*m2crypto-0.17 (06 Jan 2007)
+
+ 06 Jan 2007; Tiziano Müller <dev-zero@gentoo.org> -m2crypto-0.12.ebuild,
+ -m2crypto-0.13.ebuild, -m2crypto-0.13.1.ebuild, +m2crypto-0.17.ebuild:
+ Version bump. Dropped old versions (bug #95559).
*m2crypto-0.16 (10 Oct 2006)
diff --git a/dev-python/m2crypto/files/digest-m2crypto-0.17 b/dev-python/m2crypto/files/digest-m2crypto-0.17
new file mode 100644
index 000000000000..613a09f87ae4
--- /dev/null
+++ b/dev-python/m2crypto/files/digest-m2crypto-0.17
@@ -0,0 +1,3 @@
+MD5 c67b45c752fd5e8115cd6b14831c5a38 m2crypto-0.17.tar.gz 376219
+RMD160 8ee4f92d9efd33341ea4021a35b0ba38de6aa043 m2crypto-0.17.tar.gz 376219
+SHA256 9a2b75e4b92ae0cfcb0da657d40d3eec0a3a7b705522f264dc838764d39a5716 m2crypto-0.17.tar.gz 376219
diff --git a/dev-python/m2crypto/m2crypto-0.17.ebuild b/dev-python/m2crypto/m2crypto-0.17.ebuild
new file mode 100644
index 000000000000..6ece3ff8ee75
--- /dev/null
+++ b/dev-python/m2crypto/m2crypto-0.17.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/m2crypto/m2crypto-0.17.ebuild,v 1.1 2007/01/06 11:16:02 dev-zero Exp $
+
+inherit distutils portability eutils multilib
+
+MY_P="${PN}-${PV%.*}"
+
+DESCRIPTION="A python wrapper for the OpenSSL crypto library"
+HOMEPAGE="http://wiki.osafoundation.org/bin/view/Projects/MeTooCrypto"
+SRC_URI="http://wiki.osafoundation.org/pub/Projects/MeTooCrypto/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
+IUSE="doc"
+
+RDEPEND=">=dev-libs/openssl-0.9.8"
+DEPEND="${RDEPEND}
+ >=dev-lang/swig-1.3.25
+ doc? ( dev-python/epydoc )"
+
+PYTHON_MODNAME="M2Crypto"
+
+src_install() {
+ DOCS="CHANGES INSTALL"
+ distutils_src_install
+
+ if use doc; then
+ cd "${S}/demo"
+ treecopy . "${D}/usr/share/doc/${PF}/example"
+
+ einfo "Generating API docs as requested..."
+ cd "${S}/doc"
+ distutils_python_version
+ export PYTHONPATH="${PYTHONPATH}:${D}/usr/$(get_libdir)/python${PYVER}/site-packages"
+ einfo "${PYTHONPATH}"
+ epydoc --html --output=api --name=M2Crypto M2Crypto
+ fi
+ dohtml -r *
+}
+
+src_test() {
+ python setup.py test || die "test failed"
+}