diff options
author | Michael Palimaka <kensington@gentoo.org> | 2014-10-25 20:02:36 +0000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2014-10-25 20:02:36 +0000 |
commit | 9b4dd524d854ecee3ef120cc35f1ec05d7a86b71 (patch) | |
tree | c834d1105ee71a67156b9f290e5c1c917eeb0aa4 /kde-base/pykde4 | |
parent | Version bump (diff) | |
download | historical-9b4dd524d854ecee3ef120cc35f1ec05d7a86b71.tar.gz historical-9b4dd524d854ecee3ef120cc35f1ec05d7a86b71.tar.bz2 historical-9b4dd524d854ecee3ef120cc35f1ec05d7a86b71.zip |
Version bump KDE SC 4.14.2
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Manifest-Sign-Key: 0x06B1F38DCA45A1EC!
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.14.2.ebuild | 163 |
3 files changed, 187 insertions, 16 deletions
diff --git a/kde-base/pykde4/ChangeLog b/kde-base/pykde4/ChangeLog index ad7a2bcb392e..01e3a41f2aaf 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.301 2014/09/16 18:17:27 johu Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v 1.302 2014/10/25 19:58:27 kensington Exp $ + +*pykde4-4.14.2 (25 Oct 2014) + + 25 Oct 2014; Michael Palimaka <kensington@gentoo.org> +pykde4-4.14.2.ebuild: + Version bump KDE SC 4.14.2 *pykde4-4.14.1 (16 Sep 2014) diff --git a/kde-base/pykde4/Manifest b/kde-base/pykde4/Manifest index 8f7378b51ca4..cfa344cd5b19 100644 --- a/kde-base/pykde4/Manifest +++ b/kde-base/pykde4/Manifest @@ -9,27 +9,30 @@ DIST pykde4-4.12.5.tar.xz 2005104 SHA256 f03649015070ad9a2c6b0015af0c9972503012b DIST pykde4-4.13.3.tar.xz 2005404 SHA256 94392ac9026c506428b20696efd4b9061dfdb034fb8741c1800b41fb8dd8d16b SHA512 4a431e25b178c65516abf8409646fb06ca7d7f46dcae4c994863257677158fb01af12ef61a7fa8bf12762c96113a7e42255e0f0cd5baedae595ec41a14a8d099 WHIRLPOOL c3a9dc61c13c9b33a0251c3eb701c7bf4040a37a736af5b17836a50d7a776840b76e65f78e323e48bf9dabdc9f118c8da2e4541b1d3a65fd1feb92a62ee744a2 DIST pykde4-4.14.0.tar.xz 2006492 SHA256 a620805b4cdc81256cd1003c7f12059b11b8e5cab545d526757e76a0a7f9ce1b SHA512 22a4ec69c1a3bcb0920372d85fe82d3fe151b30240c27062ed53fbd4ef3fc19e9c911d0233880075e6a9af61aecacf300b7aae7dca2bf22a473a032513313df0 WHIRLPOOL 0fef2c052882ec3915f24a597d43514ef736091f37f54077e1cb19a9d12f8f54e1ca5d7a92fd693065a3ae21e56035e91c273c2160c807f37b9b14b2f3da3a41 DIST pykde4-4.14.1.tar.xz 2006436 SHA256 3716d804b216d0f4378455f52ba927805b78bd84413e6912a4603e01345376d2 SHA512 95c6a07920bce388900ededf9bfa5e9db61aec0927d89828df200e1f3a590389f0eac851a4eff21cb12ad018755bf41f60b33a41b3ee3b3f8821d18cd094551c WHIRLPOOL d836293d4de03ee5653c0b3d49e4b6ab000843bbddd77cb1bc3e951ad07294fdc7091fd54bdce882099e40748028258bbee97f1fff0c23f43e103dcb794e9637 +DIST pykde4-4.14.2.tar.xz 2006424 SHA256 fb31551e54ab6f321e6d318664e8e4e8031003de0fd688d63971edca888ff7a2 SHA512 a9415a1f10ea4853ddbc80c5b9e147c015e4f47ba19f8c2d6e8ff029729b74a6f3c637d0295b45c6cc50ad2d30490421599b8f70549e01335ee8ffc6b6346bf5 WHIRLPOOL 0a7e5727879b9c61d82e7c7fe244f0f718005c9ab38f38835cc14effadd861ce7b6896a950d8fb77e2fa3767a06d570884db02780d2bf788e8ef13832cb4f8c0 EBUILD pykde4-4.12.5.ebuild 4297 SHA256 5aef84bf386fe13ef85edc339e88359028901d86dd7805276ce17f937592ea50 SHA512 04826db535c19e69e29a97b03fefac295cb334caf8878d74125f7a3cfa311443655f2188223e217b2429845600af087cff4708fa913c5b708e3ea6dba6bcbc41 WHIRLPOOL 1d232fd64914d2ff2b7c3e5826259da5a2347d75ed5ad03c273b9d4319f437ff4897366bb894d070b2f419c23404dd5d96a83189c4fc29eab0409d5165b52f43 EBUILD pykde4-4.13.3.ebuild 4258 SHA256 a83bd68b8a983cc68e70b32056538571a8bad405104bef0eebb997c56f185c2d SHA512 02dffafc383bab3eea2cde4ac88dc59143f18e0a33f3f73dc083a95c097b43e9dc14c34829b21f63fb0724eed41f7d018ec9637bcca53061b86f116a1973e83f WHIRLPOOL 2dbc9da1a0b985d8efe6e4d95c5f734e8c0da305a2abe520ad8b84d73d7ebc1d394bf48fcff748b48f1081fd46a94fabc7f3adedab1747a85b5cf342c36ad43f EBUILD pykde4-4.14.0-r1.ebuild 4369 SHA256 2f69d15d16f49442376c1aacff9cfdde56a3bcff14966fa97a28c1e42eeb17f9 SHA512 ac57a76b2c82bf4ddc48fc3f7b063bd25407c163d41b1dc8b7a3a0a84f4831eb74ab9600c797751d3fce2634d9b2b5619204d73572b7ccc394572f98a2dc893a WHIRLPOOL 5eb98cddba05d3f19f2e93650203b8ba522a718daaa6338969400e8e6ba18ca420e83a85aa26e9cd85bfd260caae6efd2f4d8ee84782c1accceb4aec11c9947a EBUILD pykde4-4.14.0.ebuild 4200 SHA256 d1181f9afc41b55b77126fe5b34eb0770d733a866fc48a10e9f0e621fd0df72b SHA512 e32df58bc9ea7783a86e89d6988a348af28f9e139bfb0db98e4edfd5b394540cf134d8a27cb17435294f3a06df6b22c0f88f9b4a326fdcd6ead059045b224163 WHIRLPOOL e255e05936263cee5b952979dac6540c65ae6ba67b21153d3f1b188241da7480c5f4991e1fa31811e1e6a136dae3c58fd2910031be97931bd5c416dfc41d1ef0 EBUILD pykde4-4.14.1.ebuild 4361 SHA256 4913e619888bcc4c96fe2e8c3a0c47a37e921c5b527725dc8c34e295f0534749 SHA512 88a00d3eb772de9f0dab8f5f85b9444ece662e5a119c8b023ec076f6c35a3f5f1ad7f81d6cb36c831c288aada12a4d8e158eefcd35509f9801db151fa129eda0 WHIRLPOOL 0045e6bc5e433b882989bdbd6938bf5872694b2d3e3edadb4aaca6f98e7d6fa87dfdf6f6117d6e0544d731092562afb02e27b04920fba19328448e124b8e7612 -MISC ChangeLog 38486 SHA256 6921aae70c9fc10aa3914f57d5cc90b2be6ad338c3b0f485f45d8b5ec55325ce SHA512 ce43d23a70a5b4f69144a4aa98f2adf9f477970f884177cad97800b2b165b1d86543402302e594961f105a8b6841fab07abdb1dc7fcba86db0091ffafcc17715 WHIRLPOOL 96a8752398f474c937f64f10da2dfdc8c519b3b523919a41923d031d4f1e6d111e185ee6b5c9d18ded4973531884e888876ac0855bc127d8ace70873355546ff +EBUILD pykde4-4.14.2.ebuild 4366 SHA256 b8f6628d1e802e1dd963b66f13607dfeedbdbb6cac6421b3efe9eca0be0540d1 SHA512 6c9854f9c68f44bc4ca0b6756d1db6b2229c3d9d09166a9d0b32509d9f8e08b996af237e20aa1179d0200e5645bc86f05b943ce9c87727035aa405206c927309 WHIRLPOOL 6ce2a14d6af225d33f0dcdaccbc75eda1cb2a4076422d6796e6784702644911baa7fdd2c49b2dfee2f815e8777d59f26371539703bb218dd61baa626d1aabde4 +MISC ChangeLog 38631 SHA256 89db9713ee0803567dffaa68f5e8d9f3eb50a3fc3a6208004ad48ffb85da8e89 SHA512 d2ce932dc209d94d45788f19a738021ce9a13ddd756bbe53de513dc72355972389c2d17c01e6f3380c0661749ed16394aca9bd27de8984c3434fa121f0d75fc5 WHIRLPOOL ff3153122683ad90e19b63f3066cca29ad705bfcd3d20499a0f167a6c564e1ca754be33b56a8d5bd2dc31a07d320fee53529aec1692b947d3d92bbe200c249fd MISC metadata.xml 382 SHA256 25b7cd412982aad7c20c6c613ee3d70ea82528fbd674476db1640d71174b27dd SHA512 1d90dac63896b5c49aac8d7ed5bffc81036ba7543c8674618da986ebd69abc45d5d7e2d0a33e39f34a2572b7942718338d26dbc0068b9671cfe260a18ec19563 WHIRLPOOL 04e9b0a99f7008c67727a2491115c18be708ff0e20a56ea677a8223f17e47c9e2f3e0385c5b0ceb9b6dfb755602d46c3d2db37e8ad1cafe9dad8d6d3cb15e37e -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2 +Version: GnuPG v2.0 -iQIcBAEBCAAGBQJUGH+WAAoJEGVpnaTzz9K9GzYP/Rd6HlPNgBCH9hLMPCfmSvHP -xL+TAgKyrtzIuvhIeiCZe9xHL9BXjJJrBp/QhtriaWJ/T+zf0doQSl9VZPaNHkjt -aSHsWJFGqWRLhQhSzd2jjL+3hTJs0VuyOTZrsxnhKJzyaS6fJNoOdG+tzpVcPo4R -9Vfn+zfq8zFeLHB3RsVj/TnuTNoLTndMGWvmPxC34ij7cWJ7bCYd1UrHX9uxQ2Em -h/56Wr9vsdQwrGcOujxMS/eK6rvaSg0wZKgTZmnWQVO1F+Ue86mwPXCU2XTpNKt/ -HR8tWKajBc7DAhqZJwadDKXuskYZr5+v+JhlK5jcn+LB87oTBjv/vWyZQL+dz80K -bfdC+QUnD5PVk2FOBSuCDREp96KQXkbDm0ssJGP2mbOznTMYSSddQaWrSEp4ee5q -9zI4Db5yaHS67CndEY2mNYnzu0SKLd4MZWnkFPenCwTBQVoczLj4ybdBT/ardp7c -bBscYz0ai6yk7bP5geN6xH/TadkfIPvWIa9213Egy9rFa1fJefk3qwfUGZ4onikE -dRnu3Wj0kk50+ThHfKTjISUdIDwZaWue3shicmnNf6MxfI4SdR170aeWhWeAwRgX -XT/un6bOeKClARFe4SWiWsaqRVwdInSwGgPgu23QxtjftJyjjyqWDJLl1yOyxliz -vLJzOAZwAA+7xq/Xfx4W -=I+YT +iQJiBAEBCABMBQJUTAHARRSAAAAAABQAKGlzc3Vlci1mcHJAbm90YXRpb25zOTc5 +MTY5NkQ3RDM3NkRBN0U5QjZGMTUwMDZCMUYzOERDQTQ1QTFFQwAKCRAGsfONykWh +7NrAEACDJMdCW9bbXX482u6xUzGTCMN5I8Z0ZiCnEW8k9mQUdVjC/FLKxVZ3iKj5 +gLmKsUtzpqB9xCtnyaD5HXV1c0zIdabruqsEa+NUW5Wma3wD0eSRBxlIioVPxTXb +0fIkPg/Htk2UoqXKBq5jJwlXEHqaUEhgp00GKYDrUI1VWqgrgd0i9J2pQ1uPHrZp +QiNp65+TAfCkL34P3z/sW+ChHX3iomIZod/twFSVm81H8uhIcmdlEHEd8gLnroiU +y3VB/MTWCHnR/+9HGBRklJByWWKHaV2EFkHLcElp2CzfT6/HNjTV/5P7KhF2p8w3 +1xrPfPYgjpmPFfWrX1IV4aI6FdV4IfNw+7sjWlKM72y/5V16Lncgh49savYXXqgK +bXFw+zbeqmC7l2WoS2GAu1zZDQX7D0Bi2JSdBr6obFuDh56tN/dDC0ToDF/ZaW5K +qWc2/zrgGsPgX9nx2/j6+F1f7WYHFjN/GjUAzJileJtWy2lC0SR4Yo8WJDiiOMcd +qkwtEt2PKcD7jnipiXXNn4esiWSuDeCbMtUWs4Yk4O1TWBtfvzXKSOqYoQx5pg8j +OHTtYe1RI5eYVlePoe8wFnCqiAYQ/bizFjEJhZ2uSX22CPLbgcFjYcsanzBKch37 +Shprrr1WYzOwkPcMcf6pfh+4cdA84Fy+mdEuPjXigtRRPKKwew== +=KEN6 -----END PGP SIGNATURE----- diff --git a/kde-base/pykde4/pykde4-4.14.2.ebuild b/kde-base/pykde4/pykde4-4.14.2.ebuild new file mode 100644 index 000000000000..7741a51d75cc --- /dev/null +++ b/kde-base/pykde4/pykde4-4.14.2.ebuild @@ -0,0 +1,163 @@ +# 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.14.2.ebuild,v 1.1 2014/10/25 19:58:27 kensington Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) +PYTHON_REQ_USE="threads" +OPENGL_REQUIRED="always" + +inherit python-r1 portability kde4-base multilib eutils + +DESCRIPTION="Python bindings for KDE4" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="akonadi debug doc examples nepomuk test" +HOMEPAGE="http://techbase.kde.org/Development/Languages/Python" + +REQUIRED_USE="${PYTHON_REQUIRED_USE} test? ( nepomuk )" + +RDEPEND=" + ${PYTHON_DEPS} + >=dev-python/PyQt4-4.11.1[${PYTHON_USEDEP},dbus,declarative,script,sql,svg,webkit,X] + >=dev-python/sip-4.16.2:=[${PYTHON_USEDEP}] + $(add_kdebase_dep kdelibs 'nepomuk?,opengl') + akonadi? ( $(add_kdebase_dep kdepimlibs) ) + nepomuk? ( >=dev-libs/soprano-2.9.0 ) +" +DEPEND="${RDEPEND} + dev-lang/python-exec:2[${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.14.0-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 akonadi KdepimLibs) + $(cmake-utils_use_with nepomuk) + $(cmake-utils_use_with nepomuk Soprano) + -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 + + mkdir -p "${D%/}$(python_get_scriptdir)" || die + mv "${ED%/}/usr/bin/pykdeuic4-${EPYTHON/python/}" \ + "${D%/}$(python_get_scriptdir)"/pykdeuic4 || die + + python_fix_shebang "${D%/}$(python_get_scriptdir)"/pykdeuic4 + python_optimize + } + python_foreach_impl run_in_build_dir installation + + dosym ../lib/python-exec/python-exec2 /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/") + einstalldocs + + 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 +} |