diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/astroml | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/astroml')
-rw-r--r-- | dev-python/astroml/Manifest | 3 | ||||
-rw-r--r-- | dev-python/astroml/astroml-0.3.ebuild | 42 | ||||
-rw-r--r-- | dev-python/astroml/metadata.xml | 18 |
3 files changed, 63 insertions, 0 deletions
diff --git a/dev-python/astroml/Manifest b/dev-python/astroml/Manifest new file mode 100644 index 000000000000..d910717a26dd --- /dev/null +++ b/dev-python/astroml/Manifest @@ -0,0 +1,3 @@ +DIST astroML-0.3.tar.gz 242925 BLAKE2B f0a5d650cbd7e16b7c2a47cd83206312d7781c5a9b118a726ac19355f6de76c4fc2301ac91c7ad44b8076b61c167ea9c34272e9d63442e3fb606a0bf31acbfec SHA512 7b9c6824ec1c09c35a0e9ea10674c93c7f301a3b15c5104357d9749534b78203c33eaac82c8ec1d1c51bdf30e1408d21002d1d2e7e243aa08c28cc7b1f1ab74a +EBUILD astroml-0.3.ebuild 975 BLAKE2B 638e34f6cd816dad26705a01c3610dafbe6dd66bb9cb2d1b8f8206c7c844551efe0d57111a517069c994b25e7a1bc677b03b228cadd837c1104f0cb23dfaa292 SHA512 0333b9e8eb556dab7b9c203f542c2c3094283a77821787c71dc2ff92d997403c52876a9cf040950d2add03d1f8a776747b03a27ed1960832bf3da6d37692baa4 +MISC metadata.xml 770 BLAKE2B 6eeb2a402eac5479a10bba907afdb5f6f38ab037d6af5b6624e40119c1edb57bff94f27106b6125ed33115e2190ab0c7dcbaac6c436ccce511d3b73e276369ab SHA512 b1134c879b3a47608584621255916dd406a1de7f14b4ee4cb4a6e0f241f83dc86e4e48c54075b574e063f569049f0c793293fdb13098d874be75f0860ed0c082 diff --git a/dev-python/astroml/astroml-0.3.ebuild b/dev-python/astroml/astroml-0.3.ebuild new file mode 100644 index 000000000000..a190f1ecff58 --- /dev/null +++ b/dev-python/astroml/astroml-0.3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci-astronomy@gentoo.org</email> + <name>Gentoo Astronomy Project</name> + </maintainer> + <longdescription lang="en"> + 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. + </longdescription> + <upstream> + <remote-id type="pypi">astroML</remote-id> + </upstream> +</pkgmetadata> |