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 | |
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')
-rw-r--r-- | sci-libs/scikits/ChangeLog | 12 | ||||
-rw-r--r-- | sci-libs/scikits/metadata.xml | 8 | ||||
-rw-r--r-- | sci-libs/scikits/scikits-0.1.ebuild | 33 | ||||
-rw-r--r-- | sci-libs/scikits_image/ChangeLog | 24 | ||||
-rw-r--r-- | sci-libs/scikits_image/metadata.xml | 11 | ||||
-rw-r--r-- | sci-libs/scikits_image/scikits_image-0.2.2.ebuild | 57 | ||||
-rw-r--r-- | sci-libs/scikits_learn/ChangeLog | 35 | ||||
-rw-r--r-- | sci-libs/scikits_learn/metadata.xml | 10 | ||||
-rw-r--r-- | sci-libs/scikits_learn/scikits_learn-0.6.ebuild | 72 | ||||
-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 | ||||
-rw-r--r-- | sci-libs/scikits_statsmodels/ChangeLog | 22 | ||||
-rw-r--r-- | sci-libs/scikits_statsmodels/metadata.xml | 19 | ||||
-rw-r--r-- | sci-libs/scikits_statsmodels/scikits_statsmodels-0.2.0.ebuild | 70 |
15 files changed, 448 insertions, 0 deletions
diff --git a/sci-libs/scikits/ChangeLog b/sci-libs/scikits/ChangeLog new file mode 100644 index 000000000000..cefb129e97ba --- /dev/null +++ b/sci-libs/scikits/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for sci-libs/scikits +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits/ChangeLog,v 1.1 2011/01/08 19:26:17 bicatali Exp $ + + 08 Jan 2011; Sébastien Fabbro <bicatali@gentoo.org> +scikits-0.1.ebuild: + Initial import to the main tree + +*scikits-0.1 (04 Dec 2010) + + 04 Dec 2010; Sébastien Fabbro <bicatali@gentoo.org> +scikits-0.1.ebuild: + Initial import + diff --git a/sci-libs/scikits/metadata.xml b/sci-libs/scikits/metadata.xml new file mode 100644 index 000000000000..e5bc257a5fc9 --- /dev/null +++ b/sci-libs/scikits/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"> + Meta package for the scikits. Include a standard example as well. +</longdescription> +</pkgmetadata> diff --git a/sci-libs/scikits/scikits-0.1.ebuild b/sci-libs/scikits/scikits-0.1.ebuild new file mode 100644 index 000000000000..059c2c8244f5 --- /dev/null +++ b/sci-libs/scikits/scikits-0.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits/scikits-0.1.ebuild,v 1.1 2011/01/08 19:26:17 bicatali Exp $ + + +EAPI="3" +SUPPORT_PYTHON_ABIS="1" +inherit python + +DESCRIPTION="Common files for python scikits" +HOMEPAGE="http://projects.scipy.org/scipy/scikits" +SRC_URI="http://pypi.python.org/packages/source/${PN:0:1}/${PN}.example/${PN}.example-${PV}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +RDEPEND="" +DEPEND="" +S="${WORKDIR}" + +src_install() { + install_scikits() { + insinto $(python_get_sitedir)/scikits + doins scikits.example*/scikits/__init__.py || die + } + python_execute_function -q install_scikits + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins -r scikits.examples*/* || die + fi +} diff --git a/sci-libs/scikits_image/ChangeLog b/sci-libs/scikits_image/ChangeLog new file mode 100644 index 000000000000..ea5ee5796440 --- /dev/null +++ b/sci-libs/scikits_image/ChangeLog @@ -0,0 +1,24 @@ +# ChangeLog for sci-libs/scikits_image +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits_image/ChangeLog,v 1.1 2011/01/08 19:22:18 bicatali Exp $ + + 08 Jan 2011; Sébastien Fabbro <bicatali@gentoo.org> + +scikits_image-0.2.2.ebuild, +metadata.xml: + Initial import to the main tree + + 04 Dec 2010; Sébastien Fabbro <bicatali@gentoo.org> + scikits_image-0.2.2.ebuild: + Now depend on common scikits + + 29 Jun 2010; Justin Lecher <jlec@gentoo.org> scikits_image-0.2.2.ebuild: + Python ABI fixes + + 29 Jun 2010; Justin Lecher <jlec@gentoo.org> scikits_image-0.2.2.ebuild: + removed old + +*scikits_image-0.2.2 (26 Mar 2010) + + 26 Mar 2010; Sébastien Fabbro <bicatali@gentoo.org> + +scikits_image-0.2.2.ebuild, +metadata.xml: + Initial import + diff --git a/sci-libs/scikits_image/metadata.xml b/sci-libs/scikits_image/metadata.xml new file mode 100644 index 000000000000..3efece613f9d --- /dev/null +++ b/sci-libs/scikits_image/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<longdescription lang="en"> + This SciKit (toolkit for SciPy) includes useful image processing + algorithms for use with Python and NumPy. While SciPy’s ndimage + provides low-level manipulation, scikits.image centres around + algorithms and applications. +</longdescription> +</pkgmetadata> diff --git a/sci-libs/scikits_image/scikits_image-0.2.2.ebuild b/sci-libs/scikits_image/scikits_image-0.2.2.ebuild new file mode 100644 index 000000000000..b70c72457405 --- /dev/null +++ b/sci-libs/scikits_image/scikits_image-0.2.2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits_image/scikits_image-0.2.2.ebuild,v 1.1 2011/01/08 19:22:18 bicatali Exp $ + +EAPI="2" + +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +inherit distutils + +MY_P="${P/scikits_/scikits.}" + +DESCRIPTION="Image processing routines for SciPy" +HOMEPAGE="http://stefanv.github.com/scikits.image" +SRC_URI="http://pypi.python.org/packages/source/s/scikits.image/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND="dev-python/numpy + sci-libs/scikits" +DEPEND="${RDEPEND} + dev-python/setuptools + doc? ( dev-python/sphinx )" + +S="${WORKDIR}/${MY_P}" + +src_compile() { + distutils_src_compile + if use doc; then + "$(PYTHON -f)" setup.py build_sphinx || die "Generation of documentation failed" + fi +} + +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 + dodoc *.txt || die + insinto /usr/share/doc/${PF} + if use doc; then + doins -r build/sphinx/html || die + fi +} diff --git a/sci-libs/scikits_learn/ChangeLog b/sci-libs/scikits_learn/ChangeLog new file mode 100644 index 000000000000..104280f21ad4 --- /dev/null +++ b/sci-libs/scikits_learn/ChangeLog @@ -0,0 +1,35 @@ +# ChangeLog for sci-libs/scikits_learn +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits_learn/ChangeLog,v 1.1 2011/01/08 19:22:56 bicatali Exp $ + +*scikits_learn-0.6 (08 Jan 2011) + + 08 Jan 2011; Sébastien Fabbro <bicatali@gentoo.org> + +scikits_learn-0.6.ebuild, +metadata.xml: + Initial import to the main tree + + 04 Dec 2010; Sébastien Fabbro <bicatali@gentoo.org> + scikits_learn-0.5.ebuild: + Now depend on common scikits + +*scikits_learn-0.5 (04 Dec 2010) + + 04 Dec 2010; Sébastien Fabbro <bicatali@gentoo.org> + +scikits_learn-0.5.ebuild: + Version bump. Now depends on sci-libs/scikits. + +*scikits_learn-0.4 (05 Aug 2010) + + 05 Aug 2010; Sébastien Fabbro <bicatali@gentoo.org> + -scikits_learn-0.2.ebuild, +scikits_learn-0.4.ebuild: + Version bump. Now depend on system libsvm + + 29 Jun 2010; Justin Lecher <jlec@gentoo.org> scikits_learn-0.2.ebuild: + Python ABI fixes + +*scikits_learn-0.2 (26 Mar 2010) + + 26 Mar 2010; Sébastien Fabbro <bicatali@gentoo.org> + +scikits_learn-0.2.ebuild, +metadata.xml: + Initial import + diff --git a/sci-libs/scikits_learn/metadata.xml b/sci-libs/scikits_learn/metadata.xml new file mode 100644 index 000000000000..087bbc4a99a7 --- /dev/null +++ b/sci-libs/scikits_learn/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<longdescription lang="en"> + scikits.learn is a python library for machine learning. It aims to + implement classic machine learning algorithms while remaining simple + and efficient. +</longdescription> +</pkgmetadata> diff --git a/sci-libs/scikits_learn/scikits_learn-0.6.ebuild b/sci-libs/scikits_learn/scikits_learn-0.6.ebuild new file mode 100644 index 000000000000..ee0e366dd722 --- /dev/null +++ b/sci-libs/scikits_learn/scikits_learn-0.6.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits_learn/scikits_learn-0.6.ebuild,v 1.1 2011/01/08 19:22:56 bicatali Exp $ + +EAPI="3" + +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +inherit distutils + +MY_P="${P/scikits_/scikits.}" + +DESCRIPTION="A set of python modules for machine learning and data mining" +HOMEPAGE="http://scikits-learn.sourceforge.net/" +SRC_URI="mirror://sourceforge/scikit-learn/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples test" + +CDEPEND="sci-libs/scipy + >=sci-libs/libsvm-2.91" +RDEPEND="${CDEPEND} + sci-libs/scikits + dev-python/matplotlib" +DEPEND="${CDEPEND} + dev-python/cython + dev-python/setuptools + doc? ( dev-python/sphinx dev-python/matplotlib )" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + # use stock libsvm + cat <<-EOF >> site.cfg + [libsvm] + libraries=svm + library_dirs=${EPREFIX}/usr/$(get_libdir) + include_dirs=${EPREFIX}/usr/include/libsvm-2.0/libsvm + EOF +} + +src_compile() { + distutils_src_compile + if use doc; then + cd "${S}/doc" + export VARTEXFONTS="${T}"/fonts + MPLCONFIGDIR="${S}/build-$(PYTHON -f --ABI)" \ + PYTHONPATH=$(ls -d "${S}"/build-$(PYTHON -f --ABI)/lib*) \ + emake html latex || die + fi +} + +src_install() { + find "${S}" -name \*LICENSE.txt -delete + distutils_src_install + remove_scikits() { + rm -f "${ED}"$(python_get_sitedir)/scikits/__init__.py || die + } + python_execute_function -q remove_scikits + insinto /usr/share/doc/${PF} + if use doc; then + doins "${DISTDIR}"/scikits.learn.pdf || die + doins -r build/sphinx/html || die + fi + if use examples; then + doins -r examples || die + fi +} 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 +} diff --git a/sci-libs/scikits_statsmodels/ChangeLog b/sci-libs/scikits_statsmodels/ChangeLog new file mode 100644 index 000000000000..1de5f2430d73 --- /dev/null +++ b/sci-libs/scikits_statsmodels/ChangeLog @@ -0,0 +1,22 @@ +# ChangeLog for sci-libs/scikits_statsmodels +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits_statsmodels/ChangeLog,v 1.1 2011/01/08 19:23:57 bicatali Exp $ + + 08 Jan 2011; Sébastien Fabbro <bicatali@gentoo.org> + +scikits_statsmodels-0.2.0.ebuild, +metadata.xml: + Initial import to the main tree + + 04 Dec 2010; Sébastien Fabbro <bicatali@gentoo.org> + scikits_statsmodels-0.2.0.ebuild: + Now depend on common scikits + + 29 Jun 2010; Justin Lecher <jlec@gentoo.org> + scikits_statsmodels-0.2.0.ebuild: + Python ABI fixes + +*scikits_statsmodels-0.2.0 (26 Mar 2010) + + 26 Mar 2010; Sébastien Fabbro <bicatali@gentoo.org> + +scikits_statsmodels-0.2.0.ebuild, +metadata.xml: + Initial import of scikits.statsmodels + diff --git a/sci-libs/scikits_statsmodels/metadata.xml b/sci-libs/scikits_statsmodels/metadata.xml new file mode 100644 index 000000000000..161761b3f0f6 --- /dev/null +++ b/sci-libs/scikits_statsmodels/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<longdescription lang="en"> + Statsmodels is a python package that provides a complement to scipy + for statistical computations including descriptive statistics and + estimation of statistical models. + + scikits.statsmodels provides classes and functions for the estimation + of several categories of statistical models. These currently include + linear regression models, OLS, GLS, WLS and GLS with AR(p) errors, + generalized linear models for six distribution families, M-estimators for robust + linear models, and regression with discrete dependent variables, + Logit, Probit, MNLogit, Poisson, based on maximum likelihood estimators. + An extensive list of result statistics are avalable for each estimation + problem. +</longdescription> +</pkgmetadata> diff --git a/sci-libs/scikits_statsmodels/scikits_statsmodels-0.2.0.ebuild b/sci-libs/scikits_statsmodels/scikits_statsmodels-0.2.0.ebuild new file mode 100644 index 000000000000..a49f3eedec3b --- /dev/null +++ b/sci-libs/scikits_statsmodels/scikits_statsmodels-0.2.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits_statsmodels/scikits_statsmodels-0.2.0.ebuild,v 1.1 2011/01/08 19:23:57 bicatali Exp $ + +EAPI="2" + +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +inherit distutils + +MY_P="${P/scikits_/scikits.}" + +DESCRIPTION="Statistical computations and models for use with SciPy" +HOMEPAGE="http://scikits.appspot.com/statsmodels" +SRC_URI="http://pypi.python.org/packages/source/s/scikits.statsmodels/${MY_P}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples test" + +RDEPEND="sci-libs/scipy + sci-libs/scikits" +DEPEND="dev-python/numpy + dev-python/setuptools + doc? ( dev-python/sphinx )" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + # remove badly placed docs and examples + sed -i \ + -e '/statsmodels\/docs/d' \ + -e '/statsmodels\/examples/d' \ + setup.py || die + mv scikits/statsmodels/{docs,examples} . + distutils_src_prepare +} + +src_compile() { + distutils_src_compile + if use doc; then + "$(PYTHON -f)" setup.py build_sphinx || die "Generation of documentation failed" + fi +} + +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() { + find "${S}" -name \*LICENSE.txt -delete + distutils_src_install + remove_scikits() { + rm -f "${ED}"$(python_get_sitedir)/scikits/__init__.py || die + } + python_execute_function -q remove_scikits + insinto /usr/share/doc/${PF} + if use doc; then + doins -r build/sphinx/html || die + fi + if use examples; then + doins -r examples || die + fi +} |