Version bump. Dropped old versions (bug #95559).
authorTiziano Müller <dev-zero@gentoo.org>
Sat, 6 Jan 2007 11:16:02 +0000 (11:16 +0000)
committerTiziano Müller <dev-zero@gentoo.org>
Sat, 6 Jan 2007 11:16:02 +0000 (11:16 +0000)
Package-Manager: portage-2.1.2_rc4-r1

dev-python/m2crypto/ChangeLog
dev-python/m2crypto/files/digest-m2crypto-0.17 [new file with mode: 0644]
dev-python/m2crypto/m2crypto-0.17.ebuild [new file with mode: 0644]

index 75ad3bac7a8d99bb65b714db99caf73f1fd1b699..69ce8f4183e48de20df40ca2a44229475d7bf3ce 100644 (file)
@@ -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 (file)
index 0000000..613a09f
--- /dev/null
@@ -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 (file)
index 0000000..6ece3ff
--- /dev/null
@@ -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"
+}