diff options
author | Ben de Groot <yngwin@gentoo.org> | 2013-09-17 15:11:57 +0000 |
---|---|---|
committer | Ben de Groot <yngwin@gentoo.org> | 2013-09-17 15:11:57 +0000 |
commit | ba0a6a5535ed1b827b09221e0f1f100e12fee241 (patch) | |
tree | fcc3189b33ac37dcefe11265003b6dc556b919af /dev-python/PyQt4 | |
parent | Fix e-mail (bug #477438) (diff) | |
download | historical-ba0a6a5535ed1b827b09221e0f1f100e12fee241.tar.gz historical-ba0a6a5535ed1b827b09221e0f1f100e12fee241.tar.bz2 historical-ba0a6a5535ed1b827b09221e0f1f100e12fee241.zip |
Version bump
Package-Manager: portage-2.2.6/cvs/Linux x86_64
Diffstat (limited to 'dev-python/PyQt4')
-rw-r--r-- | dev-python/PyQt4/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/PyQt4/Manifest | 24 | ||||
-rw-r--r-- | dev-python/PyQt4/PyQt4-4.10.3.ebuild | 205 |
3 files changed, 214 insertions, 22 deletions
diff --git a/dev-python/PyQt4/ChangeLog b/dev-python/PyQt4/ChangeLog index 492e5d4b6f7b..46f5292cb846 100644 --- a/dev-python/PyQt4/ChangeLog +++ b/dev-python/PyQt4/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/PyQt4 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/ChangeLog,v 1.238 2013/09/13 19:33:30 jcallen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/ChangeLog,v 1.239 2013/09/17 15:11:54 yngwin Exp $ + +*PyQt4-4.10.3 (17 Sep 2013) + + 17 Sep 2013; Ben de Groot <yngwin@gentoo.org> +PyQt4-4.10.3.ebuild: + Version bump 13 Sep 2013; Jonathan Callen <jcallen@gentoo.org> PyQt4-4.10.1.ebuild, PyQt4-4.10.2.ebuild, PyQt4-4.9.6-r2.ebuild: diff --git a/dev-python/PyQt4/Manifest b/dev-python/PyQt4/Manifest index 348671ec8d4e..593bec2dc342 100644 --- a/dev-python/PyQt4/Manifest +++ b/dev-python/PyQt4/Manifest @@ -1,29 +1,11 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - AUX PyQt4-4.7.3-qreal_float_support.patch 6460 SHA256 8183d7a12c094d02eb4f1ac2b983690c39ee54182a0d28adba52348f705e9c16 SHA512 b333f4016b048af66bb13177981dc468f6e645d9280c18a4f419127c48aca8b4d5c034a167be7353884b715e67ec110ff7d4d4e850793883186ebfef7678e372 WHIRLPOOL 9c7a0409023e8c3af3626bfb3887aea687c07feb5235506ea0ed01171095d575b5681171dc5cde1c796448bb83e26449cab7df2432e172b47b43ec751bf99317 DIST PyQt-x11-gpl-4.10.1.tar.gz 11279330 SHA256 623586f6dcb8a3ac5af688015dfb721b76498242081e3e331c882dd38798fa16 SHA512 997421d80ad6915cbff672bcb60ae4d7a361912d7be03bc4fcaa8c36747f04464a8acc452c235cb0c5c498135fb3a2cc4d945de02f6d2ad2014cce48726e3af4 WHIRLPOOL 23f256882917a5b5cfb3683074c107501fcdd32739c60110585783947885445441649869eb4645854eef3c2181f596afc3ec7cce6c3449f717e5d3d27de3f9a9 DIST PyQt-x11-gpl-4.10.2.tar.gz 11280941 SHA256 747cf2fe285ef050d891bbbbfa213a380583d464a085906ef525058c154be6fe SHA512 6600b87e55f5a8fa0e41549f08d7639baec3ac9ffe14d6b141d808b14f672676abf872a48a300491a9b24eb5a14299f636a71bda246bb63cdb38d5afcd64b6d1 WHIRLPOOL e6822894d68e22be16600bd1c9f1d1d7a04a2170d31651cacd04f184754f2f050aeed8eb8c0c797282334751f488786b17c361871d0580ca222796064c16c5ca +DIST PyQt-x11-gpl-4.10.3.tar.gz 11187362 SHA256 a713bebef394213b2c9e1fe0cad5699b869dc356bba50766e069013eba8bf630 SHA512 4edd3539e1855bc3358dcba866433e53d4b9444b867c14cc27115cf5a6c123b0af3bb0bae3085f6d71a31f0b6716da40809ac4ffcaaff415673ed7462f1a0420 WHIRLPOOL 675e324993e8f9a3b2a0a8975c9f1e2af9cd315073a68e6649a8de04e8e8a905d756be2c138a8c19b4ec16a75c7b118b32a3ffc27f8399953599a1b88ac76fad DIST PyQt-x11-gpl-4.9.6.tar.gz 9349834 SHA256 a350f9e5c6d8062671c0f29bf1a70824719b18175ce8372c29bf7c1eda44b18d SHA512 1d0ca00d529f67d33e51b947b9e2c49a64611a842f1a78220c9390afd1657e909451d9b758d0c008b6efbba7ed047f18ca41323e4db2269d685b9d2400a604aa WHIRLPOOL fd9e2339014e2cce9c4106f92593abca3d71881c57a90e6084a08fdc55213cd640723b988fa792bf4e20e448fb7f6fc43fb72bb45fb7c81bf5819684620ad4ae EBUILD PyQt4-4.10.1.ebuild 5470 SHA256 65a50c9fef7a117511e77f59ab665e82271a469bcd2a0ae4b379ae669d47b50b SHA512 fee6ee3d5d077ae8ccb1a82ecb52114251dd4563eeeec0730d97436e8a8c1f57cd28a9b7209b25001c89c52c4c8717d104242afd34bb56c1bfc17f5906f718a0 WHIRLPOOL 0ac56fde99e28b3badef5fa4429c8bca0a15a2aab0d96d11470cdb9a5a9f66638ee7b13376cda94568f08f7ab1231c9b4af6e5f8999cb2ce841f8b6a7f28836d EBUILD PyQt4-4.10.2.ebuild 5454 SHA256 7e093852a36360629beb762fbef2070f274cd78c5289539274951f7356d5774a SHA512 d4883f6d0c48f31d47833923ec2b10d92a195a057b98f4b24101a3c4e14a9e9ee368d9f71e815c4fcb09d96e753b85bb5d2660c315b3bcc3cf33bb28a05a1bca WHIRLPOOL 0fbb02b2829b8044fd65e58c4907b90065a81d623beb939dab6eddd6cdc65f728d4253f77e10baf0057e13a4273013147f839ce1ae818e8a02f9ce318b7ed4d4 +EBUILD PyQt4-4.10.3.ebuild 5459 SHA256 e659e7405f5558ba109dd65de7abcb7506fcd2958f594e9b3d4bed51e40edf01 SHA512 f31e5374fc46fee663ddf80ec2a558228d58ef45abdaaec2e0af1fdea31f51a89ddf92828a7e29e03569138d99b6fb2e4c03f5b70b57f205dc0725f14c13f6b0 WHIRLPOOL 850bc7729ca9dad362560d47c64eb58e023586981ea2101fd8eaf0b22fc5a550c2418e7e2d51bb65cfd1d51a3b5d10b381bef40a96a882e865ae806ea76058f4 EBUILD PyQt4-4.9.6-r2.ebuild 5319 SHA256 1c85ca8ab0780df84cd8ec95e15fce2a5ee1b7d3933f0cbffeb583342b758121 SHA512 5fc76a2b15e360c946cc0331b272b8951fa3dcdd518e06f4119b730a74977d764dd2731d1b70de722803bc0c1a10ce076bc251275cf7f79b136e24a4d46bf007 WHIRLPOOL 4d54a18508b7d8035024ee40dd4b90e55b842b8ae5cc6b0a73f91daf7342e98f29c67a1f51dfe45bf9d09d0ed31628a4f406b28f0dfa66142299482332d820d6 -MISC ChangeLog 32835 SHA256 04eb326c7db85b6cbcd9fed71d348dca6d5f0c034505667afc7ccdf4310b8476 SHA512 feba62f4ce58e7539bbc2e17cfa5e0538780a12d24718698c764e36cc16d99879631a2d8ba6cd74a9101c78635acd9bf7fc42c522a658f7baf5e9069ff1e8f34 WHIRLPOOL c399ae408c9ce4f83fbcd023b5b8556655c6f8f2c099f038176609bce7a05246fd3ae72de9774a4c3c3acd93adb2e284691475e9bc18025f25afc9b665ff58e1 +MISC ChangeLog 32949 SHA256 b7ec4c0413390a99ae921474fada2efb4ec0666b350e125b1b434acf0ecfb871 SHA512 7a3b26d44d320248108fb0ff2c737cadbe21176965bddc8deb2ec1bf8f78ec6501d624c98d5af2defe51a579cb066c705212187d7981c37730b9601eb032e6ae WHIRLPOOL 6bffae31941463d3f276f893f20d1f9eebddfdd9f4c761819cf10335079bd57775efd7fbf715345120f3fa4a8fa14e0180e9388ae1e1cea48b59d348ab0e4cf0 MISC metadata.xml 1190 SHA256 0b7ebf415df373643682290fbf79b9ed1ef4817f4be6b3a53aac9b7441dd898c SHA512 fcb38aa8872b50b6e087bc3cb375667f5ed3524b18920090c6b5d3d1ce1807f6cd0cc5bb5e8a7e9c23659bc40ceb3988392ea37ebc92f9d6bdca0b2c3cd4ea45 WHIRLPOOL af88cfc998264e3c7d5857a1e5c7ebeb2889b73a92c86c16ae9185c25fdbe7176114b6fb4b0eae1ffeb4893fb948b745c69010d30bbc25691bf3ec1bef3e0e81 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.21 (GNU/Linux) - -iQIcBAEBCAAGBQJSM2iGAAoJELHSF2kinlg4Xu8QAIwQXQOxQhXpjR0auSpmXa+3 -PZU2zJVMXXAe99S7XD060O8Ps/JHZ/EARc2WCiJTYtU5j/nrX+lQLBJ3TVr1B66Y -BJMgMe+QqXELK3qFbuNIbq2YJ4UdWuaBeT3QhlU0LNDCazBjYecFEZuv9EP4yolt -lFz3iLBa+dCYX8mTruei5JviMjRVsXfZ3IOm0lb6a5w9kCSjkHv7ncH3ZK7OuBgG -TFH6DDG5S8umL/TR1di+N/ki4mq8W3bGMo6u5nDlnrrGFPRchMzEZ+t5nIlAPF+u -JJLoNvfW+VcpZVVbJrCjiwgRzrgfYNXELPnVf0Rbla7WMIw5f7FzBCNsHrZAyG8h -jzvxUtEnmXqcVCF1l/s2aJccGe1wfm+IrrGLh3VE1n0M8dQr3s3vE5goD4JVs6GR -qjLpjm4lDaXhjErWBZoJrrnSMiBqZMgI/cLleapo7ffWyHvcjwNwdRBcJQgJzmlW -W0x0RN22BQO+1wSGEtvZ07A+oV1dBTOxpY+AtkgxR6jHKor7+2ZTjJL2hQE/NTzw -ZOVoOL0q+l40yDeqBKAf4NZyu6qmkIbwqgH7Mqe6pqbDvqSBV7ffmxe4cOdoG6iZ -ZjetH6I/xWz7GVMn7K4SE9Kltt/DbSqfHAPwt5HVlLo3Mqv7Y6j7kEcgq2OW1/ME -h3Sn0+ILc0HxaQDpJvgH -=6oAF ------END PGP SIGNATURE----- diff --git a/dev-python/PyQt4/PyQt4-4.10.3.ebuild b/dev-python/PyQt4/PyQt4-4.10.3.ebuild new file mode 100644 index 000000000000..39adfdd27843 --- /dev/null +++ b/dev-python/PyQt4/PyQt4-4.10.3.ebuild @@ -0,0 +1,205 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/PyQt4-4.10.3.ebuild,v 1.1 2013/09/17 15:11:54 yngwin Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) + +inherit eutils qt4-r2 python-r1 toolchain-funcs + +DESCRIPTION="Python bindings for the Qt toolkit" +HOMEPAGE="http://www.riverbankcomputing.co.uk/software/pyqt/intro/ http://pypi.python.org/pypi/PyQt" + +if [[ ${PV} == *_pre* ]]; then + MY_P="PyQt-x11-gpl-snapshot-${PV%_pre*}-${REVISION}" + SRC_URI="http://dev.gentoo.org/~hwoarang/distfiles/${MY_P}.tar.gz" +else + MY_P="PyQt-x11-gpl-${PV}" + SRC_URI="mirror://sourceforge/pyqt/${MY_P}.tar.gz" +fi + +LICENSE="|| ( GPL-2 GPL-3 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" + +IUSE="X dbus debug declarative doc examples help kde multimedia opengl phonon script scripttools sql svg webkit xmlpatterns" +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + declarative? ( X ) + help? ( X ) + multimedia? ( X ) + opengl? ( X ) + phonon? ( X ) + scripttools? ( X script ) + sql? ( X ) + svg? ( X ) + webkit? ( X ) +" + +# Minimal supported version of Qt. +QT_PV="4.8.0:4" + +RDEPEND=" + ${PYTHON_DEPS} + >=dev-python/sip-4.14.3:=[${PYTHON_USEDEP}] + >=dev-qt/qtcore-${QT_PV} + X? ( + >=dev-qt/qtgui-${QT_PV} + || ( dev-qt/designer:4 <dev-qt/qtgui-4.8.5:4 ) + >=dev-qt/qttest-${QT_PV} + ) + dbus? ( + >=dev-python/dbus-python-0.80[${PYTHON_USEDEP}] + >=dev-qt/qtdbus-${QT_PV} + ) + declarative? ( >=dev-qt/qtdeclarative-${QT_PV} ) + help? ( >=dev-qt/qthelp-${QT_PV} ) + multimedia? ( >=dev-qt/qtmultimedia-${QT_PV} ) + opengl? ( >=dev-qt/qtopengl-${QT_PV} ) + phonon? ( + kde? ( media-libs/phonon ) + !kde? ( || ( >=dev-qt/qtphonon-${QT_PV} media-libs/phonon ) ) + ) + script? ( >=dev-qt/qtscript-${QT_PV} ) + sql? ( >=dev-qt/qtsql-${QT_PV} ) + svg? ( >=dev-qt/qtsvg-${QT_PV} ) + webkit? ( >=dev-qt/qtwebkit-${QT_PV} ) + xmlpatterns? ( >=dev-qt/qtxmlpatterns-${QT_PV} ) +" +DEPEND="${RDEPEND} + dbus? ( virtual/pkgconfig ) +" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + qt4-r2_src_prepare + + # Support qreal on arm architecture (bug 322349). + use arm && epatch "${FILESDIR}/${PN}-4.7.3-qreal_float_support.patch" + + # Allow building against KDE's phonon (bug 433944 and others). + sed -i \ + -e "s:VideoWidget()\":&, extra_include_dirs=[\"${EPREFIX}/usr/include/qt4/QtGui\"]:" \ + -e "s:^\s\+generate_code(\"phonon\":&, extra_include_dirs=[\"${EPREFIX}/usr/include/phonon\"]:" \ + configure.py || die + + if ! use dbus; then + sed -i -e 's/^\(\s\+\)check_dbus()/\1pass/' configure.py || die + fi + + python_copy_sources + + preparation() { + if [[ ${EPYTHON} == python3.* ]]; then + rm -fr pyuic/uic/port_v2 + else + rm -fr pyuic/uic/port_v3 + fi + } + python_foreach_impl run_in_build_dir preparation +} + +pyqt4_use_enable() { + use $1 && echo --enable=${2:-Qt$(tr 'a-z' 'A-Z' <<< ${1:0:1})${1:1}} +} + +src_configure() { + configuration() { + local myconf=( + "${PYTHON}" configure.py + --confirm-license + --bindir="${EPREFIX}/usr/bin" + --destdir="$(python_get_sitedir)" + --sipdir="${EPREFIX}/usr/share/sip" + --assume-shared + --no-timestamp + --qsci-api + $(use debug && echo --debug) + --enable=QtCore + --enable=QtNetwork + --enable=QtXml + $(pyqt4_use_enable X QtDesigner) $(use X || echo --no-designer-plugin) + $(pyqt4_use_enable X QtGui) + $(pyqt4_use_enable X QtTest) + $(pyqt4_use_enable dbus QtDBus) + $(pyqt4_use_enable declarative) + $(pyqt4_use_enable help) + $(pyqt4_use_enable multimedia) + $(pyqt4_use_enable opengl QtOpenGL) + $(pyqt4_use_enable phonon phonon) + $(pyqt4_use_enable script) + $(pyqt4_use_enable scripttools QtScriptTools) + $(pyqt4_use_enable sql) + $(pyqt4_use_enable svg) + $(pyqt4_use_enable webkit QtWebKit) + $(pyqt4_use_enable xmlpatterns QtXmlPatterns) + AR="$(tc-getAR) cqs" + CC="$(tc-getCC)" + CFLAGS="${CFLAGS}" + CFLAGS_RELEASE= + CXX="$(tc-getCXX)" + CXXFLAGS="${CXXFLAGS}" + CXXFLAGS_RELEASE= + LINK="$(tc-getCXX)" + LINK_SHLIB="$(tc-getCXX)" + LFLAGS="${LDFLAGS}" + LFLAGS_RELEASE= + RANLIB= + STRIP= + ) + echo "${myconf[@]}" + "${myconf[@]}" || die + + local mod + for mod in QtCore \ + $(use X && echo QtDesigner QtGui) \ + $(use dbus && echo QtDBus) \ + $(use declarative && echo QtDeclarative) \ + $(use opengl && echo QtOpenGL); do + # Run eqmake4 inside the qpy subdirectories to respect + # CC, CXX, CFLAGS, CXXFLAGS, LDFLAGS and avoid stripping. + pushd qpy/${mod} > /dev/null || return + eqmake4 $(ls w_qpy*.pro) + popd > /dev/null || return + + # Fix insecure runpaths. + sed -i -e "/^LFLAGS\s*=/ s:-Wl,-rpath,${BUILD_DIR}/qpy/${mod}::" \ + ${mod}/Makefile || die "failed to fix rpath for ${mod}" + done + + # Avoid stripping of libpythonplugin.so. + if use X; then + pushd designer > /dev/null || return + eqmake4 python.pro + popd > /dev/null || return + fi + } + python_parallel_foreach_impl run_in_build_dir configuration +} + +src_compile() { + python_foreach_impl run_in_build_dir default +} + +src_install() { + installation() { + # INSTALL_ROOT is used by designer/Makefile, other Makefiles use DESTDIR. + emake DESTDIR="${D}" INSTALL_ROOT="${D}" install + mv "${ED}"/usr/bin/pyuic4{,-${EPYTHON}} || die + python_optimize + } + python_foreach_impl run_in_build_dir installation + + dosym python-exec /usr/bin/pyuic4 + dodoc NEWS THANKS + + if use doc; then + dohtml -r doc/html/* + fi + + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples + fi +} |