1 |
pesa 12/04/28 17:42:57 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: shiboken-1.1.1.ebuild |
5 |
Log: |
6 |
Version bump, ApiExtractor and GeneratorRunner have been merged into Shiboken. Switch to out-of-source build. |
7 |
|
8 |
(Portage version: 2.2.0_alpha101/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.25 dev-python/shiboken/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/shiboken/ChangeLog?rev=1.25&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/shiboken/ChangeLog?rev=1.25&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/shiboken/ChangeLog?r1=1.24&r2=1.25 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/shiboken/ChangeLog,v |
20 |
retrieving revision 1.24 |
21 |
retrieving revision 1.25 |
22 |
diff -u -r1.24 -r1.25 |
23 |
--- ChangeLog 22 Apr 2012 12:16:42 -0000 1.24 |
24 |
+++ ChangeLog 28 Apr 2012 17:42:56 -0000 1.25 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for dev-python/shiboken |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/shiboken/ChangeLog,v 1.24 2012/04/22 12:16:42 maekke Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/shiboken/ChangeLog,v 1.25 2012/04/28 17:42:56 pesa Exp $ |
30 |
+ |
31 |
+*shiboken-1.1.1 (28 Apr 2012) |
32 |
+ |
33 |
+ 28 Apr 2012; Davide Pesavento <pesa@g.o> +shiboken-1.1.1.ebuild: |
34 |
+ Version bump, ApiExtractor and GeneratorRunner have been merged into Shiboken. |
35 |
+ Switch to out-of-source build. |
36 |
|
37 |
22 Apr 2012; Markus Meier <maekke@g.o> shiboken-1.1.0-r2.ebuild: |
38 |
x86 stable, bug #401789 |
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-python/shiboken/shiboken-1.1.1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/shiboken/shiboken-1.1.1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/shiboken/shiboken-1.1.1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: shiboken-1.1.1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2012 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/shiboken/shiboken-1.1.1.ebuild,v 1.1 2012/04/28 17:42:56 pesa Exp $ |
52 |
|
53 |
EAPI=4 |
54 |
|
55 |
PYTHON_DEPEND="2:2.6 3:3.2" |
56 |
SUPPORT_PYTHON_ABIS="1" |
57 |
RESTRICT_PYTHON_ABIS="2.4 2.5 3.1 *-jython 2.7-pypy-*" |
58 |
|
59 |
inherit multilib cmake-utils python |
60 |
|
61 |
DESCRIPTION="A tool for creating Python bindings for C++ libraries" |
62 |
HOMEPAGE="http://www.pyside.org/" |
63 |
SRC_URI="http://www.pyside.org/files/${P}.tar.bz2" |
64 |
|
65 |
LICENSE="LGPL-2.1" |
66 |
SLOT="0" |
67 |
KEYWORDS="~amd64 ~x86" |
68 |
IUSE="test" |
69 |
|
70 |
RDEPEND=" |
71 |
>=dev-libs/libxml2-2.6.32 |
72 |
>=dev-libs/libxslt-1.1.19 |
73 |
>=x11-libs/qt-core-4.7.0:4 |
74 |
>=x11-libs/qt-xmlpatterns-4.7.0:4 |
75 |
!dev-python/apiextractor |
76 |
!dev-python/generatorrunner |
77 |
" |
78 |
DEPEND="${RDEPEND} |
79 |
test? ( |
80 |
>=x11-libs/qt-gui-4.7.0:4 |
81 |
>=x11-libs/qt-test-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 |
|
93 |
src_configure() { |
94 |
configuration() { |
95 |
local mycmakeargs=( |
96 |
-DPYTHON_EXECUTABLE="$(PYTHON -a)" |
97 |
-DPYTHON_SUFFIX="-python${PYTHON_ABI}" |
98 |
$(cmake-utils_use_build test TESTS) |
99 |
) |
100 |
|
101 |
if [[ $(python_get_version -l --major) == 3 ]]; then |
102 |
mycmakeargs+=( |
103 |
-DUSE_PYTHON3=ON |
104 |
-DPYTHON3_INCLUDE_DIR="$(python_get_includedir)" |
105 |
-DPYTHON3_LIBRARY="$(python_get_library)" |
106 |
) |
107 |
fi |
108 |
|
109 |
CMAKE_BUILD_DIR="${S}_${PYTHON_ABI}" cmake-utils_src_configure |
110 |
} |
111 |
python_execute_function configuration |
112 |
} |
113 |
|
114 |
src_compile() { |
115 |
compilation() { |
116 |
CMAKE_BUILD_DIR="${S}_${PYTHON_ABI}" cmake-utils_src_make |
117 |
} |
118 |
python_execute_function compilation |
119 |
} |
120 |
|
121 |
src_test() { |
122 |
testing() { |
123 |
CMAKE_BUILD_DIR="${S}_${PYTHON_ABI}" cmake-utils_src_test |
124 |
} |
125 |
python_execute_function testing |
126 |
} |
127 |
|
128 |
src_install() { |
129 |
installation() { |
130 |
CMAKE_BUILD_DIR="${S}_${PYTHON_ABI}" cmake-utils_src_install |
131 |
mv "${ED}"usr/$(get_libdir)/pkgconfig/${PN}{,-python${PYTHON_ABI}}.pc || die |
132 |
} |
133 |
python_execute_function installation |
134 |
} |