diff options
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/m2crypto/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/m2crypto/files/digest-m2crypto-0.16 | 3 | ||||
-rw-r--r-- | dev-python/m2crypto/m2crypto-0.16.ebuild | 55 |
3 files changed, 64 insertions, 1 deletions
diff --git a/dev-python/m2crypto/ChangeLog b/dev-python/m2crypto/ChangeLog index 12e81e6a1cb8..75ad3bac7a8d 100644 --- a/dev-python/m2crypto/ChangeLog +++ b/dev-python/m2crypto/ChangeLog @@ -1,6 +1,11 @@ # 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.17 2006/06/13 22:02:22 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/m2crypto/ChangeLog,v 1.18 2006/10/10 20:40:48 kloeri Exp $ + +*m2crypto-0.16 (10 Oct 2006) + + 10 Oct 2006; Bryan Østergaard <kloeri@gentoo.org> +m2crypto-0.16.ebuild: + Version bump, bug 135319. 13 Jun 2006; Michael Sterrett <mr_bones_@gentoo.org> -m2crypto-0.07_alpha3.ebuild: diff --git a/dev-python/m2crypto/files/digest-m2crypto-0.16 b/dev-python/m2crypto/files/digest-m2crypto-0.16 new file mode 100644 index 000000000000..dab3c3cf53d8 --- /dev/null +++ b/dev-python/m2crypto/files/digest-m2crypto-0.16 @@ -0,0 +1,3 @@ +MD5 6fc06583a2be56fc2a46872a0540d78e m2crypto-0.16.tar.gz 347250 +RMD160 164f1f7b729048b5e42282a734ecb7d6e1fcde2d m2crypto-0.16.tar.gz 347250 +SHA256 9734e7b73eb538c9078fd180e9c9e386d6336bd934e53904f27fe1905746b5f9 m2crypto-0.16.tar.gz 347250 diff --git a/dev-python/m2crypto/m2crypto-0.16.ebuild b/dev-python/m2crypto/m2crypto-0.16.ebuild new file mode 100644 index 000000000000..7c2be6555bd1 --- /dev/null +++ b/dev-python/m2crypto/m2crypto-0.16.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/m2crypto/m2crypto-0.16.ebuild,v 1.1 2006/10/10 20:40:48 kloeri Exp $ + +inherit distutils portability eutils + +MY_PV="${PV%.*}" +MY_P="${PN}-${MY_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" + +#S="${WORKDIR}/${MY_P}" + +DEPEND=">=dev-libs/openssl-0.9.7 + >=dev-lang/swig-1.3.25 + app-arch/unzip + virtual/python + doc? ( dev-python/epydoc )" + +PYTHON_MODNAME="M2Crypto" + +src_unpack() { + unpack ${A} + cd "${S}" + + # apply patches + #epatch "${FILESDIR}/${MY_P}-gentoo.patch" + + # convert swig %name syntax to %rename syntax + # FIXME: doesn't work right now as expected. commented out for now. + #sed -i -e "s:^%name(\([^ ]*\))[^/]* \*\?\([^ ]\+\)(.*);.*:%rename \2 \1;:g" SWIG/*.i + + # removing obsolete CVS dirs + rm -rf $(find -name CVS -type d) +} + +src_install() { + DOCS="CHANGES INSTALL" + distutils_src_install + dohtml -r doc/* + + if use doc; then + cd ${S}/doc/ + epydoc --html --parse-only --output=api --name=M2Crypto M2Crypto + dohtml -r "${S}-doc"/* + cd ${S}/demo && treecopy . "${D}/usr/share/doc/${PF}/example" + fi +} |