diff options
author | Justin Lecher <jlec@gentoo.org> | 2013-07-12 15:22:16 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2013-07-12 15:22:16 +0000 |
commit | 8837c01b59bc1c3a0fb969bd30ad5b56c8891c50 (patch) | |
tree | 40fa81cd32093e6e5cfa5950f0e29951a4c23866 /sci-visualization | |
parent | Whoops. Fix patch filename. (diff) | |
download | gentoo-2-8837c01b59bc1c3a0fb969bd30ad5b56c8891c50.tar.gz gentoo-2-8837c01b59bc1c3a0fb969bd30ad5b56c8891c50.tar.bz2 gentoo-2-8837c01b59bc1c3a0fb969bd30ad5b56c8891c50.zip |
sci-visualization/qtiplot: Really fix the python problem, #475806
(Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'sci-visualization')
-rw-r--r-- | sci-visualization/qtiplot/ChangeLog | 5 | ||||
-rw-r--r-- | sci-visualization/qtiplot/qtiplot-0.9.8.9-r2.ebuild | 9 |
2 files changed, 11 insertions, 3 deletions
diff --git a/sci-visualization/qtiplot/ChangeLog b/sci-visualization/qtiplot/ChangeLog index 6d8ed4bf1be7..064af2926fab 100644 --- a/sci-visualization/qtiplot/ChangeLog +++ b/sci-visualization/qtiplot/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-visualization/qtiplot # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.100 2013/07/10 07:07:33 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.101 2013/07/12 15:22:16 jlec Exp $ + + 12 Jul 2013; Justin Lecher <jlec@gentoo.org> qtiplot-0.9.8.9-r2.ebuild: + Really fix the python problem, #475806 10 Jul 2013; Justin Lecher <jlec@gentoo.org> qtiplot-0.9.8.9-r2.ebuild: Fix installation with USE=-python, #475806 diff --git a/sci-visualization/qtiplot/qtiplot-0.9.8.9-r2.ebuild b/sci-visualization/qtiplot/qtiplot-0.9.8.9-r2.ebuild index 16c26d1c0020..b39ba2b4eee0 100644 --- a/sci-visualization/qtiplot/qtiplot-0.9.8.9-r2.ebuild +++ b/sci-visualization/qtiplot/qtiplot-0.9.8.9-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.9-r2.ebuild,v 1.2 2013/07/10 07:07:33 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.9-r2.ebuild,v 1.3 2013/07/12 15:22:16 jlec Exp $ EAPI=5 @@ -131,13 +131,18 @@ src_prepare() { sed \ -e "s:doc/${PN}/manual:doc/${PN}/html:" \ - -e "s:/usr/local/${PN}:${EPREFIX}$(python_get_sitedir)/qtiplot:" \ -e '/INSTALLS.*documentation/d' \ -e '/INSTALLS.*manual/d' \ -e "/INSTALLBASE/s: /usr: ${EPREFIX}/usr:g" \ -e 's:/usr/local/qtiplot:$$INSTALLBASE:g' \ -i qtiplot/qtiplot.pro || die + if use python; then + sed \ + -e "s:/usr/local/${PN}:${EPREFIX}$(python_get_sitedir)/qtiplot:" \ + -i qtiplot/qtiplot.pro || die + fi + sed \ -e "/^target.path/s:/usr:${EPREFIX}/usr:g" \ -i fitPlugins/*/*.pro || die |