diff options
Diffstat (limited to 'dev-python/PyClimate/PyClimate-1.2.1-r1.ebuild')
-rw-r--r-- | dev-python/PyClimate/PyClimate-1.2.1-r1.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/PyClimate/PyClimate-1.2.1-r1.ebuild b/dev-python/PyClimate/PyClimate-1.2.1-r1.ebuild new file mode 100644 index 000000000000..e625a03b2feb --- /dev/null +++ b/dev-python/PyClimate/PyClimate-1.2.1-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/PyClimate/PyClimate-1.2.1-r1.ebuild,v 1.1 2004/06/01 02:36:05 nerdboy Exp $ + +inherit eutils distutils + +IUSE="" +DESCRIPTION="Climate Data Analysis Module for Python" +SRC_URI="http://starship.python.net/crew/jsaenz/pyclimate/downloads/${P}.tar.gz" +HOMEPAGE="http://starship.python.net/crew/jsaenz/pyclimate/index.html" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~sparc ~alpha ~ppc" + +DEPEND="virtual/python + >=dev-python/numeric-19.0 + dev-python/ScientificPython + >=app-sci/netcdf-3.0" + +src_install() { + + distutils_src_install + + dodir /usr/share/doc/${PF}/doc + insinto /usr/share/doc/${PF}/doc + doins doc/* + doins doc/dcdflib_doc/dcdflib* + + dodir /usr/share/${PF}/examples + insinto /usr/share/${PF}/examples + doins examples/* + + dodir /usr/share/${PF}/test + insinto /usr/share/${PF}/test + doins test/* +} + +pkg_postinst() { + python_version + python_mod_optimize /usr/lib/python${PYVER}/site-packages/pyclimate + einfo + einfo "Try the test script in /usr/share/${PF}/test." + einfo "See the examples in /usr/share/${PF}/examples." + einfo "Read the doc in /usr/share/doc/${PF}." + einfo +} + +pkg_postrm() { + python_version + python_mod_cleanup +} |