/[gentoo-x86]/dev-python/gnuplot-py/gnuplot-py-1.8.ebuild
Gentoo

Contents of /dev-python/gnuplot-py/gnuplot-py-1.8.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations) (download)
Thu Mar 5 13:57:13 2015 UTC (3 years, 6 months ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key )

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/gnuplot-py/gnuplot-py-1.8.ebuild,v 1.12 2012/02/23 09:15:51 patrick Exp $
4
5 EAPI="3"
6 PYTHON_DEPEND="2"
7 SUPPORT_PYTHON_ABIS="1"
8 RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
9
10 inherit distutils eutils
11
12 DESCRIPTION="A python wrapper for Gnuplot"
13 HOMEPAGE="http://gnuplot-py.sourceforge.net/"
14 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
15
16 LICENSE="LGPL-2.1"
17 SLOT="0"
18 KEYWORDS="amd64 ~ia64 ppc ppc64 s390 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
19 IUSE="doc"
20
21 DEPEND="dev-python/numpy"
22 RDEPEND="${DEPEND}
23 sci-visualization/gnuplot"
24
25 DOCS="ANNOUNCE.txt CREDITS.txt FAQ.txt NEWS.txt TODO.txt"
26 PYTHON_MODNAME="Gnuplot"
27
28 src_prepare() {
29 distutils_src_prepare
30 epatch "${FILESDIR}/${PN}-1.7-mousesupport.patch"
31 python_convert_shebangs 2 demo.py test.py
32 }
33
34 src_install() {
35 distutils_src_install
36
37 delete_examples() {
38 rm -f "${ED}$(python_get_sitedir)/Gnuplot/"{demo,test}.py
39 }
40 python_execute_function -q delete_examples
41
42 insinto /usr/share/doc/${PF}/examples
43 doins demo.py test.py
44
45 if use doc; then
46 insinto /usr/share/doc/${PF}/html
47 doins -r doc/Gnuplot/* || die "doc install failed"
48 fi
49 }

  ViewVC Help
Powered by ViewVC 1.1.20