[gentoo-commits] repo/gentoo:master commit in: app-portage/gentoolkit/
commit: 9a1fdfb375f497c50c48ccf7267140088cca6c29 Author: Paul Varner gentoo org> AuthorDate: Tue Dec 12 21:13:33 2017 + Commit: Paul Varner gentoo org> CommitDate: Tue Dec 12 21:15:01 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a1fdfb3 app-portage/gentoolkit: Version bump. Contains fixes for Python3.6 and unicode Package-Manager: Portage-2.3.16, Repoman-2.3.6 app-portage/gentoolkit/Manifest| 1 + app-portage/gentoolkit/gentoolkit-0.4.1.ebuild | 66 ++ 2 files changed, 67 insertions(+) diff --git a/app-portage/gentoolkit/Manifest b/app-portage/gentoolkit/Manifest index dd6834288d6..ea3f55b2d55 100644 --- a/app-portage/gentoolkit/Manifest +++ b/app-portage/gentoolkit/Manifest @@ -1,2 +1,3 @@ DIST gentoolkit-0.3.3.tar.gz 3197037 BLAKE2B c2a45971f1f25e3008422b63b59042ca0f2b170b98e10fc4e449ee6be76c0422469cd8bce1b744830404d5a26ba87ded47aab679069965eea266719249475923 SHA512 ad142c2c66e7f7a2e4184c8f95e394ee783cd57808e6254e9f5df0f3f60ad842042f773716ca0fd6d7545bb8a2d11c1c167a4ec471eb3238c8ee3a519f70a691 DIST gentoolkit-0.4.0.tar.gz 3215377 BLAKE2B 404f81e2f5bce5da4df122156bc76d225497456ad8ec78a50c41e1183390f8e452a6ce8a3473b5371a6712ce1599be33034c5eed64a1852d116c745bc5a775f4 SHA512 6cf693c588d4a2f5bd06fff4e78ef98007e613348048ec993c5430e168baef6c1da01e1843903f3e87ca8e47dd1ffb207acccbc5c0e881fa3093a7880fec9a56 +DIST gentoolkit-0.4.1.tar.gz 3214527 BLAKE2B 1c6be826a099ba4d18ac8fa0bb38808cbf30ee1d93d26c26965d7fa332e6a87f8eee475126f56d68e2a1c0ff04f258f79f5684551b2fe5947d8ac6f6ff3e7079 SHA512 52b665e19dd8b871f4238d05d40a071d69ef114f36b589c29f46686b1439997e72f58896bb4f330ab256af6000a9559426c78cae08640e54b74db343b3b22945 diff --git a/app-portage/gentoolkit/gentoolkit-0.4.1.ebuild b/app-portage/gentoolkit/gentoolkit-0.4.1.ebuild new file mode 100644 index 000..ed5581daa99 --- /dev/null +++ b/app-portage/gentoolkit/gentoolkit-0.4.1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6} pypy) +PYTHON_REQ_USE="xml(+),threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Collection of administration scripts for Gentoo" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage-Tools"; +SRC_URI="https://dev.gentoo.org/~fuzzyray/releases/gentoolkit/${P}.tar.gz"; + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +DEPEND="sys-apps/portage[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND} + !app-portage/gentoolkit-dev + sys-apps/gawk + sys-apps/gentoo-functions" + +python_prepare_all() { + python_setup + echo VERSION="${PVR}" "${PYTHON}" setup.py set_version + VERSION="${PVR}" "${PYTHON}" setup.py set_version + distutils-r1_python_prepare_all +} + +python_install_all() { + distutils-r1_python_install_all +} + +pkg_postinst() { + # Create cache directory for revdep-rebuild + mkdir -p -m 0755 "${EROOT%/}"/var/cache + mkdir -p -m 0700 "${EROOT%/}"/var/cache/revdep-rebuild + + einfo "Starting with version 0.4.0, ebump, ekeyword and imlate are now" + einfo "part of the gentoolkit package." + einfo "The gentoolkit-dev package is now deprecated in favor of a single" + einfo "gentoolkit package. The remaining tools from gentoolkit-dev" + einfo "are now obsolete/unused with the git based tree." + + # Only show the elog information on a new install + if [[ ! ${REPLACING_VERSIONS} ]]; then + elog + elog "For further information on gentoolkit, please read the gentoolkit" + elog "guide: https://wiki.gentoo.org/wiki/Gentoolkit"; + elog + elog "Another alternative to equery is app-portage/portage-utils" + elog + elog "Additional tools that may be of interest:" + elog + elog "app-admin/eclean-kernel" + elog "app-portage/diffmask" + elog "app-portage/flaggie" + elog "app-portage/install-mask" + elog "app-portage/portpeek" + elog "app-portage/smart-live-rebuild" + fi +}
[gentoo-commits] proj/gentoolkit: New tag: gentoolkit-0.4.1
commit: Commit: Paul Varner gentoo org> CommitDate: Tue Dec 12 18:08:14 2017 + New tag: gentoolkit-0.4.1
[gentoo-commits] data/gentoo-news:master commit in: 2017-10-04-gentoolkit-dev-deprecation/
commit: 7efc07f06f79e9bffac03a84ae6522c5821f16bf Author: Paul Varner gentoo org> AuthorDate: Wed Oct 4 18:16:50 2017 + Commit: Paul Varner gentoo org> CommitDate: Wed Oct 4 18:16:50 2017 + URL:https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=7efc07f0 Add news item for app-portage/gentoolkit-dev deprecation .../2017-10-04-gentoolkit-dev-deprecation.en.txt | 22 ++ ...017-10-04-gentoolkit-dev-deprecation.en.txt.asc | 19 +++ 2 files changed, 41 insertions(+) diff --git a/2017-10-04-gentoolkit-dev-deprecation/2017-10-04-gentoolkit-dev-deprecation.en.txt b/2017-10-04-gentoolkit-dev-deprecation/2017-10-04-gentoolkit-dev-deprecation.en.txt new file mode 100644 index 000..43f1a28 --- /dev/null +++ b/2017-10-04-gentoolkit-dev-deprecation/2017-10-04-gentoolkit-dev-deprecation.en.txt @@ -0,0 +1,22 @@ +Title: app-portage/gentoolkit-dev deprecation and removal +Author: Paul Varner +Posted: 2017-09-19 +Revision: 1 +News-Item-Format: 2.0 +Display-If-Installed: app-portage/gentoolkit-dev + +The app-portage/gentoolkit-dev package has been deprecated and the ebump, +ekeyword and imlate have been moved to the app-portage/gentoolkit-0.4.0 +package. With the upcoming marking of >=app-portage/gentoolkit-0.4.0 stable, +users will need to take action since gentoolkit-dev and those versions of +gentoolkit block each other. + +In order to upgrade to the new version of gentoolkit, you will need to resolve +the blocks. The following command will remove gentoolkit-dev from your world +set and uninstall gentoolkit-dev. This will then allow the installation of +>=app-portage/gentoolkit-0.4.0. + +emerge --depclean app-portage/gentoolkit-dev + +Once >=app-portage/gentoolkit-0.4.0 is stabilized, the remaining gentoolkit-dev +releases will be masked for removal and subsequent tree-cleaning. diff --git a/2017-10-04-gentoolkit-dev-deprecation/2017-10-04-gentoolkit-dev-deprecation.en.txt.asc b/2017-10-04-gentoolkit-dev-deprecation/2017-10-04-gentoolkit-dev-deprecation.en.txt.asc new file mode 100644 index 000..0316d64 --- /dev/null +++ b/2017-10-04-gentoolkit-dev-deprecation/2017-10-04-gentoolkit-dev-deprecation.en.txt.asc @@ -0,0 +1,19 @@ +-BEGIN PGP SIGNATURE- +Version: GnuPG v2 + +iQKTBAABCgB9FiEEajvU08I0XMDAEy7K7CuK4FwF4G4FAlnVJDtfFIAALgAo +aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDZB +M0JENEQzQzIzNDVDQzBDMDEzMkVDQUVDMkI4QUUwNUMwNUUwNkUACgkQ7CuK4FwF +4G5/DxAAjSFSnswBW/l9uYx2fLWc0yMbHjapyPUNYkxmHbw8hTLek3DUPwRkaKyq +CarLf7bAp37kr8fVJLM0KdQYgpN8kCgyaVOmheYpisClmRDe6jMo0YWI1P33Wbwz +fJLbKP4c1sPKPHnF9c2RPJleL6O0Ee1CsFFcTN/uGxXLo5cfcSHVZXxFu5mg60Jw +MUgt6Vrbd2uwHAA95RvBc6rF5unw4z9IkNynlzgzu0Nd+c0fRFVqGLrUCSHeQMNI +stgcfGFJ08ssewALz2fjfCVep2XJCOTi7J2F58fMCqhrxnk5x6ikk66rP8+9Y+wW +lmQwON2zXu6VudepFeDXtVlHI+cY7RyVZqteSmqKDwG8+cT3yJuV5bHY0RogXO/e +HXc50GIgrshFT/NZLn0+z6NBMgPN5jpvTDnGPtrQJZN+qGKbTEcfStDXhiDxbV9+ +oOjg3Vyatqjgy+xydGYAEtbsjosrVubCA6NzHuFSSkRmztCcaqJWbfggoBjSF9jq +Ifs5JulF0QigsNxOv0UHqbT2KlPh2Qr+VF9yYYpXD/7FEDKXgL+fzhxKoMUTo76Y +WQN/SSprZGyC+vKtCv+0lmCs/h1aTW1MY21YwfZ2qXO6VgcPQn7eucOBeVoXsh7y +aWWEhLqS+4+8X0mJBIJ1F8eoZcpknmO7PV5Svifvx8vnRgntync= +=M9ya +-END PGP SIGNATURE-
[gentoo-commits] proj/gentoolkit:master commit in: pym/gentoolkit/
commit: 308e33dc9e0cba958a583d86799dcb660ba39cb1 Author: Paul Varner gentoo org> AuthorDate: Wed Sep 6 18:25:39 2017 + Commit: Paul Varner gentoo org> CommitDate: Wed Sep 6 18:25:39 2017 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=308e33dc equery: size: Fix UnicodeDecodeError Encode the filename before calling os.lstat X-Gentoo-Bug: 531636 X-Gentoo-Bug-URL: https://bugs.gentoo.org/531636 pym/gentoolkit/package.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pym/gentoolkit/package.py b/pym/gentoolkit/package.py index 42b632b..149ca74 100644 --- a/pym/gentoolkit/package.py +++ b/pym/gentoolkit/package.py @@ -46,6 +46,7 @@ from string import Template import portage from portage.util import LazyItemsDict +from portage import _encodings, _unicode_decode, _unicode_encode import gentoolkit.pprinter as pp from gentoolkit import errors @@ -380,7 +381,7 @@ class Package(CPV): size = n_files = n_uncounted = 0 for path in self.parsed_contents(prefix_root=True): try: - st = os.lstat(path) + st = os.lstat(_unicode_encode(path, encoding=_encodings['fs'])) except OSError: continue
[gentoo-commits] proj/gentoolkit:master commit in: pym/gentoolkit/revdep_rebuild/
commit: d3ef9ef1bebc7604db0e8c5c49e167e18300c9e9 Author: Paul Varner gentoo org> AuthorDate: Fri May 5 19:31:25 2017 + Commit: Paul Varner gentoo org> CommitDate: Fri May 5 19:31:25 2017 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=d3ef9ef1 revdep_rebuild/settings.py: Fix traceback error with Python3.6 (bug 617498) The portage.root variable is using late binding. This breaks in Python3.6 where the type is being checked before use in os.path.join(). This fix creates a new variable of the correct type from the value of portage.root instead of using portage.root directly. X-Gentoo-bug: 617498 X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=617498 Acked-by: Brian Dolbec gentoo.org> pym/gentoolkit/revdep_rebuild/settings.py | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/pym/gentoolkit/revdep_rebuild/settings.py b/pym/gentoolkit/revdep_rebuild/settings.py index 589ea29..9a00f45 100644 --- a/pym/gentoolkit/revdep_rebuild/settings.py +++ b/pym/gentoolkit/revdep_rebuild/settings.py @@ -15,12 +15,19 @@ import glob import portage from portage import _encodings, _unicode_decode, _unicode_encode +if sys.version_info[0] >= 3: + _unicode = str +else: + _unicode = unicode + +portage_root = _unicode(portage.root) + DEFAULTS = { - 'DEFAULT_LD_FILE': os.path.join(portage.root, 'etc/ld.so.conf'), - 'DEFAULT_ENV_FILE': os.path.join(portage.root, 'etc/profile.env'), - 'REVDEP_CONFDIR': os.path.join(portage.root, 'etc/revdep-rebuild/'), - 'PKG_DIR': os.path.join(portage.root, 'var/db/pkg/'), - 'DEFAULT_TMP_DIR': os.path.join(portage.root, '/tmp/revdep-rebuild' if os.getgid() else '/var/cache/revdep-rebuild'), #cache default location + 'DEFAULT_LD_FILE': os.path.join(portage_root, 'etc/ld.so.conf'), + 'DEFAULT_ENV_FILE': os.path.join(portage_root, 'etc/profile.env'), + 'REVDEP_CONFDIR': os.path.join(portage_root, 'etc/revdep-rebuild/'), + 'PKG_DIR': os.path.join(portage_root, 'var/db/pkg/'), + 'DEFAULT_TMP_DIR': os.path.join(portage_root, '/tmp/revdep-rebuild' if os.getgid() else '/var/cache/revdep-rebuild'), #cache default location # number of maximum allowed files to be parsed at once 'CMD_MAX_ARGS': 1000,
[gentoo-commits] repo/gentoo:master commit in: app-portage/gentoolkit/files/, app-portage/gentoolkit/
commit: ca3fb820f232eb5180418a7f9baf336af8d08e1b Author: Paul Varner gentoo org> AuthorDate: Mon Mar 13 20:04:18 2017 + Commit: Paul Varner gentoo org> CommitDate: Mon Mar 13 20:04:18 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca3fb820 app-portage/gentoolkit: Remove unused versions and files. Package-Manager: Portage-2.3.4, Repoman-2.3.2 app-portage/gentoolkit/Manifest| 2 - .../gentoolkit/files/0.3.0.9-equery-508114.patch | 37 - .../files/0.3.0.9-equery-strip-XXXFLAGS.patch | 27 --- .../files/0.3.0.9-revdep-rebuild-526400.patch | 26 --- .../files/0.3.0.9-revdep-rebuild-py-504654-1.patch | 26 --- .../files/0.3.0.9-revdep-rebuild-py-504654-2.patch | 30 .../gentoolkit/files/0.3.1-setup.py-print.patch| 29 --- .../gentoolkit/gentoolkit-0.3.0.9-r2.ebuild| 88 -- app-portage/gentoolkit/gentoolkit-0.3.1.1.ebuild | 70 - app-portage/gentoolkit/gentoolkit-0.3.2.ebuild | 70 - 10 files changed, 405 deletions(-) diff --git a/app-portage/gentoolkit/Manifest b/app-portage/gentoolkit/Manifest index 6366ac6761c..0e9c54b24db 100644 --- a/app-portage/gentoolkit/Manifest +++ b/app-portage/gentoolkit/Manifest @@ -1,5 +1,3 @@ DIST gentoolkit-0.3.0.8.tar.gz 3192497 SHA256 0338dee7c295c32b60a84e529b764d2bc61536fa3aca021cd5a75c6e534864a6 SHA512 50efd701d0d056740bcf7c7cdce652ae7c9e2786f799f5d30946e752b8aa735489d3e0dc5c7664a5810a0f22cec05b9bc7ccc10292b07ac4dd0777658651f72d WHIRLPOOL 5a2455e50d4e0f4df8abab5b81deb6bb00e078dfed1687ae046ce97a0427eafea2d3de9b83ac6de8155d207653d001c6684ac92226fa2320515c6e14c8fea6e0 -DIST gentoolkit-0.3.0.9.tar.gz 3194703 SHA256 c660d150dfccbaea6f291fb7fc2659c8e0e38eaebe6e68f92dee728c8c7e320d SHA512 75b2d15b2b9ed08055840b56b239ed5d63838a10e8d31ec3ed8822cf1d3ef32841609763433736e17f93a5fdd293ccbda4a3dfa0f007241321aecbcde847 WHIRLPOOL 5e9dc038c161361eb2dd8f0cd17e8efaa41183a281d6fcf620c1631c6da661673d085c60572424cd48504222c29613473591f8dd276792ab96ba3cfda88f1fe1 -DIST gentoolkit-0.3.1.1.tar.gz 3198269 SHA256 e3743ac526a8b9dd78af8ebc88ccf26cf487f2c31483b283b0e5df36bab881ce SHA512 24736713761ead819da8f65148d7f8cae5e12414cbffafa1bcf0ce4f59587b6c589fed02edb48f054f24f015e4fe151333ebbba4ccfa9b1164a547717bee7a74 WHIRLPOOL c33a468ca8fb01e4e236cd104abc10a7a570fc6a3372314407ee341672202ed2cef70e2647743ba4301277f01201a5999e6251167d66f7b1ffae5eb0872a5375 DIST gentoolkit-0.3.2.tar.gz 3198294 SHA256 f3bb38d663c1b153447556b5265df5a11b6ed78411e761335b692111c823d9dd SHA512 e174ac7f12d45703515876ea558a661e1d0c5d4cc71d2d64ee793786e2a2d3d2b309500b6e1891774e3415de74922efc77553c0103d695f5dda91def9a6ac637 WHIRLPOOL 67192702f72f437cc31aeeef8bf005c83a4a9322e9fa0de3c1e0d229bfb95d7363f14a8902da5ffbf49dee45cd587286899ea1ead017cd7d18d0f852cc7fd9fb DIST gentoolkit-0.3.3.tar.gz 3197037 SHA256 bb1fd78a6063efffd4e8402cd799f2c22ed2bbf440c26390aab68bfb6f4ee982 SHA512 ad142c2c66e7f7a2e4184c8f95e394ee783cd57808e6254e9f5df0f3f60ad842042f773716ca0fd6d7545bb8a2d11c1c167a4ec471eb3238c8ee3a519f70a691 WHIRLPOOL 81c2aa8cb36d9c6abef99729b07c9cc5402d66ccfd8523a4cee57ed99d2b4c2ab0db6c77dccdc90597bd11d60e11823130dd1136eeaba9b2a18383da3e9c5f25 diff --git a/app-portage/gentoolkit/files/0.3.0.9-equery-508114.patch b/app-portage/gentoolkit/files/0.3.0.9-equery-508114.patch deleted file mode 100644 index 3fc67d36654..000 --- a/app-portage/gentoolkit/files/0.3.0.9-equery-508114.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 9a33ceffe2e0045bf75b1209a90e9a53530d4e0d Mon Sep 17 00:00:00 2001 -From: Tobias Heinlein -Date: Sat, 19 Apr 2014 18:39:03 +0200 -Subject: [PATCH 01/14] equery: Don't always print the license field (bug - #508114). - - pym/gentoolkit/equery/meta.py | 13 +++-- - 1 file changed, 7 insertions(+), 6 deletions(-) - -diff --git a/pym/gentoolkit/equery/meta.py b/pym/gentoolkit/equery/meta.py -index e2d2124..d3342cd 100644 a/pym/gentoolkit/equery/meta.py -+++ b/pym/gentoolkit/equery/meta.py -@@ -373,12 +373,13 @@ def call_format_functions(best_match, matches): - useflags = format_useflags(best_match.metadata.use()) - print_sequence(format_list(useflags)) - -- _license = best_match.environment(["LICENSE"]) -- if QUERY_OPTS["license"]: -- _license = format_list(_license) -- else: -- _license = format_list(_license, "License: ", " " * 13) -- print_sequence(_license) -+ if QUERY_OPTS["license"] or not got_opts: -+ _license = best_match.environment(["LICENSE"]) -+ if QUERY_OPTS["license"]: -+ _license = format_list(_license) -+ else: -+ _license = format_list(_license, "License: ", " " * 13) -+ print_sequence(_license) - -
[gentoo-commits] repo/gentoo:master commit in: app-portage/gentoolkit/
commit: 7fdf38c71324864f390488714daea8f93dc92be1 Author: Paul Varner gentoo org> AuthorDate: Thu Dec 29 19:11:51 2016 + Commit: Paul Varner gentoo org> CommitDate: Thu Dec 29 19:11:51 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fdf38c7 app-portage/gentoolkit: Version bump Package-Manager: Portage-2.3.3, Repoman-2.3.1 app-portage/gentoolkit/Manifest| 1 + app-portage/gentoolkit/gentoolkit-0.3.3.ebuild | 71 ++ 2 files changed, 72 insertions(+) diff --git a/app-portage/gentoolkit/Manifest b/app-portage/gentoolkit/Manifest index a08109a..6366ac6 100644 --- a/app-portage/gentoolkit/Manifest +++ b/app-portage/gentoolkit/Manifest @@ -2,3 +2,4 @@ DIST gentoolkit-0.3.0.8.tar.gz 3192497 SHA256 0338dee7c295c32b60a84e529b764d2bc6 DIST gentoolkit-0.3.0.9.tar.gz 3194703 SHA256 c660d150dfccbaea6f291fb7fc2659c8e0e38eaebe6e68f92dee728c8c7e320d SHA512 75b2d15b2b9ed08055840b56b239ed5d63838a10e8d31ec3ed8822cf1d3ef32841609763433736e17f93a5fdd293ccbda4a3dfa0f007241321aecbcde847 WHIRLPOOL 5e9dc038c161361eb2dd8f0cd17e8efaa41183a281d6fcf620c1631c6da661673d085c60572424cd48504222c29613473591f8dd276792ab96ba3cfda88f1fe1 DIST gentoolkit-0.3.1.1.tar.gz 3198269 SHA256 e3743ac526a8b9dd78af8ebc88ccf26cf487f2c31483b283b0e5df36bab881ce SHA512 24736713761ead819da8f65148d7f8cae5e12414cbffafa1bcf0ce4f59587b6c589fed02edb48f054f24f015e4fe151333ebbba4ccfa9b1164a547717bee7a74 WHIRLPOOL c33a468ca8fb01e4e236cd104abc10a7a570fc6a3372314407ee341672202ed2cef70e2647743ba4301277f01201a5999e6251167d66f7b1ffae5eb0872a5375 DIST gentoolkit-0.3.2.tar.gz 3198294 SHA256 f3bb38d663c1b153447556b5265df5a11b6ed78411e761335b692111c823d9dd SHA512 e174ac7f12d45703515876ea558a661e1d0c5d4cc71d2d64ee793786e2a2d3d2b309500b6e1891774e3415de74922efc77553c0103d695f5dda91def9a6ac637 WHIRLPOOL 67192702f72f437cc31aeeef8bf005c83a4a9322e9fa0de3c1e0d229bfb95d7363f14a8902da5ffbf49dee45cd587286899ea1ead017cd7d18d0f852cc7fd9fb +DIST gentoolkit-0.3.3.tar.gz 3197037 SHA256 bb1fd78a6063efffd4e8402cd799f2c22ed2bbf440c26390aab68bfb6f4ee982 SHA512 ad142c2c66e7f7a2e4184c8f95e394ee783cd57808e6254e9f5df0f3f60ad842042f773716ca0fd6d7545bb8a2d11c1c167a4ec471eb3238c8ee3a519f70a691 WHIRLPOOL 81c2aa8cb36d9c6abef99729b07c9cc5402d66ccfd8523a4cee57ed99d2b4c2ab0db6c77dccdc90597bd11d60e11823130dd1136eeaba9b2a18383da3e9c5f25 diff --git a/app-portage/gentoolkit/gentoolkit-0.3.3.ebuild b/app-portage/gentoolkit/gentoolkit-0.3.3.ebuild new file mode 100644 index ..e2eb925 --- /dev/null +++ b/app-portage/gentoolkit/gentoolkit-0.3.3.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="6" + +PYTHON_COMPAT=(python{2_7,3_4,3_5} pypy) +PYTHON_REQ_USE="xml(+),threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Collection of administration scripts for Gentoo" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage-Tools"; +SRC_URI="http://dev.gentoo.org/~fuzzyray/distfiles/${P}.tar.gz"; + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +DEPEND="sys-apps/portage[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND} + !<=app-portage/gentoolkit-dev-0.2.7 + sys-apps/gawk + sys-apps/gentoo-functions" + +python_prepare_all() { + python_setup + echo VERSION="${PVR}" "${PYTHON}" setup.py set_version + VERSION="${PVR}" "${PYTHON}" setup.py set_version + distutils-r1_python_prepare_all +} + +python_install_all() { + distutils-r1_python_install_all + + # remove on Gentoo Prefix platforms where it's broken anyway + if use prefix; then + elog "The revdep-rebuild command is removed, the preserve-libs" + elog "feature of portage will handle issues." + rm "${ED}"/usr/bin/revdep-rebuild* + rm "${ED}"/usr/share/man/man1/revdep-rebuild.1 + rm -rf "${ED}"/etc/revdep-rebuild + rm -rf "${ED}"/var + fi +} + +pkg_postinst() { + # Create cache directory for revdep-rebuild + mkdir -p -m 0755 "${EROOT%/}"/var/cache + mkdir -p -m 0700 "${EROOT%/}"/var/cache/revdep-rebuild + + # Only show the elog information on a new install + if [[ ! ${REPLACING_VERSIONS} ]]; then + elog + elog "For further information on gentoolkit, please read the gentoolkit" + elog "
[gentoo-commits] proj/gentoolkit: New tag: gentoolkit-0.3.3
commit: Commit: Paul Varner gentoo org> CommitDate: Thu Dec 29 16:51:15 2016 + New tag: gentoolkit-0.3.3
[gentoo-commits] proj/gentoolkit:master commit in: bin/
commit: b5e71f6f2ed3483422df611fc2450081c72332ac Author: Paul Varner gentoo org> AuthorDate: Mon Oct 17 17:38:09 2016 + Commit: Paul Varner gentoo org> CommitDate: Mon Oct 17 17:38:09 2016 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=b5e71f6f eread: Fix bash error when the elog directory is empty This fixes the following error from bash which causes an infinite loop. /usr/bin/eread: line 64: break: only meaningful in a `for', `while', or `until' loop X-Gentoo-bug: 597132 X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=597132 bin/eread | 124 +++--- 1 file changed, 62 insertions(+), 62 deletions(-) diff --git a/bin/eread b/bin/eread index fe095a6..2289f2d 100755 --- a/bin/eread +++ b/bin/eread @@ -57,72 +57,72 @@ find_files() { } select_loop() { - ANY_FILES=$(find_files) - - if [[ -z ${ANY_FILES} ]]; then - echo "No log items to read" - break - fi - - echo - echo "This is a list of portage log items. Choose a number to view that file or type q to quit." - echo - - # Pick which file to read - select FILE in ${ANY_FILES}; do - case ${REPLY} in - q) - echo "Quitting" - QUIT="yes" - break - ;; - a) - SORT="alphabet" - ;; - t) - SORT="time" - ;; - *) - if [ -f "$FILE" ]; then - ${PAGER} ${FILE} - read -p "Delete file? [y/N] " DELETE - case ${DELETE} in - q) - echo "Quitting" - QUIT="yes" - break - ;; - y|Y) - rm -f ${FILE} - SUCCESS=$? - if [[ ${SUCCESS} = 0 ]]; then - echo "Deleted ${FILE}" - else - echo "Unable to delete ${FILE}" - fi - ;; - # Empty string defaults to N (save file) - n|N|"") - echo "Saving ${FILE}" - ;; - *) - echo "Invalid response. Saving ${FILE}" - ;; - esac - else - echo - echo "Invalid response." - fi - ;; - esac - break + until [[ -n ${QUIT} ]]; do + ANY_FILES=$(find_files) + + if [[ -z ${ANY_FILES} ]]; then + echo "No log items to read" + break + fi + + echo + echo "This is a list of portage log items. Choose a number to view that file or type q to quit." + echo + + # Pick which file to read + select FILE in ${ANY_FILES}; do + case ${REPLY} in + q) + echo "Quitting" + QUIT="yes" + break + ;; + a) + SORT="alphabet" + ;; + t) + SORT="time" + ;; +
[gentoo-commits] proj/gentoolkit:master commit in: pym/gentoolkit/
commit: 8b40fded4ca1ecc94ed1391acb3a7e16218d4779 Author: Paul Varner gentoo org> AuthorDate: Tue Aug 16 16:03:21 2016 + Commit: Paul Varner gentoo org> CommitDate: Tue Aug 16 16:03:21 2016 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=8b40fded gentoolkit: Fix to allow a package name to end with a hyphen >From PMS: "3.1.2 Package Names A package name may contain any of the characters [A-Za-z0-9+_-]. It must not begin with a hyphen or a plus sign, and must not end in a hyphen followed by anything matching the version syntax described in section 3.2." This fixes the validation in cpv.py to allow a package name to end with a hyphen as long as what follows does not match a version. X-Gentoo-bug: 586986 X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=586986 pym/gentoolkit/cpv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/gentoolkit/cpv.py b/pym/gentoolkit/cpv.py index f1e3241..6e272f1 100644 --- a/pym/gentoolkit/cpv.py +++ b/pym/gentoolkit/cpv.py @@ -243,7 +243,7 @@ def isvalid_pkg_name(chunks): mf = _pkg_re.match if not all(not s or mf(s) for s in chunks): return False - if not chunks[-1] or (len(chunks) > 1 and chunks[-1].isdigit()): + if len(chunks) > 1 and chunks[-1].isdigit(): # not allowed. return False return True
[gentoo-commits] proj/gentoolkit:master commit in: pym/gentoolkit/revdep_rebuild/
commit: c8783ccb225cddb43052463c092e8edc091c371a Author: Paul Varner gentoo org> AuthorDate: Mon Aug 15 21:02:03 2016 + Commit: Paul Varner gentoo org> CommitDate: Mon Aug 15 21:02:03 2016 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=c8783ccb revdep-ebuild: Fix unicode argument expected error Use the os module from portage to fix inconsistent returning of unicode and str objects from listdir and explictly write the timestamp as unicode. X-Gentoo-bug: 589130 X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=589130 pym/gentoolkit/revdep_rebuild/cache.py | 8 +--- pym/gentoolkit/revdep_rebuild/collect.py | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/pym/gentoolkit/revdep_rebuild/cache.py b/pym/gentoolkit/revdep_rebuild/cache.py index 7359d05..e92e7cd 100644 --- a/pym/gentoolkit/revdep_rebuild/cache.py +++ b/pym/gentoolkit/revdep_rebuild/cache.py @@ -5,17 +5,19 @@ Functions for reading, saving and verifying the data caches from __future__ import print_function -import os +from portage import os import time import sys if sys.hexversion < 0x300: from io import open + _unicode = unicode +else: + _unicode = str from portage import _encodings, _unicode_decode, _unicode_encode from portage.output import red from .settings import DEFAULTS - def read_cache(temp_path=DEFAULTS['DEFAULT_TMP_DIR']): ''' Reads cache information needed by analyse function. This function does not checks if files exists nor timestamps, @@ -59,7 +61,7 @@ def save_cache(logger, to_save={}, temp_path=DEFAULTS['DEFAULT_TMP_DIR']): try: _file = open(_unicode_encode(os.path.join(temp_path, 'timestamp'), encoding=_encodings['fs']), mode='w', encoding=_encodings['content']) - _file.write(str(int(time.time( + _file.write(_unicode(int(time.time( _file.close() for key,val in to_save.items(): diff --git a/pym/gentoolkit/revdep_rebuild/collect.py b/pym/gentoolkit/revdep_rebuild/collect.py index ab3ef97..82cec7b 100644 --- a/pym/gentoolkit/revdep_rebuild/collect.py +++ b/pym/gentoolkit/revdep_rebuild/collect.py @@ -5,7 +5,7 @@ from __future__ import print_function import re -import os +from portage import os import glob import stat import sys
[gentoo-commits] repo/gentoo:master commit in: app-portage/gentoolkit/files/, app-portage/gentoolkit/
commit: b8465c4e78e3ba4c13513b50853faa194fb41cb0 Author: Paul Varner gentoo org> AuthorDate: Tue Jul 26 19:37:08 2016 + Commit: Paul Varner gentoo org> CommitDate: Tue Jul 26 19:37:08 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8465c4e app-portage/gentoolkit: Revision bump to add patch Add patch to fix compatability with python2.7 and equery changes. This patch fixes Bug 589686 Package-Manager: portage-2.3.0 .../gentoolkit/files/0.3.2-helpers.py-589686.patch | 30 + app-portage/gentoolkit/gentoolkit-0.3.2-r1.ebuild | 77 ++ 2 files changed, 107 insertions(+) diff --git a/app-portage/gentoolkit/files/0.3.2-helpers.py-589686.patch b/app-portage/gentoolkit/files/0.3.2-helpers.py-589686.patch new file mode 100644 index 000..282846c --- /dev/null +++ b/app-portage/gentoolkit/files/0.3.2-helpers.py-589686.patch @@ -0,0 +1,30 @@ +From bc92540f8ce498e8305103619c7085b670ba19b1 Mon Sep 17 00:00:00 2001 +From: Paul Varner +Date: Mon, 25 Jul 2016 13:01:06 -0500 +Subject: Add missing import of io.open when using python2.7 + +This fixes the traceback when running equery changes with Python 2.7 + +X-Gentoo-bug: 589686 +X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=589686 +--- + pym/gentoolkit/helpers.py | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/pym/gentoolkit/helpers.py b/pym/gentoolkit/helpers.py +index 0d985b6..8d25393 100644 +--- a/pym/gentoolkit/helpers.py b/pym/gentoolkit/helpers.py +@@ -26,6 +26,9 @@ __docformat__ = 'epytext' + # === + + import os ++import sys ++if sys.hexversion < 0x300: ++ from io import open + import re + from functools import partial + from itertools import chain +-- +cgit v0.12 + diff --git a/app-portage/gentoolkit/gentoolkit-0.3.2-r1.ebuild b/app-portage/gentoolkit/gentoolkit-0.3.2-r1.ebuild new file mode 100644 index 000..75851dd --- /dev/null +++ b/app-portage/gentoolkit/gentoolkit-0.3.2-r1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="6" + +PYTHON_COMPAT=(python{2_7,3_3,3_4,3_5} pypy) +PYTHON_REQ_USE="xml(+),threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Collection of administration scripts for Gentoo" +HOMEPAGE="https://www.gentoo.org/proj/en/portage/tools/index.xml"; +SRC_URI="http://dev.gentoo.org/~dolsen/releases/gentoolkit/${P}.tar.gz"; + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +DEPEND="sys-apps/portage[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND} + !<=app-portage/gentoolkit-dev-0.2.7 + || ( >=sys-apps/coreutils-8.15 app-misc/realpath sys-freebsd/freebsd-bin ) + sys-apps/gawk + sys-apps/gentoo-functions + sys-apps/grep" + +PATCHES=( + "${FILESDIR}"/${PV}-helpers.py-589686.patch +) + +python_prepare_all() { + python_setup + echo VERSION="${PVR}" "${PYTHON}" setup.py set_version + VERSION="${PVR}" "${PYTHON}" setup.py set_version + distutils-r1_python_prepare_all +} + +python_install_all() { + distutils-r1_python_install_all + + # remove on Gentoo Prefix platforms where it's broken anyway + if use prefix; then + elog "The revdep-rebuild command is removed, the preserve-libs" + elog "feature of portage will handle issues." + rm "${ED}"/usr/bin/revdep-rebuild* + rm "${ED}"/usr/share/man/man1/revdep-rebuild.1 + rm -rf "${ED}"/etc/revdep-rebuild + rm -rf "${ED}"/var + fi +} + +pkg_postinst() { + # Create cache directory for revdep-rebuild + mkdir -p -m 0755 "${EROOT%/}"/var/cache + mkdir -p -m 0700 "${EROOT%/}"/var/cache/revdep-rebuild + + # Only show the elog information on a new install + if [[ ! ${REPLACING_VERSIONS} ]]; then + elog + elog "For further information on gentoolkit, please read the gentoolkit" + elog "guide: https://www.gentoo.org/doc/en/gentoolkit.xml"; + elog + elog "Another alternative to equery is app-portage/portage-utils" + elog + elog "Additional tools that may be of interest:" + elog + elog "app-admin/eclean-kernel" + elog "app-portage/diffmask" + elog "app-portage/flaggie" + elog "app-portage/install-mask" + elog "app-portage/portpeek" + elog "app-portage/smart-live-rebuild" + fi +}
[gentoo-commits] proj/gentoolkit:master commit in: pym/gentoolkit/
commit: bc92540f8ce498e8305103619c7085b670ba19b1 Author: Paul Varner gentoo org> AuthorDate: Mon Jul 25 18:01:06 2016 + Commit: Paul Varner gentoo org> CommitDate: Mon Jul 25 18:01:06 2016 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=bc92540f Add missing import of io.open when using python2.7 This fixes the traceback when running equery changes with Python 2.7 X-Gentoo-bug: 589686 X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=589686 pym/gentoolkit/helpers.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pym/gentoolkit/helpers.py b/pym/gentoolkit/helpers.py index 0d985b6..8d25393 100644 --- a/pym/gentoolkit/helpers.py +++ b/pym/gentoolkit/helpers.py @@ -26,6 +26,9 @@ __docformat__ = 'epytext' # === import os +import sys +if sys.hexversion < 0x300: + from io import open import re from functools import partial from itertools import chain
[gentoo-commits] proj/gentoolkit:master commit in: pym/gentoolkit/equery/
commit: fa12fe254733ca3e6edf5659522da7e048f53adc Author: Paul Varner gentoo org> AuthorDate: Thu Jun 30 21:06:00 2016 + Commit: Paul Varner gentoo org> CommitDate: Thu Jun 30 21:19:10 2016 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=fa12fe25 equery: Change option --ignore-linguas to --ignore-l10n Change the option to filter out the L10N USE expanded flag. This is to support the transition from using LINGUAS for localization in ebuilds. pym/gentoolkit/equery/uses.py | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/pym/gentoolkit/equery/uses.py b/pym/gentoolkit/equery/uses.py index adf8b6c..79f1118 100644 --- a/pym/gentoolkit/equery/uses.py +++ b/pym/gentoolkit/equery/uses.py @@ -35,7 +35,7 @@ from gentoolkit.flag import get_flags, reduce_flags # Globals # === -QUERY_OPTS = {"all_versions" : False, "ignore_linguas" : False} +QUERY_OPTS = {"all_versions" : False, "ignore_l10n" : False} # = # Functions @@ -57,7 +57,7 @@ def print_help(with_description=True): print(format_options(( (" -h, --help", "display this help message"), (" -a, --all", "include all package versions"), - (" -i, --ignore-linguas", "don't show linguas USE flags") + (" -i, --ignore-l10n", "don't show l10n USE flags") ))) @@ -187,9 +187,10 @@ def get_output_descriptions(pkg, global_usedesc): usevar = reduce_flags(iuse) usevar.sort() - if QUERY_OPTS['ignore_linguas']: + if QUERY_OPTS['ignore_l10n']: for a in usevar[:]: - if a.startswith("linguas_"): + #TODO: Remove linguas after transition to l10n is complete + if a.startswith("l10n_") or a.startswith("linguas_"): usevar.remove(a) @@ -244,8 +245,8 @@ def parse_module_options(module_opts): sys.exit(0) elif opt in ('-a', '--all'): QUERY_OPTS['all_versions'] = True - elif opt in ('-i', '--ignore-linguas'): - QUERY_OPTS['ignore_linguas'] = True + elif opt in ('-i', '--ignore-l10n'): + QUERY_OPTS['ignore_l10n'] = True def print_legend(): @@ -261,7 +262,7 @@ def main(input_args): """Parse input and run the program""" short_opts = "hai" - long_opts = ('help', 'all', 'ignore-linguas') + long_opts = ('help', 'all', 'ignore-l10n') try: module_opts, queries = gnu_getopt(input_args, short_opts, long_opts)
[gentoo-commits] proj/gentoolkit:master commit in: pym/gentoolkit/eshowkw/, pym/gentoolkit/deprecated/, pym/gentoolkit/, ...
commit: 51f3cf18de49ca9dffc34053da53e62930be9fab Author: Paul Varner gentoo org> AuthorDate: Thu Jun 30 23:09:52 2016 + Commit: Paul Varner gentoo org> CommitDate: Thu Jun 30 23:30:54 2016 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=51f3cf18 Change open function to use UTF-8 encoding for content. Uses io.open for Python 2 and built-in open for Python 3 All data from files is treated as Unicode and this should fix most UnicodeDecodeErrors. pym/gentoolkit/deprecated/helpers.py | 6 +- pym/gentoolkit/eclean/exclude.py | 4 +++- pym/gentoolkit/enalyze/rebuild.py | 5 - pym/gentoolkit/equery/uses.py | 11 +++ pym/gentoolkit/equery/which.py| 5 - pym/gentoolkit/eshowkw/keywords_header.py | 9 +++-- pym/gentoolkit/glsa/__init__.py | 5 - pym/gentoolkit/helpers.py | 3 ++- pym/gentoolkit/revdep_rebuild/analyse.py | 6 +- pym/gentoolkit/revdep_rebuild/cache.py| 13 + pym/gentoolkit/revdep_rebuild/collect.py | 8 ++-- pym/gentoolkit/revdep_rebuild/settings.py | 4 +++- pym/gentoolkit/test/eclean/creator.py | 6 +- 13 files changed, 64 insertions(+), 21 deletions(-) diff --git a/pym/gentoolkit/deprecated/helpers.py b/pym/gentoolkit/deprecated/helpers.py index 81fa45c..bb0fb7e 100644 --- a/pym/gentoolkit/deprecated/helpers.py +++ b/pym/gentoolkit/deprecated/helpers.py @@ -11,6 +11,10 @@ from __future__ import print_function import warnings +import sys +if sys.hexversion < 0x300: + from io import open + import portage from portage import _encodings, _unicode_decode, _unicode_encode from gentoolkit import * @@ -101,7 +105,7 @@ def find_world_packages(prefilter=None): """Returns a tuple of lists, first list is resolved world packages, seond is unresolved package names.""" f = open(_unicode_encode(portage.root+portage.WORLD_FILE, - encoding=_encodings['fs'])) + encoding=_encodings['fs']), encoding=_encodings['content']) pkglist = f.readlines() resolved = [] unresolved = [] diff --git a/pym/gentoolkit/eclean/exclude.py b/pym/gentoolkit/eclean/exclude.py index d19c1d1..513346d 100644 --- a/pym/gentoolkit/eclean/exclude.py +++ b/pym/gentoolkit/eclean/exclude.py @@ -9,6 +9,8 @@ from __future__ import print_function import os import sys +if sys.hexversion < 0x300: + from io import open import re import portage from portage import _encodings, _unicode_decode, _unicode_encode @@ -83,7 +85,7 @@ def parseExcludeFile(filepath, output): output("Parsing Exclude file: " + filepath) try: file_ = open(_unicode_encode(filepath, - encoding=_encodings['fs']), mode="r") + encoding=_encodings['fs']), mode="r", encoding=_encodings['content']) except IOError: raise ParseExcludeFileException("Could not open exclusion file: " + filepath) diff --git a/pym/gentoolkit/enalyze/rebuild.py b/pym/gentoolkit/enalyze/rebuild.py index 11feb31..53fded4 100644 --- a/pym/gentoolkit/enalyze/rebuild.py +++ b/pym/gentoolkit/enalyze/rebuild.py @@ -15,6 +15,8 @@ from __future__ import print_function import os import sys +if sys.hexversion < 0x300: + from io import open import gentoolkit from gentoolkit.module_base import ModuleBase @@ -352,7 +354,8 @@ class Rebuild(ModuleBase): """ if not self.options["quiet"]: print(' - Saving file: %s' %filepath) - with open(_unicode_encode(filepath, encoding=_encodings['fs']), mode="w") as output: + with open(_unicode_encode(filepath, encoding=_encodings['fs']), mode="w", + encoding=_encodings['content']) as output: output.write('\n'.join(data)) print(" - Done") diff --git a/pym/gentoolkit/equery/uses.py b/pym/gentoolkit/equery/uses.py index 79f1118..a8f13dc 100644 --- a/pym/gentoolkit/equery/uses.py +++ b/pym/gentoolkit/equery/uses.py @@ -16,6 +16,9 @@ __docformat__ = 'epytext' import os import sys +if sys.hexversion < 0x300: + from io import open + from functools import partial from getopt import gnu_getopt, GetoptError from glob import glob @@ -136,9 +139,9 @@ def get_global_useflags(): # Get global USE flag descriptions try: path = os.path.join(settings["PORTDIR"], 'profiles', 'use.desc') - with open(_unicode_encode(path, encoding=_
[gentoo-commits] proj/gentoolkit:master commit in: data/eclean/
commit: 8507576f9a921f7b55f99e44fe9b33473e30d813 Author: Paul Varner gentoo org> AuthorDate: Thu Jun 30 20:51:26 2016 + Commit: Paul Varner gentoo org> CommitDate: Thu Jun 30 20:51:26 2016 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=8507576f eclean: Add exclusion to distfiles.exclude for portage snapshots Added portage-\d\d\d\d\d\d\d\d\.tar\.bz2 to distfiles.exclude to avoid removing portage snapshots used by emerge-delta-webrsync. X-Gentoo-bug: 300224 X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=300224 data/eclean/distfiles.exclude | 1 + 1 file changed, 1 insertion(+) diff --git a/data/eclean/distfiles.exclude b/data/eclean/distfiles.exclude index a8272ce..1c6eaf4 100644 --- a/data/eclean/distfiles.exclude +++ b/data/eclean/distfiles.exclude @@ -4,3 +4,4 @@ # See `man eclean` for syntax details. metadata.dtd metadata.xsd +portage-\d\d\d\d\d\d\d\d\.tar\.bz2
[gentoo-commits] proj/gentoolkit:master commit in: pym/gentoolkit/equery/
commit: b72e032ea252757c4309516c865fafaf7354036b Author: Paul Varner gentoo org> AuthorDate: Thu Jun 30 20:39:24 2016 + Commit: Paul Varner gentoo org> CommitDate: Thu Jun 30 20:39:24 2016 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=b72e032e equery: Fix UnicodeDecodeError in python2.7 This fix explicitly decodes the content of the USE description files as UTF-8. This fixes the UnicodeDecodeError in Python 2.7. Tested with a POSIX locale with Python 2.7, 3.4 and 3.5. X-Gentoo-bug: 587606 X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=587606 pym/gentoolkit/equery/uses.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pym/gentoolkit/equery/uses.py b/pym/gentoolkit/equery/uses.py index 79ed00f..adf8b6c 100644 --- a/pym/gentoolkit/equery/uses.py +++ b/pym/gentoolkit/equery/uses.py @@ -138,6 +138,7 @@ def get_global_useflags(): path = os.path.join(settings["PORTDIR"], 'profiles', 'use.desc') with open(_unicode_encode(path, encoding=_encodings['fs'])) as open_file: for line in open_file: + line = _unicode_decode(line) if line.startswith('#'): continue # Ex. of fields: ['syslog', 'Enables support for syslog\n'] @@ -158,6 +159,7 @@ def get_global_useflags(): try: with open(_unicode_encode(path, encoding=_encodings['fs'])) as open_file: for line in open_file: + line = _unicode_decode(line) if line.startswith('#'): continue fields = [field.strip() for field in line.split(" - ", 1)]
[gentoo-commits] proj/gentoolkit:master commit in: pym/gentoolkit/eclean/
commit: 0c95b6b4aea0b7baa86c6f41e6b643c477f60203 Author: Paul Varner gentoo org> AuthorDate: Thu Jun 23 20:00:15 2016 + Commit: Paul Varner gentoo org> CommitDate: Thu Jun 23 20:00:15 2016 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=0c95b6b4 eclean: Apply handle binpkgs with .xpak suffix patch from bug 586658 Author: Manuel Mommertz <2kmm gmx.de> X-Gentoo-bug: 586658 X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=586658 pym/gentoolkit/eclean/search.py | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/pym/gentoolkit/eclean/search.py b/pym/gentoolkit/eclean/search.py index f771ffc..7b261b8 100644 --- a/pym/gentoolkit/eclean/search.py +++ b/pym/gentoolkit/eclean/search.py @@ -542,18 +542,22 @@ def findPackages( if root[-3:] == 'All': continue for file in files: - if not file[-5:] == ".tbz2": - # ignore non-tbz2 files + if file[-5:] == ".tbz2": + category = os.path.basename(root) + cpv = category+"/"+file[:-5] + elif file[-5:] == ".xpak": + category = os.path.basename(os.path.dirname(root)) + cpv = category+"/"+file.rpartition('-')[0] + else: + # ignore other files continue path = os.path.join(root, file) - category = os.path.split(root)[-1] - cpv = category+"/"+file[:-5] st = os.lstat(path) if time_limit and (st[stat.ST_MTIME] >= time_limit): # time-limit exclusion continue # dict is cpv->[files] (2 files in general, because of symlink) - clean_me[cpv] = [path] + clean_me.setdefault(cpv,[]).append(path) #if os.path.islink(path): if stat.S_ISLNK(st[stat.ST_MODE]): clean_me[cpv].append(os.path.realpath(path))
[gentoo-commits] proj/gentoolkit:master commit in: bin/
commit: d158f2e656bd72f01b72bb94cb734fb1021934b5 Author: Paul Varner gentoo org> AuthorDate: Mon Jun 6 21:14:27 2016 + Commit: Paul Varner gentoo org> CommitDate: Mon Jun 6 21:14:27 2016 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=d158f2e6 glsa-check: Apply list only affected versions patch from bug 400763 Author: Roland Hopferwieser int0x80.at> X-Gentoo-bug: 400763 X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=400763 bin/glsa-check | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/bin/glsa-check b/bin/glsa-check index 46088d7..3f691b8 100755 --- a/bin/glsa-check +++ b/bin/glsa-check @@ -240,11 +240,15 @@ def summarylist(myglsalist, fd1=sys.stdout, fd2=sys.stderr, encoding="utf-8"): if len(myglsa.packages) > 3: fd1.write("... ") else: - for pkg in myglsa.packages.keys(): - mylist = vardb.match(portage.dep_getkey(str(pkg))) + for cpv in myglsa.packages.keys(): + pkg = myglsa.packages[cpv] + for path in pkg: + v_installed = reduce(operator.add, [match(v, "vartree") for v in path["vul_atoms"]], []) + u_installed = reduce(operator.add, [match(u, "vartree") for u in path["unaff_atoms"]], []) + mylist = sorted(set(v_installed).difference(set(u_installed))) if len(mylist) > 0: - pkg = color(" ".join(mylist)) - fd1.write(" " + pkg + " ") + cpv = color(" ".join(mylist)) + fd1.write(" " + cpv + " ") fd1.write(")") if list_cve:
[gentoo-commits] proj/gentoolkit:master commit in: pym/gentoolkit/eshowkw/
commit: e4dda3ef193b109f30051f5a116158dfe23922bb Author: Paul Varner gentoo org> AuthorDate: Wed Apr 6 17:21:32 2016 + Commit: Paul Varner gentoo org> CommitDate: Wed Apr 6 17:21:32 2016 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=e4dda3ef eshowkw: Fix previous commit to not always turn on prefix Mistakenly was checking highlight_arch instead of opts.arch to see if any architectures were specified. This had the effect of always enabling the prefix architectures. pym/gentoolkit/eshowkw/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/gentoolkit/eshowkw/__init__.py b/pym/gentoolkit/eshowkw/__init__.py index c00d7cb..ded166d 100644 --- a/pym/gentoolkit/eshowkw/__init__.py +++ b/pym/gentoolkit/eshowkw/__init__.py @@ -102,7 +102,7 @@ def main(argv, indirect = False): porto.nocolor() # Imply prefix if user specified any architectures (Bug 578496) - if len(highlight_arch) > 0: + if len(opts.arch) > 0: prefix = True keywords = keywords_header(prefix, highlight_arch, order)
[gentoo-commits] proj/gentoolkit:master commit in: pym/gentoolkit/eshowkw/
commit: 99bdbe3d832a3dabb7e9fb9c50cb9c4e1baf2f02 Author: Paul Varner gentoo org> AuthorDate: Thu Mar 31 22:06:28 2016 + Commit: Paul Varner gentoo org> CommitDate: Thu Mar 31 22:06:28 2016 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=99bdbe3d eshowkw: Imply prefix when specifing an arch This fixes bug 578496. When a user specifies and architecture, we should just display it regardless of its prefix status. pym/gentoolkit/eshowkw/__init__.py | 5 + 1 file changed, 5 insertions(+) diff --git a/pym/gentoolkit/eshowkw/__init__.py b/pym/gentoolkit/eshowkw/__init__.py index d46a773..c00d7cb 100644 --- a/pym/gentoolkit/eshowkw/__init__.py +++ b/pym/gentoolkit/eshowkw/__init__.py @@ -100,6 +100,11 @@ def main(argv, indirect = False): if not color and not sys.stdout.isatty(): # disable colors porto.nocolor() + + # Imply prefix if user specified any architectures (Bug 578496) + if len(highlight_arch) > 0: + prefix = True + keywords = keywords_header(prefix, highlight_arch, order) if len(package) > 0: mysettings = portc(local_config=False)
[gentoo-commits] repo/gentoo:master commit in: app-portage/elogviewer/
commit: 0a331e6a19380bc9adf5d7a093093741bc12ecf9 Author: Paul Varner gentoo org> AuthorDate: Wed Dec 2 18:22:46 2015 + Commit: Paul Varner gentoo org> CommitDate: Wed Dec 2 18:22:46 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a331e6a app-portage/elogviewer: Revision bump to fix dependencies for bug 567110 Since the elogviewer code will try to use PyQt5, if it is installed, we need to enforce that it is installed with the correct use flags. The only way to do this and keep the any of many dependency is with blockers. Package-Manager: portage-2.2.25 app-portage/elogviewer/elogviewer-2.6-r1.ebuild | 48 + 1 file changed, 48 insertions(+) diff --git a/app-portage/elogviewer/elogviewer-2.6-r1.ebuild b/app-portage/elogviewer/elogviewer-2.6-r1.ebuild new file mode 100644 index 000..d7033fb --- /dev/null +++ b/app-portage/elogviewer/elogviewer-2.6-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=(python{2_7,3_3,3_4}) +DISABLE_AUTOFORMATTING=true +inherit distutils-r1 eutils readme.gentoo + +DESCRIPTION="Elog viewer for Gentoo" +HOMEPAGE="https://sourceforge.net/projects/elogviewer"; +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND="|| ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + dev-python/PyQt4[${PYTHON_USEDEP},X] + dev-python/pyside[${PYTHON_USEDEP},X] ) + >=sys-apps/portage-2.1 + $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python{2_7,3_3}) + !dev-python/PyQt5[-gui] + !dev-python/PyQt5[-widgets] + " +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +DOC_CONTENTS="In order to use this software, you need to activate +Portage's elog features. Required is + PORTAGE_ELOG_SYSTEM=\"save\" +and at least one of + PORTAGE_ELOG_CLASSES=\"warn error info log qa\" +More information on the elog system can be found in /etc/make.conf.example + +To operate properly this software needs the directory +${PORT_LOGDIR:-/var/log/portage}/elog created, belonging to group portage. +To start the software as a user, add yourself to the portage group." + +src_install() { + mv elogviewer.py elogviewer + dobin elogviewer + doman elogviewer.1 + make_desktop_entry ${PN} ${PN} ${PN} System + readme.gentoo_src_install +}
[gentoo-commits] proj/gentoolkit:master commit in: pym/gentoolkit/glsa/, pym/gentoolkit/, pym/gentoolkit/equery/, ...
commit: e90e838718c737a1d41e4b8bc64e9e520d65270b Author: Paul Varner gentoo org> AuthorDate: Tue Nov 24 19:59:02 2015 + Commit: Paul Varner gentoo org> CommitDate: Tue Nov 24 19:59:02 2015 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=e90e8387 Fix the file open() calls to work with Python 2 The generalized file open call needs to look like: with open(_unicode_encode(path, encoding=_encodings['fs'])) as open_file pym/gentoolkit/deprecated/helpers.py | 4 ++-- pym/gentoolkit/eclean/exclude.py | 4 ++-- pym/gentoolkit/enalyze/rebuild.py | 2 +- pym/gentoolkit/equery/uses.py | 4 ++-- pym/gentoolkit/equery/which.py| 2 +- pym/gentoolkit/eshowkw/keywords_header.py | 4 ++-- pym/gentoolkit/glsa/__init__.py | 4 ++-- pym/gentoolkit/helpers.py | 6 +++--- pym/gentoolkit/revdep_rebuild/analyse.py | 2 +- pym/gentoolkit/revdep_rebuild/cache.py| 14 +++--- pym/gentoolkit/revdep_rebuild/collect.py | 6 +++--- pym/gentoolkit/revdep_rebuild/settings.py | 4 ++-- 12 files changed, 28 insertions(+), 28 deletions(-) diff --git a/pym/gentoolkit/deprecated/helpers.py b/pym/gentoolkit/deprecated/helpers.py index c3a72dc..81fa45c 100644 --- a/pym/gentoolkit/deprecated/helpers.py +++ b/pym/gentoolkit/deprecated/helpers.py @@ -100,8 +100,8 @@ def find_system_packages(prefilter=None): def find_world_packages(prefilter=None): """Returns a tuple of lists, first list is resolved world packages, seond is unresolved package names.""" - f = open(_unicode_encode(portage.root+portage.WORLD_FILE), - encoding=_encodings['fs']) + f = open(_unicode_encode(portage.root+portage.WORLD_FILE, + encoding=_encodings['fs'])) pkglist = f.readlines() resolved = [] unresolved = [] diff --git a/pym/gentoolkit/eclean/exclude.py b/pym/gentoolkit/eclean/exclude.py index 5a13186..d19c1d1 100644 --- a/pym/gentoolkit/eclean/exclude.py +++ b/pym/gentoolkit/eclean/exclude.py @@ -82,8 +82,8 @@ def parseExcludeFile(filepath, output): } output("Parsing Exclude file: " + filepath) try: - file_ = open(_unicode_encode(filepath), - encoding=_encodings['fs'], mode="r") + file_ = open(_unicode_encode(filepath, + encoding=_encodings['fs']), mode="r") except IOError: raise ParseExcludeFileException("Could not open exclusion file: " + filepath) diff --git a/pym/gentoolkit/enalyze/rebuild.py b/pym/gentoolkit/enalyze/rebuild.py index 3f9527a..11feb31 100644 --- a/pym/gentoolkit/enalyze/rebuild.py +++ b/pym/gentoolkit/enalyze/rebuild.py @@ -352,7 +352,7 @@ class Rebuild(ModuleBase): """ if not self.options["quiet"]: print(' - Saving file: %s' %filepath) - with open(_unicode_encode(filepath), encoding=_encodings['fs'], mode="w") as output: + with open(_unicode_encode(filepath, encoding=_encodings['fs']), mode="w") as output: output.write('\n'.join(data)) print(" - Done") diff --git a/pym/gentoolkit/equery/uses.py b/pym/gentoolkit/equery/uses.py index 7717710..79ed00f 100644 --- a/pym/gentoolkit/equery/uses.py +++ b/pym/gentoolkit/equery/uses.py @@ -136,7 +136,7 @@ def get_global_useflags(): # Get global USE flag descriptions try: path = os.path.join(settings["PORTDIR"], 'profiles', 'use.desc') - with open(_unicode_encode(path), encoding=_encodings['fs']) as open_file: + with open(_unicode_encode(path, encoding=_encodings['fs'])) as open_file: for line in open_file: if line.startswith('#'): continue @@ -156,7 +156,7 @@ def get_global_useflags(): for path in glob(os.path.join(settings["PORTDIR"], 'profiles', 'desc', '*.desc')): try: - with open(_unicode_encode(path), encoding=_encodings['fs']) as open_file: + with open(_unicode_encode(path, encoding=_encodings['fs'])) as open_file: for line in open_file: if line.startswith('#'): continue diff --git a/pym/gentoolkit/equery/which.py b/pym/gentoolkit/equery/which.py index ea03b90..0d30a8d 100644 --- a/pym/gentool
[gentoo-commits] proj/gentoolkit:master commit in: pym/gentoolkit/deprecated/, pym/gentoolkit/revdep_rebuild/, ...
commit: c9a117bebeb04efcb731e47a12e79c4c8d065896 Author: Paul Varner gentoo org> AuthorDate: Tue Nov 24 19:07:33 2015 + Commit: Paul Varner gentoo org> CommitDate: Tue Nov 24 19:07:33 2015 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=c9a117be Change all open() calls to use Unicode. We are using the following import from portage: from portage import _encodings, _unicode_decode, _unicode_encode A generalized call using the definitions from portage looks like: with open(_unicode_encode(path), encoding=_encodings['fs']) as open_file The portage code has been in place since 2013 and using the definitions from portage ensures we maintain compatibility if portage changes. All portage versions in the tree contain the above code. pym/gentoolkit/deprecated/helpers.py | 4 +++- pym/gentoolkit/eclean/exclude.py | 4 +++- pym/gentoolkit/enalyze/rebuild.py | 4 ++-- pym/gentoolkit/equery/uses.py | 5 +++-- pym/gentoolkit/equery/which.py| 4 +++- pym/gentoolkit/eshowkw/keywords_header.py | 5 +++-- pym/gentoolkit/glsa/__init__.py | 5 - pym/gentoolkit/helpers.py | 8 pym/gentoolkit/revdep_rebuild/analyse.py | 3 ++- pym/gentoolkit/revdep_rebuild/cache.py| 12 pym/gentoolkit/revdep_rebuild/collect.py | 8 +--- pym/gentoolkit/revdep_rebuild/settings.py | 4 +++- 12 files changed, 43 insertions(+), 23 deletions(-) diff --git a/pym/gentoolkit/deprecated/helpers.py b/pym/gentoolkit/deprecated/helpers.py index 59d6a2c..c3a72dc 100644 --- a/pym/gentoolkit/deprecated/helpers.py +++ b/pym/gentoolkit/deprecated/helpers.py @@ -12,6 +12,7 @@ from __future__ import print_function import warnings import portage +from portage import _encodings, _unicode_decode, _unicode_encode from gentoolkit import * from package import * from pprinter import warn @@ -99,7 +100,8 @@ def find_system_packages(prefilter=None): def find_world_packages(prefilter=None): """Returns a tuple of lists, first list is resolved world packages, seond is unresolved package names.""" - f = open(portage.root+portage.WORLD_FILE) + f = open(_unicode_encode(portage.root+portage.WORLD_FILE), + encoding=_encodings['fs']) pkglist = f.readlines() resolved = [] unresolved = [] diff --git a/pym/gentoolkit/eclean/exclude.py b/pym/gentoolkit/eclean/exclude.py index a6422d0..5a13186 100644 --- a/pym/gentoolkit/eclean/exclude.py +++ b/pym/gentoolkit/eclean/exclude.py @@ -11,6 +11,7 @@ import os import sys import re import portage +from portage import _encodings, _unicode_decode, _unicode_encode from gentoolkit.pprinter import warn @@ -81,7 +82,8 @@ def parseExcludeFile(filepath, output): } output("Parsing Exclude file: " + filepath) try: - file_ = open(filepath,"r") + file_ = open(_unicode_encode(filepath), + encoding=_encodings['fs'], mode="r") except IOError: raise ParseExcludeFileException("Could not open exclusion file: " + filepath) diff --git a/pym/gentoolkit/enalyze/rebuild.py b/pym/gentoolkit/enalyze/rebuild.py index 778fed4..3f9527a 100644 --- a/pym/gentoolkit/enalyze/rebuild.py +++ b/pym/gentoolkit/enalyze/rebuild.py @@ -27,7 +27,7 @@ from gentoolkit.atom import Atom import portage - +from portage import _encodings, _unicode_decode, _unicode_encode def cpv_all_diff_use( cpvs=None, @@ -352,7 +352,7 @@ class Rebuild(ModuleBase): """ if not self.options["quiet"]: print(' - Saving file: %s' %filepath) - with open(filepath, "w") as output: + with open(_unicode_encode(filepath), encoding=_encodings['fs'], mode="w") as output: output.write('\n'.join(data)) print(" - Done") diff --git a/pym/gentoolkit/equery/uses.py b/pym/gentoolkit/equery/uses.py index cedac96..7717710 100644 --- a/pym/gentoolkit/equery/uses.py +++ b/pym/gentoolkit/equery/uses.py @@ -21,6 +21,7 @@ from getopt import gnu_getopt, GetoptError from glob import glob from portage import settings +from portage import _encodings, _unicode_decode, _unicode_encode import gentoolkit.pprinter as pp from gentoolkit import errors @@ -135,7 +136,7 @@ def get_global_useflags(): # Get global USE flag descriptions try: path = os.path.join(settings["PORTDIR"], 'profiles', 'use.desc') - with open(path) as open_file: + with open(_unicode_encode(path), encoding=_encodings['fs']) as open
[gentoo-commits] proj/gentoolkit:master commit in: /
commit: b58ce050071eac2208769bbd8241fbecc90e11af Author: Paul Varner gentoo org> AuthorDate: Tue Nov 24 18:14:26 2015 + Commit: Paul Varner gentoo org> CommitDate: Tue Nov 24 18:14:26 2015 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=b58ce050 Fix spelling error README.dev | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.dev b/README.dev index e7f81e6..5348867 100644 --- a/README.dev +++ b/README.dev @@ -16,7 +16,7 @@ coordinated with fuzzyray and/or dolsen. If you create a release and it breaks, please fix it. Any non Gentoo developers who wish to contribute, the best way to get -started is by clonig a copy of the repository and submitting patches to +started is by cloning a copy of the repository and submitting patches to bugzilla. Additionally, we can be found in the #gentoo-portage IRC channel.
[gentoo-commits] proj/gentoolkit:master commit in: /
commit: 1415ee6c58c52633b801bac79810f9cf463987d7 Author: Paul Varner gentoo org> AuthorDate: Tue Nov 24 18:10:01 2015 + Commit: Paul Varner gentoo org> CommitDate: Tue Nov 24 18:10:01 2015 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=1415ee6c Update documentation Add a pointer to gitweb in Changelog Update policy for creating releases in README.dev Remove obsolete TODO file ChangeLog | 3 +++ README.dev | 11 --- TODO | 33 - 3 files changed, 11 insertions(+), 36 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7524886..a7ff478 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +Please see https://gitweb.gentoo.org/proj/gentoolkit.git/log/ +Alternatively, you can use 'git log' on a copy of the repository + 2010-01-04: Paul Varner * euse: Merge euse from bug #259318 written by Jared Hancock. This version is a significant rewrite and add supports for utilizing diff --git a/README.dev b/README.dev index 62a35fe..e7f81e6 100644 --- a/README.dev +++ b/README.dev @@ -7,11 +7,16 @@ We only have several requirements. If you want to do a major change (i.e rewrite/refactor something), please talk to us before pushing any commits. If you break something, please fix it. -If you want a new release of gentoolkit or gentoolkit-dev, please coordinate -it with fuzzyray (gentoolkit) or idl0r (gentoolkit-dev). +All members of the Portage or Portage Tools projects are authorized to +create a new release of gentoolkit or gentoolkit-dev. + +All other Gentoo Developers are authorized to create a new release if it is +coordinated with fuzzyray and/or dolsen. + +If you create a release and it breaks, please fix it. Any non Gentoo developers who wish to contribute, the best way to get -started is by pulling a copy of the repository and submitting patches to +started is by clonig a copy of the repository and submitting patches to bugzilla. Additionally, we can be found in the #gentoo-portage IRC channel. diff --git a/TODO b/TODO deleted file mode 100644 index 1cee1a4..000 --- a/TODO +++ /dev/null @@ -1,33 +0,0 @@ -- equery: - - add --overlay, --portdir to uses - - add glsa pkgspec - - query for current GLSAs on installed package(s) -- rewrite ekeywords and echangelog to use gentoolkit -- merge change and echangelog -- merge useflag and euse, have _one_ command line tool - - update ufed to rely on the CLI tool - - update ufed to rely on generate-use - - merge generate-use and ufed? -- write efeatures for turning on/off FEATURES in make.conf -- look at ekeys, ewatch -- revision bump tool - - bump versioned files in filesdir - - -m for changelog entry - - use ~/.gentoo/gentoolkit/ebump.conf - - use /etc/gentoolkit/ebump.conf - -equery (modern): - Add more --debug stuff - Write tests for Dependencies._parser - Profile Dependencies._parser - Extend PackageFormatter usage to everything that outputs packages to - allow for purvasive use of -F, --format goodness - -Ebuild changes: - - Add: - src_test() { - "${python}" setup.py test || die "testing returned non zero" - } - -For Next Release: - - write NEWS file
[gentoo-commits] proj/gentoolkit: Branch deleted: gentoolkit
commit: Commit: Paul Varner gentoo org> CommitDate: Wed Nov 11 21:20:58 2015 + Branch deleted: gentoolkit
[gentoo-commits] repo/gentoo:master commit in: app-portage/gentoolkit-dev/
commit: 6348b9123177177dcd4bf0ab1a27a15e3199e7e1 Author: Paul Varner gentoo org> AuthorDate: Tue Oct 27 20:21:39 2015 + Commit: Paul Varner gentoo org> CommitDate: Tue Oct 27 20:23:01 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6348b912 app-portage/gentoolkit-dev: Update repository for live ebuild Package-Manager: portage-2.2.23 app-portage/gentoolkit-dev/gentoolkit-dev-.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app-portage/gentoolkit-dev/gentoolkit-dev-.ebuild b/app-portage/gentoolkit-dev/gentoolkit-dev-.ebuild index 05eebf0..c4d7b31 100644 --- a/app-portage/gentoolkit-dev/gentoolkit-dev-.ebuild +++ b/app-portage/gentoolkit-dev/gentoolkit-dev-.ebuild @@ -11,8 +11,9 @@ inherit python-r1 if [[ ${PV} == ]]; then inherit git-r3 - EGIT_REPO_URI="git://anongit.gentoo.org/proj/gentoolkit-dev.git - https://anongit.gentoo.org/git/proj/gentoolkit-dev.git"; + EGIT_REPO_URI="git://anongit.gentoo.org/proj/gentoolkit.git + https://anongit.gentoo.org/git/proj/gentoolkit.git"; + EGIT_BRANCH="gentoolkit-dev" else SRC_URI="https://dev.gentoo.org/~floppym/dist/${P}.tar.gz"; KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
[gentoo-commits] proj/gentoolkit:master commit in: pym/gentoolkit/
commit: 1537ab55fffda2348753ce26d6d7c11de49d9032 Author: Paul Varner gentoo org> AuthorDate: Thu Oct 22 16:09:30 2015 + Commit: Paul Varner gentoo org> CommitDate: Thu Oct 22 16:09:30 2015 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=1537ab55 gentoolkit: Fix to allow package names of all digits. Bug 562952 According to PMS, "A package name may contain any of the characters [A-Za-z0-9+_-]. It must not begin with a hyphen or a plus sign, and must not end in a hyphen followed by anything matching the version syntax". This specification means that a package name can be composed of all digits. This fixes cpv.py and query.py to allow package names of all digits. pym/gentoolkit/cpv.py | 2 +- pym/gentoolkit/query.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pym/gentoolkit/cpv.py b/pym/gentoolkit/cpv.py index 473ae60..f1e3241 100644 --- a/pym/gentoolkit/cpv.py +++ b/pym/gentoolkit/cpv.py @@ -243,7 +243,7 @@ def isvalid_pkg_name(chunks): mf = _pkg_re.match if not all(not s or mf(s) for s in chunks): return False - if chunks[-1].isdigit() or not chunks[-1]: + if not chunks[-1] or (len(chunks) > 1 and chunks[-1].isdigit()): # not allowed. return False return True diff --git a/pym/gentoolkit/query.py b/pym/gentoolkit/query.py index df6e2fd..9d1a313 100644 --- a/pym/gentoolkit/query.py +++ b/pym/gentoolkit/query.py @@ -19,7 +19,7 @@ __all__ = ( import fnmatch import re from functools import partial -from string import ascii_letters +from string import ascii_letters, digits import portage @@ -47,7 +47,7 @@ class Query(CPV): """ # We need at least one of these chars for a valid query - needed_chars = ascii_letters + '*' + needed_chars = ascii_letters + digits + '*' if not set(query).intersection(needed_chars): raise errors.GentoolkitInvalidPackage(query)
[gentoo-commits] proj/gentoolkit:master commit in: pym/gentoolkit/eclean/
commit: 00fa83ca375064247acf92c402e7920c1a5c922f Author: Paul Varner gentoo org> AuthorDate: Mon Oct 19 21:32:28 2015 + Commit: Paul Varner gentoo org> CommitDate: Mon Oct 19 21:32:28 2015 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=00fa83ca eclean: Fix traceback error caused by adding -i option pym/gentoolkit/eclean/cli.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pym/gentoolkit/eclean/cli.py b/pym/gentoolkit/eclean/cli.py index 1c8e66f..aa9af3f 100644 --- a/pym/gentoolkit/eclean/cli.py +++ b/pym/gentoolkit/eclean/cli.py @@ -303,6 +303,7 @@ def parseArgs(options={}): options['fetch-restricted'] = False options['size-limit'] = 0 options['verbose'] = False + options['ignore-failure'] = False # if called by a well-named symlink, set the acction accordingly: action = None # temp print line to ensure it is the svn/branch code running, etc..
[gentoo-commits] proj/gentoolkit:master commit in: man/, pym/gentoolkit/eclean/
commit: 2bf6fcfa9060f2490d77e4c5ea3dcd596e6b4c6b Author: Paul Varner gentoo org> AuthorDate: Mon Oct 19 21:11:56 2015 + Commit: Paul Varner gentoo org> CommitDate: Mon Oct 19 21:11:56 2015 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=2bf6fcfa eclean: Add option to allow for missing PKGDIR. Bug 551266 Added -i, --ignore-failure to ignore a missing PKGDIR error and exit cleanly. This was requested by the Chromium OS project, since they run eclean in an automated process and the directory may not exist yet. References: http://crbug.com/323420 man/eclean.1| 3 ++- pym/gentoolkit/eclean/cli.py| 9 ++--- pym/gentoolkit/eclean/search.py | 2 ++ 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/man/eclean.1 b/man/eclean.1 index 1668b5e..8547c03 100644 --- a/man/eclean.1 +++ b/man/eclean.1 @@ -106,7 +106,8 @@ etc. Units are: G, M, K and B. .SS "Options for the 'packages' action" .TP -There is no specific option for this action. +\fB\-i, \-\-ignore\-failure\fP ignore the failure to locate PKGDIR +This is only useful when scripting to ignore an otherwise fatal error. .SH "EXCLUSION FILES" Exclusions files are lists of packages names or categories you want to protect in particular. This may be useful to protect more binary packages for some system diff --git a/pym/gentoolkit/eclean/cli.py b/pym/gentoolkit/eclean/cli.py index 95d4c06..1c8e66f 100644 --- a/pym/gentoolkit/eclean/cli.py +++ b/pym/gentoolkit/eclean/cli.py @@ -147,7 +147,8 @@ def printUsage(_error=None, help=None): or help in ('all','packages'): print( "Available", yellow("options"),"for the", green("packages"),"action:", file=out) - print( yellow(" NONE :)"), file=out) + print( yellow(" -i, --ignore-failure")+ + " - ignore failure to locate PKGDIR", file=out) print( file=out) if _error in ('distfiles-options', 'merged-distfiles-options') \ or help in ('all','distfiles'): @@ -262,6 +263,8 @@ def parseArgs(options={}): options['size-limit'] = parseSize(a) elif o in ("-v", "--verbose") and not options['quiet']: options['verbose'] = True + elif o in ("-i", "--ignore-failure"): + options['ignore-failure'] = True else: return_code = False # sanity check of --deep only options: @@ -286,8 +289,8 @@ def parseArgs(options={}): "time-limit=", "package-names", "help", "version", "verbose"] getopt_options['short']['distfiles'] = "fs:" getopt_options['long']['distfiles'] = ["fetch-restricted", "size-limit="] - getopt_options['short']['packages'] = "" - getopt_options['long']['packages'] = [""] + getopt_options['short']['packages'] = "i" + getopt_options['long']['packages'] = ["ignore-failure"] # set default options, except 'nocolor', which is set in main() options['interactive'] = False options['pretend'] = False diff --git a/pym/gentoolkit/eclean/search.py b/pym/gentoolkit/eclean/search.py index 1a83fd4..f771ffc 100644 --- a/pym/gentoolkit/eclean/search.py +++ b/pym/gentoolkit/eclean/search.py @@ -532,6 +532,8 @@ def findPackages( test = os.listdir(pkgdir) del test except EnvironmentError as er: + if options['ignore-failure']: + exit(0) print( pp.error("Error accessing PKGDIR." ), file=sys.stderr) print( pp.error("(Check your make.conf file and environment)."), file=sys.stderr) print( pp.error("Error: %s" %str(er)), file=sys.stderr)
[gentoo-commits] proj/gentoolkit:master commit in: data/tmpfiles.d/, /
commit: f584990c08fc5a400277acfeaf01297f1d3b995b Author: Paul Varner gentoo org> AuthorDate: Fri Oct 16 20:00:54 2015 + Commit: Paul Varner gentoo org> CommitDate: Fri Oct 16 20:12:16 2015 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=f584990c revdep-rebuild: add tmpfiles.d file Add a configuration file to create /var/cache/revdep-rebuild. This is needed for fixing bug 498990 in the gentoolkit ebuild. data/tmpfiles.d/revdep-rebuild.conf | 1 + setup.py| 1 + 2 files changed, 2 insertions(+) diff --git a/data/tmpfiles.d/revdep-rebuild.conf b/data/tmpfiles.d/revdep-rebuild.conf new file mode 100644 index 000..2437bcf --- /dev/null +++ b/data/tmpfiles.d/revdep-rebuild.conf @@ -0,0 +1 @@ +d /var/cache/revdep-rebuild 0700 0 0 diff --git a/setup.py b/setup.py index ae4b7c7..b32b7d6 100755 --- a/setup.py +++ b/setup.py @@ -151,6 +151,7 @@ core.setup( (os.path.join(os.sep, EPREFIX.lstrip(os.sep), 'etc/revdep-rebuild'), ['data/revdep-rebuild/99revdep-rebuild']), (os.path.join(os.sep, EPREFIX.lstrip(os.sep), 'etc/eclean'), glob('data/eclean/*')), (os.path.join(os.sep, EPREFIX.lstrip(os.sep), 'usr/share/man/man1'), glob('man/*')), + (os.path.join(os.sep, EPREFIX.lstrip(os.sep), 'etc/tmpfiles.d'), ['data/tmpfiles.d/revdep-rebuild.conf']), ), cmdclass={ 'test': load_test(),
[gentoo-commits] proj/gentoolkit:master commit in: pym/gentoolkit/eclean/
commit: 68283db9d0a775c334087a27601edf042987294c Author: Marc Joliet gmx de> AuthorDate: Thu Oct 15 21:16:57 2015 + Commit: Paul Varner gentoo org> CommitDate: Thu Oct 15 21:38:45 2015 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=68283db9 eclean: fix eclean-pkg -n -d Bug #472020 Signed-off-by: Paul Varner gentoo.org> pym/gentoolkit/eclean/search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/gentoolkit/eclean/search.py b/pym/gentoolkit/eclean/search.py index 5fcb6bc..1a83fd4 100644 --- a/pym/gentoolkit/eclean/search.py +++ b/pym/gentoolkit/eclean/search.py @@ -574,7 +574,7 @@ def findPackages( # exclusion because pkg still exists (in porttree or vartree) del clean_me[cpv] continue - if portage.cpv_getkey(cpv) in cp_all: + if portage.cpv_getkey(cpv) in cp_all and port_dbapi.cpv_exists(cpv): # exlusion because of --package-names del clean_me[cpv]
[gentoo-commits] proj/gentoolkit-dev: New tag: gentoolkit-dev-0.2.6.13
commit: Commit: Paul Varner gentoo org> CommitDate: Thu Oct 15 17:11:00 2015 + New tag: gentoolkit-dev-0.2.6.13
[gentoo-commits] proj/gentoolkit:master commit in: /
commit: d0aff719f8b1522c427d3caa9c48bc0fa06e8425 Author: Slawek Lis gentoo org> AuthorDate: Wed Nov 12 07:14:47 2014 + Commit: Paul Varner gentoo org> CommitDate: Wed Nov 12 07:14:47 2014 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=d0aff719 Merge branch 'gentoolkit' of git+ssh://git.overlays.gentoo.org/proj/gentoolkit into gentoolkit bin/revdep-rebuild.sh | 38 -- man/revdep-rebuild.1 | 3 +++ 2 files changed, 39 insertions(+), 2 deletions(-)
[gentoo-commits] proj/gentoolkit:master commit in: /
commit: 10ae0f76a9aa56c467f0a9afc187411149444bf5 Author: Brian Dolbec gmail com> AuthorDate: Fri Feb 11 05:54:34 2011 + Commit: Paul Varner gentoo org> CommitDate: Fri Feb 11 05:54:34 2011 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=10ae0f76 Merge branch 'gentoolkit' of git+ssh://git.overlays.gentoo.org/proj/gentoolkit into gentoolkit bin/glsa-check | 17 ++ pym/gentoolkit/eshowkw/keywords_content.py | 53 +- pym/gentoolkit/glsa/__init__.py| 1 + 3 files changed, 42 insertions(+), 29 deletions(-)
[gentoo-commits] proj/gentoolkit:master commit in: /
commit: 4335bf979f374300ac6678765f490f92ee805ab4 Author: slis gmail com> AuthorDate: Tue Jan 21 10:48:32 2014 + Commit: Paul Varner gentoo org> CommitDate: Tue Jan 21 10:48:32 2014 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=4335bf97 Merged revdep-rebuild branch bin/{enalyze => revdep-ng} | 9 +- pym/gentoolkit/revdep_rebuild/analyse.py| 200 +--- pym/gentoolkit/revdep_rebuild/assign.py | 23 ++- pym/gentoolkit/revdep_rebuild/cache.py | 50 +++--- pym/gentoolkit/revdep_rebuild/collect.py| 33 ++-- pym/gentoolkit/revdep_rebuild/rebuild.py| 30 ++-- pym/gentoolkit/revdep_rebuild/revdep-rebuild.py | 17 ++ pym/gentoolkit/revdep_rebuild/runner.py | 114 ++ pym/gentoolkit/revdep_rebuild/stuff.py | 4 + 9 files changed, 364 insertions(+), 116 deletions(-) diff --cc pym/gentoolkit/revdep_rebuild/analyse.py index aad8f81,e630bc9..7b17517 --- a/pym/gentoolkit/revdep_rebuild/analyse.py +++ b/pym/gentoolkit/revdep_rebuild/analyse.py @@@ -19,33 -14,35 +19,39 @@@ from .cache import save_cach def prepare_checks(files_to_check, libraries, bits, cmd_max_args): - ''' Calls scanelf for all files_to_check, then returns found libraries and dependencies + ''' Calls scanelf for all files_to_check, + then returns found libraries and dependencies ''' - libs = [] # libs found by scanelf - dependencies = [] # list of lists of files (from file_to_check) that uses -# library (for dependencies[id] and libs[id] => id==id) + # libs found by scanelf + libs = [] + # list of lists of files (from file_to_check) that uses + # library (for dependencies[id] and libs[id] => id==id) + dependencies = [] - for line in scan( - ['-M', str(bits), '-nBF', '%F %n'], - files_to_check, cmd_max_args - ): + - parts = line.strip().split(' ') - if len(parts) < 2: # no dependencies? + bits = [] + + + # from runner import ScanRunner + # sr = ScanRunner(['-M', str(bits), '-nBF', '%F %n'], files_to_check, cmd_max_args) + # sr.wait() + + for line in scan(['-M', str(bits), '-nBF', '%F %n %M'], files_to_check, cmd_max_args): + #call_program(['scanelf', '-M', str(bits), '-nBF', '%F %n',]+files_to_check).strip().split('\n'): + r = line.strip().split(' ') + if len(r) < 2: # no dependencies? continue - deps = parts[1].split(',') - for dep in deps: - if dep in libs: - index = libs.index(dep) - dependencies[index].append(parts[0]) + deps = r[1].split(',') + for d in deps: + if d in libs: + i = libs.index(d) + dependencies[i].append(r[0]) else: - libs.append(dep) - dependencies.append([parts[0],]) - + #print d, 'bits:', r[2][8:] # 8: -> strlen('ELFCLASS') + libs.append(d) + dependencies.append([r[0],]) + return (libs, dependencies) @@@ -122,21 -136,40 +149,40 @@@ def find_broken(found_libs, system_libr return broken + def find_broken2(scanned_files, logger): + broken_libs = {} + for bits, libs in scanned_files.items(): + logger.debug('Checking for bits: %s' % bits) + alllibs = '|'.join(libs.keys()) + '|' + for soname, needed in libs.items(): + for l in needed[1]: + if not l+'|' in alllibs: + try: + broken_libs[bits][l].add(soname) + except KeyError: + try: + broken_libs[bits][l] = set([soname]) + except KeyError: + broken_libs = {bits: {l: set([soname])}} + + return broken_libs + + -def main_checks(found_libs, broken, dependencies, logger): +def main_checks(found_libs, broken_list, dependencies, logger): ''' Checks for broken
[gentoo-commits] proj/gentoolkit:master commit in: /
commit: 879cf3ce1f3041854c9dc886b59ac7e136ae9b9b Author: Paul Varner gentoo org> AuthorDate: Wed Dec 29 00:30:14 2010 + Commit: Paul Varner gentoo org> CommitDate: Wed Dec 29 00:30:14 2010 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=879cf3ce Merge branch 'gentoolkit' into euse Conflicts: bin/euse AUTHORS|8 +- CREDITS| 16 + ChangeLog | 96 ++ DEVELOPING | 161 MANIFEST.in| 12 +- Makefile | 25 - NEWS | 40 + README.dev | 39 + TODO | 37 +- VERSION|1 - bin/analyse| 48 + bin/eclean | 849 +--- bin/epkginfo | 284 +- bin/equery | 28 +- bin/eshowkw|9 + bin/euse | 137 ++- bin/glsa-check | 126 +-- bin/revdep-rebuild | 192 ++-- man/analyse.1 | 210 man/eclean.1 | 31 +- man/epkginfo.1 | 60 +- man/equery.1 | 862 - man/eshowkw.1 | 47 + man/glsa-check.1 | 14 +- man/revdep-rebuild.1 |9 +- pylintrc | 321 ++ pym/gentoolkit/__init__.py | 45 +- pym/gentoolkit/analyse/__init__.py | 128 +++ pym/gentoolkit/analyse/analyse.py | 378 pym/gentoolkit/analyse/base.py | 134 +++ pym/gentoolkit/analyse/lib.py | 352 +++ pym/gentoolkit/analyse/output.py | 213 pym/gentoolkit/analyse/rebuild.py | 235 + pym/gentoolkit/atom.py | 347 +++ pym/gentoolkit/base.py | 149 +++ pym/gentoolkit/cpv.py | 256 + pym/gentoolkit/dbapi.py| 17 + pym/gentoolkit/dependencies.py | 330 +++ pym/gentoolkit/{ => deprecated}/helpers.py | 61 +- pym/gentoolkit/eclean/__init__.py |4 + pym/gentoolkit/eclean/clean.py | 149 +++ pym/gentoolkit/eclean/cli.py | 504 ++ pym/gentoolkit/eclean/exclude.py | 262 + pym/gentoolkit/eclean/output.py| 187 pym/gentoolkit/eclean/pkgindex.py | 91 ++ pym/gentoolkit/eclean/search.py| 569 +++ pym/gentoolkit/eprefix.py | 34 + pym/gentoolkit/equery/__init__.py | 198 ++-- pym/gentoolkit/equery/belongs.py | 168 ++-- pym/gentoolkit/equery/changes.py | 310 ++ pym/gentoolkit/equery/check.py | 370 --- pym/gentoolkit/equery/depends.py | 283 +++--- pym/gentoolkit/equery/depgraph.py | 265 +++-- pym/gentoolkit/equery/files.py | 180 ++-- pym/gentoolkit/equery/has.py | 213 pym/gentoolkit/equery/hasuse.py| 152 +-- pym/gentoolkit/equery/keywords.py |8 + pym/gentoolkit/equery/list_.py | 203 ++-- pym/gentoolkit/equery/meta.py | 609 ++-- pym/gentoolkit/equery/size.py | 137 ++- pym/gentoolkit/equery/uses.py | 240 ++--- pym/gentoolkit/equery/which.py | 51 +- pym/gentoolkit/errors.py | 164 ++-- pym/gentoolkit/eshowkw/__init__.py | 130 +++ pym/gentoolkit/eshowkw/display_pretty.py | 103 ++ pym/gentoolkit/eshowkw/keywords_content.py | 325 +++ pym/gentoolkit/eshowkw/keywords_header.py | 100 ++ pym/gentoolkit/flag.py | 165 pym/gentoolkit/formatters.py | 99 ++ pym/gentoolkit/glsa/__init__.py| 149 +-- pym/gentoolkit/helpers.py | 616 +--- pym/gentoolkit/helpers2.py | 437 --
[gentoo-commits] proj/gentoolkit:master commit in: /
commit: 923f15361bc2ce6f015012e840c5a9e41717abf0 Author: Paul Varner gentoo org> AuthorDate: Thu May 12 02:52:13 2011 + Commit: Paul Varner gentoo org> CommitDate: Thu May 12 02:52:13 2011 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=923f1536 Merge branch 'gentoolkit' of git+ssh://git.overlays.gentoo.org/proj/gentoolkit into gentoolkit bin/{analyse => enalyze} | 6 +-- man/{analyse.1 => enalyze.1} | 46 +++--- pym/gentoolkit/{analyse => enalyze}/__init__.py| 10 ++--- .../{analyse/analyse.py => enalyze/analyze.py} | 46 +++--- pym/gentoolkit/{analyse => enalyze}/base.py| 4 +- pym/gentoolkit/{analyse => enalyze}/lib.py | 4 +- pym/gentoolkit/{analyse => enalyze}/output.py | 2 +- pym/gentoolkit/{analyse => enalyze}/rebuild.py | 26 ++-- 8 files changed, 72 insertions(+), 72 deletions(-)
[gentoo-commits] proj/gentoolkit:master commit in: /
commit: b62586ede6c2716be976a538d41fac836875ed05 Author: Paul Varner gentoo org> AuthorDate: Tue Jan 4 18:52:47 2011 + Commit: Paul Varner gentoo org> CommitDate: Tue Jan 4 18:54:59 2011 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=b62586ed Merge euse from bug 259318 * euse: Add remove option. Remove perl code and change to sed. Add Jared Hancock to the authors. Change mode of eshowkw to 0755 Added euse from bug 259318 bin/eshowkw |0 bin/euse| 1001 ++- man/euse.1 |1 + 3 files changed, 861 insertions(+), 141 deletions(-)
[gentoo-commits] proj/gentoolkit:master commit in: /
commit: d1ee16c4194e7a94c91924d62332363d06e64aae Author: Paul Varner gentoo org> AuthorDate: Mon Feb 6 16:22:51 2012 + Commit: Paul Varner gentoo org> CommitDate: Mon Feb 6 16:22:51 2012 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=d1ee16c4 Merge branch 'gentoolkit' of git+ssh://git.overlays.gentoo.org/proj/gentoolkit into gentoolkit pym/gentoolkit/base.py | 8 ++-- pym/gentoolkit/eclean/cli.py | 11 +++ pym/gentoolkit/equery/__init__.py| 8 +--- pym/gentoolkit/revdep_rebuild/rebuild.py | 7 +-- 4 files changed, 23 insertions(+), 11 deletions(-)
[gentoo-commits] proj/gentoolkit:master commit in: /
commit: 040600057ca333a4285e321a08bdf69cc0f11231 Author: dol-sen gmail com> AuthorDate: Thu Jul 14 01:43:17 2011 + Commit: Paul Varner gentoo org> CommitDate: Thu Jul 14 01:43:17 2011 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=04060005 Merge branch 'gentoolkit' of git+ssh://git.overlays.gentoo.org/proj/gentoolkit into gentoolkit Conflicts: pym/gentoolkit/revdep_rebuild/collect.py pym/gentoolkit/revdep_rebuild/rebuild.py pym/gentoolkit/revdep_rebuild/settings.py pym/gentoolkit/revdep_rebuild/stuff.py
[gentoo-commits] proj/gentoolkit:master commit in: /
commit: c9bd257c7cdd4c64ccefb687643958098c3c6d75 Author: Christian Ruppert gentoo org> AuthorDate: Sat May 28 21:22:12 2011 + Commit: Paul Varner gentoo org> CommitDate: Sat May 28 21:22:12 2011 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=c9bd257c Merge branch 'gentoolkit' of git+ssh://overlays.gentoo.org/proj/gentoolkit into gentoolkit bin/{analyse => enalyze} | 6 +- bin/euse | 111 +++-- bin/revdep-rebuild | 38 --- man/{analyse.1 => enalyze.1} | 46 - pym/gentoolkit/dependencies.py | 41 pym/gentoolkit/eclean/search.py| 16 ++- pym/gentoolkit/{analyse => enalyze}/__init__.py| 10 +- .../{analyse/analyse.py => enalyze/analyze.py} | 46 - pym/gentoolkit/{analyse => enalyze}/base.py| 4 +- pym/gentoolkit/{analyse => enalyze}/lib.py | 4 +- pym/gentoolkit/{analyse => enalyze}/output.py | 2 +- pym/gentoolkit/{analyse => enalyze}/rebuild.py | 26 ++--- pym/gentoolkit/eprefix.py | 28 ++ pym/gentoolkit/equery/__init__.py | 3 + pym/gentoolkit/equery/meta.py | 10 ++ pym/gentoolkit/eshowkw/__init__.py | 12 ++- pym/gentoolkit/eshowkw/display_pretty.py | 9 +- pym/gentoolkit/eshowkw/keywords_content.py | 6 +- pym/gentoolkit/eshowkw/keywords_header.py | 4 +- pym/gentoolkit/flag.py | 3 +- pym/gentoolkit/helpers.py | 2 +- pym/gentoolkit/package.py | 10 +- pym/gentoolkit/test/eclean/test_search.py | 2 +- setup.py | 2 +- 24 files changed, 243 insertions(+), 198 deletions(-)
[gentoo-commits] proj/gentoolkit: Branch deleted: gentoolkit
commit: Commit: Paul Varner gentoo org> CommitDate: Thu Oct 15 16:44:24 2015 + Branch deleted: gentoolkit
[gentoo-commits] proj/gentoolkit-dev: New tag: gentoolkit-dev-0.2.8.1
commit: Commit: Paul Varner gentoo org> CommitDate: Tue Oct 13 21:01:14 2015 + New tag: gentoolkit-dev-0.2.8.1
[gentoo-commits] proj/gentoolkit-dev: New branch: master
commit: Commit: Paul Varner gentoo org> CommitDate: Tue Oct 13 20:34:28 2015 + New branch: master
[gentoo-commits] proj/gentoolkit:gentoolkit commit in: pym/gentoolkit/
commit: 1c0c61bc2b4ed4d53612d5effb36c8483fea1bca Author: Paul Varner gentoo org> AuthorDate: Tue Jun 2 22:09:14 2015 + Commit: Paul Varner gentoo org> CommitDate: Tue Jun 2 22:09:14 2015 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=1c0c61bc gentoolkit: Fix query.py to properly work with sets (Bug 546726) pym/gentoolkit/query.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/gentoolkit/query.py b/pym/gentoolkit/query.py index c0ce977..df6e2fd 100644 --- a/pym/gentoolkit/query.py +++ b/pym/gentoolkit/query.py @@ -362,7 +362,7 @@ class Query(CPV): q = self.query for atom in atoms: - self.query = atom + self.query = str(atom) result.extend(self._do_simple_lookup(show_progress=False)) self.query = q
[gentoo-commits] proj/gentoolkit:gentoolkit commit in: bin/
commit: e6f03e5fb6c26f9ada7fabf25126a135f5ef1dbf Author: Paul Varner gentoo org> AuthorDate: Tue Jun 2 19:30:31 2015 + Commit: Paul Varner gentoo org> CommitDate: Tue Jun 2 19:30:31 2015 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=e6f03e5f euse: Fix 'grep: Unmatched ( or \(' errors with euse -i bin/euse | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/euse b/bin/euse index c3f9f24..56fc917 100755 --- a/bin/euse +++ b/bin/euse @@ -771,7 +771,7 @@ showdesc() { fi # Fetch all the packages data using this flag infos=$( grep -h ":${1} *-" ${PORTAGE_REPO_PATHS[@]/%//profiles/use.local.desc} 2> /dev/null \ - | sed -re "s/^([^:]+):(.*) *- *(.+)/\1|\2|\3/g") + | sed -re "s/^([^:]+):(.*) *- *(.+)/\1|\2|\3/g") OIFS=$IFS; IFS=$'\n'; infos=($infos); IFS=$OIFS; for line in "${infos[@]}"; do OIFS=$IFS; IFS="|"; line=($line); IFS=$OIFS
[gentoo-commits] proj/gentoolkit:gentoolkit commit in: bin/
commit: b7c075d2aeb593f0ddf1450e75b535cafbbd7201 Author: Paul Varner gentoo org> AuthorDate: Thu Apr 23 21:17:12 2015 + Commit: Paul Varner gentoo org> CommitDate: Thu Apr 23 21:17:12 2015 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=b7c075d2 euse: Fix PORTDIR deprecation message. Bug 505160 This change removes the concepts of PORTDIR and PORTDIR_OVERLAY. Portage is moving to the concept of just repositories. This fix searches all repository paths for the USE flag information. bin/euse | 77 ++-- 1 file changed, 16 insertions(+), 61 deletions(-) diff --git a/bin/euse b/bin/euse index e60cab0..c3f9f24 100755 --- a/bin/euse +++ b/bin/euse @@ -112,7 +112,6 @@ get_real_path() { # Performs some basic system sanity checks check_sanity() { # file permission tests - local descdir local make_defaults local make_conf @@ -122,13 +121,9 @@ check_sanity() { [ ! -r "${make_conf}" ] && fatal "${make_conf} is not readable" done - descdir="$(get_portdir)/profiles" [ ! -r "${MAKE_GLOBALS_PATH}" ] && fatal "${MAKE_GLOBALS_PATH} is not readable" - [ -z "$(get_portdir)" ] && fatal "\$PORTDIR couldn't be determined" - [ ! -d "${descdir}" ] && fatal "${descdir} does not exist or is not a directory" - [ ! -r "${descdir}/use.desc" ] && fatal "${descdir}/use.desc is not readable" - [ ! -r "${descdir}/use.local.desc" ] && fatal "${descdir}/use.local.desc is not readable" + [ -z "$PORTAGE_REPO_PATHS" ] && fatal "Repository paths couldn't be determined" for make_defaults in $(get_all_make_defaults); do [ ! -r "$make_defaults" ] && fatal "$_make_defaults is not readable" @@ -277,9 +272,6 @@ get_useflags() { # only calculate once as calling emerge is painfully slow [ -n "${USE_FLAGS_CALCULATED}" ] && return - # backup portdir so get_portdir() doesn't give false results later - portdir_backup="${PORTDIR}" - ACTIVE_FLAGS[0]="$(reduce_incrementals "${USE}")" USE="" for x in $(get_all_make_conf); do @@ -298,7 +290,6 @@ get_useflags() { # restore saved env variables USE="${ACTIVE_FLAGS[0]}" - PORTDIR="${portdir_backup}" # # Traverse through use.mask and use.force (0.5s) @@ -345,7 +336,7 @@ get_portageuseflags() { get_useflaglist() { local descdir local overlay - for profiledir in ${ALL_PORTDIRS[@]}; do + for profiledir in ${PORTAGE_REPO_PATHS[@]}; do descdir="${profiledir}/profiles" if [[ -z ${SCOPE} || ${SCOPE} == "global" ]]; then [[ ! -s "${descdir}/use.desc" ]] && continue @@ -378,7 +369,6 @@ get_useflaglist() { # Nothing significant # # Environment: -# PORTDIR - Root of portage tree # ACTIVE_FLAGS - Array of current use flag info # get_useflaglist_ebuild() { @@ -390,7 +380,7 @@ get_useflaglist_ebuild() { fi local pkg=$(echo ${1} | cut -d/ -f2) declare append - for portdir in ${ALL_PORTDIRS[@]}; do + for portdir in ${PORTAGE_REPO_PATHS[@]}; do if [[ -s "${portdir}/profiles/repo_name" ]]; then overlay="$(cat "${portdir}/profiles/repo_name")" else @@ -447,7 +437,9 @@ get_all_make_conf() { # General method of collecting the contents of a profile # component by traversing through the cascading profile # -# Bug #414961 allows ':' shorthand to resolve to the ${PORTDIR}/profiles +# Bug #414961 allows ':' shorthand to resolve to the profiles directory in a +# repository +# # A value before the ':' references the repository, no value means same repo # # Example: local:base would refer to the profiles directory in the repository @@ -645,8 +637,8 @@ get_flagstatus() { # 4 - (Optional) version of package to evaluate (empty means all versions) # # Outputs: -# Flag status for package.use and ebuild, slot and version, and overlay -# the version lives is if not PORTDIR +# Flag status for package.use and ebuild, slot and version, and repository +# the version lives in if not gentoo # # Full positive would be "[+PB]", full negative would be "[-pb]", and full # missing would be "[? ]", question because the sign will default to the @@ -707,41 +699,6 @@ get_flagstatus_pkg() { echo } # }}} -# Function: get_portdir {{{ -# faster replacement to `por
[gentoo-commits] gentoo-x86 commit in sys-apps/gentoo-functions: ChangeLog gentoo-functions-0.9.ebuild gentoo-functions-9999.ebuild
fuzzyray15/03/18 21:42:34 Modified: ChangeLog gentoo-functions-0.9.ebuild gentoo-functions-.ebuild Log: Fix ebuilds to install files to prefix filesystem. (Bug 543710) (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x6E1CBA7B) Revision ChangesPath 1.29 sys-apps/gentoo-functions/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gentoo-functions/ChangeLog?rev=1.29&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gentoo-functions/ChangeLog?rev=1.29&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gentoo-functions/ChangeLog?r1=1.28&r2=1.29 Index: ChangeLog === RCS file: /var/cvsroot/gentoo-x86/sys-apps/gentoo-functions/ChangeLog,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- ChangeLog 17 Mar 2015 18:14:57 - 1.28 +++ ChangeLog 18 Mar 2015 21:42:34 - 1.29 @@ -1,6 +1,10 @@ # ChangeLog for sys-apps/gentoo-functions # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/gentoo-functions/ChangeLog,v 1.28 2015/03/17 18:14:57 williamh Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/gentoo-functions/ChangeLog,v 1.29 2015/03/18 21:42:34 fuzzyray Exp $ + + 18 Mar 2015; Paul Varner gentoo-functions-0.9.ebuild, + gentoo-functions-.ebuild: + Fix ebuilds to install files to prefix filesystem. (Bug 543710) *gentoo-functions-0.9 (17 Mar 2015) 1.2 sys-apps/gentoo-functions/gentoo-functions-0.9.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gentoo-functions/gentoo-functions-0.9.ebuild?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gentoo-functions/gentoo-functions-0.9.ebuild?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gentoo-functions/gentoo-functions-0.9.ebuild?r1=1.1&r2=1.2 Index: gentoo-functions-0.9.ebuild === RCS file: /var/cvsroot/gentoo-x86/sys-apps/gentoo-functions/gentoo-functions-0.9.ebuild,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- gentoo-functions-0.9.ebuild 17 Mar 2015 18:14:57 - 1.1 +++ gentoo-functions-0.9.ebuild 18 Mar 2015 21:42:34 - 1.2 @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/gentoo-functions/gentoo-functions-0.9.ebuild,v 1.1 2015/03/17 18:14:57 williamh Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/gentoo-functions/gentoo-functions-0.9.ebuild,v 1.2 2015/03/18 21:42:34 fuzzyray Exp $ EAPI=5 @@ -24,3 +24,7 @@ src_prepare() { tc-export CC } + +src_install() { + emake install DESTDIR="${ED}" +} 1.5 sys-apps/gentoo-functions/gentoo-functions-.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gentoo-functions/gentoo-functions-.ebuild?rev=1.5&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gentoo-functions/gentoo-functions-.ebuild?rev=1.5&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gentoo-functions/gentoo-functions-.ebuild?r1=1.4&r2=1.5 Index: gentoo-functions-.ebuild === RCS file: /var/cvsroot/gentoo-x86/sys-apps/gentoo-functions/gentoo-functions-.ebuild,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- gentoo-functions-.ebuild6 Jul 2014 21:24:10 - 1.4 +++ gentoo-functions-.ebuild18 Mar 2015 21:42:34 - 1.5 @@ -1,6 +1,6 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/gentoo-functions/gentoo-functions-.ebuild,v 1.4 2014/07/06 21:24:10 williamh Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/gentoo-functions/gentoo-functions-.ebuild,v 1.5 2015/03/18 21:42:34 fuzzyray Exp $ EAPI=5 @@ -24,3 +24,7 @@ src_prepare() { tc-export CC } + +src_install() { + emake install DESTDIR="${ED}" +}
[gentoo-commits] gentoo-x86 commit in app-portage/ufed: ChangeLog ufed-0.92.ebuild
fuzzyray15/03/02 23:16:42 Modified: ChangeLog Added:ufed-0.92.ebuild Log: Version bump. (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 0x6E1CBA7B) Revision ChangesPath 1.109app-portage/ufed/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/ufed/ChangeLog?rev=1.109&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/ufed/ChangeLog?rev=1.109&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/ufed/ChangeLog?r1=1.108&r2=1.109 Index: ChangeLog === RCS file: /var/cvsroot/gentoo-x86/app-portage/ufed/ChangeLog,v retrieving revision 1.108 retrieving revision 1.109 diff -u -r1.108 -r1.109 --- ChangeLog 2 Nov 2014 09:10:15 - 1.108 +++ ChangeLog 2 Mar 2015 23:16:42 - 1.109 @@ -1,6 +1,11 @@ # ChangeLog for app-portage/ufed -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/ufed/ChangeLog,v 1.108 2014/11/02 09:10:15 ago Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-portage/ufed/ChangeLog,v 1.109 2015/03/02 23:16:42 fuzzyray Exp $ + +*ufed-0.92 (02 Mar 2015) + + 02 Mar 2015; Paul Varner +ufed-0.92.ebuild: + Version bump 02 Nov 2014; Agostino Sarubbo ufed-0.91.ebuild: Stable for alpha, wrt bug #524670 1.1 app-portage/ufed/ufed-0.92.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/ufed/ufed-0.92.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/ufed/ufed-0.92.ebuild?rev=1.1&content-type=text/plain Index: ufed-0.92.ebuild === # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-portage/ufed/ufed-0.92.ebuild,v 1.1 2015/03/02 23:16:42 fuzzyray Exp $ EAPI=5 inherit base eutils multilib autotools DESCRIPTION="Gentoo Linux USE flags editor" HOMEPAGE="http://www.gentoo.org/"; SRC_URI="mirror://gentoo/${P}.tar.bz2 http://dev.gentoo.org/~fuzzyray/distfiles/${P}.tar.bz2"; LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" IUSE="" COMMON_DEPEND="sys-libs/ncurses" RDEPEND="${COMMON_DEPEND} dev-lang/perl" DEPEND="${COMMON_DEPEND} virtual/pkgconfig" # Populate the patches array for patches applied for -rX releases # It is an array of patch file names of the form: # "${FILESDIR}"/${P}-make.globals-path.patch PATCHES=() src_prepare() { base_src_prepare # Change the version number to reflect the ebuild version sed -i "s:,\[git\],:,\[${PVR}\],:" configure.ac eautoreconf } src_configure() { econf --libexecdir="${EPREFIX}"/usr/$(get_libdir)/ufed }
[gentoo-commits] gentoo-x86 commit in app-portage/esearch: ChangeLog esearch-1.3.ebuild
fuzzyray15/03/02 22:32:09 Modified: ChangeLog Removed: esearch-1.3.ebuild Log: Remove old version (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 0x6E1CBA7B) Revision ChangesPath 1.127app-portage/esearch/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/esearch/ChangeLog?rev=1.127&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/esearch/ChangeLog?rev=1.127&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/esearch/ChangeLog?r1=1.126&r2=1.127 Index: ChangeLog === RCS file: /var/cvsroot/gentoo-x86/app-portage/esearch/ChangeLog,v retrieving revision 1.126 retrieving revision 1.127 diff -u -r1.126 -r1.127 --- ChangeLog 2 Mar 2015 22:27:33 - 1.126 +++ ChangeLog 2 Mar 2015 22:32:09 - 1.127 @@ -1,6 +1,9 @@ # ChangeLog for app-portage/esearch # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/esearch/ChangeLog,v 1.126 2015/03/02 22:27:33 fuzzyray Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/esearch/ChangeLog,v 1.127 2015/03/02 22:32:09 fuzzyray Exp $ + + 02 Mar 2015; Paul Varner -esearch-1.3.ebuild: + Remove old version 02 Mar 2015; Paul Varner esearch-1.3-r1.ebuild, esearch-.ebuild:
[gentoo-commits] gentoo-x86 commit in app-portage/esearch: esearch-1.3-r1.ebuild ChangeLog esearch-9999.ebuild
fuzzyray15/03/02 22:27:33 Modified: esearch-1.3-r1.ebuild ChangeLog esearch-.ebuild Log: Change HOMEPAGE to github repository (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 0x6E1CBA7B) Revision ChangesPath 1.12 app-portage/esearch/esearch-1.3-r1.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/esearch/esearch-1.3-r1.ebuild?rev=1.12&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/esearch/esearch-1.3-r1.ebuild?rev=1.12&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/esearch/esearch-1.3-r1.ebuild?r1=1.11&r2=1.12 Index: esearch-1.3-r1.ebuild === RCS file: /var/cvsroot/gentoo-x86/app-portage/esearch/esearch-1.3-r1.ebuild,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- esearch-1.3-r1.ebuild 26 Nov 2014 10:41:10 - 1.11 +++ esearch-1.3-r1.ebuild 2 Mar 2015 22:27:33 - 1.12 @@ -1,6 +1,6 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/esearch/esearch-1.3-r1.ebuild,v 1.11 2014/11/26 10:41:10 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/esearch/esearch-1.3-r1.ebuild,v 1.12 2015/03/02 22:27:33 fuzzyray Exp $ EAPI="5" PYTHON_COMPAT=(python{2_6,2_7,3_2,3_3,3_4}) @@ -9,7 +9,7 @@ inherit distutils-r1 DESCRIPTION="Replacement for 'emerge --search' with search-index" -HOMEPAGE="http://david-peter.de/esearch.html"; +HOMEPAGE="https://github.com/fuzzyray/esearch"; SRC_URI="mirror://github/fuzzyray/${PN}/${P}.tar.gz" LICENSE="GPL-2" 1.126app-portage/esearch/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/esearch/ChangeLog?rev=1.126&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/esearch/ChangeLog?rev=1.126&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/esearch/ChangeLog?r1=1.125&r2=1.126 Index: ChangeLog === RCS file: /var/cvsroot/gentoo-x86/app-portage/esearch/ChangeLog,v retrieving revision 1.125 retrieving revision 1.126 diff -u -r1.125 -r1.126 --- ChangeLog 26 Nov 2014 10:41:10 - 1.125 +++ ChangeLog 2 Mar 2015 22:27:33 - 1.126 @@ -1,6 +1,10 @@ # ChangeLog for app-portage/esearch -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/esearch/ChangeLog,v 1.125 2014/11/26 10:41:10 pacho Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-portage/esearch/ChangeLog,v 1.126 2015/03/02 22:27:33 fuzzyray Exp $ + + 02 Mar 2015; Paul Varner esearch-1.3-r1.ebuild, + esearch-.ebuild: + Change HOMEPAGE to github repository. 26 Nov 2014; Pacho Ramos esearch-1.3-r1.ebuild, esearch-.ebuild: 1.8 app-portage/esearch/esearch-.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/esearch/esearch-.ebuild?rev=1.8&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/esearch/esearch-.ebuild?rev=1.8&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/esearch/esearch-.ebuild?r1=1.7&r2=1.8 Index: esearch-.ebuild === RCS file: /var/cvsroot/gentoo-x86/app-portage/esearch/esearch-.ebuild,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- esearch-.ebuild 26 Nov 2014 10:41:10 - 1.7 +++ esearch-.ebuild 2 Mar 2015 22:27:33 - 1.8 @@ -1,6 +1,6 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/esearch/esearch-.ebuild,v 1.7 2014/11/26 10:41:10 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/esearch/esearch-.ebuild,v 1.8 2015/03/02 22:27:33 fuzzyray Exp $ EAPI="5" PYTHON_COMPAT=(python{2_6,2_7,3_2,3_3,3_4}) @@ -11,7 +11,7 @@ EGIT_REPO_URI="git://github.com/fuzzyray/esearch.git" DESCRIPTION="Replacement for 'emerge --search' with search-index" -HOMEPAGE="http://david-peter.de/esearch.html"; +HOMEPAGE="https://github.com/fuzzyray/esearch"; SRC_URI="" LICENSE="GPL-2"
[gentoo-commits] gentoo-x86 commit in app-portage/genlop/files: genlop-0.30.10-sync.patch genlop-0.30.8-version.patch genlop-0.30.8-compiling-category.patch
fuzzyray15/02/25 21:12:42 Added:genlop-0.30.10-sync.patch Removed: genlop-0.30.8-version.patch genlop-0.30.8-compiling-category.patch Log: Revision bump to fix genlop -r with new portage sync code (Bug 540050). Remove uneeded patches. (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 0x6E1CBA7B) Revision ChangesPath 1.1 app-portage/genlop/files/genlop-0.30.10-sync.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/genlop/files/genlop-0.30.10-sync.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/genlop/files/genlop-0.30.10-sync.patch?rev=1.1&content-type=text/plain Index: genlop-0.30.10-sync.patch === >From 46eb6a5a9a90049920ea84018b69b643c2809bfa Mon Sep 17 00:00:00 2001 From: Paul Varner Date: Thu, 19 Feb 2015 09:46:47 -0600 Subject: [PATCH] Fix genlop -r to work with new Portage sync code. (Bug 540050) --- genlop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/genlop b/genlop index e36c678..4e0faf0 100755 --- a/genlop +++ b/genlop @@ -968,7 +968,7 @@ sub rsync() { my $handle; open_file($_, \$handle); while(<$handle>) { - if ($_ =~ m/^(.*?)\: \=\=\= Sync completed with/) { + if ($_ =~ m/^(.*?)\: \=\=\= Sync completed/) { if ($date_found) { if (datecompare($1) <= 0) { next; -- 2.3.0
[gentoo-commits] gentoo-x86 commit in app-portage/genlop: ChangeLog genlop-0.30.10-r1.ebuild
fuzzyray15/02/25 21:12:43 Modified: ChangeLog Added:genlop-0.30.10-r1.ebuild Log: Revision bump to fix genlop -r with new portage sync code (Bug 540050). Remove uneeded patches. (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 0x6E1CBA7B) Revision ChangesPath 1.95 app-portage/genlop/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/genlop/ChangeLog?rev=1.95&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/genlop/ChangeLog?rev=1.95&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/genlop/ChangeLog?r1=1.94&r2=1.95 Index: ChangeLog === RCS file: /var/cvsroot/gentoo-x86/app-portage/genlop/ChangeLog,v retrieving revision 1.94 retrieving revision 1.95 diff -u -r1.94 -r1.95 --- ChangeLog 2 Jan 2015 22:32:49 - 1.94 +++ ChangeLog 25 Feb 2015 21:12:42 - 1.95 @@ -1,6 +1,14 @@ # ChangeLog for app-portage/genlop # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/genlop/ChangeLog,v 1.94 2015/01/02 22:32:49 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/genlop/ChangeLog,v 1.95 2015/02/25 21:12:42 fuzzyray Exp $ + +*genlop-0.30.10-r1 (25 Feb 2015) + + 25 Feb 2015; Paul Varner +genlop-0.30.10-r1.ebuild, + -files/genlop-0.30.8-compiling-category.patch, + -files/genlop-0.30.8-version.patch, +files/genlop-0.30.10-sync.patch: + Revision bump to fix genlop -r with new portage sync code (Bug 540050). + Remove uneeded patches. 02 Jan 2015; Michał Górny -genlop-0.30.8-r2.ebuild, -genlop-0.30.9.ebuild: 1.1 app-portage/genlop/genlop-0.30.10-r1.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/genlop/genlop-0.30.10-r1.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/genlop/genlop-0.30.10-r1.ebuild?rev=1.1&content-type=text/plain Index: genlop-0.30.10-r1.ebuild === # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-portage/genlop/genlop-0.30.10-r1.ebuild,v 1.1 2015/02/25 21:12:42 fuzzyray Exp $ EAPI=5 inherit base bash-completion-r1 DESCRIPTION="A nice emerge.log parser" HOMEPAGE="http://www.gentoo.org/proj/en/perl"; SRC_URI="http://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" IUSE="" DEPEND="dev-lang/perl dev-perl/DateManip dev-perl/libwww-perl" RDEPEND="${DEPEND}" # Populate the patches array for any patches for -rX releases PATCHES=( "${FILESDIR}"/${P}-sync.patch ) src_install() { dobin genlop dodoc README Changelog doman genlop.1 newbashcomp genlop.bash-completion genlop }
[gentoo-commits] proj/gentoolkit:gentoolkit commit in: bin/
commit: 6f5d03a6bd34f684331837575560babfa91899ea Author: Paul Varner gentoo org> AuthorDate: Fri Jan 23 21:19:42 2015 + Commit: Paul Varner gentoo org> CommitDate: Fri Jan 23 21:19:42 2015 + URL: http://sources.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=6f5d03a6 Fix eread to only display elog files. (Bug 534686) --- bin/eread | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/eread b/bin/eread index d74a167..fe095a6 100755 --- a/bin/eread +++ b/bin/eread @@ -34,13 +34,13 @@ PS3="Choice? " SORT=${EREAD_SORT_ORDER} find_unsorted() { - find . -type f | sed -e "s:\./::g" + find . -name '*:*:*.log*' | sed -e "s:\./::g" } find_by_name() { - find . -type f | sort | sed -e "s:\./::g" + find . -name '*:*:*.log*' | sort | sed -e "s:\./::g" } find_by_time() { - find . -type f | sort -k 3 -t : | sed -e "s:\./::g" + find . -name '*:*:*.log*' | sort -k 3 -t : | sed -e "s:\./::g" } find_files() { case ${SORT} in
[gentoo-commits] proj/gentoolkit:gentoolkit commit in: pym/gentoolkit/revdep_rebuild/
commit: 758d932ca31ceb323bb988108e3f64e05cd5731d Author: Paul Varner gentoo org> AuthorDate: Wed Nov 12 21:28:58 2014 + Commit: Paul Varner gentoo org> CommitDate: Wed Nov 12 21:28:58 2014 + URL: http://sources.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=758d932c revdep-rebuild.py: Fix recent changes to work with Python 3 --- pym/gentoolkit/revdep_rebuild/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/gentoolkit/revdep_rebuild/settings.py b/pym/gentoolkit/revdep_rebuild/settings.py index fa91685..3a653a5 100644 --- a/pym/gentoolkit/revdep_rebuild/settings.py +++ b/pym/gentoolkit/revdep_rebuild/settings.py @@ -53,7 +53,7 @@ def parse_options(): # TODO: Verify: options: no-ld-path, no-order, no-progress #are not appliable - from rebuild import VERSION, APP_NAME + from .rebuild import VERSION, APP_NAME settings = DEFAULTS.copy() parser = argparse.ArgumentParser(
[gentoo-commits] gentoo-x86 commit in app-portage/gentoolkit/files: 0.3.0.9-equery-strip-XXXFLAGS.patch 0.3.0.9-revdep-rebuild-526400.patch 0.3.0.9-equery-508114.patch
fuzzyray14/11/12 17:45:13 Added:0.3.0.9-equery-strip-XXXFLAGS.patch 0.3.0.9-revdep-rebuild-526400.patch 0.3.0.9-equery-508114.patch Log: Revision bump to add patches (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x6E1CBA7B) Revision ChangesPath 1.1 app-portage/gentoolkit/files/0.3.0.9-equery-strip-XXXFLAGS.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/files/0.3.0.9-equery-strip-XXXFLAGS.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/files/0.3.0.9-equery-strip-XXXFLAGS.patch?rev=1.1&content-type=text/plain Index: 0.3.0.9-equery-strip-XXXFLAGS.patch === >From 1351a6b8f09ab2f4a7469d6e2be874b56a31d3c4 Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Thu, 28 Aug 2014 20:56:22 -0700 Subject: [PATCH 03/14] equery has: Add CFLAGS, CXXFLAGS, LDFLAGS to strip the leading '-' Strip the leading '-' from values found in these files. --- pym/gentoolkit/equery/has.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/gentoolkit/equery/has.py b/pym/gentoolkit/equery/has.py index 15c60b9..180f7f0 100644 --- a/pym/gentoolkit/equery/has.py +++ b/pym/gentoolkit/equery/has.py @@ -74,7 +74,7 @@ def query_in_env(query, env_var, pkg): """Check if the query is in the pkg's environment.""" try: - if env_var in ("USE", "IUSE"): + if env_var in ("USE", "IUSE", "CFLAGS", "CXXFLAGS", "LDFLAGS"): results = set( [x.lstrip("+-") for x in pkg.environment(env_var).split()] ) -- 2.1.3 1.1 app-portage/gentoolkit/files/0.3.0.9-revdep-rebuild-526400.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/files/0.3.0.9-revdep-rebuild-526400.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/files/0.3.0.9-revdep-rebuild-526400.patch?rev=1.1&content-type=text/plain Index: 0.3.0.9-revdep-rebuild-526400.patch === >From 91023ef967c680db9307b5c58762e8872346167e Mon Sep 17 00:00:00 2001 From: Paul Varner Date: Fri, 24 Oct 2014 12:59:59 -0500 Subject: [PATCH 06/14] Fix gawk warning escape sequence \. treated as plain. Bug 526400 --- bin/revdep-rebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/revdep-rebuild.sh b/bin/revdep-rebuild.sh index 3179a83..01a0454 100755 --- a/bin/revdep-rebuild.sh +++ b/bin/revdep-rebuild.sh @@ -842,7 +842,7 @@ main_checks() { done < <( # Regexify LD_LIBRARY_MASK. Exclude it from the search. LD_LIBRARY_MASK="${LD_LIBRARY_MASK//$'\n'/|}" - gawk -v ldmask="(${LD_LIBRARY_MASK//./\\\.})" ' + gawk -v ldmask="(${LD_LIBRARY_MASK//./.})" ' /no version information available/ && $0 !~ ldmask { gsub(/[()]/, "", $NF) if (seen[$NF]++) next -- 2.1.3 1.1 app-portage/gentoolkit/files/0.3.0.9-equery-508114.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/files/0.3.0.9-equery-508114.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/files/0.3.0.9-equery-508114.patch?rev=1.1&content-type=text/plain Index: 0.3.0.9-equery-508114.patch === >From 9a33ceffe2e0045bf75b1209a90e9a53530d4e0d Mon Sep 17 00:00:00 2001 From: Tobias Heinlein Date: Sat, 19 Apr 2014 18:39:03 +0200 Subject: [PATCH 01/14] equery: Don't always print the license field (bug #508114). --- pym/gentoolkit/equery/meta.py | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pym/gentoolkit/equery/meta.py b/pym/gentoolkit/equery/meta.py index e2d2124..d3342cd 100644 --- a/pym/gentoolkit/equery/meta.py +++ b/pym/gentoolkit/equery/meta.py @@ -373,12 +373,13 @@ def call_format_functions(best_match, matches): useflags = format_useflags(best_match.metadata.use()) print_sequence(format_list(useflags)) - _license = best_match.environment(["LICENSE"]) - if QUERY_OPTS["license"]: - _license = format_list(_license) -
[gentoo-commits] gentoo-x86 commit in app-portage/gentoolkit: gentoolkit-9999.ebuild ChangeLog gentoolkit-0.3.0.9-r2.ebuild
fuzzyray14/11/12 17:45:14 Modified: gentoolkit-.ebuild ChangeLog Added:gentoolkit-0.3.0.9-r2.ebuild Log: Revision bump to add patches (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x6E1CBA7B) Revision ChangesPath 1.36 app-portage/gentoolkit/gentoolkit-.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/gentoolkit-.ebuild?rev=1.36&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/gentoolkit-.ebuild?rev=1.36&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/gentoolkit-.ebuild?r1=1.35&r2=1.36 Index: gentoolkit-.ebuild === RCS file: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-.ebuild,v retrieving revision 1.35 retrieving revision 1.36 diff -u -r1.35 -r1.36 --- gentoolkit-.ebuild 6 Jul 2014 12:35:20 - 1.35 +++ gentoolkit-.ebuild 12 Nov 2014 17:45:13 - 1.36 @@ -1,10 +1,10 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-.ebuild,v 1.35 2014/07/06 12:35:20 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-.ebuild,v 1.36 2014/11/12 17:45:13 fuzzyray Exp $ EAPI="5" -PYTHON_COMPAT=(python{2_6,2_7,3_2,3_3} pypy pypy2_0) +PYTHON_COMPAT=(python{2_6,2_7,3_2,3_3,3_4} pypy pypy2_0) PYTHON_REQ_USE="xml(+)" EGIT_MASTER="gentoolkit" 1.315app-portage/gentoolkit/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/ChangeLog?rev=1.315&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/ChangeLog?rev=1.315&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/ChangeLog?r1=1.314&r2=1.315 Index: ChangeLog === RCS file: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/ChangeLog,v retrieving revision 1.314 retrieving revision 1.315 diff -u -r1.314 -r1.315 --- ChangeLog 6 Jul 2014 12:35:20 - 1.314 +++ ChangeLog 12 Nov 2014 17:45:13 - 1.315 @@ -1,6 +1,18 @@ # ChangeLog for app-portage/gentoolkit # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/ChangeLog,v 1.314 2014/07/06 12:35:20 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/ChangeLog,v 1.315 2014/11/12 17:45:13 fuzzyray Exp $ + +*gentoolkit-0.3.0.9-r2 (12 Nov 2014) + + 12 Nov 2014; Paul Varner +gentoolkit-0.3.0.9-r2.ebuild, + gentoolkit-.ebuild, +files/0.3.0.9-equery-508114.patch, + +files/0.3.0.9-revdep-rebuild-526400.patch, + +files/0.3.0.9-equery-strip-XXXFLAGS.patch: + Revision bump to add patches for the following: + revdep-rebuild: Fix gawk warning. Bug 526400 + equery: strip leading '-' from CFLAGS, CXXFLAGS, LDFLAGS + equery: Don't always print license field. Bug 508114 + Added Python 3.4 to PYTHON_COMPAT 06 Jul 2014; Michał Górny gentoolkit-0.3.0.8-r2.ebuild, gentoolkit-0.3.0.9-r1.ebuild, gentoolkit-0.3.0.9.ebuild, 1.1 app-portage/gentoolkit/gentoolkit-0.3.0.9-r2.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.9-r2.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.9-r2.ebuild?rev=1.1&content-type=text/plain Index: gentoolkit-0.3.0.9-r2.ebuild === # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.9-r2.ebuild,v 1.1 2014/11/12 17:45:13 fuzzyray Exp $ EAPI="5" PYTHON_COMPAT=(python{2_6,2_7,3_2,3_3,3_4} pypy pypy2_0) PYTHON_REQ_USE="xml(+)" inherit distutils-r1 DESCRIPTION="Collection of administration scripts for Gentoo" HOMEPAGE="http://www.gentoo.org/proj/en/portage/tools/index.xml"; SRC_URI="mirror://gentoo/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" IUSE="" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" DEPEND="sys-apps/portage[${PYTHON_USEDEP}]" RDEPEND="${DEPEND} !<
[gentoo-commits] proj/gentoolkit:gentoolkit commit in: man/, bin/
commit: 14f2062ff0ce73d0118f960bad8e15425b73e538 Author: Paul Varner gentoo org> AuthorDate: Tue Nov 11 16:31:33 2014 + Commit: Paul Varner gentoo org> CommitDate: Tue Nov 11 16:31:33 2014 + URL: http://sources.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=14f2062f revdep-rebuild.sh: Look for issues with symbols. (Bug 63643) These changes cause revdep-rebuild.sh to unconditionally look for "Symbol not defined" in ldd -d -r ouput. Additionally, it adds the options -u, --search-symbols to look for "undefined symbol". Using this option will cause false positives in the revdep-rebuild output. --- bin/revdep-rebuild.sh | 38 -- man/revdep-rebuild.1 | 3 +++ 2 files changed, 39 insertions(+), 2 deletions(-) diff --git a/bin/revdep-rebuild.sh b/bin/revdep-rebuild.sh index 01a0454..633701e 100755 --- a/bin/revdep-rebuild.sh +++ b/bin/revdep-rebuild.sh @@ -54,6 +54,7 @@ declare ORDER_PKGS # ...sort the atoms in deep dependency order declare PACKAGE_NAMES # ...emerge by slot, not by versionated atom declare RM_OLD_TEMPFILES # ...remove tempfiles from prior runs declare SEARCH_BROKEN # ...search for broken libraries and binaries +declare SEARCH_SYMBOLS # ...search for broken binaries with undefined symbols declare VERBOSE# ...give verbose output # Globals that impact portage directly: @@ -191,6 +192,7 @@ Broken reverse dependency rebuilder. (also passed to emerge command) -P, --no-progressTurn off the progress meter -q, --quiet Be less verbose (also passed to emerge command) + -u, --search-symbols Search for undefined symbols (may have false positives) -v, --verboseBe more verbose (also passed to emerge command) Calls emerge, options after -- are ignored by $APP_NAME @@ -390,6 +392,7 @@ get_longopts() { --quiet) progress() { :; } QUIET=1 EMERGE_OPTIONS+=($1);; + --search-symbols) SEARCH_SYMBOLS=1;; --verbose) VERBOSE=1 EMERGE_OPTIONS+=("--verbose");; --extra-verbose) warn_deprecated_opt "$1" "--verbose" @@ -408,7 +411,7 @@ get_longopts() { # Get single-letter commandline options preceded by a single dash. get_shortopts() { local OPT OPTSTRING OPTARG OPTIND - while getopts ":CdehikL:loPpqu:vX" OPT; do + while getopts ":CdehikL:loPpquvX" OPT; do case "$OPT" in C) # TODO: Match syntax with the rest of gentoolkit export NOCOLOR="yes";; @@ -429,6 +432,7 @@ get_shortopts() { q) progress() { :; } QUIET=1 EMERGE_OPTIONS+=("--quiet");; + u) SEARCH_SYMBOLS=1;; v) VERBOSE=1 EMERGE_OPTIONS+=("--verbose");; X) # No longer used, since it is the default. @@ -732,6 +736,8 @@ main_checks() { local ldd_status local numFiles local COMPLETE_LD_LIBRARY_PATH + local message + local broken_lib if [[ $SEARCH_BROKEN && $FULL_LD_PATH ]]; then [[ -r "$LDPATH_FILE" && -s "$LDPATH_FILE" ]] || die 1 "Unable to find $LDPATH_FILE" @@ -748,7 +754,7 @@ main_checks() { if [[ $target_file != *.la ]]; then # Note: double checking seems to be faster than single with complete path # (special add ons are rare). - ldd_output=$(ldd "$target_file" 2>> "$ERRORS_FILE" | sort -u) + ldd_output=$(ldd -d -r "$target_file" 2>> "$ERRORS_FILE" | sort -u) ldd_status=$? # TODO: Check this for problems with sort # HACK: if LD_LIBRARY_MASK is null or undefined grep -vF doesn't work if grep -vF "${LD_LIBRARY_MASK:=$'\a'}" <<< "$ldd_output" | @@ -794,6 +800,34 @@ main_checks() { fi fi fi + # Search for symbols not defined + if [[ $SEARCH_BROKEN ]]; then +
[gentoo-commits] proj/gentoolkit:gentoolkit commit in: pym/gentoolkit/revdep_rebuild/
commit: ed4f69668755d222ae782d09e810c5bb1a94e67a Author: Paul Varner gentoo org> AuthorDate: Thu Oct 30 18:55:25 2014 + Commit: Paul Varner gentoo org> CommitDate: Thu Oct 30 18:55:25 2014 + URL: http://sources.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=ed4f6966 revdep-rebuild: Fix python version to honor --debug --- pym/gentoolkit/revdep_rebuild/rebuild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/gentoolkit/revdep_rebuild/rebuild.py b/pym/gentoolkit/revdep_rebuild/rebuild.py index 216714c..fcbd76e 100644 --- a/pym/gentoolkit/revdep_rebuild/rebuild.py +++ b/pym/gentoolkit/revdep_rebuild/rebuild.py @@ -53,7 +53,7 @@ def init_logger(settings): logger.setLevel(logging.ERROR) elif settings['VERBOSITY'] == 2: logger.setLevel(logging.INFO) - elif settings['debug']: + elif settings['VERBOSITY'] == 3: logger.setLevel(logging.DEBUG) else: logger.setLevel(logging.WARNING)
[gentoo-commits] proj/gentoolkit:gentoolkit commit in: bin/
commit: 91023ef967c680db9307b5c58762e8872346167e Author: Paul Varner gentoo org> AuthorDate: Fri Oct 24 17:59:59 2014 + Commit: Paul Varner gentoo org> CommitDate: Fri Oct 24 17:59:59 2014 + URL: http://sources.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=91023ef9 Fix gawk warning escape sequence \. treated as plain. Bug 526400 --- bin/revdep-rebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/revdep-rebuild.sh b/bin/revdep-rebuild.sh index 3179a83..01a0454 100755 --- a/bin/revdep-rebuild.sh +++ b/bin/revdep-rebuild.sh @@ -842,7 +842,7 @@ main_checks() { done < <( # Regexify LD_LIBRARY_MASK. Exclude it from the search. LD_LIBRARY_MASK="${LD_LIBRARY_MASK//$'\n'/|}" - gawk -v ldmask="(${LD_LIBRARY_MASK//./\\\.})" ' + gawk -v ldmask="(${LD_LIBRARY_MASK//./.})" ' /no version information available/ && $0 !~ ldmask { gsub(/[()]/, "", $NF) if (seen[$NF]++) next
[gentoo-commits] gentoo-x86 commit in app-portage/elogviewer: elogviewer-0.6.2-r3.ebuild ChangeLog
fuzzyray14/07/24 16:00:50 Modified: ChangeLog Added:elogviewer-0.6.2-r3.ebuild Log: Bump EAPI from 3 to 5 and update to use python-r1 eclass. (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xDCB4A7FF) Revision ChangesPath 1.51 app-portage/elogviewer/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/elogviewer/ChangeLog?rev=1.51&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/elogviewer/ChangeLog?rev=1.51&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/elogviewer/ChangeLog?r1=1.50&r2=1.51 Index: ChangeLog === RCS file: /var/cvsroot/gentoo-x86/app-portage/elogviewer/ChangeLog,v retrieving revision 1.50 retrieving revision 1.51 diff -u -r1.50 -r1.51 --- ChangeLog 21 Jul 2014 23:27:36 - 1.50 +++ ChangeLog 24 Jul 2014 16:00:50 - 1.51 @@ -1,6 +1,11 @@ # ChangeLog for app-portage/elogviewer # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/elogviewer/ChangeLog,v 1.50 2014/07/21 23:27:36 fuzzyray Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/elogviewer/ChangeLog,v 1.51 2014/07/24 16:00:50 fuzzyray Exp $ + +*elogviewer-0.6.2-r3 (24 Jul 2014) + + 24 Jul 2014; Paul Varner +elogviewer-0.6.2-r3.ebuild: + Bump EAPI from 3 to 5 and update to use python-r1 eclass. 21 Jul 2014; Paul Varner +elogviewer-0.6.2-r2.ebuild: Restore elogviewer-0.6.2-r2 due to user request. Bug #515654 1.1 app-portage/elogviewer/elogviewer-0.6.2-r3.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/elogviewer/elogviewer-0.6.2-r3.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/elogviewer/elogviewer-0.6.2-r3.ebuild?rev=1.1&content-type=text/plain Index: elogviewer-0.6.2-r3.ebuild === # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-portage/elogviewer/elogviewer-0.6.2-r3.ebuild,v 1.1 2014/07/24 16:00:50 fuzzyray Exp $ EAPI=5 PYTHON_COMPAT=( python2_7 ) inherit eutils python-r1 DESCRIPTION="GTK+ based utility to parse the contents of elogs created by Portage" HOMEPAGE="http://sourceforge.net/projects/elogviewer/"; SRC_URI="mirror://sourceforge/elogviewer/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd" IUSE="" DEPEND="" RDEPEND=">=sys-apps/portage-2.1 >=dev-python/pygtk-2.0" S="${WORKDIR}" src_prepare() { # Apply patch from Bug 349071 to restore missing newline epatch "${FILESDIR}/${P}-missing_newline.patch" # Fix bug #453016 sed -e 's|is not ""|!= ""|' -i elogviewer || die } src_install() { python_foreach_impl python_doscript "${WORKDIR}"/elogviewer dodoc "${WORKDIR}"/CHANGELOG doman "${WORKDIR}"/elogviewer.1 make_desktop_entry elogviewer Elogviewer "" "System" || die "Couldn't make desktop entry" } pkg_postinst() { elog elog "In order to use this software, you need to activate" elog "Portage's elog features. Required is" elog " PORTAGE_ELOG_SYSTEM=\"save\" " elog "and at least one out of " elog " PORTAGE_ELOG_CLASSES=\"warn error info log qa\"" elog "More information on the elog system can be found" elog "in /etc/make.conf.example" elog elog "To operate properly this software needs the directory" elog "${PORT_LOGDIR:-/var/log/portage}/elog created, belonging to group portage." elog "To start the software as a user, add yourself to the portage" elog "group." elog }
[gentoo-commits] gentoo-x86 commit in app-portage/elogviewer: ChangeLog elogviewer-0.6.2-r2.ebuild
fuzzyray14/07/21 23:27:37 Modified: ChangeLog Added:elogviewer-0.6.2-r2.ebuild Log: Restore elogviewer-0.6.2-r2 due to user request. Bug #515654 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xDCB4A7FF) Revision ChangesPath 1.50 app-portage/elogviewer/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/elogviewer/ChangeLog?rev=1.50&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/elogviewer/ChangeLog?rev=1.50&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/elogviewer/ChangeLog?r1=1.49&r2=1.50 Index: ChangeLog === RCS file: /var/cvsroot/gentoo-x86/app-portage/elogviewer/ChangeLog,v retrieving revision 1.49 retrieving revision 1.50 diff -u -r1.49 -r1.50 --- ChangeLog 13 Jul 2014 10:54:45 - 1.49 +++ ChangeLog 21 Jul 2014 23:27:36 - 1.50 @@ -1,6 +1,9 @@ # ChangeLog for app-portage/elogviewer # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/elogviewer/ChangeLog,v 1.49 2014/07/13 10:54:45 zlogene Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/elogviewer/ChangeLog,v 1.50 2014/07/21 23:27:36 fuzzyray Exp $ + + 21 Jul 2014; Paul Varner +elogviewer-0.6.2-r2.ebuild: + Restore elogviewer-0.6.2-r2 due to user request. Bug #515654 13 Jul 2014; Mikle Kolyada elogviewer-2.1-r1.ebuild: sparc stable wrt bug #510560 1.3 app-portage/elogviewer/elogviewer-0.6.2-r2.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/elogviewer/elogviewer-0.6.2-r2.ebuild?rev=1.3&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/elogviewer/elogviewer-0.6.2-r2.ebuild?rev=1.3&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/elogviewer/elogviewer-0.6.2-r2.ebuild?r1=1.2&r2=1.3
[gentoo-commits] gentoo-x86 commit in app-portage/esearch: ChangeLog
fuzzyray14/05/22 15:41:38 Modified: ChangeLog Log: Restore 1.3-Fix-python-3-compatability.patch which was removed by accident. (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xDCB4A7FF) Revision ChangesPath 1.124app-portage/esearch/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/esearch/ChangeLog?rev=1.124&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/esearch/ChangeLog?rev=1.124&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/esearch/ChangeLog?r1=1.123&r2=1.124 Index: ChangeLog === RCS file: /var/cvsroot/gentoo-x86/app-portage/esearch/ChangeLog,v retrieving revision 1.123 retrieving revision 1.124 diff -u -r1.123 -r1.124 --- ChangeLog 14 May 2014 14:42:12 - 1.123 +++ ChangeLog 22 May 2014 15:41:38 - 1.124 @@ -1,6 +1,10 @@ # ChangeLog for app-portage/esearch # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/esearch/ChangeLog,v 1.123 2014/05/14 14:42:12 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/esearch/ChangeLog,v 1.124 2014/05/22 15:41:38 fuzzyray Exp $ + + 22 May 2014; Paul Varner + +files/1.3-Fix-python-3-compatability.patch: + Restore 1.3-Fix-python-3-compatability.patch which was removed by accident. 14 May 2014; Agostino Sarubbo esearch-1.3-r1.ebuild: Stable for sparc, wrt bug #505118
[gentoo-commits] gentoo-x86 commit in app-portage/esearch/files: 1.3-Fix-python-3-compatability.patch
fuzzyray14/05/22 15:41:38 Added:1.3-Fix-python-3-compatability.patch Log: Restore 1.3-Fix-python-3-compatability.patch which was removed by accident. (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xDCB4A7FF) Revision ChangesPath 1.3 app-portage/esearch/files/1.3-Fix-python-3-compatability.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/esearch/files/1.3-Fix-python-3-compatability.patch?rev=1.3&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/esearch/files/1.3-Fix-python-3-compatability.patch?rev=1.3&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/esearch/files/1.3-Fix-python-3-compatability.patch?r1=1.2&r2=1.3
[gentoo-commits] gentoo-x86 commit in app-portage/gentoolkit: ChangeLog gentoolkit-0.3.0.9-r1.ebuild gentoolkit-9999.ebuild
fuzzyray14/03/20 16:58:56 Modified: ChangeLog gentoolkit-0.3.0.9-r1.ebuild gentoolkit-.ebuild Log: Update sys-apps/gentoo-functions dependency for prefix. (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xDCB4A7FF) Revision ChangesPath 1.312app-portage/gentoolkit/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/ChangeLog?rev=1.312&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/ChangeLog?rev=1.312&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/ChangeLog?r1=1.311&r2=1.312 Index: ChangeLog === RCS file: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/ChangeLog,v retrieving revision 1.311 retrieving revision 1.312 diff -u -r1.311 -r1.312 --- ChangeLog 19 Mar 2014 18:29:03 - 1.311 +++ ChangeLog 20 Mar 2014 16:58:56 - 1.312 @@ -1,6 +1,10 @@ # ChangeLog for app-portage/gentoolkit # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/ChangeLog,v 1.311 2014/03/19 18:29:03 fuzzyray Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/ChangeLog,v 1.312 2014/03/20 16:58:56 fuzzyray Exp $ + + 20 Mar 2014; Paul Varner gentoolkit-0.3.0.9-r1.ebuild, + gentoolkit-.ebuild: + Update sys-apps/gentoo-functions dependency for prefix. *gentoolkit-0.3.0.9-r1 (19 Mar 2014) 1.2 app-portage/gentoolkit/gentoolkit-0.3.0.9-r1.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.9-r1.ebuild?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.9-r1.ebuild?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.9-r1.ebuild?r1=1.1&r2=1.2 Index: gentoolkit-0.3.0.9-r1.ebuild === RCS file: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.9-r1.ebuild,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- gentoolkit-0.3.0.9-r1.ebuild19 Mar 2014 18:29:03 - 1.1 +++ gentoolkit-0.3.0.9-r1.ebuild20 Mar 2014 16:58:56 - 1.2 @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.9-r1.ebuild,v 1.1 2014/03/19 18:29:03 fuzzyray Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.9-r1.ebuild,v 1.2 2014/03/20 16:58:56 fuzzyray Exp $ EAPI="5" @@ -24,7 +24,7 @@ !<=app-portage/gentoolkit-dev-0.2.7 || ( >=sys-apps/coreutils-8.15 app-misc/realpath sys-freebsd/freebsd-bin ) sys-apps/gawk - sys-apps/gentoo-functions + !prefix? ( sys-apps/gentoo-functions ) sys-apps/grep virtual/python-argparse[${PYTHON_USEDEP}]" 1.33 app-portage/gentoolkit/gentoolkit-.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/gentoolkit-.ebuild?rev=1.33&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/gentoolkit-.ebuild?rev=1.33&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/gentoolkit-.ebuild?r1=1.32&r2=1.33 Index: gentoolkit-.ebuild === RCS file: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-.ebuild,v retrieving revision 1.32 retrieving revision 1.33 diff -u -r1.32 -r1.33 --- gentoolkit-.ebuild 19 Mar 2014 18:29:03 - 1.32 +++ gentoolkit-.ebuild 20 Mar 2014 16:58:56 - 1.33 @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-.ebuild,v 1.32 2014/03/19 18:29:03 fuzzyray Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-.ebuild,v 1.33 2014/03/20 16:58:56 fuzzyray Exp $ EAPI="5" @@ -29,7 +29,7 @@ !<=app-portage/gentoolkit-dev-0.2.7 || ( >=sys-apps/coreutils-8.15 app-misc/realpath sys-freebsd/freebsd-bin ) sys-apps/gawk - sys-apps/gentoo-functions + !prefix? ( sys-apps/gentoo-functions ) sys-apps/grep virtual/python-argparse[${PYTHON_USEDEP}]"
[gentoo-commits] gentoo-x86 commit in app-portage/ufed: ChangeLog ufed-0.91.ebuild
fuzzyray14/03/19 19:41:46 Modified: ChangeLog Added:ufed-0.91.ebuild Log: Version bump for bug fixes and enhancements. See http://git.overlays.gentoo.org/gitweb/?p=proj/ufed.git;a=summary for full list of changes. (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xDCB4A7FF) Revision ChangesPath 1.101app-portage/ufed/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/ufed/ChangeLog?rev=1.101&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/ufed/ChangeLog?rev=1.101&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/ufed/ChangeLog?r1=1.100&r2=1.101 Index: ChangeLog === RCS file: /var/cvsroot/gentoo-x86/app-portage/ufed/ChangeLog,v retrieving revision 1.100 retrieving revision 1.101 diff -u -r1.100 -r1.101 --- ChangeLog 11 Sep 2013 17:51:19 - 1.100 +++ ChangeLog 19 Mar 2014 19:41:46 - 1.101 @@ -1,6 +1,13 @@ # ChangeLog for app-portage/ufed -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/ufed/ChangeLog,v 1.100 2013/09/11 17:51:19 fuzzyray Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-portage/ufed/ChangeLog,v 1.101 2014/03/19 19:41:46 fuzzyray Exp $ + +*ufed-0.91 (19 Mar 2014) + + 19 Mar 2014; Paul Varner +ufed-0.91.ebuild: + Version bump for bug fixes and enhancements. See + http://git.overlays.gentoo.org/gitweb/?p=proj/ufed.git;a=summary + for full list of changes. *ufed-0.90_rc2-r1 (11 Sep 2013) 1.1 app-portage/ufed/ufed-0.91.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/ufed/ufed-0.91.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/ufed/ufed-0.91.ebuild?rev=1.1&content-type=text/plain Index: ufed-0.91.ebuild === # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-portage/ufed/ufed-0.91.ebuild,v 1.1 2014/03/19 19:41:46 fuzzyray Exp $ EAPI=5 inherit base eutils multilib autotools DESCRIPTION="Gentoo Linux USE flags editor" HOMEPAGE="http://www.gentoo.org/"; SRC_URI="mirror://gentoo/${P}.tar.bz2 http://dev.gentoo.org/~fuzzyray/distfiles/${P}.tar.bz2"; LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" IUSE="" COMMON_DEPEND="sys-libs/ncurses" RDEPEND="${COMMON_DEPEND} dev-lang/perl" DEPEND="${COMMON_DEPEND} virtual/pkgconfig" # Populate the patches array for patches applied for -rX releases # It is an array of patch file names of the form: # "${FILESDIR}"/${P}-make.globals-path.patch PATCHES=() src_prepare() { base_src_prepare # Change the version number to reflect the ebuild version sed -i "s:,\[git\],:,\[${PVR}\],:" configure.ac eautoreconf } src_configure() { econf --libexecdir="${EPREFIX}"/usr/$(get_libdir)/ufed }
[gentoo-commits] gentoo-x86 commit in app-portage/gentoolkit: ChangeLog gentoolkit-9999.ebuild gentoolkit-0.3.0.9-r1.ebuild
fuzzyray14/03/19 18:29:03 Modified: ChangeLog gentoolkit-.ebuild Added:gentoolkit-0.3.0.9-r1.ebuild Log: Revision bump to fix issues with revdep-rebuild.py (Bug 504654). Fix portage dependency and add dependency on sys-apps/gentoo-functions. (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xDCB4A7FF) Revision ChangesPath 1.311app-portage/gentoolkit/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/ChangeLog?rev=1.311&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/ChangeLog?rev=1.311&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/ChangeLog?r1=1.310&r2=1.311 Index: ChangeLog === RCS file: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/ChangeLog,v retrieving revision 1.310 retrieving revision 1.311 diff -u -r1.310 -r1.311 --- ChangeLog 12 Mar 2014 18:26:32 - 1.310 +++ ChangeLog 19 Mar 2014 18:29:03 - 1.311 @@ -1,6 +1,14 @@ # ChangeLog for app-portage/gentoolkit # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/ChangeLog,v 1.310 2014/03/12 18:26:32 fuzzyray Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/ChangeLog,v 1.311 2014/03/19 18:29:03 fuzzyray Exp $ + +*gentoolkit-0.3.0.9-r1 (19 Mar 2014) + + 19 Mar 2014; Paul Varner +gentoolkit-0.3.0.9-r1.ebuild, + gentoolkit-.ebuild, +files/0.3.0.9-revdep-rebuild-py-504654-1.patch, + +files/0.3.0.9-revdep-rebuild-py-504654-2.patch: + Revision bump to fix issues with revdep-rebuild.py (Bug 504654). + Fix portage dependency and add dependency on sys-apps/gentoo-functions. *gentoolkit-0.3.0.9 (12 Mar 2014) 1.32 app-portage/gentoolkit/gentoolkit-.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/gentoolkit-.ebuild?rev=1.32&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/gentoolkit-.ebuild?rev=1.32&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/gentoolkit-.ebuild?r1=1.31&r2=1.32 Index: gentoolkit-.ebuild === RCS file: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-.ebuild,v retrieving revision 1.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- gentoolkit-.ebuild 11 Sep 2013 17:22:19 - 1.31 +++ gentoolkit-.ebuild 19 Mar 2014 18:29:03 - 1.32 @@ -1,6 +1,6 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-.ebuild,v 1.31 2013/09/11 17:22:19 fuzzyray Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-.ebuild,v 1.32 2014/03/19 18:29:03 fuzzyray Exp $ EAPI="5" @@ -24,11 +24,12 @@ KEYWORDS="" -DEPEND="sys-apps/portage" +DEPEND="sys-apps/portage[${PYTHON_USEDEP}]" RDEPEND="${DEPEND} !<=app-portage/gentoolkit-dev-0.2.7 || ( >=sys-apps/coreutils-8.15 app-misc/realpath sys-freebsd/freebsd-bin ) sys-apps/gawk + sys-apps/gentoo-functions sys-apps/grep virtual/python-argparse[${PYTHON_USEDEP}]" 1.1 app-portage/gentoolkit/gentoolkit-0.3.0.9-r1.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.9-r1.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.9-r1.ebuild?rev=1.1&content-type=text/plain Index: gentoolkit-0.3.0.9-r1.ebuild === # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.9-r1.ebuild,v 1.1 2014/03/19 18:29:03 fuzzyray Exp $ EAPI="5" PYTHON_COMPAT=(python{2_6,2_7,3_2,3_3} pypy2_0) PYTHON_REQ_USE="xml(+)" inherit distutils-r1 DESCRIPTION="Collection of administration scripts for Gentoo" HOMEPAGE="http://www.gentoo.org/proj/en/portage/tools/index.xml"; SRC_URI="mirror://gentoo/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" IUSE="" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k
[gentoo-commits] gentoo-x86 commit in app-portage/gentoolkit/files: 0.3.0.9-revdep-rebuild-py-504654-1.patch 0.3.0.9-revdep-rebuild-py-504654-2.patch
fuzzyray14/03/19 18:29:03 Added:0.3.0.9-revdep-rebuild-py-504654-1.patch 0.3.0.9-revdep-rebuild-py-504654-2.patch Log: Revision bump to fix issues with revdep-rebuild.py (Bug 504654). Fix portage dependency and add dependency on sys-apps/gentoo-functions. (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xDCB4A7FF) Revision ChangesPath 1.1 app-portage/gentoolkit/files/0.3.0.9-revdep-rebuild-py-504654-1.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/files/0.3.0.9-revdep-rebuild-py-504654-1.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/files/0.3.0.9-revdep-rebuild-py-504654-1.patch?rev=1.1&content-type=text/plain Index: 0.3.0.9-revdep-rebuild-py-504654-1.patch === >From c5baf551987e2fb412caa396ae34f7f4341ad819 Mon Sep 17 00:00:00 2001 From: slis Date: Mon, 17 Mar 2014 07:42:01 +0100 Subject: [PATCH 1/2] Fix #504654 - problem with encoding for non-ascii filenames --- pym/gentoolkit/revdep_rebuild/stuff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/gentoolkit/revdep_rebuild/stuff.py b/pym/gentoolkit/revdep_rebuild/stuff.py index cc3da7b..7a8373d 100644 --- a/pym/gentoolkit/revdep_rebuild/stuff.py +++ b/pym/gentoolkit/revdep_rebuild/stuff.py @@ -22,7 +22,7 @@ def call_program(args): subp = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE) stdout, stderr = subp.communicate() stdout = stdout.decode('utf-8') - return str(stdout) + return stdout def scan(params, files, max_args, logger): -- 1.9.1 1.1 app-portage/gentoolkit/files/0.3.0.9-revdep-rebuild-py-504654-2.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/files/0.3.0.9-revdep-rebuild-py-504654-2.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/files/0.3.0.9-revdep-rebuild-py-504654-2.patch?rev=1.1&content-type=text/plain Index: 0.3.0.9-revdep-rebuild-py-504654-2.patch === >From ae20dbd7f2ef2810d3150e870ece6f5b7278f676 Mon Sep 17 00:00:00 2001 From: slis Date: Mon, 17 Mar 2014 07:48:19 +0100 Subject: [PATCH 2/2] Fix for non-existing libraries version (https://bugs.gentoo.org/show_bug.cgi?id=504654#c5) --- pym/gentoolkit/revdep_rebuild/analyse.py | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pym/gentoolkit/revdep_rebuild/analyse.py b/pym/gentoolkit/revdep_rebuild/analyse.py index d7b210b..bd1b6b7 100644 --- a/pym/gentoolkit/revdep_rebuild/analyse.py +++ b/pym/gentoolkit/revdep_rebuild/analyse.py @@ -185,7 +185,11 @@ class LibCheck(object): scanned_files = self.scanned_files found_libs = {} for bits in self.searchbits: - scanned = scanned_files[bits] + try: + scanned = scanned_files[bits] + except KeyError: + self.logger.debug('There are no %s-bit libraries'%bits) + continue self.logger.debug(self.smsg % bits) self.setlibs(sorted(scanned), bits) for soname, filepaths in scanned.items(): -- 1.9.1
[gentoo-commits] gentoo-x86 commit in app-portage/gentoolkit/files: 0.3.0.6-euse-422675.patch 0.3.0.7-root.patch 0.3.0.7-configroot.patch 0.3.0.6-eshowkw-414627.patch 0.3.0.6-eshowkw-409449.patch 0.3.
fuzzyray14/03/12 18:26:32 Removed: 0.3.0.6-euse-422675.patch 0.3.0.7-root.patch 0.3.0.7-configroot.patch 0.3.0.6-eshowkw-414627.patch 0.3.0.6-eshowkw-409449.patch 0.3.0.6-gentoolkit-304125.patch 0.3.0.6-euse-410365.patch 0.3.0.6-eread-413577.patch Log: Version bump for bug fixes. See http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=shortlog;h=refs/heads/gentoolkit for full list of changes. Removed old ebuilds. (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xDCB4A7FF)
[gentoo-commits] gentoo-x86 commit in app-portage/gentoolkit: gentoolkit-0.3.0.9.ebuild ChangeLog gentoolkit-0.3.0.7-r1.ebuild gentoolkit-0.3.0.8-r1.ebuild gentoolkit-0.3.0.8.ebuild gentoolkit-0.3.0.7
fuzzyray14/03/12 18:26:32 Modified: ChangeLog Added:gentoolkit-0.3.0.9.ebuild Removed: gentoolkit-0.3.0.7-r1.ebuild gentoolkit-0.3.0.8-r1.ebuild gentoolkit-0.3.0.8.ebuild gentoolkit-0.3.0.7.ebuild gentoolkit-0.3.0.7-r2.ebuild gentoolkit-0.3.0.6-r3.ebuild Log: Version bump for bug fixes. See http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=shortlog;h=refs/heads/gentoolkit for full list of changes. Removed old ebuilds. (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xDCB4A7FF) Revision ChangesPath 1.310app-portage/gentoolkit/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/ChangeLog?rev=1.310&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/ChangeLog?rev=1.310&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/ChangeLog?r1=1.309&r2=1.310 Index: ChangeLog === RCS file: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/ChangeLog,v retrieving revision 1.309 retrieving revision 1.310 diff -u -r1.309 -r1.310 --- ChangeLog 19 Jan 2014 02:10:24 - 1.309 +++ ChangeLog 12 Mar 2014 18:26:32 - 1.310 @@ -1,6 +1,21 @@ # ChangeLog for app-portage/gentoolkit # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/ChangeLog,v 1.309 2014/01/19 02:10:24 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/ChangeLog,v 1.310 2014/03/12 18:26:32 fuzzyray Exp $ + +*gentoolkit-0.3.0.9 (12 Mar 2014) + + 12 Mar 2014; Paul Varner -gentoolkit-0.3.0.6-r3.ebuild, + -gentoolkit-0.3.0.7.ebuild, -gentoolkit-0.3.0.7-r1.ebuild, + -gentoolkit-0.3.0.7-r2.ebuild, -gentoolkit-0.3.0.8.ebuild, + -gentoolkit-0.3.0.8-r1.ebuild, +gentoolkit-0.3.0.9.ebuild, + -files/0.3.0.6-gentoolkit-304125.patch, -files/0.3.0.6-eshowkw-409449.patch, + -files/0.3.0.6-euse-410365.patch, -files/0.3.0.7-configroot.patch, + -files/0.3.0.6-eread-413577.patch, -files/0.3.0.6-eshowkw-414627.patch, + -files/0.3.0.6-euse-422675.patch, -files/0.3.0.7-root.patch: + Version bump for bug fixes. See + http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=shortlog;h=ref + s/heads/gentoolkit + for full list of changes. Removed old ebuilds. 19 Jan 2014; Mike Frysinger gentoolkit-0.3.0.8-r2.ebuild: Add arm64 love. 1.1 app-portage/gentoolkit/gentoolkit-0.3.0.9.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.9.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.9.ebuild?rev=1.1&content-type=text/plain Index: gentoolkit-0.3.0.9.ebuild === # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.9.ebuild,v 1.1 2014/03/12 18:26:32 fuzzyray Exp $ EAPI="5" PYTHON_COMPAT=(python{2_6,2_7,3_2,3_3} pypy2_0) PYTHON_REQ_USE="xml(+)" inherit distutils-r1 DESCRIPTION="Collection of administration scripts for Gentoo" HOMEPAGE="http://www.gentoo.org/proj/en/portage/tools/index.xml"; SRC_URI="mirror://gentoo/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" IUSE="" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" DEPEND="sys-apps/portage" RDEPEND="${DEPEND} !<=app-portage/gentoolkit-dev-0.2.7 || ( >=sys-apps/coreutils-8.15 app-misc/realpath sys-freebsd/freebsd-bin ) sys-apps/gawk sys-apps/grep virtual/python-argparse[${PYTHON_USEDEP}]" PATCHES=() python_prepare_all() { python_export_best echo VERSION="${PVR}" "${PYTHON}" setup.py set_version VERSION="${PVR}" "${PYTHON}" setup.py set_version mv ./bin/revdep-rebuild{,.py} || die distutils-r1_python_prepare_all } python_install_all() { distutils-r1_python_install_all # Rename the python versions of revdep-rebuild, since we are not ready # to switch to the python version yet. Link /usr/bin/revdep-rebuild to # revdep-rebuild.sh. Leaving the python version available for potential # testing by a w
[gentoo-commits] proj/gentoolkit: New tag: gentoolkit-0.3.0.9
commit: Commit: Paul Varner gentoo org> CommitDate: Tue Mar 11 22:33:04 2014 + New tag: gentoolkit-0.3.0.9
[gentoo-commits] proj/gentoolkit:gentoolkit commit in: pym/gentoolkit/revdep_rebuild/
commit: c6286bab8c4e96a7e54e05ab26244ca648ae9787 Author: Paul Varner gentoo org> AuthorDate: Tue Mar 11 21:42:52 2014 + Commit: Paul Varner gentoo org> CommitDate: Tue Mar 11 21:42:52 2014 + URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=c6286bab Remove unused revdep-rebuild.py --- pym/gentoolkit/revdep_rebuild/revdep-rebuild.py | 17 - 1 file changed, 17 deletions(-) diff --git a/pym/gentoolkit/revdep_rebuild/revdep-rebuild.py b/pym/gentoolkit/revdep_rebuild/revdep-rebuild.py deleted file mode 100755 index 2619ee0..000 --- a/pym/gentoolkit/revdep_rebuild/revdep-rebuild.py +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- - - -# Author: Sławomir Lis -# revdep-rebuild original author: Stanislav Brabec -# revdep-rebuild original rewrite Author: Michael A. Smith -# Current Maintainer: Paul Varner - -# Creation date: 2010/10/17 -# License: BSD - -from rebuild import APP_NAME, VERSION, main - -if __name__ == '__main__': -# instead of revdep-rebuild.py call rebuild.py -main()
[gentoo-commits] proj/gentoolkit:gentoolkit commit in: pym/gentoolkit/revdep_rebuild/
commit: e566d68dd4880a5bb6cfd2c8945f4eb23b40e8f3 Author: Paul Varner gentoo org> AuthorDate: Tue Mar 11 21:22:41 2014 + Commit: Paul Varner gentoo org> CommitDate: Tue Mar 11 21:22:41 2014 + URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=e566d68d Remove development version warning --- pym/gentoolkit/revdep_rebuild/rebuild.py | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pym/gentoolkit/revdep_rebuild/rebuild.py b/pym/gentoolkit/revdep_rebuild/rebuild.py index 0725c7c..314fb1f 100644 --- a/pym/gentoolkit/revdep_rebuild/rebuild.py +++ b/pym/gentoolkit/revdep_rebuild/rebuild.py @@ -220,10 +220,7 @@ def main(settings=None, logger=None): and settings['IS_DEV'] \ and not settings['NO_PRETEND']: logger.warn(blue(' * ') + - yellow('This is a development version, ' - 'so it may not work correctly')) - logger.warn(blue(' * ') + - yellow('Adding --pretend to portage options anyway')) + yellow('Adding --pretend to portage options')) logger.info(blue(' * ') + 'If you\'re sure, you can add --no-pretend to revdep options') settings['PRETEND'] = True