1 |
commit: f592cd94e57c175c4f8f501d87658ce9a8b81df8 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 23 08:59:17 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 23 10:05:31 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f592cd94 |
7 |
|
8 |
sci-visualization/veusz: Drop symlink into PORTDIR |
9 |
|
10 |
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=341653 |
11 |
|
12 |
Package-Manager: portage-2.2.25 |
13 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
14 |
|
15 |
sci-visualization/veusz/veusz-1.23.ebuild | 10 ++++++++-- |
16 |
1 file changed, 8 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/sci-visualization/veusz/veusz-1.23.ebuild b/sci-visualization/veusz/veusz-1.23.ebuild |
19 |
index 42bfe9d..ebe7f7c 100644 |
20 |
--- a/sci-visualization/veusz/veusz-1.23.ebuild |
21 |
+++ b/sci-visualization/veusz/veusz-1.23.ebuild |
22 |
@@ -48,8 +48,14 @@ python_install() { |
23 |
distutils-r1_python_install |
24 |
# symlink the license, bug #341653 |
25 |
rm "${D}/$(python_get_sitedir)"/${PN}/{COPYING,AUTHORS,ChangeLog} || die |
26 |
- ln -s "${PORTDIR}"/licenses/${LICENSE} \ |
27 |
- "${D}/$(python_get_sitedir)"/${PN}/COPYING || die |
28 |
+ mkdir -p "${D}/$(python_get_sitedir)" || die |
29 |
+ cat >> "${D}/$(python_get_sitedir)"/${PN}/COPYING <<- EOF |
30 |
+ Please visit |
31 |
+ |
32 |
+ https://www.gnu.org/licenses/gpl-2.0.html |
33 |
+ |
34 |
+ for the full license text. |
35 |
+ EOF |
36 |
} |
37 |
|
38 |
python_install_all() { |