From bc2ac7d90ca47d929366ccfe7a152b0bdd38cb8a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bryan=20=C3=98stergaard?= Date: Sun, 7 Jan 2007 19:59:29 +0000 Subject: [PATCH] Dog ate my paper.. Package-Manager: portage-2.1.2_rc4-r6 --- dev-python/soappy/files/soappy-0.12.0.ebuild | 52 ++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 dev-python/soappy/files/soappy-0.12.0.ebuild diff --git a/dev-python/soappy/files/soappy-0.12.0.ebuild b/dev-python/soappy/files/soappy-0.12.0.ebuild new file mode 100644 index 000000000000..348bad782c55 --- /dev/null +++ b/dev-python/soappy/files/soappy-0.12.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/soappy/soappy-0.12.0.ebuild,v 1.1 2007/01/06 23:16:01 dev-zero Exp $ + +inherit distutils + +MY_PN="SOAPpy" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="SOAP implementation for Python" +HOMEPAGE="http://pywebsvcs.sourceforge.net/" +SRC_URI="mirror://sourceforge/pywebsvcs/${MY_P}.tar.gz" + +KEYWORDS="~amd64 ~ia64 ~ppc ~ppc-macos ~sparc ~x86 ~x86-fbsd" +SLOT="0" +LICENSE="BSD" +IUSE="examples ssl" + +DEPEND=">=dev-python/fpconst-0.7.1 + dev-python/pyxml" +RDEPEND="${DEPEND} + ssl? ( dev-python/m2crypto )" + +S=${WORKDIR}/${MY_P} +PYTHON_MODNAME=${MY_PN} +DOCS="RELEASE_INFO" + +pkg_setup() { + if use ssl && ! built_with_use dev-lang/python ssl ; then + ewarn "The 'ssl' USE-flag is enabled, but dev-lang/python is" + ewarn "not compiled with it. You'll only get server-side SSL support." + ewarn "Just emerge dev-lang/python afterwards with the ssl USE-flag to" + ewarn "get client-side encryption." + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${P}-python-2.5-compat.patch" +} + + +src_install() { + distutils_src_install + dodoc docs/* + if use examples ; then + insinto /usr/share/doc/${PF}/examples + doins -r contrib bid tools validate + fi +} -- 2.26.2