1 |
patrick 13/02/01 08:18:45 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: sip-4.14.3.ebuild |
5 |
Log: |
6 |
Bump |
7 |
|
8 |
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, unsigned Manifest commit) |
9 |
|
10 |
Revision Changes Path |
11 |
1.236 dev-python/sip/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sip/ChangeLog?rev=1.236&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sip/ChangeLog?rev=1.236&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sip/ChangeLog?r1=1.235&r2=1.236 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v |
20 |
retrieving revision 1.235 |
21 |
retrieving revision 1.236 |
22 |
diff -u -r1.235 -r1.236 |
23 |
--- ChangeLog 29 Jan 2013 18:40:02 -0000 1.235 |
24 |
+++ ChangeLog 1 Feb 2013 08:18:44 -0000 1.236 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-python/sip |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v 1.235 2013/01/29 18:40:02 kensington Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v 1.236 2013/02/01 08:18:44 patrick Exp $ |
30 |
+ |
31 |
+*sip-4.14.3 (01 Feb 2013) |
32 |
+ |
33 |
+ 01 Feb 2013; Patrick Lauer <patrick@g.o> +sip-4.14.3.ebuild: |
34 |
+ Bump |
35 |
|
36 |
*sip-4.14.2-r1 (29 Jan 2013) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-python/sip/sip-4.14.3.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sip/sip-4.14.3.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sip/sip-4.14.3.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: sip-4.14.3.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2013 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/sip-4.14.3.ebuild,v 1.1 2013/02/01 08:18:44 patrick Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2} ) |
54 |
|
55 |
inherit eutils python-r1 toolchain-funcs |
56 |
|
57 |
DESCRIPTION="Python extension module generator for C and C++ libraries" |
58 |
HOMEPAGE="http://www.riverbankcomputing.co.uk/software/sip/intro http://pypi.python.org/pypi/SIP" |
59 |
LICENSE="|| ( GPL-2 GPL-3 sip )" |
60 |
|
61 |
if [[ ${PV} == *9999* ]]; then |
62 |
# live version from mercurial repo |
63 |
EHG_REPO_URI="http://www.riverbankcomputing.com/hg/sip" |
64 |
inherit mercurial |
65 |
elif [[ ${PV} == *_pre* ]]; then |
66 |
# development snapshot |
67 |
HG_REVISION= |
68 |
MY_P=${PN}-${PV%_pre*}-snapshot-${HG_REVISION} |
69 |
SRC_URI="http://dev.gentoo.org/~hwoarang/distfiles/${MY_P}.tar.gz" |
70 |
S=${WORKDIR}/${MY_P} |
71 |
else |
72 |
# official release |
73 |
SRC_URI="mirror://sourceforge/pyqt/${P}.tar.gz" |
74 |
fi |
75 |
|
76 |
# Sub-slot based on SIP_API_MAJOR_NR from siplib/sip.h.in |
77 |
SLOT="0/9" |
78 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
79 |
IUSE="debug doc" |
80 |
|
81 |
DEPEND="${PYTHON_DEPS}" |
82 |
RDEPEND="${DEPEND}" |
83 |
|
84 |
[[ ${PV} == *9999* ]] && DEPEND+=" |
85 |
=dev-lang/python-2* |
86 |
sys-devel/bison |
87 |
sys-devel/flex |
88 |
doc? ( dev-python/sphinx[$(python_gen_usedep python2*)] ) |
89 |
" |
90 |
|
91 |
src_prepare() { |
92 |
epatch "${FILESDIR}"/${PN}-4.9.3-darwin.patch |
93 |
|
94 |
if [[ ${PV} == *9999* ]]; then |
95 |
python2 build.py prepare || die |
96 |
if use doc; then |
97 |
python2 build.py doc || die |
98 |
fi |
99 |
fi |
100 |
|
101 |
# Sub-slot sanity check |
102 |
local sub_slot=${SLOT#*/} |
103 |
local sip_api_major_nr=$(sed -nre 's:^#define SIP_API_MAJOR_NR\s+([0-9]+):\1:p' siplib/sip.h.in) |
104 |
if [[ ${sub_slot} != ${sip_api_major_nr} ]]; then |
105 |
eerror |
106 |
eerror "Ebuild sub-slot (${sub_slot}) does not match SIP_API_MAJOR_NR (${sip_api_major_nr})" |
107 |
eerror "Please update SLOT variable as follows:" |
108 |
eerror " SLOT=\"${SLOT%%/*}/${sip_api_major_nr}\"" |
109 |
eerror |
110 |
die "sub-slot sanity check failed" |
111 |
fi |
112 |
|
113 |
python_copy_sources |
114 |
} |
115 |
|
116 |
src_configure() { |
117 |
configuration() { |
118 |
pushd "${BUILD_DIR}" > /dev/null |
119 |
local myconf=( |
120 |
"${PYTHON}" configure.py |
121 |
--bindir="${EPREFIX}/usr/bin" |
122 |
--destdir="${EPREFIX}$(python_get_sitedir)" |
123 |
--incdir="${EPREFIX}$(python_get_includedir)" |
124 |
--sipdir="${EPREFIX}/usr/share/sip" |
125 |
$(use debug && echo --debug) |
126 |
AR="$(tc-getAR) cqs" |
127 |
CC="$(tc-getCC)" |
128 |
CFLAGS="${CFLAGS}" |
129 |
CFLAGS_RELEASE= |
130 |
CXX="$(tc-getCXX)" |
131 |
CXXFLAGS="${CXXFLAGS}" |
132 |
CXXFLAGS_RELEASE= |
133 |
LINK="$(tc-getCXX)" |
134 |
LINK_SHLIB="$(tc-getCXX)" |
135 |
LFLAGS="${LDFLAGS}" |
136 |
LFLAGS_RELEASE= |
137 |
RANLIB= |
138 |
STRIP= |
139 |
) |
140 |
echo "${myconf[@]}" |
141 |
"${myconf[@]}" |
142 |
popd > /dev/null |
143 |
} |
144 |
python_foreach_impl configuration |
145 |
} |
146 |
|
147 |
src_compile() { |
148 |
compilation() { |
149 |
pushd "${BUILD_DIR}" > /dev/null |
150 |
default |
151 |
popd > /dev/null |
152 |
} |
153 |
python_foreach_impl compilation |
154 |
} |
155 |
|
156 |
src_install() { |
157 |
installation() { |
158 |
pushd "${BUILD_DIR}" > /dev/null |
159 |
emake DESTDIR="${D}" install |
160 |
python_optimize |
161 |
popd > /dev/null |
162 |
} |
163 |
python_foreach_impl installation |
164 |
|
165 |
dodoc NEWS |
166 |
use doc && dohtml -r doc/html/* |
167 |
} |