From: | "Mike Gilbert (floppym)" <floppym@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/pycxx: pycxx-6.2.3-r3.ebuild ChangeLog |
Date: | Fri, 23 Dec 2011 05:30:54 |
Message-Id: | 20111223053044.9BCB12004B@flycatcher.gentoo.org |
1 | floppym 11/12/23 05:30:44 |
2 | |
3 | Modified: ChangeLog |
4 | Added: pycxx-6.2.3-r3.ebuild |
5 | Log: |
6 | Add patch to fix the hash_handler prototype under python-3.2. Should resolve bug 369329. |
7 | |
8 | (Portage version: 2.2.0_alpha81/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.36 dev-python/pycxx/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycxx/ChangeLog?rev=1.36&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycxx/ChangeLog?rev=1.36&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycxx/ChangeLog?r1=1.35&r2=1.36 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-python/pycxx/ChangeLog,v |
20 | retrieving revision 1.35 |
21 | retrieving revision 1.36 |
22 | diff -u -r1.35 -r1.36 |
23 | --- ChangeLog 29 Nov 2011 11:04:25 -0000 1.35 |
24 | +++ ChangeLog 23 Dec 2011 05:30:44 -0000 1.36 |
25 | @@ -1,6 +1,13 @@ |
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.35 2011/11/29 11:04:25 naota Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/pycxx/ChangeLog,v 1.36 2011/12/23 05:30:44 floppym Exp $ |
30 | + |
31 | +*pycxx-6.2.3-r3 (23 Dec 2011) |
32 | + |
33 | + 23 Dec 2011; Mike Gilbert <floppym@g.o> |
34 | + +files/pycxx-6.2.3-python-3.2-Py_hash_t.patch, +pycxx-6.2.3-r3.ebuild: |
35 | + Add patch to fix the hash_handler prototype under python-3.2. Should resolve |
36 | + bug 369329. |
37 | |
38 | 29 Nov 2011; Naohiro Aota <naota@g.o> pycxx-6.2.3-r2.ebuild: |
39 | Add ~x86-fbsd |
40 | |
41 | |
42 | |
43 | 1.1 dev-python/pycxx/pycxx-6.2.3-r3.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycxx/pycxx-6.2.3-r3.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycxx/pycxx-6.2.3-r3.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: pycxx-6.2.3-r3.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2011 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.3-r3.ebuild,v 1.1 2011/12/23 05:30:44 floppym 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 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~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}/${P}-python-3.patch" |
73 | epatch "${FILESDIR}/${P}-installation.patch" |
74 | epatch "${FILESDIR}/${P}-python-3.2.patch" |
75 | |
76 | # Bug 369329. |
77 | epatch "${FILESDIR}/${P}-python-3.2-Py_hash_t.patch" |
78 | |
79 | sed -e "/^#include/s:/Python[23]/:/:" -i CXX/*/*.hxx || die "sed failed" |
80 | } |
81 | |
82 | src_install() { |
83 | distutils_src_install |
84 | |
85 | if use doc; then |
86 | dohtml -r Doc/ || die "dohtml failed" |
87 | fi |
88 | |
89 | if use examples; then |
90 | docinto examples/python-2 |
91 | dodoc Demo/Python2/* || die "dodoc failed" |
92 | docinto examples/python-3 |
93 | dodoc Demo/Python3/* || die "dodoc failed" |
94 | fi |
95 | } |