1 |
commit: 3e45211b115a1ef57e0ed4bba5cd66e4cf91ada7 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 2 03:43:19 2021 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 2 03:45:38 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e45211b |
7 |
|
8 |
app-portage/gentoolkit: Version bump to 0.5.1 |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
app-portage/gentoolkit/Manifest | 1 + |
13 |
app-portage/gentoolkit/gentoolkit-0.5.1.ebuild | 69 ++++++++++++++++++++++++++ |
14 |
2 files changed, 70 insertions(+) |
15 |
|
16 |
diff --git a/app-portage/gentoolkit/Manifest b/app-portage/gentoolkit/Manifest |
17 |
index db788bf3055..08bf8c5a57b 100644 |
18 |
--- a/app-portage/gentoolkit/Manifest |
19 |
+++ b/app-portage/gentoolkit/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST gentoolkit-0.5.0.tar.gz 3206598 BLAKE2B a379dcbbaba9d52c241fea020b87c458384e44092539947909e14fd6c63fd9cc06d076b8081874edf17fc50e80fe48ceab3400c90046867dc409e7ac39c17231 SHA512 8a5c344f3a17c4c779abbcaa35b5e3f147106dbc61310d0d1a816ec8080914271fa45c311a8feeb1bfe14195af7cf34c0b29142d6e43e2de232dae96fbd00861 |
22 |
+DIST gentoolkit-0.5.1.tar.gz 3203805 BLAKE2B de2cd69aec9be79f498b1180a90afb54e77f9d8a47636cd722f2028a906d43874132d55a71bf373b3d10c7c10034f5d8ce0280a35041b0c60a1d5aa2ed6296a1 SHA512 667e464853b17ae297c59fb06e8f4563119a1382470d064c5721ae898e61173e9af5b071c7618d315232e6974fec205e27559785d2816253711de3e83d9e1911 |
23 |
|
24 |
diff --git a/app-portage/gentoolkit/gentoolkit-0.5.1.ebuild b/app-portage/gentoolkit/gentoolkit-0.5.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..a05cb33f75d |
27 |
--- /dev/null |
28 |
+++ b/app-portage/gentoolkit/gentoolkit-0.5.1.ebuild |
29 |
@@ -0,0 +1,69 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+DISTUTILS_USE_SETUPTOOLS=no |
36 |
+PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) |
37 |
+PYTHON_REQ_USE="xml(+),threads(+)" |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+if [[ ${PV} = 9999* ]]; then |
42 |
+ EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/gentoolkit.git" |
43 |
+ inherit git-r3 |
44 |
+else |
45 |
+ SRC_URI="https://gitweb.gentoo.org/proj/gentoolkit.git/snapshot/${P}.tar.gz" |
46 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
47 |
+fi |
48 |
+ |
49 |
+DESCRIPTION="Collection of administration scripts for Gentoo" |
50 |
+HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage-Tools" |
51 |
+ |
52 |
+LICENSE="GPL-2" |
53 |
+SLOT="0" |
54 |
+ |
55 |
+DEPEND=" |
56 |
+ sys-apps/portage[${PYTHON_USEDEP}]" |
57 |
+RDEPEND="${DEPEND} |
58 |
+ sys-apps/gawk |
59 |
+ sys-apps/gentoo-functions" |
60 |
+ |
61 |
+distutils_enable_tests setup.py |
62 |
+ |
63 |
+python_prepare_all() { |
64 |
+ python_setup |
65 |
+ echo VERSION="${PVR}" "${PYTHON}" setup.py set_version |
66 |
+ VERSION="${PVR}" "${PYTHON}" setup.py set_version |
67 |
+ distutils-r1_python_prepare_all |
68 |
+ |
69 |
+ if use prefix-guest ; then |
70 |
+ # use correct repo name, bug #632223 |
71 |
+ sed -i \ |
72 |
+ -e "/load_profile_data/s/repo='gentoo'/repo='gentoo_prefix'/" \ |
73 |
+ pym/gentoolkit/profile.py || die |
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 |
+ # Only show the elog information on a new install |
83 |
+ if [[ ! ${REPLACING_VERSIONS} ]]; then |
84 |
+ elog |
85 |
+ elog "For further information on gentoolkit, please read the gentoolkit" |
86 |
+ elog "guide: https://wiki.gentoo.org/wiki/Gentoolkit" |
87 |
+ elog |
88 |
+ elog "Another alternative to equery is app-portage/portage-utils" |
89 |
+ elog |
90 |
+ elog "Additional tools that may be of interest:" |
91 |
+ elog |
92 |
+ elog " app-admin/eclean-kernel" |
93 |
+ elog " app-portage/diffmask" |
94 |
+ elog " app-portage/flaggie" |
95 |
+ elog " app-portage/portpeek" |
96 |
+ elog " app-portage/smart-live-rebuild" |
97 |
+ fi |
98 |
+} |