aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <seb@cayenne.ist.utl.pt>2009-07-21 21:55:44 +0100
committerSebastien Fabbro <seb@cayenne.ist.utl.pt>2009-07-21 22:02:24 +0100
commit464f5b2fb8de3db4612c2c7f6745738fffa3372a (patch)
tree926644690083b2b9dfd688c0c617f73126c9855a
parentadd romio to mpi dep (diff)
downloadsci-464f5b2fb8de3db4612c2c7f6745738fffa3372a.tar.gz
sci-464f5b2fb8de3db4612c2c7f6745738fffa3372a.tar.bz2
sci-464f5b2fb8de3db4612c2c7f6745738fffa3372a.zip
vo initial import
-rw-r--r--dev-python/vo/ChangeLog10
-rw-r--r--dev-python/vo/Manifest5
-rw-r--r--dev-python/vo/files/vo-0.3.1-docs.patch41
-rw-r--r--dev-python/vo/metadata.xml12
-rw-r--r--dev-python/vo/vo-0.3.1.ebuild46
5 files changed, 114 insertions, 0 deletions
diff --git a/dev-python/vo/ChangeLog b/dev-python/vo/ChangeLog
new file mode 100644
index 000000000..6310f7fb3
--- /dev/null
+++ b/dev-python/vo/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/vo
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*vo-0.3.1 (21 Jul 2009)
+
+ 21 Jul 2009; SĂ©bastien Fabbro <bicatali@gentoo.org> +vo-0.3.1.ebuild,
+ +files/vo-0.3.1-docs.patch, +metadata.xml:
+ Initial import
+
diff --git a/dev-python/vo/Manifest b/dev-python/vo/Manifest
new file mode 100644
index 000000000..6b3ae658e
--- /dev/null
+++ b/dev-python/vo/Manifest
@@ -0,0 +1,5 @@
+AUX vo-0.3.1-docs.patch 1499 RMD160 5aa6f16abedfd8af700a9fc729c55a026d381551 SHA1 c79e4232b1fb2cfe19567a06b7e1750adbbd1bcf SHA256 bf551b3008332af20fdebe1f22c84835dbad11745c00db65c3eca8d15f7fb72e
+DIST vo-0.3.1.tar.gz 989913 RMD160 3c63a3acd409a62e31d23ab05f15db31d8cc1784 SHA1 d3fd1bf58eded61ec4ee8a3dc8f4e43f1bff6d5b SHA256 ef30f36d9c5dfa49bbc4212f183648393ac48f73d711f8ea24c151300de16ef7
+EBUILD vo-0.3.1.ebuild 889 RMD160 220c2a101e7ac52396adfa4eee337edc5f7279e9 SHA1 1c624c11f8d7d4aed8e59124dbe3967c872c0a0e SHA256 41446739231c5108ec37468abd12af031756e0876d2842f4cc49877ea0d563ef
+MISC ChangeLog 275 RMD160 7445b76e6fea6ca0ad8aa7df027a55f874c07a71 SHA1 1c3c12ad1722580a3d0d40366623897004fd4aa9 SHA256 97b15abf17eaf33876aa50b2dddf062c7d7d88b6fcb4bac21d6bf5e2f9015033
+MISC metadata.xml 478 RMD160 a115ae6d3b7da632887d7443ee1a85b6ae9b322a SHA1 e42c2e82e7fa028662ef7cb77691ba2ab0c1c9a4 SHA256 d68f25e4c06961ecaa6d08df19e1cf671a592c5f1de97fb1cd780f6722cf793f
diff --git a/dev-python/vo/files/vo-0.3.1-docs.patch b/dev-python/vo/files/vo-0.3.1-docs.patch
new file mode 100644
index 000000000..5e8061793
--- /dev/null
+++ b/dev-python/vo/files/vo-0.3.1-docs.patch
@@ -0,0 +1,41 @@
+--- doc/Makefile.orig 2009-07-21 21:23:57.000000000 +0100
++++ doc/Makefile 2009-07-21 21:37:35.000000000 +0100
+@@ -2,7 +2,7 @@
+ #
+
+ # You can set these variables from the command line.
+-SPHINXOPTS =
++SPHINXOPTS =
+ SPHINXBUILD = sphinx-build
+ PAPER =
+
+@@ -20,6 +20,7 @@
+ @echo " json to make JSON files"
+ @echo " htmlhelp to make HTML files and a HTML help project"
+ @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
++ @echo " pdf to make a PDF file from LaTeX"
+ @echo " changes to make an overview over all changed/added/deprecated items"
+ @echo " linkcheck to check all external links for integrity"
+
+@@ -61,6 +62,10 @@
+ @echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \
+ "run these through (pdf)latex."
+
++pdf: latex
++ $(MAKE) -C build/latex all-pdf
++ @echo "Build finished; the PDF file is in build/latex."
++
+ changes:
+ mkdir -p build/changes build/doctrees
+ $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) build/changes
+--- doc/source/sphinxext/inheritance_diagram.py.orig 2009-07-21 21:23:12.000000000 +0100
++++ doc/source/sphinxext/inheritance_diagram.py 2009-07-21 21:23:33.000000000 +0100
+@@ -41,7 +41,7 @@
+
+ from docutils.nodes import Body, Element
+ from docutils.writers.html4css1 import HTMLTranslator
+-from sphinx.latexwriter import LaTeXTranslator
++from sphinx.writers.latex import LaTeXTranslator
+ from docutils.parsers.rst import directives
+ from sphinx.roles import xfileref_role
+
diff --git a/dev-python/vo/metadata.xml b/dev-python/vo/metadata.xml
new file mode 100644
index 000000000..b0bd8b61e
--- /dev/null
+++ b/dev-python/vo/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<longdescription lang="en">
+ vo.table is a Python package to read and write astronomical VOTable
+ files into Numpy record arrays.
+ vo.table supports the VOTable Format Definition Version 1.1. Some
+ flexibility is provided to support the 1.0 draft version and other
+ non-standard usage in the wild.
+</longdescription>
+</pkgmetadata>
diff --git a/dev-python/vo/vo-0.3.1.ebuild b/dev-python/vo/vo-0.3.1.ebuild
new file mode 100644
index 000000000..8add5b316
--- /dev/null
+++ b/dev-python/vo/vo-0.3.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+inherit eutils distutils
+
+DESCRIPTION="Python module to read VOTABLE into a Numpy recarray"
+HOMEPAGE="https://www.stsci.edu/trac/ssb/astrolib/"
+SRC_URI="http://stsdas.stsci.edu/astrolib/${P}.tar.gz"
+
+DEPEND="doc? ( >=dev-python/sphinx-0.6 )"
+RDEPEND=""
+
+IUSE="doc"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+LICENSE="AURA"
+# buggy test
+RESTRICT=test
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-docs.patch
+}
+
+src_compile() {
+ distutils_src_compile
+ if use doc; then
+ cd doc
+ PYTHONPATH=$(dir -d ../build/lib*) emake html pdf || die
+ fi
+}
+
+src_test() {
+ cd test
+ PYTHONPATH=$(dir -d ../build/lib*) "${python}" test.py || die
+}
+
+src_install() {
+ distutils_src_install
+ if use doc; then
+ cd doc/build
+ insinto /usr/share/doc/${PF}
+ doins -r html latex/*.pdf || die
+ fi
+}