summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Varner <fuzzyray@gentoo.org>2017-03-13 15:04:18 -0500
committerPaul Varner <fuzzyray@gentoo.org>2017-03-13 15:04:18 -0500
commitca3fb820f232eb5180418a7f9baf336af8d08e1b (patch)
treee191564f623a77965133b4af29de0d326a793b40 /app-portage
parentapp-portage/metagen: 0.6.6 no longer uses repoman code (diff)
downloadgentoo-ca3fb820f232eb5180418a7f9baf336af8d08e1b.tar.gz
gentoo-ca3fb820f232eb5180418a7f9baf336af8d08e1b.tar.bz2
gentoo-ca3fb820f232eb5180418a7f9baf336af8d08e1b.zip
app-portage/gentoolkit: Remove unused versions and files.
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/gentoolkit/Manifest2
-rw-r--r--app-portage/gentoolkit/files/0.3.0.9-equery-508114.patch37
-rw-r--r--app-portage/gentoolkit/files/0.3.0.9-equery-strip-XXXFLAGS.patch27
-rw-r--r--app-portage/gentoolkit/files/0.3.0.9-revdep-rebuild-526400.patch26
-rw-r--r--app-portage/gentoolkit/files/0.3.0.9-revdep-rebuild-py-504654-1.patch26
-rw-r--r--app-portage/gentoolkit/files/0.3.0.9-revdep-rebuild-py-504654-2.patch30
-rw-r--r--app-portage/gentoolkit/files/0.3.1-setup.py-print.patch29
-rw-r--r--app-portage/gentoolkit/gentoolkit-0.3.0.9-r2.ebuild88
-rw-r--r--app-portage/gentoolkit/gentoolkit-0.3.1.1.ebuild70
-rw-r--r--app-portage/gentoolkit/gentoolkit-0.3.2.ebuild70
10 files changed, 0 insertions, 405 deletions
diff --git a/app-portage/gentoolkit/Manifest b/app-portage/gentoolkit/Manifest
index 6366ac6761cf..0e9c54b24dbe 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 75b2d15b2b9ed08055840b56b239ed5d63838a10e8d31ec3ed8822cf1d3ef32841609763433736e17f93a5fdd293ccbda4a3dfa0f007241321aec3333bcde847 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 3fc67d366545..000000000000
--- 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 <keytoaster@gentoo.org>
-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)
-
- if QUERY_OPTS["stablereq"]:
- # Get {<Package 'dev-libs/glib-2.20.5'>: [u'ia64', u'm68k', ...], ...}
---
-2.1.3
-
diff --git a/app-portage/gentoolkit/files/0.3.0.9-equery-strip-XXXFLAGS.patch b/app-portage/gentoolkit/files/0.3.0.9-equery-strip-XXXFLAGS.patch
deleted file mode 100644
index 42c5e35e057b..000000000000
--- a/app-portage/gentoolkit/files/0.3.0.9-equery-strip-XXXFLAGS.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 1351a6b8f09ab2f4a7469d6e2be874b56a31d3c4 Mon Sep 17 00:00:00 2001
-From: Brian Dolbec <dolsen@gentoo.org>
-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
-
diff --git a/app-portage/gentoolkit/files/0.3.0.9-revdep-rebuild-526400.patch b/app-portage/gentoolkit/files/0.3.0.9-revdep-rebuild-526400.patch
deleted file mode 100644
index a9f45b6dd406..000000000000
--- a/app-portage/gentoolkit/files/0.3.0.9-revdep-rebuild-526400.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 91023ef967c680db9307b5c58762e8872346167e Mon Sep 17 00:00:00 2001
-From: Paul Varner <fuzzyray@gentoo.org>
-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
-
diff --git a/app-portage/gentoolkit/files/0.3.0.9-revdep-rebuild-py-504654-1.patch b/app-portage/gentoolkit/files/0.3.0.9-revdep-rebuild-py-504654-1.patch
deleted file mode 100644
index 3af64a2afb9f..000000000000
--- a/app-portage/gentoolkit/files/0.3.0.9-revdep-rebuild-py-504654-1.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From c5baf551987e2fb412caa396ae34f7f4341ad819 Mon Sep 17 00:00:00 2001
-From: slis <lis.slawek@gmail.com>
-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
-
diff --git a/app-portage/gentoolkit/files/0.3.0.9-revdep-rebuild-py-504654-2.patch b/app-portage/gentoolkit/files/0.3.0.9-revdep-rebuild-py-504654-2.patch
deleted file mode 100644
index ca3894dba26e..000000000000
--- a/app-portage/gentoolkit/files/0.3.0.9-revdep-rebuild-py-504654-2.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From ae20dbd7f2ef2810d3150e870ece6f5b7278f676 Mon Sep 17 00:00:00 2001
-From: slis <lis.slawek@gmail.com>
-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
-
diff --git a/app-portage/gentoolkit/files/0.3.1-setup.py-print.patch b/app-portage/gentoolkit/files/0.3.1-setup.py-print.patch
deleted file mode 100644
index 29f7a186d1ef..000000000000
--- a/app-portage/gentoolkit/files/0.3.1-setup.py-print.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 4e06e9f032ed187ce682434955778c3241854e26 Mon Sep 17 00:00:00 2001
-From: Mike Gilbert <floppym@gentoo.org>
-Date: Sun, 20 Dec 2015 15:19:06 -0500
-Subject: [PATCH] Remove useless print() in set_version
-
-This was causing a TypeError in python3.
-
-Bug: https://bugs.gentoo.org/568906
----
- setup.py | 3 ---
- 1 file changed, 3 deletions(-)
-
-diff --git a/setup.py b/setup.py
-index b32b7d6..01e4b3e 100755
---- a/setup.py
-+++ b/setup.py
-@@ -80,9 +80,6 @@ class set_version(core.Command):
- with io.open(f[0], 'r', 1, 'utf_8') as s:
- for line in s:
- newline = re.sub(pattern %f[1], '"%s"' % ver, line, 1)
-- if newline != line:
-- #log.info("%s: %s" % (f, newline))
-- print("%s: %s" % (f[0], newline.encode('utf_8').strip('\n')))
- updated_file.append(newline)
- with io.open(f[0], 'w', 1, 'utf_8') as s:
- s.writelines(updated_file)
---
-2.6.4
-
diff --git a/app-portage/gentoolkit/gentoolkit-0.3.0.9-r2.ebuild b/app-portage/gentoolkit/gentoolkit-0.3.0.9-r2.ebuild
deleted file mode 100644
index 6db9803e5da3..000000000000
--- a/app-portage/gentoolkit/gentoolkit-0.3.0.9-r2.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-PYTHON_COMPAT=(python{2_7,3_4} pypy)
-PYTHON_REQ_USE="xml(+),threads(+)"
-
-inherit distutils-r1 eutils
-
-DESCRIPTION="Collection of administration scripts for Gentoo"
-HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage-Tools"
-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 ~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"
-
-PATCHES=(
- "${FILESDIR}"/${PV}-revdep-rebuild-py-504654-1.patch
- "${FILESDIR}"/${PV}-revdep-rebuild-py-504654-2.patch
- "${FILESDIR}"/${PV}-equery-508114.patch
- "${FILESDIR}"/${PV}-equery-strip-XXXFLAGS.patch
- "${FILESDIR}"/${PV}-revdep-rebuild-526400.patch
-)
-
-python_prepare_all() {
- epatch "${FILESDIR}/0.3.1-setup.py-print.patch"
- python_setup
- 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 wider audience.
- dosym revdep-rebuild.sh /usr/bin/revdep-rebuild
-
- # TODO: Fix this as it is now a QA violation
- # Create cache directory for revdep-rebuild
- keepdir /var/cache/revdep-rebuild
- use prefix || fowners root:0 /var/cache/revdep-rebuild
- fperms 0700 /var/cache/revdep-rebuild
-
- # 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() {
- # 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
-}
diff --git a/app-portage/gentoolkit/gentoolkit-0.3.1.1.ebuild b/app-portage/gentoolkit/gentoolkit-0.3.1.1.ebuild
deleted file mode 100644
index 58bdc6d88e5b..000000000000
--- a/app-portage/gentoolkit/gentoolkit-0.3.1.1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-PYTHON_COMPAT=(python{2_7,3_4,3_5} pypy)
-PYTHON_REQ_USE="xml(+),threads(+)"
-
-inherit distutils-r1 eutils
-
-DESCRIPTION="Collection of administration scripts for Gentoo"
-HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage-Tools"
-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 ~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 "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
-}
diff --git a/app-portage/gentoolkit/gentoolkit-0.3.2.ebuild b/app-portage/gentoolkit/gentoolkit-0.3.2.ebuild
deleted file mode 100644
index 9b606c1a0547..000000000000
--- a/app-portage/gentoolkit/gentoolkit-0.3.2.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# 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} pypy)
-PYTHON_REQ_USE="xml(+),threads(+)"
-
-inherit distutils-r1 eutils
-
-DESCRIPTION="Collection of administration scripts for Gentoo"
-HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage-Tools"
-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 ~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 "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
-}