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: ChangeLog sip-4.12.2.ebuild
Date: Mon, 02 May 2011 17:56:16
Message-Id: 20110502175556.531D02004F@flycatcher.gentoo.org
1 arfrever 11/05/02 17:55:56
2
3 Modified: ChangeLog
4 Added: sip-4.12.2.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha30_p34/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.189 dev-python/sip/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sip/ChangeLog?rev=1.189&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sip/ChangeLog?rev=1.189&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sip/ChangeLog?r1=1.188&r2=1.189
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v
20 retrieving revision 1.188
21 retrieving revision 1.189
22 diff -u -r1.188 -r1.189
23 --- ChangeLog 16 Mar 2011 21:05:56 -0000 1.188
24 +++ ChangeLog 2 May 2011 17:55:56 -0000 1.189
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-python/sip
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v 1.188 2011/03/16 21:05:56 xarthisius Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v 1.189 2011/05/02 17:55:56 arfrever Exp $
30 +
31 +*sip-4.12.2 (02 May 2011)
32 +
33 + 02 May 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
34 + +sip-4.12.2.ebuild:
35 + Version bump.
36
37 16 Mar 2011; Kacper Kowalik <xarthisius@g.o> sip-4.11.2.ebuild:
38 ppc64 stable wrt #349607
39
40
41
42 1.1 dev-python/sip/sip-4.12.2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sip/sip-4.12.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sip/sip-4.12.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: sip-4.12.2.ebuild
48 ===================================================================
49 # Copyright 1999-2011 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.12.2.ebuild,v 1.1 2011/05/02 17:55:56 arfrever Exp $
52
53 EAPI="3"
54 PYTHON_DEPEND="*"
55 PYTHON_EXPORT_PHASE_FUNCTIONS="1"
56 SUPPORT_PYTHON_ABIS="1"
57 RESTRICT_PYTHON_ABIS="*-jython"
58
59 inherit eutils python toolchain-funcs
60
61 MY_P="${P/_pre/-snapshot-}"
62
63 DESCRIPTION="Python extension module generator for C and C++ libraries"
64 HOMEPAGE="http://www.riverbankcomputing.co.uk/software/sip/intro http://pypi.python.org/pypi/SIP"
65 SRC_URI="http://www.riverbankcomputing.com/static/Downloads/${PN}${PV%%.*}/${MY_P}.tar.gz"
66
67 LICENSE="|| ( GPL-2 GPL-3 sip )"
68 SLOT="0"
69 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
70 IUSE="debug doc"
71
72 S="${WORKDIR}/${MY_P}"
73
74 DEPEND=""
75 RDEPEND=""
76
77 src_prepare() {
78 epatch "${FILESDIR}/${PN}-4.9.3-darwin.patch"
79 python_copy_sources
80 }
81
82 src_configure() {
83 configuration() {
84 local myconf=("$(PYTHON)"
85 configure.py
86 --bindir="${EPREFIX}/usr/bin"
87 --incdir="${EPREFIX}$(python_get_includedir)"
88 --destdir="${EPREFIX}$(python_get_sitedir)"
89 --sipdir="${EPREFIX}/usr/share/sip"
90 $(use debug && echo --debug)
91 CC="$(tc-getCC)"
92 CXX="$(tc-getCXX)"
93 LINK="$(tc-getCXX)"
94 LINK_SHLIB="$(tc-getCXX)"
95 CFLAGS="${CFLAGS}"
96 CXXFLAGS="${CXXFLAGS}"
97 LFLAGS="${LDFLAGS}"
98 STRIP=":")
99 echo "${myconf[@]}"
100 "${myconf[@]}"
101 }
102 python_execute_function -s configuration
103 }
104
105 src_install() {
106 python_src_install
107
108 dodoc NEWS || die "dodoc failed"
109
110 if use doc; then
111 dohtml -r doc/html/* || die "dohtml failed"
112 fi
113 }
114
115 pkg_postinst() {
116 python_mod_optimize sipconfig.py sipdistutils.py
117
118 ewarn "When updating dev-python/sip, you usually need to rebuild packages, which depend on dev-python/sip,"
119 ewarn "such as dev-python/PyQt4 and dev-python/qscintilla-python. If you have app-portage/gentoolkit"
120 ewarn "installed, you can find these packages with \`equery d dev-python/sip dev-python/PyQt4\`."
121 }
122
123 pkg_postrm() {
124 python_mod_cleanup sipconfig.py sipdistutils.py
125 }