summaryrefslogtreecommitdiff
path: root/dev-python/specutils
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/specutils
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/specutils')
-rw-r--r--dev-python/specutils/Manifest5
-rw-r--r--dev-python/specutils/metadata.xml17
-rw-r--r--dev-python/specutils/specutils-0.2.2.ebuild51
-rw-r--r--dev-python/specutils/specutils-0.2.ebuild51
4 files changed, 124 insertions, 0 deletions
diff --git a/dev-python/specutils/Manifest b/dev-python/specutils/Manifest
new file mode 100644
index 000000000000..1a601e8b0a1b
--- /dev/null
+++ b/dev-python/specutils/Manifest
@@ -0,0 +1,5 @@
+DIST specutils-0.2.2.tar.gz 3349951 BLAKE2B d5014908fbd0f3c9a72492109b811998fcf09b721223eb5e1de6921ccc0a2469ac95133e793164ee0352a5b43fb58852e8b7a3f0e55aad34f8c73d0af40f2f4b SHA512 34afeaa33dc529372b926d905024c88786fd622864b35c3d811ce9f99ac26146b13951ed6334e1041c98b0f31ed86e60f21ec9306808b5d52167d9349f139e07
+DIST specutils-0.2.tar.gz 3348219 BLAKE2B 8189c6a3f1679bcb7c4ed7acadb87239204fadd2e4c62c1e170b5addc043fc1c8dc4fe6c064cafdc76f49f4c91b9f20a0382dcc47bfcbab10ea2a24cf1455d2f SHA512 ac05a795ddf3e690c7f5f7fe1a4b0340b546363ac132ce78bedc6ce364feb7418d896e18302ce391717cc507dbd37de210f5b6dfcfda2c44f9f8e0191619bace
+EBUILD specutils-0.2.2.ebuild 1249 BLAKE2B 21443c119a87254bee2f9e1aeab9d56b4470546b1aba699146817e4713ed587a56cfbf9f652f7475099203d4dd80690df5ad8ca4b764c6fe8a2e04168e286101 SHA512 fe0afcac677d3d8ce73b4ad9f2afd2453c170214a4d6751774cb91610b9b6724b1cea2cfb7f9e4bb4392478c5ac8253a78402375c7929f6b287660c78b8c4dc4
+EBUILD specutils-0.2.ebuild 1245 BLAKE2B ab9cbd84ce1d1f34c4102c0296b4adcd7c95e9848b92b17e623e7101bd01d6867280890118c53c9509916cfff0212efa14b7b56cbedbb86dae4664c687a6f211 SHA512 72a2c8a9eb81ee112101db51b6df8611574e0fbacd9f3b76a7d33c247c95877b3d41ffcc8589d4e593b9545a6f069f5c2fd6de20e41fc1e0248e2cabef57a31e
+MISC metadata.xml 663 BLAKE2B 802c3140758ac398b0e20c1622c859afb5c05763199b90df40ec4d3803594346f541e00d1f425fdf9c6de226cc6517720f1cb43ad6cee6b8e2ed0c735bf93bb6 SHA512 8d7a288e937215506aba4ad3cbd82fa693aa10395d71dfe371d6c9ac783521d1349e9f6cddf5abed730b918c48c77fb4162f199a75288469781ecd01ac7dbf00
diff --git a/dev-python/specutils/metadata.xml b/dev-python/specutils/metadata.xml
new file mode 100644
index 000000000000..45d4e24160ef
--- /dev/null
+++ b/dev-python/specutils/metadata.xml
@@ -0,0 +1,17 @@
+<?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">
+ specutils is a package to implement utilities and data structures to
+ analyse astronomical spectra within python. It extends NDData from Astropy
+ into a class with special handling of 1D spectra.
+ </longdescription>
+ <upstream>
+ <remote-id type="pypi">specutils</remote-id>
+ <remote-id type="github">astropy/specutils</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/specutils/specutils-0.2.2.ebuild b/dev-python/specutils/specutils-0.2.2.ebuild
new file mode 100644
index 000000000000..a1e1db53d9d2
--- /dev/null
+++ b/dev-python/specutils/specutils-0.2.2.ebuild
@@ -0,0 +1,51 @@
+# 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
+
+DESCRIPTION="Python package for astronomy spectral operations"
+HOMEPAGE="https://specutils.readthedocs.org/"
+SRC_URI="https://github.com/astropy/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="doc test"
+DOCS=( README.rst )
+
+RDEPEND="
+ dev-python/astropy[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/astropy-helpers[${PYTHON_USEDEP}]
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
+ dev-python/matplotlib[${PYTHON_USEDEP}] )
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+python_prepare_all() {
+ sed -i -e '/auto_use/s/True/False/' setup.cfg || die
+ distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+ if use doc; then
+ python_setup
+ VARTEXFONTS="${T}"/fonts \
+ MPLCONFIGDIR="${BUILD_DIR}" \
+ PYTHONPATH="${BUILD_DIR}"/lib \
+ esetup.py build_sphinx
+ fi
+}
+
+python_test() {
+ esetup.py test
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( docs/_build/html/ )
+ distutils-r1_python_install_all
+}
diff --git a/dev-python/specutils/specutils-0.2.ebuild b/dev-python/specutils/specutils-0.2.ebuild
new file mode 100644
index 000000000000..5e5b599b61c2
--- /dev/null
+++ b/dev-python/specutils/specutils-0.2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+inherit distutils-r1
+
+DESCRIPTION="Python package for astronomy spectral operations"
+HOMEPAGE="https://specutils.readthedocs.org/"
+SRC_URI="https://github.com/astropy/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="doc test"
+DOCS=( README.rst )
+
+RDEPEND="
+ dev-python/astropy[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/astropy-helpers[${PYTHON_USEDEP}]
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
+ dev-python/matplotlib[${PYTHON_USEDEP}] )
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+python_prepare_all() {
+ sed -i -e '/auto_use/s/True/False/' setup.cfg || die
+ distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+ if use doc; then
+ python_setup
+ VARTEXFONTS="${T}"/fonts \
+ MPLCONFIGDIR="${BUILD_DIR}" \
+ PYTHONPATH="${BUILD_DIR}"/lib \
+ esetup.py build_sphinx
+ fi
+}
+
+python_test() {
+ esetup.py test
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( docs/_build/html/ )
+ distutils-r1_python_install_all
+}