diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2011-01-08 19:26:17 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2011-01-08 19:26:17 +0000 |
commit | 2dc0920ff6a3c8ffe3d6b284240351f6d2c725db (patch) | |
tree | 6af0530696ca62e20da2a248b25b1d28630e7650 /sci-libs/scikits_optimization | |
parent | Fix deprecation warnings. (diff) | |
download | historical-2dc0920ff6a3c8ffe3d6b284240351f6d2c725db.tar.gz historical-2dc0920ff6a3c8ffe3d6b284240351f6d2c725db.tar.bz2 historical-2dc0920ff6a3c8ffe3d6b284240351f6d2c725db.zip |
Initial import to the main tree
Package-Manager: portage-2.1.9.30/cvs/Linux x86_64
Diffstat (limited to 'sci-libs/scikits_optimization')
-rw-r--r-- | sci-libs/scikits_optimization/ChangeLog | 22 | ||||
-rw-r--r-- | sci-libs/scikits_optimization/metadata.xml | 8 | ||||
-rw-r--r-- | sci-libs/scikits_optimization/scikits_optimization-0.1.ebuild | 45 |
3 files changed, 75 insertions, 0 deletions
diff --git a/sci-libs/scikits_optimization/ChangeLog b/sci-libs/scikits_optimization/ChangeLog new file mode 100644 index 000000000000..b59b02377281 --- /dev/null +++ b/sci-libs/scikits_optimization/ChangeLog @@ -0,0 +1,22 @@ +# ChangeLog for sci-libs/scikits_optimization +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits_optimization/ChangeLog,v 1.1 2011/01/08 19:23:25 bicatali Exp $ + + 08 Jan 2011; Sébastien Fabbro <bicatali@gentoo.org> + +scikits_optimization-0.1.ebuild, +metadata.xml: + Initial import to the main tree + + 04 Dec 2010; Sébastien Fabbro <bicatali@gentoo.org> + scikits_optimization-0.1.ebuild: + Now depend on common scikits + + 29 Jun 2010; Justin Lecher <jlec@gentoo.org> + scikits_optimization-0.1.ebuild: + Python ABI fixes + +*scikits_optimization-0.1 (26 Mar 2010) + + 26 Mar 2010; Sébastien Fabbro <bicatali@gentoo.org> + +scikits_optimization-0.1.ebuild, +metadata.xml: + Initial import + diff --git a/sci-libs/scikits_optimization/metadata.xml b/sci-libs/scikits_optimization/metadata.xml new file mode 100644 index 000000000000..4603bd8a9e79 --- /dev/null +++ b/sci-libs/scikits_optimization/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<longdescription lang="en"> + A Python module for numerical optimization. +</longdescription> +</pkgmetadata> diff --git a/sci-libs/scikits_optimization/scikits_optimization-0.1.ebuild b/sci-libs/scikits_optimization/scikits_optimization-0.1.ebuild new file mode 100644 index 000000000000..1423b13b05f0 --- /dev/null +++ b/sci-libs/scikits_optimization/scikits_optimization-0.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits_optimization/scikits_optimization-0.1.ebuild,v 1.1 2011/01/08 19:23:25 bicatali Exp $ + +EAPI="2" + +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +inherit distutils + +MY_P="${P/scikits_/scikits.}" + +DESCRIPTION="Python module for numerical optimization" +HOMEPAGE="http://projects.scipy.org/scipy/scikits" +SRC_URI="http://pypi.python.org/packages/source/s/scikits.optimization/${MY_P}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-python/numpy + sci-libs/scikits" +DEPEND="${RDEPEND} + app-arch/unzip + dev-python/setuptools" + +S="${WORKDIR}/${MY_P}" + +src_test() { + testing() { + PYTHONPATH="$(dir -d build-${PYTHON_ABI}/lib*)" "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" test + } + python_execute_function testing +} + +src_install() { + distutils_src_install + remove_scikits() { + rm -f "${ED}"$(python_get_sitedir)/scikits/__init__.py || die + } + python_execute_function -q remove_scikits +} |