From ef3c1bc229bfb39c32c257213f4f0a8ce3c85951 Mon Sep 17 00:00:00 2001 From: Marien Zwart Date: Thu, 11 Jan 2007 22:57:16 +0000 Subject: [PATCH] Revision bump making the setuptools dependency non-optional (removes an automagic dep). Package-Manager: portage-2.1.2_rc4-r8 --- dev-python/m2crypto/ChangeLog | 9 +++- .../m2crypto/files/digest-m2crypto-0.12-r1 | 2 + .../m2crypto/files/digest-m2crypto-0.17-r1 | 3 ++ dev-python/m2crypto/m2crypto-0.17-r1.ebuild | 46 +++++++++++++++++++ 4 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 dev-python/m2crypto/files/digest-m2crypto-0.17-r1 create mode 100644 dev-python/m2crypto/m2crypto-0.17-r1.ebuild diff --git a/dev-python/m2crypto/ChangeLog b/dev-python/m2crypto/ChangeLog index f3da702bf24d..cda86f3a89fb 100644 --- a/dev-python/m2crypto/ChangeLog +++ b/dev-python/m2crypto/ChangeLog @@ -1,6 +1,13 @@ # 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.22 2007/01/09 10:57:10 the_paya Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/m2crypto/ChangeLog,v 1.23 2007/01/11 22:57:16 marienz Exp $ + +*m2crypto-0.17-r1 (11 Jan 2007) + + 11 Jan 2007; Marien Zwart -m2crypto-0.17.ebuild, + +m2crypto-0.17-r1.ebuild: + Revision bump making the setuptools dependency non-optional (removes an + automagic dep). 09 Jan 2007; Javier Villavicencio m2crypto-0.17.ebuild: diff --git a/dev-python/m2crypto/files/digest-m2crypto-0.12-r1 b/dev-python/m2crypto/files/digest-m2crypto-0.12-r1 index 315bbc6ff56f..415439b90a2e 100644 --- a/dev-python/m2crypto/files/digest-m2crypto-0.12-r1 +++ b/dev-python/m2crypto/files/digest-m2crypto-0.12-r1 @@ -1 +1,3 @@ MD5 4e93a071e3abbf2bb2177d52583c3e0f m2crypto-0.12.zip 397229 +RMD160 c005e8b7e77651bbeb7d2df9267d0b2940ace0fb m2crypto-0.12.zip 397229 +SHA256 108730af7af5a2eada6ca1cb7b217e27ecb476dc704371c088d1e26f2420b643 m2crypto-0.12.zip 397229 diff --git a/dev-python/m2crypto/files/digest-m2crypto-0.17-r1 b/dev-python/m2crypto/files/digest-m2crypto-0.17-r1 new file mode 100644 index 000000000000..613a09f87ae4 --- /dev/null +++ b/dev-python/m2crypto/files/digest-m2crypto-0.17-r1 @@ -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-r1.ebuild b/dev-python/m2crypto/m2crypto-0.17-r1.ebuild new file mode 100644 index 000000000000..ea30b068e555 --- /dev/null +++ b/dev-python/m2crypto/m2crypto-0.17-r1.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.17-r1.ebuild,v 1.1 2007/01/11 22:57:16 marienz 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 ~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" +} -- 2.26.2