/[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 - (show annotations) (download)
Wed Apr 8 18:49:16 2015 UTC (5 years, 7 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 # Copyright 1999-2015 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-r1.ebuild,v 1.5 2014/10/26 17:56:53 jlec Exp $
4
5 EAPI=5
6
7 PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
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 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
21
22 RDEPEND="${PYTHON_DEPS}"
23 DEPEND="${DEPEND}"
24
25 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