aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <seb@cayenne.ist.utl.pt>2009-07-21 21:56:58 +0100
committerSebastien Fabbro <seb@cayenne.ist.utl.pt>2009-07-21 22:02:24 +0100
commit600410539d4f1a0ee3a4fb791753118d7a90bcb9 (patch)
treee6a1f0c674d3346c1f16a73e29595eec8cbfde19
parentvo initial import (diff)
downloadsci-600410539d4f1a0ee3a4fb791753118d7a90bcb9.tar.gz
sci-600410539d4f1a0ee3a4fb791753118d7a90bcb9.tar.bz2
sci-600410539d4f1a0ee3a4fb791753118d7a90bcb9.zip
atpy initial import
-rw-r--r--dev-python/atpy/ChangeLog10
-rw-r--r--dev-python/atpy/Manifest4
-rw-r--r--dev-python/atpy/atpy-0.9.0.ebuild33
-rw-r--r--dev-python/atpy/metadata.xml24
4 files changed, 71 insertions, 0 deletions
diff --git a/dev-python/atpy/ChangeLog b/dev-python/atpy/ChangeLog
new file mode 100644
index 000000000..032725b9e
--- /dev/null
+++ b/dev-python/atpy/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/atpy
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*atpy-0.9.0 (21 Jul 2009)
+
+ 21 Jul 2009; S├ębastien Fabbro <bicatali@gentoo.org> +atpy-0.9.0.ebuild,
+ +metadata.xml:
+ Initial import
+
diff --git a/dev-python/atpy/Manifest b/dev-python/atpy/Manifest
new file mode 100644
index 000000000..ebd38ec66
--- /dev/null
+++ b/dev-python/atpy/Manifest
@@ -0,0 +1,4 @@
+DIST ATpy-0.9.0.tar.gz 467393 RMD160 1f564ed9a13352b098324c0e150562a46ad60ab1 SHA1 9e652c69bdb871d06b5565ec982ba2aaedc2a6ed SHA256 408e08d83b0974f433145e8c8e6033e19d1f2b2a2b44936767c875d5a8e008d3
+EBUILD atpy-0.9.0.ebuild 755 RMD160 bde20b82c673b4b2cead96631b975214f0c36eed SHA1 82b9f6b9f2a58cb1fc542ca58d07262f6cdcd51e SHA256 25f135603405b34cbc4459adc68e94f24a9010afb09fb74b437c1a40d4864ae7
+MISC ChangeLog 253 RMD160 c70bf0db426274a001e44fa3f6086123171c4526 SHA1 16fb51364f96ffd5c1ff99aa25d4322b6b7a2027 SHA256 40fcf5bae519f753097044ad5b8efbe8e14b7615d3ee8ff99398f3f0199f5443
+MISC metadata.xml 987 RMD160 ad736cb072a2c9a08f53119d274f21eda0a08e2c SHA1 bbcab187910606001226ae89252d6d69f9ac8eac SHA256 b1c1d5a5d2f8639ca72f762d92339b7934facdf7e05c8df9c0d1e945d14b5795
diff --git a/dev-python/atpy/atpy-0.9.0.ebuild b/dev-python/atpy/atpy-0.9.0.ebuild
new file mode 100644
index 000000000..c46c73046
--- /dev/null
+++ b/dev-python/atpy/atpy-0.9.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+inherit distutils
+
+MYPN=ATpy
+MYP="${MYPN}-${PV}"
+
+DESCRIPTION="Astronomical tables support Python"
+HOMEPAGE="http://atpy.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MYP}.tar.gz"
+
+RDEPEND=">=dev-python/numpy-1.3
+ fits? ( >=dev-python/pyfits-2.1 )
+ mysql? ( dev-python/mysql-python )
+ postgres? ( dev-python/pygresql )
+ sqlite? ( dev-python/pysqlite )
+ votable? ( >=dev-python/vo-0.3 )"
+
+DEPEND=">=dev-python/numpy-1.3"
+
+IUSE="+fits mysql postgres sqlite +votable"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+LICENSE="GPL-3"
+
+S="${WORKDIR}/${MYP}"
+
+src_test() {
+ PYTHONPATH=$(dir -d build/lib*) "${python}" test/test.py || die
+}
diff --git a/dev-python/atpy/metadata.xml b/dev-python/atpy/metadata.xml
new file mode 100644
index 000000000..d931601a8
--- /dev/null
+++ b/dev-python/atpy/metadata.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>python</herd>
+<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>
+<use>
+ <flag name="fits">
+ Enable support for reading and FITS with <pkg>dev-python/pyfits</pkg>.
+ </flag>
+ <flag name="fits">
+ Enable support for reading and VOTABLE with <pkg>dev-python/vo</pkg>.
+ </flag>
+</use>
+</pkgmetadata>