Gentoo Archives: gentoo-commits

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