/[gentoo-x86]/dev-python/matplotlib/matplotlib-0.82.ebuild
Gentoo

Contents of /dev-python/matplotlib/matplotlib-0.82.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sun Jul 16 13:39:58 2006 UTC (8 years, 2 months ago) by liquidx
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
version bump. (#136429)
(Portage version: 2.1-r1)
 (Signed Manifest commit)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/matplotlib/matplotlib-0.82.ebuild,v 1.4 2005/12/07 17:48:54 marienz Exp $
4
5 inherit distutils
6
7 DESCRIPTION="matplotlib is a pure python plotting library designed to bring publication quality plotting to python with a syntax familiar to matlab users."
8 HOMEPAGE="http://matplotlib.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
10
11 IUSE="doc gtk"
12 SLOT="0"
13 KEYWORDS="~amd64 ~ppc ~x86"
14 LICENSE="PYTHON"
15
16 DEPEND="virtual/python
17 || (
18 >=dev-python/numeric-22
19 dev-python/numarray
20 )
21 >=media-libs/freetype-2.1.7
22 media-libs/libpng
23 sys-libs/zlib
24 gtk? ( >=dev-python/pygtk-1.99.16 )
25 !dev-python/pytz
26 !dev-python/python-dateutil"
27
28 src_unpack() {
29 unpack ${A}
30 cd ${S}
31
32 # This would blow things up if we had a
33 # dev-python/pytz or dev-python/dateutil
34 # Those should be added as dependencies
35 sed -i -e "151,+6d;158a\ add_dateutil()" setup.py
36 }
37
38 src_install() {
39 distutils_src_install
40
41 if use doc ; then
42 insinto /usr/share/doc/${PF}/examples
43 doins examples/*.py examples/README
44 insinto /usr/share/doc/${PF}/examples/data
45 doins examples/data/*.dat
46 fi
47 }

  ViewVC Help
Powered by ViewVC 1.1.20