summaryrefslogtreecommitdiff
path: root/dev-python/atpy
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/atpy
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/atpy')
-rw-r--r--dev-python/atpy/Manifest3
-rw-r--r--dev-python/atpy/atpy-0.9.7.ebuild34
-rw-r--r--dev-python/atpy/metadata.xml22
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-python/atpy/Manifest b/dev-python/atpy/Manifest
new file mode 100644
index 000000000000..25ef9c2d52fd
--- /dev/null
+++ b/dev-python/atpy/Manifest
@@ -0,0 +1,3 @@
+DIST ATpy-0.9.7.tar.gz 663163 BLAKE2B 57636ec6bb3d1fd094db963a7330b403467981b231a126f1626115bb3dc660422b64c75ca2bdbfcbdf09d4b843141c72b03f161c73b97ee75d24232bb0d949ea SHA512 4cd078625fd4fc83d267cf3aff4728ec8b2de927dd0a748dba47030216b141aa0c266f34bbf708211ec829a363b3b8e5eed36bf538efbe170ae316a271b36bb4
+EBUILD atpy-0.9.7.ebuild 822 BLAKE2B bf5bee3283128d467483135ad5b86a8728b3b6df8de324dc9e4dbe4a73e4b9e4f3cd0bc98c670aabde7136102a29ef501d2bcd159d1d3647cbe4538e69d6088b SHA512 f23b363e86beed375fd92c624d5b8f60fdcbe5350dfe9df9c73c578a65648d9976225dfe13780fd5671223137028438d169616070a4e5469f6903e268c9636a4
+MISC metadata.xml 932 BLAKE2B c9a29dba74241c5990eb13fcf51a5f148fdbb63c6dba1375f7d6abb121497918d2f28edb04e232c8c82cdf8e252feb06c91da8c411cedfb50fedef2aa7cdb905 SHA512 a9bbb7bdaa05f7bf9a6c0a9b58579de1ff120779788e562993dd1acd8b6fc28f87402f55aa39db871b3e0888619a8077a6556e163658450469f54b3cc28faca3
diff --git a/dev-python/atpy/atpy-0.9.7.ebuild b/dev-python/atpy/atpy-0.9.7.ebuild
new file mode 100644
index 000000000000..e9e43608e6c4
--- /dev/null
+++ b/dev-python/atpy/atpy-0.9.7.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="sqlite"
+
+inherit distutils-r1
+
+MYPN=ATpy
+MYP="${MYPN}-${PV}"
+
+DESCRIPTION="Astronomical tables support for Python"
+HOMEPAGE="http://atpy.readthedocs.org/"
+SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz"
+
+DEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}
+ dev-python/astropy[${PYTHON_USEDEP}]
+ hdf5? ( dev-python/h5py[${PYTHON_USEDEP}] )
+ mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
+ postgres? ( dev-python/pygresql )"
+
+IUSE="hdf5 mysql postgres sqlite"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+LICENSE="GPL-3"
+
+S="${WORKDIR}/${MYP}"
+
+python_test() {
+ PYTHONPATH="${BUILD_DIR}/lib" "${EPYTHON}" runtests.py || die
+}
diff --git a/dev-python/atpy/metadata.xml b/dev-python/atpy/metadata.xml
new file mode 100644
index 000000000000..0a36a95e13c5
--- /dev/null
+++ b/dev-python/atpy/metadata.xml
@@ -0,0 +1,22 @@
+<?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">
+ Astronomical Tables in Python (ATpy) is a high-level package
+ providing a way to manipulate tables of astronomical data in a
+ uniform way. A table is defined by any number of columns of data,
+ each characterized by a column name, unit, null value, and
+ description (the last three being optional), and can be supplemented
+ with metadata in the form of keywords or comments. ATpy can be used
+ to manipulate single tables as well as sets of tables. Table formats
+ supported are FITS, VO, IPAC. Database supported are SQLite, MySQL
+ and PostgreSQL.
+</longdescription>
+<upstream>
+ <remote-id type="pypi">ATpy</remote-id>
+</upstream>
+</pkgmetadata>