diff options
author | Andreas Hüttel <dilfridge@gentoo.org> | 2013-11-05 22:25:43 +0000 |
---|---|---|
committer | Andreas Hüttel <dilfridge@gentoo.org> | 2013-11-05 22:25:43 +0000 |
commit | 1d926c27f0f8e77f968c9b09de7e56f514516a3e (patch) | |
tree | 91e47ab7ad2960a6afd8ffe3424ddc795859222b /kde-base/pykde4 | |
parent | updated HOMEPAGE to http://www.ugetdm.com (diff) | |
download | historical-1d926c27f0f8e77f968c9b09de7e56f514516a3e.tar.gz historical-1d926c27f0f8e77f968c9b09de7e56f514516a3e.tar.bz2 historical-1d926c27f0f8e77f968c9b09de7e56f514516a3e.zip |
Version bump KDE SC 4.11.3
Package-Manager: portage-2.2.7/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 | 32 | ||||
-rw-r--r-- | kde-base/pykde4/pykde4-4.11.3.ebuild | 161 |
3 files changed, 185 insertions, 15 deletions
diff --git a/kde-base/pykde4/ChangeLog b/kde-base/pykde4/ChangeLog index 7f86197dac03..8968aa3ad2c4 100644 --- a/kde-base/pykde4/ChangeLog +++ b/kde-base/pykde4/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for kde-base/pykde4 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v 1.243 2013/11/04 12:28:25 johu Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v 1.244 2013/11/05 22:23:03 dilfridge Exp $ + +*pykde4-4.11.3 (05 Nov 2013) + + 05 Nov 2013; Andreas K. Huettel <dilfridge@gentoo.org> +pykde4-4.11.3.ebuild: + Version bump KDE SC 4.11.3 04 Nov 2013; Johannes Huber <johu@gentoo.org> pykde4-4.11.2-r1.ebuild: DEPEND on dev-lang/python-exec. diff --git a/kde-base/pykde4/Manifest b/kde-base/pykde4/Manifest index d1694959af2a..e87efe93a0f9 100644 --- a/kde-base/pykde4/Manifest +++ b/kde-base/pykde4/Manifest @@ -5,24 +5,28 @@ AUX kpythonpluginfactorywrapper.c-r1 1255 SHA256 f89773e5b44515093a0434a2c892509 AUX pykde4-4.10.1-arm-sip.patch 630 SHA256 0697830f7207838640e3f47b13c5996260b7e1c742e965dff0ed6e2cfe66ffa2 SHA512 8d976e65cea346a7bf3b8af1e8d3fc8b59fbabd05515daa63b13943317b8d8b1f99e39fdb07c43d64017dafea94def1b6c4c95aefa37fe2ca025f93f28e67741 WHIRLPOOL d6d8a7d259afc2cae26dd905d72721523868142817edee868300a7a4f98311bce844739bb42b09ab0a91f2cb81a15db83a162b1d8deacfadf33c55df62ce40ab DIST pykde4-4.10.5.tar.xz 2046180 SHA256 f34cd1d4d7ac36d5ba15b714970de0134b713b844d83ac734d7131d74cdf5881 SHA512 751ff334e13a7abcc078d4e5326e87e704cedd8ffa2b0e723a13d61608bf08fec2d1fa414a868a10f201edba417b1e442f25dae03ca4aaf9577aa3064347b2b2 WHIRLPOOL 2d2295dc2bda37b69f81d9501a03105ac4c7432336744015d9b32f21e3673c074d0470842a8af1cd6ba8b21cab235a6a8c94c80b1faacd8b1de048d243421154 DIST pykde4-4.11.2.tar.xz 2117012 SHA256 9e0961dce9f7f6d98bdb1ad70aba3c01c51ae73a83df20a8b6772fa0ab1d38fe SHA512 80e11f0272482a6e9e2ffc4b0fab2b88f7e1b88e58a195d84fb9e80e1914d0484dfe9e8646be4fe055d755c0cb813f964158bb28283c35c0424a3e5048584632 WHIRLPOOL 20dff26711f83a0b98c33f76d2dc83e53af73f1fc6bb7607f50233809fd941ca5587cb78ea297878ae5284164b130417085c101bb887c1364cf4fda07691efd1 +DIST pykde4-4.11.3.tar.xz 2117880 SHA256 58f4f4dabdb44644a95e333ee7a84798e965cc9d146d1e4051880253b8afb0fc SHA512 82570b9af74e0e43ebd1c51a962275255feedf5453da1bedde21f5b540120dd11cff55cc004411e46bf827cb35a86cd6808a128797472107a42bd0cd6d3e4634 WHIRLPOOL d4acbc83162b6838450461c6d365890b97626bb3cb3ecff759f5c9044ef0305e3de3be2b6d3c95972dc4ddba261643e8b3d7857402f5a840636069028e3e8b7a EBUILD pykde4-4.10.5.ebuild 4209 SHA256 d035bb28123be0448c04dd8e5cfa01fc4d4d0a34c622b955c9314f166dec8698 SHA512 e2614b0e902d230920b5f3c83f37408ce591a986f635073721e8f26e2cffa642bd0f4a2d2c4648f295682c44d718cb250c8a9ab9895a0920925c05d72214b0a7 WHIRLPOOL 1f0d4e02cfdffce4a917b7de69c69c496083f3b20bf48e024858fa27cac1336b853114006c88d7e82924f82c1a946433d573b306e895a7bd5ce707fd5d537dcb EBUILD pykde4-4.11.2-r1.ebuild 4253 SHA256 844d7a9820a088b392922c0fd699e4b0cc1d8ec5dc3aa65e51e69647cbe82794 SHA512 43e85692be106ceacf83f3fde98ffbdd77b153a06ced71e6a51f92ae1b539f46411a3a0a673433f72b1b9e7a57cc0569a74c55c188c50f8af436d6d47bcffbbc WHIRLPOOL 543c3f7d1490be775454a472122ed7b667acaf5998d330208f107a32b44a0660f6f690346d9bc6c63a931e9fe24fe107101f938d270af824eb3a112b55842eaf -MISC ChangeLog 31689 SHA256 78526e55cfe1018920aa4105303b348e973a0f7cefb6e6df24a0422fa11a6027 SHA512 d887a7d5f21f2373047802193353dd1a3ebe04089538de37ab9d788cc41fa62bc42af1901e4636c96dca5e1f8f5312eb1fabc311f9b49928a932c041fe013d97 WHIRLPOOL 85c6c2189920e378f64cefd1553c7236afbbbb3344869ce87760bdb09a7f29bc6f7d3d893a3e8d75f3244e6218468075ccd379740749b6c089b41d0484d4ec78 +EBUILD pykde4-4.11.3.ebuild 4255 SHA256 2f9ab6cc7b511f7b7714ba756d8120baca6988fe5ad3b0a8d3f8ae682d142909 SHA512 1bc08622acd871c26245e8f2f04f46eb07b1cadedb413474ff334e0daaa69f1a77d9c12f0533ff87337c1c562981f78708832723bac1310a7fc66eff048741eb WHIRLPOOL 9afd1b84bfa64c4a5b1a096870b138d21e966a684762a458f51c36dbddb39ce8bd8aa3464311c444d1c4acb812dc2978088715662ef28da0ef941bbefcefe99b +MISC ChangeLog 31834 SHA256 34be8620b33b41d583f209d299b38262b538c568a065e88ba268fa09b2814a27 SHA512 9a8232264215ecdc52d03043774c0b35b6659d86760e1bb5d0518e438b9107914609b6cff62b342e101cfa4f58a4c2ace725d2ec612c292e0e263881b4a719bb WHIRLPOOL b9f1fe8e57de2bb6825c946a7639e3c125c0e34dcb7ec55b17a00ff0a358c1c9704fb69fa152b60a15dbdb5429b4255070ddd576715a1304816744170e08ea2d MISC metadata.xml 260 SHA256 0ca2c4d395d5a18420e2afaa9701549afc4e584b5b9be90e4b6ff5db89d66369 SHA512 2371a6075a0873610a53d4337fab9e368d607cb63cb924520c02149612934e7d1d8a5131f8d1c8ae01cac380e3a17f01b0105acda382ebb6da058fc2a561e1aa WHIRLPOOL 097f71b3d076f2c2a7091f0f89b05d8bc7f24d453d2e3c876fd95f91068b634ace21a5f53afc14be9f061f5b2e996aa18c3ef827eb16ad23f9c260a950a0eae8 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iQIcBAEBCAAGBQJSd5LtAAoJEGVpnaTzz9K9Uu0P/0y/gN4tXUIr4GS7FXe/SIiG -yvFfoEBq8D3EMOEkFMteKMuMhVIosZ3/0bzjwW3eYSrbps4Ts22H1h2VvAVKVuwp -7cOXKKa9ao0pGCCzDT8diJjsFrkCIosERxcGlx1fBT7Usr1/YQu8P3oSm0kmhIoG -UEB4PQzntb4/K1Ni6OC3AOZkYa/QZyRBtSFTSLCb37C2rP2wlLJKlO+MOwBrFUxB -eWekYweIjGN1Yv5DEufhBQ7nQ+Q5DbGMEjlWk1U1PW+dzVKZK23uay+A55d++FIb -SZ055EIeuq2PFE7pqJruuFMFMZ8mbwcqDbKVb9qiVHs0kEh7euSi6H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x2t7WpEAc2W8nk5VnPU/Rf3X3Q4XjihjHK2ey +3p9NjQ9ht6Yf/lNPyNVKhzh6Ekc2+W5WHTNdPQcYYTU6C7Poc2UiIG+2zfvMcCSo +MU961Jd56H1GoUh5Qpecu5tLR1hquIfvyEtUUTeVQrgCREoNDeQIvGERxWtX6ne/ +sgurMETkSwRJm9rzwsZQ +=ylN1 -----END PGP SIGNATURE----- diff --git a/kde-base/pykde4/pykde4-4.11.3.ebuild b/kde-base/pykde4/pykde4-4.11.3.ebuild new file mode 100644 index 000000000000..dbad2c8f7961 --- /dev/null +++ b/kde-base/pykde4/pykde4-4.11.3.ebuild @@ -0,0 +1,161 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/pykde4-4.11.3.ebuild,v 1.1 2013/11/05 22:23:03 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 +} |