pesa 14/09/20 23:15:39 Modified: shiboken-1.2.2.ebuild ChangeLog Log: Fix tests with python3, thanks to kensington for the patch (bug 502238). Drop deprecated python targets. Simplify deps. (Portage version: 2.2.13/cvs/Linux x86_64, signed Manifest commit with key 0xDADED6B2671CB57D!)
Revision Changes Path 1.4 dev-python/shiboken/shiboken-1.2.2.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/shiboken/shiboken-1.2.2.ebuild?rev=1.4&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/shiboken/shiboken-1.2.2.ebuild?rev=1.4&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/shiboken/shiboken-1.2.2.ebuild?r1=1.3&r2=1.4 Index: shiboken-1.2.2.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/shiboken/shiboken-1.2.2.ebuild,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- shiboken-1.2.2.ebuild 27 Aug 2014 12:14:24 -0000 1.3 +++ shiboken-1.2.2.ebuild 20 Sep 2014 23:15:39 -0000 1.4 @@ -1,12 +1,12 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/shiboken/shiboken-1.2.2.ebuild,v 1.3 2014/08/27 12:14:24 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/shiboken/shiboken-1.2.2.ebuild,v 1.4 2014/09/20 23:15:39 pesa Exp $ EAPI=5 -PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} ) +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) -inherit multilib cmake-utils python-r1 +inherit cmake-utils multilib python-r1 DESCRIPTION="A tool for creating Python bindings for C++ libraries" HOMEPAGE="http://qt-project.org/wiki/PySide" @@ -18,20 +18,21 @@ IUSE="test" RDEPEND=" - >=dev-libs/libxml2-2.6.32 - >=dev-libs/libxslt-1.1.19 - >=dev-qt/qtcore-4.7.0:4 - >=dev-qt/qtxmlpatterns-4.7.0:4 - !dev-python/apiextractor - !dev-python/generatorrunner + dev-libs/libxml2 + dev-libs/libxslt + dev-qt/qtcore:4 + dev-qt/qtxmlpatterns:4 " DEPEND="${RDEPEND} test? ( - >=dev-qt/qtgui-4.7.0:4 - >=dev-qt/qttest-4.7.0:4 + dev-qt/qtgui:4 + dev-qt/qttest:4 )" DOCS=( AUTHORS ChangeLog ) +PATCHES=( + "${FILESDIR}/${PV}-Fix-tests-with-Python-3.patch" +) src_prepare() { # Fix inconsistent naming of libshiboken.so and ShibokenConfig.cmake, @@ -43,6 +44,8 @@ cp "${FILESDIR}"/rpath.cmake . || die sed -i -e '1iinclude(rpath.cmake)' CMakeLists.txt || die fi + + cmake-utils_src_prepare } src_configure() { @@ -69,7 +72,7 @@ } src_compile() { - python_foreach_impl cmake-utils_src_make + python_foreach_impl cmake-utils_src_compile } src_test() { 1.54 dev-python/shiboken/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/shiboken/ChangeLog?rev=1.54&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/shiboken/ChangeLog?rev=1.54&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/shiboken/ChangeLog?r1=1.53&r2=1.54 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/shiboken/ChangeLog,v retrieving revision 1.53 retrieving revision 1.54 diff -u -r1.53 -r1.54 --- ChangeLog 27 Aug 2014 12:14:24 -0000 1.53 +++ ChangeLog 20 Sep 2014 23:15:39 -0000 1.54 @@ -1,6 +1,11 @@ # ChangeLog for dev-python/shiboken # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/shiboken/ChangeLog,v 1.53 2014/08/27 12:14:24 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/shiboken/ChangeLog,v 1.54 2014/09/20 23:15:39 pesa Exp $ + + 20 Sep 2014; Davide Pesavento <[email protected]> + +files/1.2.2-Fix-tests-with-Python-3.patch, shiboken-1.2.2.ebuild: + Fix tests with python3, thanks to kensington for the patch (bug 502238). Drop + deprecated python targets. Simplify deps. 27 Aug 2014; Anthony G. Basile <[email protected]> shiboken-1.1.2-r1.ebuild, shiboken-1.2.1-r1.ebuild, shiboken-1.2.2.ebuild:
