/[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.2 - (hide annotations) (download)
Tue Jun 4 12:35:51 2013 UTC (7 years, 2 months ago) by jlec
Branch: MAIN
Changes since 1.1: +6 -1 lines
sci-libs/scikits: Fix for correct usage of new python eclasses

(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)

1 jlec 1.1 # Copyright 1999-2013 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 jlec 1.2 # $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits/scikits-0.1-r1.ebuild,v 1.1 2013/02/06 15:43:16 jlec Exp $
4 jlec 1.1
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 jlec 1.2 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
21    
22     RDEPEND="${PYTHON_DEPS}"
23     DEPEND="${DEPEND}"
24    
25 jlec 1.1 S="${WORKDIR}"
26    
27     src_install() {
28     python_moduleinto scikits
29     python_foreach_impl python_domodule scikits.example*/scikits/__init__.py
30    
31     if use examples; then
32     insinto /usr/share/doc/${PF}/examples
33     doins -r scikits.example*/*
34     fi
35     }

  ViewVC Help
Powered by ViewVC 1.1.20