1 |
commit: e5b2a1086997f3bda772910edf5199a3827b5137 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 19 04:00:56 2019 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 19 05:06:14 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5b2a108 |
7 |
|
8 |
app-portage/gentoolkit: Bump to version 0.4.6 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/463952 |
11 |
Bug: https://bugs.gentoo.org/634824 |
12 |
Package-Manager: Portage-2.3.71, Repoman-2.3.17 |
13 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
14 |
|
15 |
app-portage/gentoolkit/Manifest | 1 + |
16 |
app-portage/gentoolkit/gentoolkit-0.4.6.ebuild | 74 ++++++++++++++++++++++++++ |
17 |
2 files changed, 75 insertions(+) |
18 |
|
19 |
diff --git a/app-portage/gentoolkit/Manifest b/app-portage/gentoolkit/Manifest |
20 |
index e1cc0292b50..8e19d1d610c 100644 |
21 |
--- a/app-portage/gentoolkit/Manifest |
22 |
+++ b/app-portage/gentoolkit/Manifest |
23 |
@@ -1,2 +1,3 @@ |
24 |
DIST gentoolkit-0.4.2.tar.gz 3215652 BLAKE2B 97b4dcac7293b50161169a6c777623cb1c51e2f74020e0fa2f1f4441c203c03a1269c8c55e1461c5780ebfb8234d364837073d582a52a99f2d40c92e6b77a7f0 SHA512 3a9eac2fd214bcfe39380193cb2118edcd759dbf3eb165e7240525ce1047aa984f1d1f1d3a15324218d9be1f0a1ec960ae08a63191392f1bb3422277a52697ff |
25 |
DIST gentoolkit-0.4.5.tar.gz 3218757 BLAKE2B 9ac6e7bdee622ff3069ee0f59a1834f36496f2bd07c53a67677571e0cfc99366ba64d03fca8bd964c3517d7cbcb7d4d5d08e9f3ec721d7adf598b13944fea659 SHA512 6b459684a59c5a72f09da34a2e9491b98f49c861f763bddb52ae002413a2c89d7841d84658577e6fec36a096889265a1207eaf981adfdd5e9db6ad79ca364df3 |
26 |
+DIST gentoolkit-0.4.6.tar.gz 3205641 BLAKE2B 7da91a313c8a9263eb7b4abd6207ece9dd602a5069a87f1e78ada13fc9f396e1f2afddaf0637c473445034cf57b5ca7631e209361a88fa3892d302b20f4cc986 SHA512 3aa3c9af7e994313400607943b9090fd813227ddd6d550b50fbcf7eeb4053da8bcdb41c9ef2579d957d2f279fdcc4e2f2ceca1091c5fd457df4204dd11792d6e |
27 |
|
28 |
diff --git a/app-portage/gentoolkit/gentoolkit-0.4.6.ebuild b/app-portage/gentoolkit/gentoolkit-0.4.6.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..5e01ac6b8c5 |
31 |
--- /dev/null |
32 |
+++ b/app-portage/gentoolkit/gentoolkit-0.4.6.ebuild |
33 |
@@ -0,0 +1,74 @@ |
34 |
+# Copyright 1999-2019 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy ) |
40 |
+PYTHON_REQ_USE="xml(+),threads(+)" |
41 |
+ |
42 |
+inherit distutils-r1 |
43 |
+ |
44 |
+DESCRIPTION="Collection of administration scripts for Gentoo" |
45 |
+HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage-Tools" |
46 |
+SRC_URI="https://gitweb.gentoo.org/proj/gentoolkit.git/snapshot/${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="GPL-2" |
49 |
+SLOT="0" |
50 |
+IUSE="" |
51 |
+ |
52 |
+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" |
53 |
+ |
54 |
+DEPEND=" |
55 |
+ sys-apps/portage[${PYTHON_USEDEP}]" |
56 |
+RDEPEND="${DEPEND} |
57 |
+ sys-apps/gawk |
58 |
+ sys-apps/gentoo-functions" |
59 |
+ |
60 |
+python_prepare_all() { |
61 |
+ python_setup |
62 |
+ echo VERSION="${PVR}" "${PYTHON}" setup.py set_version |
63 |
+ VERSION="${PVR}" "${PYTHON}" setup.py set_version |
64 |
+ distutils-r1_python_prepare_all |
65 |
+} |
66 |
+ |
67 |
+python_install_all() { |
68 |
+ distutils-r1_python_install_all |
69 |
+} |
70 |
+ |
71 |
+pkg_preinst() { |
72 |
+ if has_version "<${CATEGORY}/${PN}-0.4.0"; then |
73 |
+ SHOW_GENTOOKIT_DEV_DEPRECATED_MSG=1 |
74 |
+ fi |
75 |
+} |
76 |
+ |
77 |
+pkg_postinst() { |
78 |
+ # Create cache directory for revdep-rebuild |
79 |
+ mkdir -p -m 0755 "${EROOT%/}"/var/cache |
80 |
+ mkdir -p -m 0700 "${EROOT%/}"/var/cache/revdep-rebuild |
81 |
+ |
82 |
+ if [[ ${SHOW_GENTOOKIT_DEV_DEPRECATED_MSG} ]]; then |
83 |
+ elog "Starting with version 0.4.0, ebump, ekeyword and imlate are now" |
84 |
+ elog "part of the gentoolkit package." |
85 |
+ elog "The gentoolkit-dev package is now deprecated in favor of a single" |
86 |
+ elog "gentoolkit package. The remaining tools from gentoolkit-dev" |
87 |
+ elog "are now obsolete/unused with the git based tree." |
88 |
+ fi |
89 |
+ |
90 |
+ # Only show the elog information on a new install |
91 |
+ if [[ ! ${REPLACING_VERSIONS} ]]; then |
92 |
+ elog |
93 |
+ elog "For further information on gentoolkit, please read the gentoolkit" |
94 |
+ elog "guide: https://wiki.gentoo.org/wiki/Gentoolkit" |
95 |
+ elog |
96 |
+ elog "Another alternative to equery is app-portage/portage-utils" |
97 |
+ elog |
98 |
+ elog "Additional tools that may be of interest:" |
99 |
+ elog |
100 |
+ elog " app-admin/eclean-kernel" |
101 |
+ elog " app-portage/diffmask" |
102 |
+ elog " app-portage/flaggie" |
103 |
+ elog " app-portage/install-mask" |
104 |
+ elog " app-portage/portpeek" |
105 |
+ elog " app-portage/smart-live-rebuild" |
106 |
+ fi |
107 |
+} |