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/sip: sip-4.8.2-r1.ebuild ChangeLog
Date: Fri, 02 Oct 2009 22:03:13
Message-Id: E1MtqDX-0007Hl-Ij@stork.gentoo.org
1 arfrever 09/10/02 22:03:11
2
3 Modified: ChangeLog
4 Added: sip-4.8.2-r1.ebuild
5 Log:
6 Add new revision to ensure that dev-python/sip is installed by default for Python 2 and Python 3. Fix compatibility with Python 3.
7 (Portage version: 14475-svn/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.144 dev-python/sip/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sip/ChangeLog?rev=1.144&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sip/ChangeLog?rev=1.144&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sip/ChangeLog?r1=1.143&r2=1.144
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v
19 retrieving revision 1.143
20 retrieving revision 1.144
21 diff -u -r1.143 -r1.144
22 --- ChangeLog 27 Sep 2009 18:21:03 -0000 1.143
23 +++ ChangeLog 2 Oct 2009 22:03:11 -0000 1.144
24 @@ -1,6 +1,13 @@
25 # ChangeLog for dev-python/sip
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v 1.143 2009/09/27 18:21:03 nixnut Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v 1.144 2009/10/02 22:03:11 arfrever Exp $
29 +
30 +*sip-4.8.2-r1 (02 Oct 2009)
31 +
32 + 02 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
33 + +sip-4.8.2-r1.ebuild, +files/sip-4.8.2-python-3.patch:
34 + Add new revision to ensure that dev-python/sip is installed by default for
35 + Python 2 and Python 3. Fix compatibility with Python 3.
36
37 27 Sep 2009; nixnut <nixnut@g.o> sip-4.8.2.ebuild:
38 ppc stable #284707
39
40
41
42 1.1 dev-python/sip/sip-4.8.2-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sip/sip-4.8.2-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sip/sip-4.8.2-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: sip-4.8.2-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-python/sip/sip-4.8.2-r1.ebuild,v 1.1 2009/10/02 22:03:11 arfrever Exp $
52
53 EAPI="2"
54 SUPPORT_PYTHON_ABIS="1"
55
56 inherit eutils python toolchain-funcs
57
58 MY_P=${P/_pre/-snapshot-}
59
60 DESCRIPTION="A tool for generating bindings for C++ classes so that they can be used by Python"
61 HOMEPAGE="http://www.riverbankcomputing.co.uk/software/sip/intro"
62 SRC_URI="http://www.riverbankcomputing.com/static/Downloads/${PN}${PV%%.*}/${MY_P}.tar.gz"
63
64 LICENSE="sip"
65 SLOT="0"
66 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
67 IUSE="debug doc"
68
69 S="${WORKDIR}/${MY_P}"
70
71 DEPEND=""
72 # Ensure that dev-python/sip is installed by default for Python 2 and Python 3.
73 RDEPEND="=dev-lang/python-2*
74 =dev-lang/python-3*"
75
76 src_prepare() {
77 epatch "${FILESDIR}/${P}-python-3.patch"
78 python_copy_sources
79 }
80
81 src_configure() {
82 configuration() {
83 local myconf="$(PYTHON) configure.py
84 --bindir=/usr/bin
85 --destdir=$(python_get_sitedir)
86 --incdir=$(python_get_includedir)
87 --sipdir=/usr/share/sip
88 $(use debug && echo '--debug')
89 CC=$(tc-getCC) CXX=$(tc-getCXX)
90 LINK=$(tc-getCXX) LINK_SHLIB=$(tc-getCXX)
91 CFLAGS='${CFLAGS}' CXXFLAGS='${CXXFLAGS}'
92 LFLAGS='${LDFLAGS}'
93 STRIP=true"
94 echo ${myconf}
95 eval ${myconf}
96 }
97 python_execute_function -s configuration
98 }
99
100 src_compile() {
101 python_execute_function -d -s
102 }
103
104 src_install() {
105 python_need_rebuild
106
107 python_execute_function -d -s
108
109 dodoc ChangeLog NEWS || die
110
111 if use doc; then
112 dohtml -r doc/html/* || die
113 fi
114 }
115
116 pkg_postinst() {
117 python_mod_optimize sipconfig.py sipdistutils.py
118 }
119
120 pkg_postrm() {
121 python_mod_cleanup
122 }