diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-portage/porthole |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-portage/porthole')
-rw-r--r-- | app-portage/porthole/Manifest | 8 | ||||
-rw-r--r-- | app-portage/porthole/files/porthole-0.6.1-masking_status.patch | 17 | ||||
-rw-r--r-- | app-portage/porthole/files/porthole-0.6.1-missing-attribute.patch | 14 | ||||
-rw-r--r-- | app-portage/porthole/files/porthole-0.6.1-missing_import.patch | 19 | ||||
-rw-r--r-- | app-portage/porthole/metadata.xml | 16 | ||||
-rw-r--r-- | app-portage/porthole/porthole-0.6.1-r4.ebuild | 75 |
6 files changed, 149 insertions, 0 deletions
diff --git a/app-portage/porthole/Manifest b/app-portage/porthole/Manifest new file mode 100644 index 000000000000..9ff8a68e0fff --- /dev/null +++ b/app-portage/porthole/Manifest @@ -0,0 +1,8 @@ +AUX porthole-0.6.1-masking_status.patch 485 SHA256 1ba67b57505994566942f03722b6edccd817550a2fac984fbbcb25bf6c98b254 SHA512 5df59b9ceb47c8e6c5a3ca3c4777efcfdc7ee52e43f0a2121299ac777e2ecbbe707cb330a13355d35862dc5de7fa193fee846063e4825c4537d6c0b6d790bbbe WHIRLPOOL 37d167869602031a66fdc82861d7e50fd94873a98fc288def15386b70240c408c54ad91b825b1f5bf16c5574c6cf3479fbebe6d1e6921974f3f098e0f70b0a09 +AUX porthole-0.6.1-missing-attribute.patch 665 SHA256 4d70d5d85fbc7de42bbef3f4bbe23d0feafd46252d0d38ae76aee9760df437ff SHA512 e450d7d188b7762cebdfd33e6bc586c38e63fec80fe51fd500559587a85e6f5632ad3279d8e8a4bc37781e77f3f6f3df9af8b013f1725dbb47877642177d27d2 WHIRLPOOL 7b16c44840dd93b728e401606ba902b8b8f3b6fe0826592d7ce7e6b0e9eae48b7be3a3942d9c57a2e3a908a71f13c0b1908e26219b890dec5f5866045fff240b +AUX porthole-0.6.1-missing_import.patch 858 SHA256 d79428460882d99d4dc0fa5130a1adcb7523488347309a95fd37b7312b0dd8a1 SHA512 aa61359f9b0d53ffeb3a68bdcacf0010de2a789ea70b1bc0a1035d649ff3986e7fb44292fced65f5652475956d7a10d15907a4e6fa139854f7cdb4a7db1eaebd WHIRLPOOL 7a7c6b4a0a140133eda665163e309c2a42d77c2a3e092584a834c834dfca18de51a425d6b2bc54d8bf93a5de3e8c7ea12ece3f586fa04f558a8133e66ec6122e +DIST porthole-0.6.1.tar.bz2 958696 SHA256 eb9991cb078f51f5b4c9900995ffc3f7f5e3891e62b10cd1c5384efece010d62 SHA512 9bc1d79c587ad8228b9bb4eee6cb32559a5d7b6a9f4f6ece752fce9030f71fdbfd6158d7a2a055641b63df1f0a1c31995747e15b618de79cd8a7a56e4d8f634c WHIRLPOOL 8f9cf3b2d7b4ec44b0425115b19c9c00b4fe816d035d512b305a5e3d02f7e92f2b0d12057b141f123ff2d8c747e23e8075bb1afefe5bb02d9a02884f08eb1ba7 +EBUILD porthole-0.6.1-r4.ebuild 2058 SHA256 2bce7c3456df5094ed1307678ae2dbc67a74d754e46c8f47b91945529cb6c13c SHA512 f789e86f3bb4665ca54a66e8227ad052f8b61939debdf3766c824124824c65375249f1bd45ec6133125e55bf76eb1576bf56d289103df2888fd4765798371417 WHIRLPOOL 55c6cd53ff02209b405f1bed61b73d573836fb393a2422af2c577982d760ddcbcf3957533bff4ab3437439af568fd72461b91ef1eaa7183f246b9ed9ab85e5db +MISC ChangeLog 4483 SHA256 46fcaf95a9a08347ad67c123fb4333b6156822a736199d9bacf3e263e4ad6292 SHA512 58c7f534cf66636b0edad3052745089ac5e768cfc24451502e628b35766f813582e687a900ed999f26394d79f550f768a01aef7662e2ab6a6f0f75e5b5db4d41 WHIRLPOOL 549b33867c6b640b36172c385b227221cbef37a4f820d95beb07d22e288a5308f3325cb48da53c37853b9cdc76b92d3c86707554ac07c76d72163631d6c4ab81 +MISC ChangeLog-2015 8339 SHA256 df5c0159e8ade95fa3cbe5a4439a312acab491ef610138a488e817700951a426 SHA512 9cfa1959db0c7245e4aa7ee9a19092f2df8ce4720766c508e43378ba6292bd6a1f165d527798a6fc9e80746f551c7621abc08e179b6013cc94401fa40f30bb6e WHIRLPOOL c888c6904682354af48d82da6591bc2e6bc651eeb76ed44809ca7f8ff6948d6e77ff110f1b8380e2cc673c589bfc65a5dc9c6ced579b45e077f8a92f86c257ac +MISC metadata.xml 519 SHA256 1ff4cba79b5d41c816d399d6c4c34f496b8629ec29b021fb5f4841deba021a41 SHA512 d149c76b00d1a0c2b3593f90b45b944de122498606d86cb90f992beb2a727bb3b32f610e823c0d0ad0377538616447698acc110c6f152860844a53610d531220 WHIRLPOOL de36e63d874fe0a125c58ebd982d2eec526cb61e899ff05e555856f32deb6d4c90a999cbddec1ed8ff16325d8278ad14aedf2cbc3205d2717c07c99eacbdefba diff --git a/app-portage/porthole/files/porthole-0.6.1-masking_status.patch b/app-portage/porthole/files/porthole-0.6.1-masking_status.patch new file mode 100644 index 000000000000..e626fbb3c58f --- /dev/null +++ b/app-portage/porthole/files/porthole-0.6.1-masking_status.patch @@ -0,0 +1,17 @@ +Index: porthole/backends/portagelib.py +=================================================================== +--- porthole/backends/portagelib.py (revision 1209) ++++ porthole/backends/portagelib.py (working copy) +@@ -452,7 +452,11 @@ + + + def get_masking_status(ebuild): +- return portage.getmaskingstatus(ebuild) ++ try: ++ status = portage.getmaskingstatus(ebuild) ++ except KeyError: ++ status = ['deprecated'] ++ return status + + + def get_masking_reason(ebuild): diff --git a/app-portage/porthole/files/porthole-0.6.1-missing-attribute.patch b/app-portage/porthole/files/porthole-0.6.1-missing-attribute.patch new file mode 100644 index 000000000000..aa011a174b17 --- /dev/null +++ b/app-portage/porthole/files/porthole-0.6.1-missing-attribute.patch @@ -0,0 +1,14 @@ +diff -uNr porthole/db/user_configs.py.old porthole/db/user_configs.py + +--- porthole/db/user_configs.py.old 2010-11-27 13:34:35.000000000 +0600 ++++ porthole/db/user_configs.py 2010-11-27 13:31:24.000000000 +0600 +@@ -364,7 +364,7 @@ + debug.dprint("USER_CONFIGS: set_user_config(): add: " + + "%s,\n remove: %s " %(str(add),str(remove))) + set_config.set_user_config(filename=file, name=name, ebuild=ebuild, +- comment=comment, username=privileges.USER, ++ comment=comment, username=privileges.user, + add=add, remove=remove) + self.set_config_callback() + else: +
\ No newline at end of file diff --git a/app-portage/porthole/files/porthole-0.6.1-missing_import.patch b/app-portage/porthole/files/porthole-0.6.1-missing_import.patch new file mode 100644 index 000000000000..33c9e4ee3353 --- /dev/null +++ b/app-portage/porthole/files/porthole-0.6.1-missing_import.patch @@ -0,0 +1,19 @@ +--- porthole/db/user_configs.py 2010/03/20 12:32:29 1217 ++++ porthole/db/user_configs.py 2010/03/20 14:10:46 1218 +@@ -36,6 +36,7 @@ + from porthole import backends + portage_lib = backends.portage_lib + from porthole.utils import debug ++from porthole.privilege import controller as privileges + + ## set up this module to act as a user configs data server, + ## watch the user configs for changes and auto update +@@ -363,7 +364,7 @@ + debug.dprint("USER_CONFIGS: set_user_config(): add: " + + "%s,\n remove: %s " %(str(add),str(remove))) + set_config.set_user_config(filename=file, name=name, ebuild=ebuild, +- comment=comment, username=priviliges.USER, ++ comment=comment, username=privileges.USER, + add=add, remove=remove) + self.set_config_callback() + else: diff --git a/app-portage/porthole/metadata.xml b/app-portage/porthole/metadata.xml new file mode 100644 index 000000000000..860c6eb9ffd5 --- /dev/null +++ b/app-portage/porthole/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>tools-portage@gentoo.org</email> + <name>Gentoo Portage tools team</name> + </maintainer> + <maintainer type="person"> + <email>dolsen@gentoo.org</email> + <name>Brian Dolbec</name> + <description>Upstream Maintainer (please CC on bugs)</description> + </maintainer> + <upstream> + <remote-id type="sourceforge">porthole</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-portage/porthole/porthole-0.6.1-r4.ebuild b/app-portage/porthole/porthole-0.6.1-r4.ebuild new file mode 100644 index 000000000000..033b4f609fee --- /dev/null +++ b/app-portage/porthole/porthole-0.6.1-r4.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +PYTHON_COMPAT=(python2_7) +PYTHON_REQ_USE="threads(+),xml(+)" + +inherit distutils-r1 eutils + +DESCRIPTION="A GTK+-based frontend to Portage" +HOMEPAGE="http://porthole.sourceforge.net" +SRC_URI="mirror://sourceforge/porthole/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 arm ppc ~ppc64 sparc x86 ~x86-fbsd" +IUSE="nls" +LANGS="de pl ru vi it fr tr" +for X in $LANGS; do IUSE="${IUSE} linguas_${X}"; done + +RDEPEND=">=sys-apps/portage-2.1[${PYTHON_USEDEP}] + dev-python/pygtk:2[${PYTHON_USEDEP}] + gnome-base/libglade:2.0 + dev-python/pygtksourceview:2[${PYTHON_USEDEP}] + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + nls? ( >=sys-devel/gettext-0.14 )" + +PATCHES=( + "${FILESDIR}/${P}-masking_status.patch" # bug 307037 + "${FILESDIR}/${P}-missing_import.patch" # bug 323179 + "${FILESDIR}/${P}-missing-attribute.patch" #bug 323179 +) + +src_compile(){ + # Compile localizations if necessary + if use nls ; then + cd scripts + ./pocompile.sh -emerge ${LINGUAS} || die "pocompile failed" + fi +} + +python_install_all() { + distutils-r1_python_install_all + + dodoc TODO README NEWS AUTHORS + + keepdir /var/log/porthole + fperms g+w /var/log/porthole + keepdir /var/db/porthole + fperms g+w /var/db/porthole + + # nls + if use nls; then + # mo directory doesn't exists with nls enabled and unsupported LINGUAS + [[ -d porthole/i18n/mo ]] && domo porthole/i18n/mo/* + fi +} + +pkg_preinst() { + chgrp portage "${D}"/var/log/porthole + chgrp portage "${D}"/var/db/porthole +} + +pkg_postinst() { + einfo + einfo "Porthole has updated the way that the upgrades are sent to emerge." + einfo "In this new way the user needs to set any 'Settings' menu emerge options" + einfo "Porthole automatically adds '--oneshot' for all upgrades selections" + einfo "Other options recommended are '--noreplace' along with '--update'" + einfo "They allow for portage to skip any packages that might have already" + einfo "been upgraded as a dependency of another previously upgraded package" + einfo +} |