1 |
pesa 15/03/02 03:14:52 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: sip-4.16.6.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 0xDADED6B2671CB57D!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.304 dev-python/sip/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sip/ChangeLog?rev=1.304&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sip/ChangeLog?rev=1.304&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sip/ChangeLog?r1=1.303&r2=1.304 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v |
20 |
retrieving revision 1.303 |
21 |
retrieving revision 1.304 |
22 |
diff -u -r1.303 -r1.304 |
23 |
--- ChangeLog 17 Feb 2015 11:09:15 -0000 1.303 |
24 |
+++ ChangeLog 2 Mar 2015 03:14:52 -0000 1.304 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-python/sip |
27 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v 1.303 2015/02/17 11:09:15 ago Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/ChangeLog,v 1.304 2015/03/02 03:14:52 pesa Exp $ |
30 |
+ |
31 |
+*sip-4.16.6 (02 Mar 2015) |
32 |
+ |
33 |
+ 02 Mar 2015; Davide Pesavento <pesa@g.o> +sip-4.16.6.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
17 Feb 2015; Agostino Sarubbo <ago@g.o> sip-4.16.2.ebuild: |
37 |
Stable for ppc64, wrt bug #517344 |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-python/sip/sip-4.16.6.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sip/sip-4.16.6.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sip/sip-4.16.6.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: sip-4.16.6.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2015 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.16.6.ebuild,v 1.1 2015/03/02 03:14:52 pesa Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
PYTHON_COMPAT=( python{2_7,3_3,3_4} ) |
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.com/software/sip/intro https://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/~pesa/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/11" |
78 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-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 |
REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
92 |
|
93 |
src_prepare() { |
94 |
epatch "${FILESDIR}"/${PN}-4.15.5-darwin.patch |
95 |
|
96 |
if [[ ${PV} == *9999* ]]; then |
97 |
python2 build.py prepare || die |
98 |
if use doc; then |
99 |
python2 build.py doc || die |
100 |
fi |
101 |
fi |
102 |
|
103 |
# Sub-slot sanity check |
104 |
local sub_slot=${SLOT#*/} |
105 |
local sip_api_major_nr=$(sed -nre 's:^#define SIP_API_MAJOR_NR\s+([0-9]+):\1:p' siplib/sip.h.in) |
106 |
if [[ ${sub_slot} != ${sip_api_major_nr} ]]; then |
107 |
eerror |
108 |
eerror "Ebuild sub-slot (${sub_slot}) does not match SIP_API_MAJOR_NR (${sip_api_major_nr})" |
109 |
eerror "Please update SLOT variable as follows:" |
110 |
eerror " SLOT=\"${SLOT%%/*}/${sip_api_major_nr}\"" |
111 |
eerror |
112 |
die "sub-slot sanity check failed" |
113 |
fi |
114 |
} |
115 |
|
116 |
src_configure() { |
117 |
configuration() { |
118 |
local myconf=( |
119 |
"${PYTHON}" |
120 |
"${S}"/configure.py |
121 |
--destdir="$(python_get_sitedir)" |
122 |
--incdir="$(python_get_includedir)" |
123 |
$(use debug && echo --debug) |
124 |
AR="$(tc-getAR) cqs" |
125 |
CC="$(tc-getCC)" |
126 |
CFLAGS="${CFLAGS}" |
127 |
CFLAGS_RELEASE= |
128 |
CXX="$(tc-getCXX)" |
129 |
CXXFLAGS="${CXXFLAGS}" |
130 |
CXXFLAGS_RELEASE= |
131 |
LINK="$(tc-getCXX)" |
132 |
LINK_SHLIB="$(tc-getCXX)" |
133 |
LFLAGS="${LDFLAGS}" |
134 |
LFLAGS_RELEASE= |
135 |
RANLIB= |
136 |
STRIP= |
137 |
) |
138 |
echo "${myconf[@]}" |
139 |
"${myconf[@]}" || die |
140 |
} |
141 |
python_foreach_impl run_in_build_dir configuration |
142 |
} |
143 |
|
144 |
src_compile() { |
145 |
python_foreach_impl run_in_build_dir default |
146 |
} |
147 |
|
148 |
src_install() { |
149 |
installation() { |
150 |
emake DESTDIR="${D}" install |
151 |
python_optimize |
152 |
} |
153 |
python_foreach_impl run_in_build_dir installation |
154 |
|
155 |
dodoc ChangeLog NEWS |
156 |
use doc && dodoc -r doc/html |
157 |
} |