/[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.4 - (show annotations) (download)
Mon Mar 31 21:19:10 2014 UTC (6 years, 4 months ago) by mgorny
Branch: MAIN
Changes since 1.3: +3 -3 lines
Add support for the new PyPy slotting.

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

1 # Copyright 1999-2014 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.3 2013/09/05 19:04:44 mgorny Exp $
4
5 EAPI=5
6
7 PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy pypy2_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 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