diff options
author | Andreas Hüttel <dilfridge@gentoo.org> | 2014-02-06 23:23:26 +0000 |
---|---|---|
committer | Andreas Hüttel <dilfridge@gentoo.org> | 2014-02-06 23:23:26 +0000 |
commit | 1d6e0f27065cdde80797a25319fd3ee6e4440dd5 (patch) | |
tree | 8dc6278c8be46c472ec0dcd317046731afc10592 /kde-base/pykde4 | |
parent | Version bump. (diff) | |
download | historical-1d6e0f27065cdde80797a25319fd3ee6e4440dd5.tar.gz historical-1d6e0f27065cdde80797a25319fd3ee6e4440dd5.tar.bz2 historical-1d6e0f27065cdde80797a25319fd3ee6e4440dd5.zip |
Version bump KDE SC 4.12.2
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64
RepoMan-Options: --force
Manifest-Sign-Key: 0xEBE6A336BE19039C!
Diffstat (limited to 'kde-base/pykde4')
-rw-r--r-- | kde-base/pykde4/ChangeLog | 7 | ||||
-rw-r--r-- | kde-base/pykde4/Manifest | 33 | ||||
-rw-r--r-- | kde-base/pykde4/pykde4-4.12.2.ebuild | 161 |
3 files changed, 185 insertions, 16 deletions
diff --git a/kde-base/pykde4/ChangeLog b/kde-base/pykde4/ChangeLog index 75f46caf59a8..fafc95fe54b2 100644 --- a/kde-base/pykde4/ChangeLog +++ b/kde-base/pykde4/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for kde-base/pykde4 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v 1.258 2014/01/20 14:59:54 kensington Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v 1.259 2014/02/06 23:20:25 dilfridge Exp $ + +*pykde4-4.12.2 (06 Feb 2014) + + 06 Feb 2014; Andreas K. Huettel <dilfridge@gentoo.org> +pykde4-4.12.2.ebuild: + Version bump KDE SC 4.12.2 20 Jan 2014; Michael Palimaka <kensington@gentoo.org> -pykde4-4.12.0.ebuild: Remove KDE SC 4.12.0 diff --git a/kde-base/pykde4/Manifest b/kde-base/pykde4/Manifest index a9f20e8c6a60..5fbdec5d6dec 100644 --- a/kde-base/pykde4/Manifest +++ b/kde-base/pykde4/Manifest @@ -6,26 +6,29 @@ AUX pykde4-4.10.1-arm-sip.patch 630 SHA256 0697830f7207838640e3f47b13c5996260b7e DIST pykde4-4.11.2.tar.xz 2117012 SHA256 9e0961dce9f7f6d98bdb1ad70aba3c01c51ae73a83df20a8b6772fa0ab1d38fe SHA512 80e11f0272482a6e9e2ffc4b0fab2b88f7e1b88e58a195d84fb9e80e1914d0484dfe9e8646be4fe055d755c0cb813f964158bb28283c35c0424a3e5048584632 WHIRLPOOL 20dff26711f83a0b98c33f76d2dc83e53af73f1fc6bb7607f50233809fd941ca5587cb78ea297878ae5284164b130417085c101bb887c1364cf4fda07691efd1 DIST pykde4-4.11.5.tar.xz 2050296 SHA256 49f3b58525d30de6faadbfbd4dcbff6e519225f64a755c4770269b707441d2dc SHA512 185451b744c163478b32bf44fb4d7c6b396f9c402f798ddd01207b188a28434bee16bb0ad8dff7946ce8ab0af770d03b0690c3f4b8d5bfd5a30095951f288f4b WHIRLPOOL a52c147f5885fd686163b57c111d1ffd18d259bd57d2ac9671198f5576fd525792616fdd73a6f0316f2eedc4fee3dada44034dc29973871c5af372b6ab3cebec DIST pykde4-4.12.1.tar.xz 2004960 SHA256 f75faa5c5798cd0c2b518b8ac87b25315b62c3ed41b1679e223173bb42aef1d8 SHA512 d46e3185d7694a167cde2b708f850fad5df0a2235e9f4c114d79e6cc549cdd202142a9e6de7830efaa6cbcf622cba1376e9d629b351f9ecbce7224250d7fd502 WHIRLPOOL 7d5cf908a5b9cee9bbf953a8502bb92b42dff33cb98f1da8285302a80b10dba8f2cf726b97df3bf528a253f00429ee4dd42e9b5e334cc0db1d51be264ec27b0b +DIST pykde4-4.12.2.tar.xz 2005172 SHA256 f2b38abd77f33e8e270cd123bf30d8aab8000aabd9c0966fb85284cfc2f87b74 SHA512 181939d74c5761531a5256aba5ffbf64b055b3b2b3360ff686f00702a0a7c1ee54164b9ce8cdc43984d1f43e87cd12f6ac02ddf1e206da3f7b81aa347e71d07e WHIRLPOOL e81d848419e1b7dd2930e20d0d2e7e158cd028df7be4c484cd6b7968d8d066610dfe62f3bbd263d169b5f1fda3f013687723dd8924c9a96a67342fe04174c4bc EBUILD pykde4-4.11.2-r1.ebuild 4248 SHA256 f4fea4199a4f4fc6c04fbb0a9e2889a9b895817209861a48501a48e9507efcea SHA512 6acffae49d21b60e391197395bb8c766707a0feb88680c5b9a70f5ffb26ae5499ff6b021bac1dac7ca9178832982090d66b49ae8495decdce0817c8aa04f9b9d WHIRLPOOL 224717b5bc0eda9faa4cccb78bc90ac8964b9e04d536ef7532cb2500c0419f4d1ab035b624dcd7b688c3c3cf4ad632923dcea58ce9a1d7dbc1c99913a8766fe4 EBUILD pykde4-4.11.5.ebuild 4256 SHA256 48a00981a892c686bde449531072cdd99cd94a37216660063d43a45996c33f72 SHA512 6e829abe5cf32630577f2b6d258710df8714ed733f34852b27e9b4dd6d096d453266000352a619e1436e8ae0f2bd377b2f5f1638459bc99bb6d8827175f0efde WHIRLPOOL a45105cc9079cff9f1d0a75dbe489f5251ac4451e8b85752a25f85283c5ab5300d5bc3c6cdcf83336858bdee28b8a07077d81516c4b7020e247cb5e519452ad1 EBUILD pykde4-4.12.1.ebuild 4255 SHA256 df6e29b0a7346362df9926d33c2b458d7e93d443180573daf8468b1b8a656b8f SHA512 27ba185df85db54e98c1a56cbba9cfefb7fa73f479c2d6a074775cb58fb66fe13f05c6d6e42a580fe656193183011851888b3d2f06984ea642e650ef1c61f4a6 WHIRLPOOL 7af0361f94ce65389acaac9e4f0c130157d29bdc8e32b9fa509dbc5f9c989819365643a770e3637a9c03da266207820473331546093f0c2cc6c46a090383bb1d -MISC ChangeLog 33501 SHA256 06673ef43ecdff1133f80173bd99ce594681907a1030c6754b5334b6e0e34abd SHA512 d8805277735494046940e6daa7324001c797b458a949c0cc0683f64547a9d5dfeb6d305faacb92458771a51f4b672b3c054e0c58fac51531be087e51a40fa834 WHIRLPOOL 428e09a4f9470b176d1431ed3e7a8bddeeaaa0f5122da1dd18b5064982bdffea02bc0c2b9ee0335c1e3087a9af7f80f6a9d43d5a531fce14df6e2dfbc253fadd +EBUILD pykde4-4.12.2.ebuild 4256 SHA256 e69106700e030f84e66a44ae52e969285660345be304c02d18feaaf31067242d SHA512 5a2a63ef6159bff75f9d69f7b97f081c145caaadfd49b8107975bb21b5a8e938bdd763640914eeb3be850a9aa3624850eb3c73ee6249740661529a96b5fbcca8 WHIRLPOOL 804951584997233c409096427a6ce6a3393dc1a48c2347bd7689ee2df2ca8a3fbafb751951b5ed928e61288cd7ddc9c96915c7a2221c271aaa12112c5d33e936 +MISC ChangeLog 33640 SHA256 4f7c9e7b316b6c207df8526f6c21a4f50776fa34bf65903d2ffc1f33f9e87598 SHA512 7867206c54399500e61c7824e97d7e447abb5b208562afde157cc15ac9d18a9ebbecdfab9913d093369ff7f5ed984ae3b5c7ea1286d3cb223d849e4b1d7ec1e1 WHIRLPOOL 5c5d5ac69a78923d5a0fe82b5f7e2ed22876267d4f510064858d93f6e15d4202b32cd4d7a29af59731722600f73543a2506baffc13f2cfe328ea61ee8caace89 MISC metadata.xml 260 SHA256 0ca2c4d395d5a18420e2afaa9701549afc4e584b5b9be90e4b6ff5db89d66369 SHA512 2371a6075a0873610a53d4337fab9e368d607cb63cb924520c02149612934e7d1d8a5131f8d1c8ae01cac380e3a17f01b0105acda382ebb6da058fc2a561e1aa WHIRLPOOL 097f71b3d076f2c2a7091f0f89b05d8bc7f24d453d2e3c876fd95f91068b634ace21a5f53afc14be9f061f5b2e996aa18c3ef827eb16ad23f9c260a950a0eae8 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iQJiBAEBCABMBQJS3TprRRSAAAAAABQAKGlzc3Vlci1mcHJAbm90YXRpb25zOTc5 -MTY5NkQ3RDM3NkRBN0U5QjZGMTUwMDZCMUYzOERDQTQ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vAkU/OWtyWuwfJxKZuE7oK/ja5LWrPNVHaCEtiKvMPMIt2Yg7bY4NjzlTJ +6lAzAAFozTZwb9sakNfaROVTqoAu3rV5NVumUkP3/945DxwVHPLXBlnoSHnB6Sxf +OlCHONr5m4k0W4O8v54LazQNabZ1C4LJN4zkYNj7IQrCvxfg02JOL2RdCEOkzDIp +9EZ4CK02M2kNjVLPFVUrGuLccilXOEACUUP8RsX5yHev3kawlMeC2RFZfyiksT4t +CLZlm3blfzHUEQuZ08qTjeJe2df5wvCBZBBFwzVK4HWpTigqkW12tPlDAlG8b2B5 +qJUb7YyANMCY5SWjws3SIaxaPsRgDdOS+fUq9M4Z78SgaML+sELq5Edr0x5IpXw6 +JBnyCLAsDNgbv0T2VJm0VWoHuXTO+2io/sd+cCeGXcuxAIz7NR4Z4ysqI4hx1RQK +HpNRKg9TKetUKlcYsBuyXxIPXk0KYErzDIdzCFdqD9mVeSKCa8+USTvBcv8Fghbb +eXdpmCx9hShwcbVVd5vM +=PNRX -----END PGP SIGNATURE----- diff --git a/kde-base/pykde4/pykde4-4.12.2.ebuild b/kde-base/pykde4/pykde4-4.12.2.ebuild new file mode 100644 index 000000000000..7113ff4c9832 --- /dev/null +++ b/kde-base/pykde4/pykde4-4.12.2.ebuild @@ -0,0 +1,161 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/pykde4-4.12.2.ebuild,v 1.1 2014/02/06 23:20:25 dilfridge Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) +PYTHON_REQ_USE="threads" +OPENGL_REQUIRED="always" + +inherit python-r1 portability kde4-base multilib + +DESCRIPTION="Python bindings for KDE4" +KEYWORDS=" ~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="debug doc examples semantic-desktop test" +HOMEPAGE="http://techbase.kde.org/Development/Languages/Python" + +REQUIRED_USE="${PYTHON_REQUIRED_USE} test? ( semantic-desktop )" + +RDEPEND=" + ${PYTHON_DEPS} + >=dev-python/PyQt4-4.9.5[${PYTHON_USEDEP},dbus,declarative,script(+),sql,svg,webkit,X] + >=dev-python/sip-4.14:=[${PYTHON_USEDEP}] + $(add_kdebase_dep kdelibs 'opengl,semantic-desktop?') + semantic-desktop? ( + $(add_kdebase_dep kdepimlibs) + >=dev-libs/soprano-2.9.0 + ) +" +DEPEND="${RDEPEND} + dev-lang/python-exec:0[${PYTHON_USEDEP}] + sys-devel/libtool +" + +pkg_setup() { + kde4-base_pkg_setup + + have_python2=false + + scan_python_versions() { + if [[ ${EPYTHON} == python2.* ]]; then + have_python2=true + fi + } + python_foreach_impl scan_python_versions + + if ! ${have_python2}; then + ewarn "You do not have a Python 2 version selected." + ewarn "kpythonpluginfactory will not be built" + fi +} + +src_prepare() { + kde4-base_src_prepare + + if ! use examples; then + sed -e '/^ADD_SUBDIRECTORY(examples)/s/^/# DISABLED /' -i CMakeLists.txt \ + || die "Failed to disable examples" + fi + + # See bug 322351 + use arm && epatch "${FILESDIR}/${PN}-4.10.1-arm-sip.patch" + + sed -e 's/kpythonpluginfactory /kpython${PYTHON_SHORT_VERSION}pluginfactory /g' \ + -i kpythonpluginfactory/CMakeLists.txt || die + + if ${have_python2}; then + mkdir -p "${WORKDIR}/wrapper" || die "failed to copy wrapper" + cp "${FILESDIR}/kpythonpluginfactorywrapper.c-r1" "${WORKDIR}/wrapper/kpythonpluginfactorywrapper.c" || die "failed to copy wrapper" + fi + python_copy_sources + +} + +src_configure() { + configuration() { + local mycmakeargs=( + -DWITH_PolkitQt=OFF + -DWITH_QScintilla=OFF + $(cmake-utils_use_with semantic-desktop Soprano) + $(cmake-utils_use_with semantic-desktop Nepomuk) + $(cmake-utils_use_with semantic-desktop KdepimLibs) + -DPYTHON_EXECUTABLE=${PYTHON} + -DPYKDEUIC4_ALTINSTALL=TRUE + ) + local CMAKE_BUILD_DIR=${S}_build-${PYTHON_ABI} + kde4-base_src_configure + } + + python_foreach_impl run_in_build_dir configuration +} + +echo_and_run() { + echo "$@" + "$@" +} + +src_compile() { + compilation() { + local CMAKE_BUILD_DIR=${S}_build-${PYTHON_ABI} + kde4-base_src_compile + } + python_foreach_impl run_in_build_dir compilation + + if ${have_python2}; then + pushd "${WORKDIR}/wrapper" > /dev/null + echo_and_run libtool --tag=CC --mode=compile $(tc-getCC) \ + -shared \ + ${CFLAGS} ${CPPFLAGS} \ + -DEPREFIX="\"${EPREFIX}\"" \ + -DPLUGIN_DIR="\"/usr/$(get_libdir)/kde4\"" -c \ + -o kpythonpluginfactorywrapper.lo \ + kpythonpluginfactorywrapper.c + echo_and_run libtool --tag=CC --mode=link $(tc-getCC) \ + -shared -module -avoid-version \ + ${CFLAGS} ${LDFLAGS} \ + -o kpythonpluginfactory.la \ + -rpath "${EPREFIX}/usr/$(get_libdir)/kde4" \ + kpythonpluginfactorywrapper.lo \ + $(dlopen_lib) + popd > /dev/null + fi +} + +src_test() { + python_foreach_impl run_in_build_dir kde4-base_src_test +} + +src_install() { + installation() { + emake DESTDIR="${D}" install + + mv "${ED}"/usr/bin/pykdeuic4-{${EPYTHON/python/},${EPYTHON}} || die + python_optimize + } + python_foreach_impl run_in_build_dir installation + + dosym python-exec /usr/bin/pykdeuic4 + + # As we don't call the eclass's src_install, we have to install the docs manually + DOCS=("${S}"/{AUTHORS,NEWS,README}) + use doc && HTML_DOCS=("${S}/docs/html/") + base_src_install_docs + + if ${have_python2}; then + pushd "${WORKDIR}/wrapper" > /dev/null + echo_and_run libtool --mode=install install kpythonpluginfactory.la "${ED}/usr/$(get_libdir)/kde4/kpythonpluginfactory.la" + rm "${ED}/usr/$(get_libdir)/kde4/kpythonpluginfactory.la" + popd > /dev/null + fi +} + +pkg_postinst() { + kde4-base_pkg_postinst + + if use examples; then + echo + elog "PyKDE4 examples have been installed to" + elog "${EPREFIX}/usr/share/apps/${PN}/examples" + echo + fi +} |