From 2f21f017305b32f4f59ba93f339ef7d5aa36c9a5 Mon Sep 17 00:00:00 2001 From: Sébastien Fabbro Date: Wed, 9 Mar 2016 17:23:07 +0000 Subject: dev-python/astroml: initial import Package-Manager: portage-2.2.27 --- dev-python/astroml/Manifest | 1 + dev-python/astroml/astroml-0.3.ebuild | 43 +++++++++++++++++++++++++++++++++++ dev-python/astroml/metadata.xml | 18 +++++++++++++++ 3 files changed, 62 insertions(+) create mode 100644 dev-python/astroml/Manifest create mode 100644 dev-python/astroml/astroml-0.3.ebuild create mode 100644 dev-python/astroml/metadata.xml (limited to 'dev-python/astroml') diff --git a/dev-python/astroml/Manifest b/dev-python/astroml/Manifest new file mode 100644 index 000000000000..fac400f82b6c --- /dev/null +++ b/dev-python/astroml/Manifest @@ -0,0 +1 @@ +DIST astroML-0.3.tar.gz 242925 SHA256 ea6d0119593aed0e0dadc79c613ac0bddad95e6f12151237562a4fd67552b2b8 SHA512 7b9c6824ec1c09c35a0e9ea10674c93c7f301a3b15c5104357d9749534b78203c33eaac82c8ec1d1c51bdf30e1408d21002d1d2e7e243aa08c28cc7b1f1ab74a WHIRLPOOL 9f2bcc6bc9e56f7b513d7d5dc1367b3d8b1e1ae6ee4ddf9f8b917ff1f2d3952fd9d7101a876b6b820a7f30a3607997e45d0435c4929085998724c64657867cb7 diff --git a/dev-python/astroml/astroml-0.3.ebuild b/dev-python/astroml/astroml-0.3.ebuild new file mode 100644 index 000000000000..5246df1ba9a6 --- /dev/null +++ b/dev-python/astroml/astroml-0.3.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit distutils-r1 virtualx + +MYPN=astroML +MYP=${MYPN}-${PV} + +DESCRIPTION="Python Machine Learning library for astronomy" +HOMEPAGE="http://www.astroml.org/" +SRC_URI="mirror://pypi/${PN:0:1}/${MYPN}/${MYP}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" +IUSE="examples test" + +RDEPEND=" + dev-python/astropy[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + sci-libs/scipy[${PYTHON_USEDEP}] + sci-libs/scikits_learn[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + test? ( dev-python/nose[${PYTHON_USEDEP}] )" + +S="${WORKDIR}/${MYP}" + +DOCS=( CHANGES.rst README.rst ) + +python_test() { + virtx nosetests --verbose || die +} + +python_install_all() { + distutils-r1_python_install_all + insinto /usr/share/doc/${PF} + use examples && doins -r examples +} diff --git a/dev-python/astroml/metadata.xml b/dev-python/astroml/metadata.xml new file mode 100644 index 000000000000..ce125c4d77e8 --- /dev/null +++ b/dev-python/astroml/metadata.xml @@ -0,0 +1,18 @@ + + + + + sci-astronomy@gentoo.org + Gentoo Astronomy Project + + + AstroML is a Python module for machine learning and data mining built on + numpy, scipy, scikit-learn, and matplotlib. It contains a growing library of + statistical and machine learning routines for analyzing astronomical data in + Python, loaders for several open astronomical datasets, and a large suite of + examples of analyzing and visualizing astronomical datasets. + + + astroML + + -- cgit v1.2.3-65-gdbad