1 |
commit: bbc7b4b290bbbd1c3a67c101819b8b95ff959002 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 13 01:01:19 2017 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 13 01:06:39 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbc7b4b2 |
7 |
|
8 |
sys-apps/portage: make sync-depth message conditional |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
sys-apps/portage/portage-2.3.3.ebuild | 14 +++++++++++--- |
13 |
1 file changed, 11 insertions(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/sys-apps/portage/portage-2.3.3.ebuild b/sys-apps/portage/portage-2.3.3.ebuild |
16 |
index 20e8d629cd..cb5403e124 100644 |
17 |
--- a/sys-apps/portage/portage-2.3.3.ebuild |
18 |
+++ b/sys-apps/portage/portage-2.3.3.ebuild |
19 |
@@ -237,6 +237,12 @@ pkg_preinst() { |
20 |
USERSYNC_UPGRADE=false |
21 |
REPOS_CONF_UPGRADE=false |
22 |
fi |
23 |
+ if has_version ">=${CATEGORY}/${PN}-2.3.1" && \ |
24 |
+ has_version "<${CATEGORY}/${PN}-2.3.3"; then |
25 |
+ SYNC_DEPTH_UPGRADE=true |
26 |
+ else |
27 |
+ SYNC_DEPTH_UPGRADE=false |
28 |
+ fi |
29 |
} |
30 |
|
31 |
get_ownership() { |
32 |
@@ -357,9 +363,11 @@ pkg_postinst() { |
33 |
fi |
34 |
fi |
35 |
|
36 |
- ewarn "Please note that this release no longer respects sync-depth for" |
37 |
- ewarn "git repositories. There have been too many problems and" |
38 |
- ewarn "performance issues. See bugs 552814, 559008" |
39 |
+ if ${SYNC_DEPTH_UPGRADE}; then |
40 |
+ ewarn "Please note that this release no longer respects sync-depth for" |
41 |
+ ewarn "git repositories. There have been too many problems and" |
42 |
+ ewarn "performance issues. See bugs 552814, 559008" |
43 |
+ fi |
44 |
einfo "" |
45 |
einfo "This release of portage NO LONGER contains the repoman code base." |
46 |
einfo "Repoman has its own ebuild and release package." |