diff options
author | Ali Polatel <hawking@gentoo.org> | 2007-09-05 17:19:02 +0000 |
---|---|---|
committer | Ali Polatel <hawking@gentoo.org> | 2007-09-05 17:19:02 +0000 |
commit | 4f95cbbd806d847ab902fdcbe3a842ea9b45c010 (patch) | |
tree | 6a206609e7bdbbdf9fd46779856f1e46d0ede7b0 /dev-python | |
parent | Updated the ebuild with changes from Renato Caldas <seventhguardian@gmail.com... (diff) | |
download | gentoo-2-4f95cbbd806d847ab902fdcbe3a842ea9b45c010.tar.gz gentoo-2-4f95cbbd806d847ab902fdcbe3a842ea9b45c010.tar.bz2 gentoo-2-4f95cbbd806d847ab902fdcbe3a842ea9b45c010.zip |
version bump.
(Portage version: 2.1.3.7)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/m2crypto/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/m2crypto/files/digest-m2crypto-0.18 | 3 | ||||
-rw-r--r-- | dev-python/m2crypto/m2crypto-0.18.ebuild | 46 |
3 files changed, 55 insertions, 1 deletions
diff --git a/dev-python/m2crypto/ChangeLog b/dev-python/m2crypto/ChangeLog index 5b403c81a423..30d9f4379359 100644 --- a/dev-python/m2crypto/ChangeLog +++ b/dev-python/m2crypto/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/m2crypto # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/m2crypto/ChangeLog,v 1.28 2007/06/17 14:56:46 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/m2crypto/ChangeLog,v 1.29 2007/09/05 17:19:02 hawking Exp $ + +*m2crypto-0.18 (05 Sep 2007) + + 05 Sep 2007; Ali Polatel <hawking@gentoo.org> +m2crypto-0.18.ebuild: + version bump. 17 Jun 2007; Raúl Porcel <armin76@gentoo.org> m2crypto-0.17-r1.ebuild: Add ~alpha wrt #172817 diff --git a/dev-python/m2crypto/files/digest-m2crypto-0.18 b/dev-python/m2crypto/files/digest-m2crypto-0.18 new file mode 100644 index 000000000000..b9becc103b96 --- /dev/null +++ b/dev-python/m2crypto/files/digest-m2crypto-0.18 @@ -0,0 +1,3 @@ +MD5 4e5432d08fd50287b80ac2237f01bda3 m2crypto-0.18.tar.gz 385298 +RMD160 b9eb15b0d93594e264ba412cf9dfa6dc38de439b m2crypto-0.18.tar.gz 385298 +SHA256 020664f96ba268c21a15295aa2bb257487c9e092309b5c0d6b8a66305f18af1f m2crypto-0.18.tar.gz 385298 diff --git a/dev-python/m2crypto/m2crypto-0.18.ebuild b/dev-python/m2crypto/m2crypto-0.18.ebuild new file mode 100644 index 000000000000..d70504fcf6bf --- /dev/null +++ b/dev-python/m2crypto/m2crypto-0.18.ebuild @@ -0,0 +1,46 @@ +# 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.18.ebuild,v 1.1 2007/09/05 17:19:02 hawking 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="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="doc" + +RDEPEND=">=dev-libs/openssl-0.9.8" +DEPEND="${RDEPEND} + >=dev-lang/swig-1.3.25 + doc? ( dev-python/epydoc ) + dev-python/setuptools" + +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" +} |