/[gentoo-x86]/sci-libs/scikits/scikits-0.1-r1.ebuild
Gentoo

Contents of /sci-libs/scikits/scikits-0.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Wed Feb 6 15:43:16 2013 UTC (7 years, 6 months ago) by jlec
Branch: MAIN
sci-libs/scikits: Convert to new python eclasses

(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 70EB7916)

1 jlec 1.1 # Copyright 1999-2013 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits/scikits-0.1.ebuild,v 1.4 2012/06/26 23:36:58 bicatali Exp $
4    
5     EAPI=5
6    
7     PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} pypy{1_9,2_0} )
8    
9     inherit python-r1
10    
11     DESCRIPTION="Common files for python scikits"
12     HOMEPAGE="http://projects.scipy.org/scipy/scikits"
13     SRC_URI="mirror://pypi/${PN:0:1}/${PN}.example/${PN}.example-${PV}.tar.gz"
14    
15     LICENSE="BSD"
16     SLOT="0"
17     KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
18     IUSE="examples"
19    
20     S="${WORKDIR}"
21    
22     src_install() {
23     python_moduleinto scikits
24     python_foreach_impl python_domodule scikits.example*/scikits/__init__.py
25    
26     if use examples; then
27     insinto /usr/share/doc/${PF}/examples
28     doins -r scikits.example*/*
29     fi
30     }

  ViewVC Help
Powered by ViewVC 1.1.20