commit:     b5f2c1088b5d3888fcbe590c9a05ddadbf852feb
Author:     Virgil Dupras <vdupras <AT> gentoo <DOT> org>
AuthorDate: Sat May 11 23:54:39 2019 +0000
Commit:     Virgil Dupras <vdupras <AT> gentoo <DOT> org>
CommitDate: Sat May 11 23:54:39 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5f2c108

app-portage/gentoolkit: bump to 0.4.5

Bug: https://bugs.gentoo.org/685538
Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 app-portage/gentoolkit/Manifest                |  1 +
 app-portage/gentoolkit/gentoolkit-0.4.5.ebuild | 74 ++++++++++++++++++++++++++
 2 files changed, 75 insertions(+)

diff --git a/app-portage/gentoolkit/Manifest b/app-portage/gentoolkit/Manifest
index 19152c20b3f..f9511da0a16 100644
--- a/app-portage/gentoolkit/Manifest
+++ b/app-portage/gentoolkit/Manifest
@@ -1,3 +1,4 @@
 DIST gentoolkit-0.4.2.tar.gz 3215652 BLAKE2B 
97b4dcac7293b50161169a6c777623cb1c51e2f74020e0fa2f1f4441c203c03a1269c8c55e1461c5780ebfb8234d364837073d582a52a99f2d40c92e6b77a7f0
 SHA512 
3a9eac2fd214bcfe39380193cb2118edcd759dbf3eb165e7240525ce1047aa984f1d1f1d3a15324218d9be1f0a1ec960ae08a63191392f1bb3422277a52697ff
 DIST gentoolkit-0.4.3.tar.gz 3218723 BLAKE2B 
d305db514e48446c0341c1ddc7a6c1bcd464eee11b8ee58f1a16bdf797670a9bb13eacfb2afa666d9ef292ad1dcbdf9970f8ded64bd5d12ca9d73ffae8923119
 SHA512 
81058d4787b291b6398d82d9a32f41b78d939f8d20ad8afbf9e22a47311ff0a270098c69e53d903ab3ec72a4cd11f13f3be30279a538a6a52972e1651efe447d
 DIST gentoolkit-0.4.4.tar.gz 3218740 BLAKE2B 
561fe949720b882b6e0bc459b838b807724db2842231d862a99bcda5a4eeaecb209cc5735e7602b49351fd2e211dc9e293c20331e3d1974e0dadc24c73fc09d2
 SHA512 
01e23fcaf33d7e30f5283f7c036750136211eb5d1e91e5c1a79f439d81e6641b3f2394faaacb1807ca887bfb48225b709f17d694929b4b87dba358c5299390e2
+DIST gentoolkit-0.4.5.tar.gz 3218757 BLAKE2B 
9ac6e7bdee622ff3069ee0f59a1834f36496f2bd07c53a67677571e0cfc99366ba64d03fca8bd964c3517d7cbcb7d4d5d08e9f3ec721d7adf598b13944fea659
 SHA512 
6b459684a59c5a72f09da34a2e9491b98f49c861f763bddb52ae002413a2c89d7841d84658577e6fec36a096889265a1207eaf981adfdd5e9db6ad79ca364df3

diff --git a/app-portage/gentoolkit/gentoolkit-0.4.5.ebuild 
b/app-portage/gentoolkit/gentoolkit-0.4.5.ebuild
new file mode 100644
index 00000000000..5e01ac6b8c5
--- /dev/null
+++ b/app-portage/gentoolkit/gentoolkit-0.4.5.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} 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://gitweb.gentoo.org/proj/gentoolkit.git/snapshot/${P}.tar.gz";
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-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}
+       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_preinst() {
+       if has_version "<${CATEGORY}/${PN}-0.4.0"; then
+               SHOW_GENTOOKIT_DEV_DEPRECATED_MSG=1
+       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
+
+       if [[ ${SHOW_GENTOOKIT_DEV_DEPRECATED_MSG} ]]; then
+               elog "Starting with version 0.4.0, ebump, ekeyword and imlate 
are now"
+               elog "part of the gentoolkit package."
+               elog "The gentoolkit-dev package is now deprecated in favor of 
a single"
+               elog "gentoolkit package.   The remaining tools from 
gentoolkit-dev"
+               elog "are now obsolete/unused with the git based tree."
+       fi
+
+       # 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
+}

Reply via email to