/[gentoo-x86]/sci-libs/scikits_optimization/scikits_optimization-0.2-r1.ebuild
Gentoo

Contents of /sci-libs/scikits_optimization/scikits_optimization-0.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Aug 12 22:24:34 2013 UTC (7 years, 3 months ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Cleanup for prefix, removed old

(Portage version: 2.2.01.22124-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)

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_optimization/scikits_optimization-0.2-r1.ebuild,v 1.1 2013/02/09 11:19:42 jlec Exp $
4
5 EAPI=5
6
7 PYTHON_COMPAT=( python{2_5,2_6,2_7} )
8
9 inherit distutils-r1
10
11 MY_P="${P/scikits_/scikits.}"
12
13 DESCRIPTION="Python module for numerical optimization"
14 HOMEPAGE="http://projects.scipy.org/scipy/scikits"
15 SRC_URI="mirror://pypi/${PN:0:1}/scikits.optimization/${MY_P}.zip"
16
17 LICENSE="BSD"
18 SLOT="0"
19 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
20 IUSE=""
21
22 RDEPEND="
23 dev-python/numpy[${PYTHON_USEDEP}]
24 sci-libs/scikits[${PYTHON_USEDEP}]"
25 DEPEND="${RDEPEND}
26 app-arch/unzip
27 dev-python/setuptools[${PYTHON_USEDEP}]"
28
29 S="${WORKDIR}/${MY_P}"
30
31 python_test() {
32 PYTHONPATH="${BUILD_DIR}/lib/" \
33 esetup.py test
34 }
35
36 python_install() {
37 distutils-r1_python_install
38 rm -f "${ED}"$(python_get_sitedir)/scikits/__init__.py || die
39 }

  ViewVC Help
Powered by ViewVC 1.1.20