summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/foolscap')
-rw-r--r--dev-python/foolscap/ChangeLog9
-rw-r--r--dev-python/foolscap/foolscap-0.6.3.ebuild47
2 files changed, 54 insertions, 2 deletions
diff --git a/dev-python/foolscap/ChangeLog b/dev-python/foolscap/ChangeLog
index e1233a52acf5..3ca11aa7fe81 100644
--- a/dev-python/foolscap/ChangeLog
+++ b/dev-python/foolscap/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/foolscap
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/foolscap/ChangeLog,v 1.36 2011/03/23 20:43:18 xarthisius Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/foolscap/ChangeLog,v 1.37 2012/03/09 08:50:32 patrick Exp $
+
+*foolscap-0.6.3 (09 Mar 2012)
+
+ 09 Mar 2012; Patrick Lauer <patrick@gentoo.org> +foolscap-0.6.3.ebuild:
+ Bump for #402567
23 Mar 2011; Kacper Kowalik <xarthisius@gentoo.org> foolscap-0.6.1.ebuild:
ppc64 stable wrt #355269
diff --git a/dev-python/foolscap/foolscap-0.6.3.ebuild b/dev-python/foolscap/foolscap-0.6.3.ebuild
new file mode 100644
index 000000000000..f961934c3300
--- /dev/null
+++ b/dev-python/foolscap/foolscap-0.6.3.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/foolscap/foolscap-0.6.3.ebuild,v 1.1 2012/03/09 08:50:32 patrick Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython"
+DISTUTILS_SRC_TEST="trial"
+DISTUTILS_DISABLE_TEST_DEPENDENCY="1"
+
+inherit distutils
+
+DESCRIPTION="RPC protocol for Twisted"
+HOMEPAGE="http://foolscap.lothar.com/trac http://pypi.python.org/pypi/foolscap"
+SRC_URI="http://${PN}.lothar.com/releases/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="doc ssl"
+
+RDEPEND=">=dev-python/twisted-2.4.0
+ dev-python/twisted-web
+ ssl? ( dev-python/pyopenssl )"
+DEPEND="${DEPEND}
+ dev-python/setuptools"
+
+src_prepare() {
+ distutils_src_prepare
+
+ # Disable test failing with dev-python/pyopenssl and dev-libs/openssl-1.
+ sed -e "s/test_generate/_&/" -i foolscap/test/test_tub.py
+}
+
+src_test() {
+ LC_ALL="C" distutils_src_test
+}
+
+src_install() {
+ distutils_src_install
+
+ if use doc; then
+ dodoc doc/*.txt || die "dodoc failed"
+ dohtml -A py,tpl,xhtml -r doc/* || die "dohtml failed"
+ fi
+}