1 |
pesa 12/06/02 13:42:45 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pyside-tools-0.2.14.ebuild |
5 |
Log: |
6 |
Version bump, adds python3 support in pysideuic. Thanks to Rafał Mużyło in bug 419179. |
7 |
|
8 |
(Portage version: 2.2.0_alpha108/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.21 dev-python/pyside-tools/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyside-tools/ChangeLog?rev=1.21&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyside-tools/ChangeLog?rev=1.21&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyside-tools/ChangeLog?r1=1.20&r2=1.21 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pyside-tools/ChangeLog,v |
20 |
retrieving revision 1.20 |
21 |
retrieving revision 1.21 |
22 |
diff -u -r1.20 -r1.21 |
23 |
--- ChangeLog 4 May 2012 15:12:16 -0000 1.20 |
24 |
+++ ChangeLog 2 Jun 2012 13:42:45 -0000 1.21 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for dev-python/pyside-tools |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyside-tools/ChangeLog,v 1.20 2012/05/04 15:12:16 patrick Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyside-tools/ChangeLog,v 1.21 2012/06/02 13:42:45 pesa Exp $ |
30 |
+ |
31 |
+*pyside-tools-0.2.14 (02 Jun 2012) |
32 |
+ |
33 |
+ 02 Jun 2012; Davide Pesavento <pesa@g.o> +pyside-tools-0.2.14.ebuild: |
34 |
+ Version bump, adds python3 support in pysideuic. Thanks to Rafał Mużyło in bug |
35 |
+ 419179. |
36 |
|
37 |
04 May 2012; Patrick Lauer <patrick@g.o> pyside-tools-0.2.13-r2.ebuild: |
38 |
Migrating dev-util/pkgconfig -> virtual/pkgconfig |
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-python/pyside-tools/pyside-tools-0.2.14.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyside-tools/pyside-tools-0.2.14.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyside-tools/pyside-tools-0.2.14.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: pyside-tools-0.2.14.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/pyside-tools/pyside-tools-0.2.14.ebuild,v 1.1 2012/06/02 13:42:45 pesa Exp $ |
52 |
|
53 |
EAPI=4 |
54 |
|
55 |
CMAKE_IN_SOURCE_BUILD="1" |
56 |
|
57 |
PYTHON_DEPEND="2:2.6 3:3.2" |
58 |
SUPPORT_PYTHON_ABIS="1" |
59 |
RESTRICT_PYTHON_ABIS="2.4 2.5 3.1 *-jython 2.7-pypy-*" |
60 |
|
61 |
VIRTUALX_COMMAND="cmake-utils_src_test" |
62 |
|
63 |
inherit eutils cmake-utils python virtualx |
64 |
|
65 |
DESCRIPTION="PySide development tools (lupdate, rcc, uic)" |
66 |
HOMEPAGE="http://www.pyside.org/" |
67 |
SRC_URI="http://www.pyside.org/files/${P}.tar.bz2" |
68 |
|
69 |
LICENSE="BSD GPL-2" |
70 |
SLOT="0" |
71 |
KEYWORDS="~amd64 ~x86" |
72 |
IUSE="test" |
73 |
|
74 |
RDEPEND=" |
75 |
>=dev-python/pyside-1.1.0-r1[X] |
76 |
>=dev-python/shiboken-1.1.0-r1 |
77 |
>=x11-libs/qt-core-4.7.0:4 |
78 |
>=x11-libs/qt-gui-4.7.0:4 |
79 |
" |
80 |
DEPEND="${RDEPEND} |
81 |
test? ( virtual/pkgconfig ) |
82 |
" |
83 |
|
84 |
src_prepare() { |
85 |
epatch "${FILESDIR}"/0.2.13-fix-pysideuic-test-and-install.patch |
86 |
|
87 |
python_copy_sources |
88 |
|
89 |
preparation() { |
90 |
if [[ $(python_get_version -l --major) == 3 ]]; then |
91 |
rm -fr pysideuic/port_v2 |
92 |
else |
93 |
rm -fr pysideuic/port_v3 |
94 |
fi |
95 |
|
96 |
sed -i -e "/pkg-config/ s:shiboken:&-python${PYTHON_ABI}:" \ |
97 |
tests/rcc/run_test.sh || die |
98 |
} |
99 |
python_execute_function -s preparation |
100 |
} |
101 |
|
102 |
src_configure() { |
103 |
configuration() { |
104 |
local mycmakeargs=( |
105 |
-DPYTHON_BASENAME="-python${PYTHON_ABI}" |
106 |
-DPYTHON_SUFFIX="-python${PYTHON_ABI}" |
107 |
-DSITE_PACKAGE="$(python_get_sitedir)" |
108 |
$(cmake-utils_use_build test TESTS) |
109 |
) |
110 |
CMAKE_USE_DIR="${BUILDDIR}" cmake-utils_src_configure |
111 |
} |
112 |
python_execute_function -s configuration |
113 |
} |
114 |
|
115 |
src_compile() { |
116 |
compilation() { |
117 |
CMAKE_USE_DIR="${BUILDDIR}" cmake-utils_src_make |
118 |
} |
119 |
python_execute_function -s compilation |
120 |
} |
121 |
|
122 |
src_test() { |
123 |
testing() { |
124 |
CMAKE_USE_DIR="${BUILDDIR}" virtualmake |
125 |
} |
126 |
python_execute_function -s testing |
127 |
} |
128 |
|
129 |
src_install() { |
130 |
installation() { |
131 |
CMAKE_USE_DIR="${BUILDDIR}" cmake-utils_src_install DESTDIR="${T}/images/${PYTHON_ABI}" |
132 |
} |
133 |
python_execute_function -s installation |
134 |
python_merge_intermediate_installation_images "${T}/images" |
135 |
|
136 |
dodoc AUTHORS ChangeLog |
137 |
} |
138 |
|
139 |
pkg_postinst() { |
140 |
python_mod_optimize pysideuic |
141 |
} |
142 |
|
143 |
pkg_postrm() { |
144 |
python_mod_cleanup pysideuic |
145 |
} |