Gentoo Archives: gentoo-commits

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