1 |
pesa 13/12/25 01:19:24 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: shiboken-1.2.1-r1.ebuild |
5 |
Removed: shiboken-1.2.0.ebuild shiboken-1.2.1.ebuild |
6 |
Log: |
7 |
Add python 3.3 support wrt bug 488910. |
8 |
|
9 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 17A85C72) |
10 |
|
11 |
Revision Changes Path |
12 |
1.48 dev-python/shiboken/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/shiboken/ChangeLog?rev=1.48&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/shiboken/ChangeLog?rev=1.48&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/shiboken/ChangeLog?r1=1.47&r2=1.48 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/shiboken/ChangeLog,v |
21 |
retrieving revision 1.47 |
22 |
retrieving revision 1.48 |
23 |
diff -u -r1.47 -r1.48 |
24 |
--- ChangeLog 14 Nov 2013 00:27:21 -0000 1.47 |
25 |
+++ ChangeLog 25 Dec 2013 01:19:24 -0000 1.48 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for dev-python/shiboken |
28 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/shiboken/ChangeLog,v 1.47 2013/11/14 00:27:21 pesa Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/shiboken/ChangeLog,v 1.48 2013/12/25 01:19:24 pesa Exp $ |
31 |
+ |
32 |
+*shiboken-1.2.1-r1 (25 Dec 2013) |
33 |
+ |
34 |
+ 25 Dec 2013; Davide Pesavento <pesa@g.o> +shiboken-1.2.1-r1.ebuild, |
35 |
+ -shiboken-1.2.0.ebuild, -shiboken-1.2.1.ebuild: |
36 |
+ Add python 3.3 support wrt bug 488910. |
37 |
|
38 |
*shiboken-1.2.1 (14 Nov 2013) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-python/shiboken/shiboken-1.2.1-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/shiboken/shiboken-1.2.1-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/shiboken/shiboken-1.2.1-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: shiboken-1.2.1-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2013 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/shiboken/shiboken-1.2.1-r1.ebuild,v 1.1 2013/12/25 01:19:24 pesa Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
|
56 |
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) |
57 |
|
58 |
inherit multilib cmake-utils python-r1 |
59 |
|
60 |
DESCRIPTION="A tool for creating Python bindings for C++ libraries" |
61 |
HOMEPAGE="http://qt-project.org/wiki/PySide" |
62 |
SRC_URI="http://download.qt-project.org/official_releases/pyside/${P}.tar.bz2" |
63 |
|
64 |
LICENSE="LGPL-2.1" |
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" |
67 |
IUSE="test" |
68 |
|
69 |
RDEPEND=" |
70 |
>=dev-libs/libxml2-2.6.32 |
71 |
>=dev-libs/libxslt-1.1.19 |
72 |
>=dev-qt/qtcore-4.7.0:4 |
73 |
>=dev-qt/qtxmlpatterns-4.7.0:4 |
74 |
!dev-python/apiextractor |
75 |
!dev-python/generatorrunner |
76 |
" |
77 |
DEPEND="${RDEPEND} |
78 |
test? ( |
79 |
dev-python/numpy[${PYTHON_USEDEP}] |
80 |
>=dev-qt/qtgui-4.7.0:4 |
81 |
>=dev-qt/qttest-4.7.0:4 |
82 |
)" |
83 |
|
84 |
DOCS=( AUTHORS ChangeLog ) |
85 |
|
86 |
src_prepare() { |
87 |
# Fix inconsistent naming of libshiboken.so and ShibokenConfig.cmake, |
88 |
# caused by the usage of a different version suffix with python >= 3.2 |
89 |
sed -i -e "/get_config_var('SOABI')/d" \ |
90 |
cmake/Modules/FindPython3InterpWithDebug.cmake || die |
91 |
|
92 |
if use prefix; then |
93 |
cp "${FILESDIR}"/rpath.cmake . |
94 |
sed \ |
95 |
-i '1iinclude(rpath.cmake)' \ |
96 |
CMakeLists.txt || die |
97 |
fi |
98 |
} |
99 |
|
100 |
src_configure() { |
101 |
configuration() { |
102 |
local mycmakeargs=( |
103 |
$(cmake-utils_use_build test TESTS) |
104 |
-DPYTHON_EXECUTABLE="${PYTHON}" |
105 |
-DPYTHON_SITE_PACKAGES="$(python_get_sitedir)" |
106 |
-DPYTHON_SUFFIX="-${EPYTHON}" |
107 |
) |
108 |
|
109 |
if [[ ${EPYTHON} == python3* ]]; then |
110 |
mycmakeargs+=( |
111 |
-DUSE_PYTHON3=ON |
112 |
-DPYTHON3_EXECUTABLE="${PYTHON}" |
113 |
-DPYTHON3_INCLUDE_DIR="$(python_get_includedir)" |
114 |
-DPYTHON3_LIBRARY="$(python_get_library_path)" |
115 |
) |
116 |
fi |
117 |
|
118 |
cmake-utils_src_configure |
119 |
} |
120 |
python_foreach_impl configuration |
121 |
} |
122 |
|
123 |
src_compile() { |
124 |
python_foreach_impl cmake-utils_src_make |
125 |
} |
126 |
|
127 |
src_test() { |
128 |
python_foreach_impl cmake-utils_src_test |
129 |
} |
130 |
|
131 |
src_install() { |
132 |
installation() { |
133 |
cmake-utils_src_install |
134 |
mv "${ED}"usr/$(get_libdir)/pkgconfig/${PN}{,-${EPYTHON}}.pc || die |
135 |
} |
136 |
python_foreach_impl installation |
137 |
} |