From: "Michal Gorny (mgorny)" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pyside: pyside-1.1.2-r1.ebuild ChangeLog
Date: Mon, 4 Feb 2013 14:02:36 +0000 (UTC) [thread overview]
Message-ID: <20130204140236.626FD2171D@flycatcher.gentoo.org> (raw)
mgorny 13/02/04 14:02:36
Modified: ChangeLog
Added: pyside-1.1.2-r1.ebuild
Log:
Migrate to python-r1 (requested in bug #455378).
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 42B9401D)
Revision Changes Path
1.48 dev-python/pyside/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyside/ChangeLog?rev=1.48&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyside/ChangeLog?rev=1.48&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyside/ChangeLog?r1=1.47&r2=1.48
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pyside/ChangeLog,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- ChangeLog 26 Dec 2012 06:29:30 -0000 1.47
+++ ChangeLog 4 Feb 2013 14:02:36 -0000 1.48
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pyside
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyside/ChangeLog,v 1.47 2012/12/26 06:29:30 pesa Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyside/ChangeLog,v 1.48 2013/02/04 14:02:36 mgorny Exp $
+
+*pyside-1.1.2-r1 (04 Feb 2013)
+
+ 04 Feb 2013; Michał Górny <mgorny@gentoo.org> +pyside-1.1.2-r1.ebuild:
+ Migrate to python-r1 (requested in bug #455378).
26 Dec 2012; Davide Pesavento <pesa@gentoo.org> pyside-1.1.2.ebuild:
Cosmetics.
1.1 dev-python/pyside/pyside-1.1.2-r1.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyside/pyside-1.1.2-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyside/pyside-1.1.2-r1.ebuild?rev=1.1&content-type=text/plain
Index: pyside-1.1.2-r1.ebuild
===================================================================
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyside/pyside-1.1.2-r1.ebuild,v 1.1 2013/02/04 14:02:36 mgorny Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7,3_2} )
inherit multilib cmake-utils python-r1 virtualx
MY_P="${PN}-qt4.8+${PV}"
DESCRIPTION="Python bindings for the Qt framework"
HOMEPAGE="http://www.pyside.org/"
SRC_URI="http://www.pyside.org/files/${MY_P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
IUSE="X declarative help kde multimedia opengl phonon script scripttools sql svg test webkit xmlpatterns"
REQUIRED_USE="
declarative? ( X )
help? ( X )
multimedia? ( X )
opengl? ( X )
phonon? ( X )
scripttools? ( X script )
sql? ( X )
svg? ( X )
test? ( X )
webkit? ( X )
"
# Minimal supported version of Qt.
QT_PV="4.7.0:4"
RDEPEND="
>=dev-python/shiboken-${PV}[${PYTHON_USEDEP}]
>=x11-libs/qt-core-${QT_PV}
X? (
>=x11-libs/qt-gui-${QT_PV}[accessibility]
>=x11-libs/qt-test-${QT_PV}
)
declarative? ( >=x11-libs/qt-declarative-${QT_PV} )
help? ( >=x11-libs/qt-assistant-${QT_PV} )
multimedia? ( >=x11-libs/qt-multimedia-${QT_PV} )
opengl? ( >=x11-libs/qt-opengl-${QT_PV} )
phonon? (
kde? ( media-libs/phonon )
!kde? ( || ( >=x11-libs/qt-phonon-${QT_PV} media-libs/phonon ) )
)
script? ( >=x11-libs/qt-script-${QT_PV} )
sql? ( >=x11-libs/qt-sql-${QT_PV} )
svg? ( >=x11-libs/qt-svg-${QT_PV}[accessibility] )
webkit? ( >=x11-libs/qt-webkit-${QT_PV} )
xmlpatterns? ( >=x11-libs/qt-xmlpatterns-${QT_PV} )
"
DEPEND="${RDEPEND}
>=x11-libs/qt-gui-${QT_PV}
"
S=${WORKDIR}/${MY_P}
DOCS=( ChangeLog )
src_prepare() {
# Fix generated pkgconfig file to require the shiboken
# library suffixed with the correct python version.
sed -i -e '/^Requires:/ s/shiboken$/&@SHIBOKEN_PYTHON_SUFFIX@/' \
libpyside/pyside.pc.in || die
if use prefix; then
cp "${FILESDIR}"/rpath.cmake .
sed \
-i '1iinclude(rpath.cmake)' \
CMakeLists.txt || die
fi
}
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_build test TESTS)
$(cmake-utils_use_disable X QtGui)
$(cmake-utils_use_disable X QtDesigner)
$(cmake-utils_use_disable X QtTest)
$(cmake-utils_use_disable X QtUiTools)
$(cmake-utils_use_disable declarative QtDeclarative)
$(cmake-utils_use_disable help QtHelp)
$(cmake-utils_use_disable multimedia QtMultimedia)
$(cmake-utils_use_disable opengl QtOpenGL)
$(cmake-utils_use_disable phonon)
$(cmake-utils_use_disable script QtScript)
$(cmake-utils_use_disable scripttools QtScriptTools)
$(cmake-utils_use_disable sql QtSql)
$(cmake-utils_use_disable svg QtSvg)
$(cmake-utils_use_disable webkit QtWebKit)
$(cmake-utils_use_disable xmlpatterns QtXmlPatterns)
)
configuration() {
local mycmakeargs=(
-DPYTHON_SUFFIX="-${EPYTHON}"
"${mycmakeargs[@]}"
)
cmake-utils_src_configure
}
python_foreach_impl configuration
}
src_compile() {
python_foreach_impl cmake-utils_src_make
}
src_test() {
local PYTHONDONTWRITEBYTECODE
export PYTHONDONTWRITEBYTECODE
local VIRTUALX_COMMAND="cmake-utils_src_test"
python_foreach_impl virtualmake
}
src_install() {
installation() {
cmake-utils_src_install
mv "${ED}"usr/$(get_libdir)/pkgconfig/${PN}{,-${EPYTHON}}.pc || die
}
python_foreach_impl installation
}
next reply other threads:[~2013-02-04 14:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-04 14:02 Michal Gorny (mgorny) [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-03-07 18:16 [gentoo-commits] gentoo-x86 commit in dev-python/pyside: pyside-1.1.2-r1.ebuild ChangeLog Agostino Sarubbo (ago)
2013-03-07 18:17 Agostino Sarubbo (ago)
2013-10-04 16:17 Mike Frysinger (vapier)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130204140236.626FD2171D@flycatcher.gentoo.org \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox