summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-11-23 09:59:17 +0100
committerJustin Lecher <jlec@gentoo.org>2015-11-23 11:05:31 +0100
commitf592cd94e57c175c4f8f501d87658ce9a8b81df8 (patch)
tree6ad0c66a16f909a5c6408110ef541f2211d54762 /sci-visualization
parentdev-python/pytest-runner: Clean old (diff)
downloadgentoo-f592cd94e57c175c4f8f501d87658ce9a8b81df8.tar.gz
gentoo-f592cd94e57c175c4f8f501d87658ce9a8b81df8.tar.bz2
gentoo-f592cd94e57c175c4f8f501d87658ce9a8b81df8.zip
sci-visualization/veusz: Drop symlink into PORTDIR
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=341653 Package-Manager: portage-2.2.25 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/veusz/veusz-1.23.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/sci-visualization/veusz/veusz-1.23.ebuild b/sci-visualization/veusz/veusz-1.23.ebuild
index 42bfe9dd4286..ebe7f7c92353 100644
--- a/sci-visualization/veusz/veusz-1.23.ebuild
+++ b/sci-visualization/veusz/veusz-1.23.ebuild
@@ -48,8 +48,14 @@ python_install() {
distutils-r1_python_install
# symlink the license, bug #341653
rm "${D}/$(python_get_sitedir)"/${PN}/{COPYING,AUTHORS,ChangeLog} || die
- ln -s "${PORTDIR}"/licenses/${LICENSE} \
- "${D}/$(python_get_sitedir)"/${PN}/COPYING || die
+ mkdir -p "${D}/$(python_get_sitedir)" || die
+ cat >> "${D}/$(python_get_sitedir)"/${PN}/COPYING <<- EOF
+ Please visit
+
+ https://www.gnu.org/licenses/gpl-2.0.html
+
+ for the full license text.
+ EOF
}
python_install_all() {