summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2012-03-29 10:52:46 +0000
committerDirkjan Ochtman <djc@gentoo.org>2012-03-29 10:52:46 +0000
commit33aba54617275a905961c2d6076f3c43b412fad9 (patch)
tree5901c68ff56c11c0f8b0154a379d9dc36ccac690 /dev-python/pycxx/pycxx-6.2.4.ebuild
parentStable for amd64, wrt bug #404901 (diff)
downloadgentoo-2-33aba54617275a905961c2d6076f3c43b412fad9.tar.gz
gentoo-2-33aba54617275a905961c2d6076f3c43b412fad9.tar.bz2
gentoo-2-33aba54617275a905961c2d6076f3c43b412fad9.zip
Version bump pycxx to 6.2.4, fixes bug 408589.
(Portage version: 2.1.10.51/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pycxx/pycxx-6.2.4.ebuild')
-rw-r--r--dev-python/pycxx/pycxx-6.2.4.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/pycxx/pycxx-6.2.4.ebuild b/dev-python/pycxx/pycxx-6.2.4.ebuild
new file mode 100644
index 000000000000..ef8eb74124db
--- /dev/null
+++ b/dev-python/pycxx/pycxx-6.2.4.ebuild
@@ -0,0 +1,40 @@
+# 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.ebuild,v 1.1 2012/03/29 10:52:46 djc 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"
+}
+
+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
+}