summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2010-10-01 16:17:42 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2010-10-01 16:17:42 +0000
commit8b01d3ae5a2a06d8447e6699eb0af11e3b964388 (patch)
tree4d771b871eed518b332d743b9fe86c4c48508566 /dev-python/pycxx
parentMarked ~x64-macos (diff)
downloadgentoo-2-8b01d3ae5a2a06d8447e6699eb0af11e3b964388.tar.gz
gentoo-2-8b01d3ae5a2a06d8447e6699eb0af11e3b964388.tar.bz2
gentoo-2-8b01d3ae5a2a06d8447e6699eb0af11e3b964388.zip
Bump
(Portage version: 2.2_rc88/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.1.ebuild41
2 files changed, 47 insertions, 1 deletions
diff --git a/dev-python/pycxx/ChangeLog b/dev-python/pycxx/ChangeLog
index ccfcdacaf6c8..31c5aa7adfeb 100644
--- a/dev-python/pycxx/ChangeLog
+++ b/dev-python/pycxx/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pycxx
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pycxx/ChangeLog,v 1.14 2010/09/30 07:42:52 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycxx/ChangeLog,v 1.15 2010/10/01 16:17:42 bicatali Exp $
+
+*pycxx-6.2.1 (01 Oct 2010)
+
+ 01 Oct 2010; Sébastien Fabbro <bicatali@gentoo.org> +pycxx-6.2.1.ebuild:
+ Bump
30 Sep 2010; Fabian Groffen <grobian@gentoo.org> pycxx-6.1.1.ebuild:
Marked ~x86-solaris
diff --git a/dev-python/pycxx/pycxx-6.2.1.ebuild b/dev-python/pycxx/pycxx-6.2.1.ebuild
new file mode 100644
index 000000000000..dc2800685897
--- /dev/null
+++ b/dev-python/pycxx/pycxx-6.2.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycxx/pycxx-6.2.1.ebuild,v 1.1 2010/10/01 16:17:42 bicatali Exp $
+
+EAPI="2"
+SUPPORT_PYTHON_ABIS="1"
+
+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 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
+IUSE="doc examples"
+
+PYTHON_MODNAME="CXX"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-6.1.0-setup.py.patch"
+ epatch "${FILESDIR}/${PN}-6.1.0-python-3.patch"
+ epatch "${FILESDIR}/${PN}-6.1.0-C_compatible_headers.patch"
+
+ 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
+}