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