summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2012-03-30 22:48:07 +0000
committerMike Gilbert <floppym@gentoo.org>2012-03-30 22:48:07 +0000
commit5cdaf8098da49b4b1b85aa1d28f3860977857d17 (patch)
tree417cad6252100939329378b41bfd28fee8b04f47 /dev-python/pycxx
parentpython_execute does not exist ing gentoo-x86. (diff)
downloadgentoo-2-5cdaf8098da49b4b1b85aa1d28f3860977857d17.tar.gz
gentoo-2-5cdaf8098da49b4b1b85aa1d28f3860977857d17.tar.bz2
gentoo-2-5cdaf8098da49b4b1b85aa1d28f3860977857d17.zip
Restore sed call to fix pysvn breakage. Reported by Arfrever.
(Portage version: 2.2.0_alpha96/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pycxx')
-rw-r--r--dev-python/pycxx/ChangeLog7
-rw-r--r--dev-python/pycxx/pycxx-6.2.4-r1.ebuild44
2 files changed, 50 insertions, 1 deletions
diff --git a/dev-python/pycxx/ChangeLog b/dev-python/pycxx/ChangeLog
index d6276e41ad8d..cda08d9de260 100644
--- a/dev-python/pycxx/ChangeLog
+++ b/dev-python/pycxx/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pycxx
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pycxx/ChangeLog,v 1.40 2012/03/29 10:52:46 djc Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycxx/ChangeLog,v 1.41 2012/03/30 22:48:07 floppym Exp $
+
+*pycxx-6.2.4-r1 (30 Mar 2012)
+
+ 30 Mar 2012; Mike Gilbert <floppym@gentoo.org> +pycxx-6.2.4-r1.ebuild:
+ Restore sed call to fix pysvn breakage. Reported by Arfrever.
*pycxx-6.2.4 (29 Mar 2012)
diff --git a/dev-python/pycxx/pycxx-6.2.4-r1.ebuild b/dev-python/pycxx/pycxx-6.2.4-r1.ebuild
new file mode 100644
index 000000000000..6066c6ef9ffb
--- /dev/null
+++ b/dev-python/pycxx/pycxx-6.2.4-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycxx/pycxx-6.2.4-r1.ebuild,v 1.1 2012/03/30 22:48:07 floppym Exp $
+
+EAPI="3"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="*-jython"
+
+inherit eutils distutils
+
+DESCRIPTION="Set of facilities to extend Python with C++"
+HOMEPAGE="http://cxx.sourceforge.net"
+SRC_URI="mirror://sourceforge/cxx/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
+IUSE="doc examples"
+
+PYTHON_MODNAME="CXX"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-6.2.3-python-3.patch"
+ epatch "${FILESDIR}/${PN}-6.2.3-installation.patch"
+
+ # Without this, pysvn fails.
+ # CXX/Python2/Config.hxx: No such file or directory
+ sed -e "/^#include/s:/Python[23]/:/:" -i CXX/*/*.hxx || die "sed failed"
+}
+
+src_install() {
+ distutils_src_install
+
+ if use doc; then
+ dohtml -r Doc/ || die "dohtml failed"
+ fi
+
+ if use examples; then
+ docinto examples/python-2
+ dodoc Demo/Python2/* || die "dodoc failed"
+ docinto examples/python-3
+ dodoc Demo/Python3/* || die "dodoc failed"
+ fi
+}