/[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.6 - (hide annotations) (download)
Wed Apr 8 18:49:16 2015 UTC (5 years, 4 months ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +3 -3 lines
Drop old Python implementations

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

1 mgorny 1.6 # Copyright 1999-2015 Gentoo Foundation
2 jlec 1.1 # Distributed under the terms of the GNU General Public License v2
3 mgorny 1.6 # $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits/scikits-0.1-r1.ebuild,v 1.5 2014/10/26 17:56:53 jlec Exp $
4 jlec 1.1
5     EAPI=5
6    
7 mgorny 1.6 PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
8 jlec 1.1
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