Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pycxx: ChangeLog pycxx-6.2.2.ebuild
Date: Mon, 21 Feb 2011 12:19:32
Message-Id: 20110221121911.EE0C320054@flycatcher.gentoo.org
1 arfrever 11/02/21 12:19:11
2
3 Modified: ChangeLog
4 Added: pycxx-6.2.2.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha24_p17/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.24 dev-python/pycxx/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycxx/ChangeLog?rev=1.24&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycxx/ChangeLog?rev=1.24&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycxx/ChangeLog?r1=1.23&r2=1.24
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/pycxx/ChangeLog,v
20 retrieving revision 1.23
21 retrieving revision 1.24
22 diff -u -r1.23 -r1.24
23 --- ChangeLog 5 Feb 2011 22:48:51 -0000 1.23
24 +++ ChangeLog 21 Feb 2011 12:19:11 -0000 1.24
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-python/pycxx
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pycxx/ChangeLog,v 1.23 2011/02/05 22:48:51 maekke Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pycxx/ChangeLog,v 1.24 2011/02/21 12:19:11 arfrever Exp $
30 +
31 +*pycxx-6.2.2 (21 Feb 2011)
32 +
33 + 21 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
34 + -pycxx-6.1.1.ebuild, -pycxx-6.2.1.ebuild, +pycxx-6.2.2.ebuild:
35 + Version bump.
36
37 05 Feb 2011; Markus Meier <maekke@g.o> pycxx-6.2.1-r1.ebuild:
38 add ~arm, bug #350648
39
40
41
42 1.1 dev-python/pycxx/pycxx-6.2.2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycxx/pycxx-6.2.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycxx/pycxx-6.2.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pycxx-6.2.2.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-python/pycxx/pycxx-6.2.2.ebuild,v 1.1 2011/02/21 12:19:11 arfrever Exp $
52
53 EAPI="3"
54 SUPPORT_PYTHON_ABIS="1"
55 RESTRICT_PYTHON_ABIS="*-jython"
56
57 inherit eutils distutils
58
59 DESCRIPTION="Set of facilities to extend Python with C++"
60 HOMEPAGE="http://cxx.sourceforge.net"
61 SRC_URI="mirror://sourceforge/cxx/${P}.tar.gz"
62
63 LICENSE="BSD"
64 SLOT="0"
65 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
66 IUSE="doc examples"
67
68 PYTHON_MODNAME="CXX"
69
70 src_prepare() {
71 epatch "${FILESDIR}/${PN}-6.1.0-setup.py.patch"
72 epatch "${FILESDIR}/${PN}-6.1.0-python-3.patch"
73 epatch "${FILESDIR}/${PN}-6.1.0-C_compatible_headers.patch"
74
75 sed -e "/^#include/s:/Python[23]/:/:" -i CXX/*/*.hxx || die "sed failed"
76 }
77
78 src_install() {
79 distutils_src_install
80 if use doc; then
81 dohtml -r Doc/ || die "dohtml failed"
82 fi
83
84 if use examples; then
85 docinto examples/python-2
86 dodoc Demo/Python2/* || die "dodoc failed"
87 docinto examples/python-3
88 dodoc Demo/Python3/* || die "dodoc failed"
89 fi
90 }