1 |
commit: 49add11ae54e82cc38e51b2aaf22e06fedecb918 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 3 07:52:07 2019 +0000 |
4 |
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 26 01:48:46 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=49add11a |
7 |
|
8 |
ebuild-writing/variables: explicitly discourage HOMEPAGE in SRC_URI |
9 |
|
10 |
Closes: https://github.com/gentoo/devmanual/pull/115 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
Signed-off-by: Göktürk Yüksek <gokturk <AT> gentoo.org> |
13 |
|
14 |
ebuild-writing/variables/text.xml | 5 +++++ |
15 |
1 file changed, 5 insertions(+) |
16 |
|
17 |
diff --git a/ebuild-writing/variables/text.xml b/ebuild-writing/variables/text.xml |
18 |
index 8854a3a..35dc8f2 100644 |
19 |
--- a/ebuild-writing/variables/text.xml |
20 |
+++ b/ebuild-writing/variables/text.xml |
21 |
@@ -699,6 +699,11 @@ have no direct correlation with the expected string should be avoided. |
22 |
(e.g. while reviewing via gitweb), |
23 |
</li> |
24 |
|
25 |
+ <li> |
26 |
+ using <c>${HOMEPAGE}</c> in <c>SRC_URI</c> — it breaks when homepage |
27 |
+ changes or additional entry is added, |
28 |
+ </li> |
29 |
+ |
30 |
<li> |
31 |
using <c>${PN}</c> (or other unnecessary helper variables) |
32 |
excessively in <c>src_install()</c> — it impairs readability for |