/[gentoo-x86]/dev-python/pyclimate/pyclimate-1.2.1-r1.ebuild
Gentoo

Contents of /dev-python/pyclimate/pyclimate-1.2.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Thu Nov 26 21:02:27 2009 UTC (8 years, 6 months ago) by arfrever
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
Delete older ebuilds.

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/pyclimate/pyclimate-1.2.1-r1.ebuild,v 1.8 2007/03/05 02:49:35 genone Exp $
4
5 inherit eutils distutils
6
7 MY_P="${P/pyclimate/PyClimate}"
8 S="${WORKDIR}/${MY_P}"
9
10 IUSE=""
11 DESCRIPTION="Climate Data Analysis Module for Python"
12 SRC_URI="http://starship.python.net/crew/jsaenz/pyclimate/downloads/${MY_P}.tar.gz"
13 HOMEPAGE="http://starship.python.net/crew/jsaenz/pyclimate/index.html"
14 SLOT="0"
15 LICENSE="GPL-2"
16 KEYWORDS="~alpha ~ia64 ~ppc ~sparc ~x86"
17
18 DEPEND="virtual/python
19 >=dev-python/numeric-19.0
20 dev-python/scientificpython
21 >=sci-libs/netcdf-3.0"
22
23 src_install() {
24
25 distutils_src_install
26
27 dodir /usr/share/doc/${PF}/doc
28 insinto /usr/share/doc/${PF}/doc
29 doins doc/*
30 doins doc/dcdflib_doc/dcdflib*
31
32 dodir /usr/share/${PF}/examples
33 insinto /usr/share/${PF}/examples
34 doins examples/*
35
36 dodir /usr/share/${PF}/test
37 insinto /usr/share/${PF}/test
38 doins test/*
39 }
40
41 pkg_postinst() {
42 python_version
43 python_mod_optimize /usr/lib/python${PYVER}/site-packages/pyclimate
44 elog
45 elog "Try the test script in /usr/share/${PF}/test."
46 elog "See the examples in /usr/share/${PF}/examples."
47 elog "Read the doc in /usr/share/doc/${PF}."
48 elog
49 }
50
51 pkg_postrm() {
52 python_version
53 python_mod_cleanup
54 }

  ViewVC Help
Powered by ViewVC 1.1.20