aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/astropysics/ChangeLog10
-rw-r--r--dev-python/astropysics/Manifest3
-rw-r--r--dev-python/astropysics/astropysics-9999.ebuild48
-rw-r--r--dev-python/astropysics/metadata.xml11
-rw-r--r--dev-python/coords/ChangeLog10
-rw-r--r--dev-python/coords/Manifest4
-rw-r--r--dev-python/coords/coords-0.37.ebuild29
-rw-r--r--dev-python/coords/metadata.xml9
-rw-r--r--dev-python/pywcs/ChangeLog10
-rw-r--r--dev-python/pywcs/Manifest5
-rw-r--r--dev-python/pywcs/files/pywcs-1.8.1-wcslib.patch120
-rw-r--r--dev-python/pywcs/pywcs-1.8.1.ebuild44
-rw-r--r--dev-python/vo/ChangeLog9
-rw-r--r--dev-python/vo/Manifest9
-rw-r--r--dev-python/vo/files/vo-0.5-assertion_fix.patch90
-rw-r--r--dev-python/vo/files/vo-0.5-docs.patch (renamed from dev-python/vo/files/vo-0.3.1-docs.patch)24
-rw-r--r--dev-python/vo/files/vo-0.5-expat.patch23
-rw-r--r--dev-python/vo/files/vo-0.5-skiptests.patch55
-rw-r--r--dev-python/vo/vo-0.5.ebuild41
-rw-r--r--sci-astronomy/kapteyn/ChangeLog8
-rw-r--r--sci-astronomy/kapteyn/Manifest6
-rw-r--r--sci-astronomy/kapteyn/kapteyn-1.9.1.ebuild (renamed from sci-astronomy/kapteyn/kapteyn-1.8.7.ebuild)2
-rw-r--r--sci-chemistry/nmrpipe/Manifest8
-rw-r--r--sci-libs/ghmm/Manifest2
-rw-r--r--sci-libs/ghmm/ghmm-9999.ebuild38
-rw-r--r--sci-libs/ghmm/metadata.xml9
26 files changed, 571 insertions, 56 deletions
diff --git a/dev-python/astropysics/ChangeLog b/dev-python/astropysics/ChangeLog
new file mode 100644
index 000000000..db5b626e3
--- /dev/null
+++ b/dev-python/astropysics/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/astropysics
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*astropysics-9999 (28 Apr 2010)
+
+ 28 Apr 2010; Kacper Kowalik <xarthisius.kk@gmail.com> +astropysics-9999.ebuild,
+ +metadata.xml:
+ Initial import wrt bug 317655. Ebuild was written by me
+
diff --git a/dev-python/astropysics/Manifest b/dev-python/astropysics/Manifest
new file mode 100644
index 000000000..f4fc6cccd
--- /dev/null
+++ b/dev-python/astropysics/Manifest
@@ -0,0 +1,3 @@
+EBUILD astropysics-9999.ebuild 875 RMD160 e7b418c396a30d19f8d2e46b7c185d8c9e839ad9 SHA1 63797b7decf6e202ac64b3718a90953a76cc1c21 SHA256 fe8bab8a66504ec3ed14f56495fd6bb3e28787618e61d2bdf2015ce9f0241e03
+MISC ChangeLog 314 RMD160 d55dc735da9693fc7612939823f1882359fe5e2d SHA1 339919c8eb10009d2bf2cc73a985af82bfc2735e SHA256 27148938203ece14061ea125556e92e511d1360ef32059b2b32ff4a3fefd1364
+MISC metadata.xml 478 RMD160 b8e30f9cb10dfd4c87b31c1650ed9e5ce9080998 SHA1 f1c253ac3c3df2fe507b2513c0b0827c7727bb0b SHA256 a77a1766685b0ce9a824f1da1a25230486201d7aa77e4cdc0e557524a3ba5f6d
diff --git a/dev-python/astropysics/astropysics-9999.ebuild b/dev-python/astropysics/astropysics-9999.ebuild
new file mode 100644
index 000000000..bb7f82b8b
--- /dev/null
+++ b/dev-python/astropysics/astropysics-9999.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit bzr distutils
+
+DESCRIPTION="general purpose python library for professional astronomers/astrophysicists"
+HOMEPAGE="https://launchpad.net/astropysics"
+SRC_URI=""
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc"
+
+EBZR_REPO_URI="lp:astropysics"
+
+DEPEND="doc? ( dev-python/sphinx )"
+RDEPEND="dev-python/chaco
+ dev-python/matplotlib
+ dev-python/pyfits
+ dev-python/vo
+ sci-astronomy/sextractor
+ sci-visualization/mayavi
+ sci-libs/scipy"
+RESTRICT_PYTHON_ABIS="3.*"
+
+src_compile() {
+ distutils_src_compile
+ if use doc; then
+ cd docs
+ emake html || die
+ cd ..
+ fi
+}
+
+src_install() {
+ distutils_src_install
+ if use doc; then
+ cd docs/_build
+ insinto /usr/share/doc/${PF}
+ doins -r html || die
+ cd ../..
+ fi
+}
diff --git a/dev-python/astropysics/metadata.xml b/dev-python/astropysics/metadata.xml
new file mode 100644
index 000000000..dbaa00691
--- /dev/null
+++ b/dev-python/astropysics/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<longdescription lang="en">
+Astropysics leverages a variety of tools already developed for python to simplify
+quick-and-dirty calculations and streamline really hard ones. When paired with
+an interactive environment, it aims to be a full-featured replacement for IDL
+with idlutils/astron or similar.
+</longdescription>
+</pkgmetadata>
diff --git a/dev-python/coords/ChangeLog b/dev-python/coords/ChangeLog
new file mode 100644
index 000000000..cc715160e
--- /dev/null
+++ b/dev-python/coords/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/coords
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*coords-0.37 (26 Apr 2010)
+
+ 26 Apr 2010; Kacper Kowalik <xarthisius.kk@gmail.com> +coords-0.37.ebuild,
+ +metadata.xml:
+ inital commit wrt bug 317365
+
diff --git a/dev-python/coords/Manifest b/dev-python/coords/Manifest
new file mode 100644
index 000000000..a71a8c45e
--- /dev/null
+++ b/dev-python/coords/Manifest
@@ -0,0 +1,4 @@
+DIST coords-0.37.tar.gz 736179 RMD160 bb273716fd4bd3f5df7558f5cdb19dde732ee5c3 SHA1 8de4563e2d2b43d9c1b308f6dad0dd702e795a1a SHA256 67ce4316e37a75b83a459e1103b497149d4fec9388ac042f756338fff1fc22b3
+EBUILD coords-0.37.ebuild 687 RMD160 4b5b2ddef6adc9ba5fc30f13ae5d5826e38a0ed5 SHA1 a4d70e1a9ec5abb6a882c8b8c164a3b5e4eaa289 SHA256 d2a94fbcf3cb09ecfb9cb0f0751f4388b1a156fe6dac0cb3d6d65361b4b76915
+MISC ChangeLog 272 RMD160 f340f8520acca27ac28f6f9163aa4a315b3de51e SHA1 55dfcbb1e11ff5ec6828d1276c0b26a84ffb6e6f SHA256 0836bf59018a327a061e8d6b1c321517a520d24c8ad0ec2c80e3cd6d0c76458a
+MISC metadata.xml 312 RMD160 7e25d9a79b5ac6608509dd864444389325afb97c SHA1 354d91501ec2dbe63d85231f0863133697a0d752 SHA256 2e5632eaa0d493cbfaa1b36feea250483ae9ea51eb4607a89c50feb134e7a1e3
diff --git a/dev-python/coords/coords-0.37.ebuild b/dev-python/coords/coords-0.37.ebuild
new file mode 100644
index 000000000..d6c99ab7f
--- /dev/null
+++ b/dev-python/coords/coords-0.37.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header$
+
+EAPI=3
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils
+
+DESCRIPTION="managing astronomical coordinate systems"
+HOMEPAGE="https://www.stsci.edu/trac/ssb/astrolib/wiki"
+SRC_URI="http://stsdas.stsci.edu/astrolib/${P}.tar.gz"
+
+LICENSE="AURA"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="dev-python/numpy"
+RESTRICT_PYTHON_ABIS="3.*"
+
+src_test() {
+ testing() {
+ PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" -c "import coords as C; print C._test()"
+ }
+ # FIX ME: test fail on amd64, reported upstream
+ use amd64 || python_execute_function testing
+}
diff --git a/dev-python/coords/metadata.xml b/dev-python/coords/metadata.xml
new file mode 100644
index 000000000..d5b2c7915
--- /dev/null
+++ b/dev-python/coords/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<longdescription lang="en">
+ coords is a part of Astrolib and provide a set of routines for managing
+ astronomical coordinate systems
+</longdescription>
+</pkgmetadata>
diff --git a/dev-python/pywcs/ChangeLog b/dev-python/pywcs/ChangeLog
index bc02955e6..1ee6c8206 100644
--- a/dev-python/pywcs/ChangeLog
+++ b/dev-python/pywcs/ChangeLog
@@ -2,6 +2,16 @@
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 28 Apr 2010; Kacper Kowalik (Xarthisius) <xarthisius.kk@gmail.com>
+ pywcs-1.8.1.ebuild, metadata.xml:
+ updating dependencies and Python style
+
+*pywcs-1.8.1 (26 Apr 2010)
+
+ 26 Apr 2010; Kacper Kowalik <xarthisius.kk@gmail.com> +pywcs-1.8.1.ebuild,
+ +files/pywcs-1.8.1-wcslib.patch:
+ version bump, removing bundled wcslib
+
*pywcs-1.7 (12 Feb 2010)
12 Feb 2010; Sébastien Fabbro <bicatali@gentoo.org> +pywcs-1.7.ebuild:
diff --git a/dev-python/pywcs/Manifest b/dev-python/pywcs/Manifest
index 9c753e2b4..b65018e07 100644
--- a/dev-python/pywcs/Manifest
+++ b/dev-python/pywcs/Manifest
@@ -1,6 +1,9 @@
+AUX pywcs-1.8.1-wcslib.patch 3849 RMD160 1e1eda65d42836893c8a073bafa2ccaf15f236e2 SHA1 6371e75548963d6b92bb67584350760c1b733531 SHA256 9a588537d9caa354fbca5a26ea50d5d8e2244f06bd60a620b5571bef2adef02a
DIST pywcs-1.5.1-4.3.3.tar.gz 711806 RMD160 e8ae6d223cf15d9a9b3b6bfa24d9cb15a4f3befb SHA1 052e9c679efd59b31fd40d3dda462cb98cd3d607 SHA256 58c256579ea5814579fc718b7cd88d7c0c56ec861160a879377f78c3be296873
DIST pywcs-1.7-4.4.4.tar.gz 2009870 RMD160 231ca843d2070172020016936536a02b63098e42 SHA1 9ac35228291e2aa65177aff47fe5fd25d6970b84 SHA256 49765b43ab6ac6a8e61455f847c1758ddaf15bfb558e46d981703fb0b9bb9107
+DIST pywcs-1.8.1-4.4.4.tar.gz 2010226 RMD160 288135458de2a3c1cc142a5c44cb4fcdfa931291 SHA1 512f3c8776b8ff34e0d39d0f60bb4e073bacf830 SHA256 907a6d852393056e8532be63bd1e14eec32d80a919b08d6d4837613620409662
EBUILD pywcs-1.5.1.ebuild 676 RMD160 badc976a4bb05581d321ece776af22cf606a283e SHA1 1f5345dea19ad9d16685f22be98ce1d1f4194432 SHA256 14c12f3d9049131d3f865b1bbfee320dfba5115d059a8b6b803c726aa8eb0f5a
EBUILD pywcs-1.7.ebuild 660 RMD160 70a5155394c78e469a7cb7dafb0b36c76e7283d3 SHA1 2c683fac8de782ef5ae95f7b4ee56991685b0c76 SHA256 4aa2cab90f9b4280d145bf199db499959da195b29d28f8f8b5fa5eb7aa5a5e12
-MISC ChangeLog 364 RMD160 2fd2b24faeeab17cb32ff0b4a0b00dd26c9edf21 SHA1 156d17db1d6fbf29ea30a7ad83aa2c24d3ce260b SHA256 50f1f3911d53295c26b6e8f5978b567bcc6bffcb477f7e0ca3fd05309086e864
+EBUILD pywcs-1.8.1.ebuild 924 RMD160 9905530aabb97be43d819796e7a6e1684f3232b0 SHA1 04df6860121867a8a50b00e786c22e91d8fa206d SHA256 f9f976c12c77f56275801682917f8b0fb565d34e36beb16e75489282ffbef80a
+MISC ChangeLog 692 RMD160 b08420ac05649513c0278d072764d2173a74c578 SHA1 0f1ce5f75fdba6360a91224f40c33ccab3ea5f5f SHA256 5859b24e9329454c6d3a09d46e010361288cb4b82a75fcf2d579030d7d2a42fc
MISC metadata.xml 374 RMD160 751b95b8cb2d0fa8194e7388b51f5785b4f16d0f SHA1 32790eaab968b07b66c22157f42138b1f56911e6 SHA256 5fe68de0cf26109619592c99a227ee9f4b54f2a18e4c9f95206a63c8275c1b60
diff --git a/dev-python/pywcs/files/pywcs-1.8.1-wcslib.patch b/dev-python/pywcs/files/pywcs-1.8.1-wcslib.patch
new file mode 100644
index 000000000..16d790bcd
--- /dev/null
+++ b/dev-python/pywcs/files/pywcs-1.8.1-wcslib.patch
@@ -0,0 +1,120 @@
+--- defsetup.py.orig 2010-04-24 11:27:55.655012084 +0200
++++ defsetup.py 2010-04-24 12:00:52.393014990 +0200
+@@ -38,70 +38,26 @@
+
+ ######################################################################
+ # WCSLIB
+-WCSVERSION = "4.4.4"
+-WCSLIB = "wcslib-%s" % WCSVERSION # Path to wcslib
+-WCSLIBC = join(WCSLIB, "C") # Path to wcslib source files
+-WCSFILES = [ # List of wcslib files to compile
+- 'flexed/wcspih.c',
+- 'flexed/wcsulex.c',
+- 'flexed/wcsutrn.c',
+- 'cel.c',
+- 'lin.c',
+- 'log.c',
+- 'prj.c',
+- 'spc.c',
+- 'sph.c',
+- 'spx.c',
+- 'tab.c',
+- 'wcs.c',
+- 'wcsfix.c',
+- 'wcshdr.c',
+- 'wcsunits.c',
+- 'wcsutil.c']
+-WCSFILES = [join(WCSLIBC, x) for x in WCSFILES]
++from subprocess import Popen, PIPE
++from re import match
+
+-######################################################################
+-# WCSLIB CONFIGURATION
+-
+-# The only configuration parameter needed at compile-time is how to
+-# specify a 64-bit signed integer. Python's ctypes module can get us
+-# that information, but it is only available in Python 2.5 or later.
+-# If we can't be absolutely certain, we default to "long long int",
+-# which is correct on most platforms (x86, x86_64). If we find
+-# platforms where this heuristic doesn't work, we may need to hardcode
+-# for them.
+-def determine_64_bit_int():
+- try:
+- try:
+- import ctypes
+- except ImportError:
+- raise ValueError()
+-
+- if ctypes.sizeof(ctypes.c_longlong) == 8:
+- return "long long int"
+- elif ctypes.sizeof(ctypes.c_long) == 8:
+- return "long int"
+- elif ctypes.sizeof(ctypes.c_int) == 8:
+- return "int"
+- else:
+- raise ValueError()
++def pkgconfig(*packages, **kw):
++ flag_map = {'-I': 'include_dirs', '-L': 'library_dirs', '-l': 'libraries'}
++ arg = "--libs --cflags --modversion %s" % ' '.join(packages)
++ for token in Popen(["pkg-config "+ arg],stdout=PIPE, shell=True).communicate()[0].split():
++ if(match("[0-9]",token)):
++ kw.setdefault("version",[]).append(token)
++ else:
++ kw.setdefault(flag_map.get(token[:2]), []).append(token[2:])
++ return kw
+
+- except ValueError:
+- return "long long int"
++WCSLIB = pkgconfig('wcslib')
++WCSVERSION = WCSLIB['version'][0]
+
+ if os.path.exists("pywcs"):
+ srcroot = 'pywcs'
+ else:
+ srcroot = '.'
+-fd = open(join(srcroot, 'src', 'wcsconfig.h'), "w")
+-fd.write("""
+-/* WCSLIB library version number. */
+-#define WCSLIB_VERSION %s
+-
+-/* 64-bit integer data type. */
+-#define WCSLIB_INT64 %s
+-""" % (WCSVERSION, determine_64_bit_int()))
+-fd.close()
+
+ ######################################################################
+ # GENERATE DOCSTRINGS IN C
+@@ -190,7 +146,8 @@
+
+ ######################################################################
+ # DISTUTILS SETUP
+-libraries = []
++libraries = WCSLIB['libraries']
++include_dirs = [numpy_include, join(srcroot, "src")] + WCSLIB['include_dirs']
+ define_macros = [('ECHO', None),
+ ('WCSTRIG_MACRO', None),
+ ('PYWCS_BUILD', None),
+@@ -233,13 +190,8 @@
+
+ PYWCS_EXTENSIONS = [
+ Extension('pywcs._pywcs',
+- WCSFILES + PYWCS_SOURCES,
+- include_dirs =
+- [numpy_include,
+- join(srcroot, WCSLIBC),
+- WCSLIBC,
+- join(srcroot, "src")
+- ],
++ PYWCS_SOURCES,
++ include_dirs=include_dirs,
+ define_macros=define_macros,
+ undef_macros=undef_macros,
+ extra_compile_args=extra_compile_args,
+@@ -259,7 +211,6 @@
+ 'ext_modules' : PYWCS_EXTENSIONS,
+ 'data_files' : [
+ ( 'pywcs/include', ['src/*.h']),
+- ( 'pywcs/include/wcslib', [ WCSLIBC + '/*.h'] ),
+ ],
+ }
+
diff --git a/dev-python/pywcs/pywcs-1.8.1.ebuild b/dev-python/pywcs/pywcs-1.8.1.ebuild
new file mode 100644
index 000000000..11a434664
--- /dev/null
+++ b/dev-python/pywcs/pywcs-1.8.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils eutils
+
+WCS_V=4.4.4
+MYP="${P}-${WCS_V}"
+
+DESCRIPTION="Python routines for handling the FITS World Coordinate System"
+HOMEPAGE="https://www.stsci.edu/trac/ssb/astrolib/"
+SRC_URI="http://stsdas.stsci.edu/astrolib/${MYP}.tar.gz"
+
+COMMON_DEPEND=">=sci-astronomy/wcslib-4.4.4"
+DEPEND="${COMMON_DEPEND}
+ dev-util/pkgconfig"
+RDEPEND="${COMMON_DEPEND}
+ dev-python/pyfits"
+
+IUSE=""
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+LICENSE="AURA"
+
+RESTRICT_PYTHON_ABIS="3.*"
+
+S=${WORKDIR}/${MYP}
+
+src_prepare(){
+ epatch "${FILESDIR}"/${P}-wcslib.patch
+}
+
+# FIX: compiles twice due to stsci hacks
+
+src_test() {
+ # FIX: does not work, needs fits files
+ testing() {
+ PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" test/test.py
+ }
+ python_execute_function testing
+}
diff --git a/dev-python/vo/ChangeLog b/dev-python/vo/ChangeLog
index e42ff3b95..0553c156e 100644
--- a/dev-python/vo/ChangeLog
+++ b/dev-python/vo/ChangeLog
@@ -2,6 +2,15 @@
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 28 Apr 2010; Kacper Kowalik <xarthisius.kk@gmail.com> vo-0.5.ebuild,
+ +files/vo-0.5-assertion_fix.patch, +files/vo-0.5-skiptests.patch:
+ Skipping failing tests, fixing assertion.
+
+ 28 Apr 2010; Kacper Kowalik <xarthisius.kk@gmail.com> -files/vo-0.3.1-docs.patch,
+ vo-0.5.ebuild, +files/vo-0.5-docs.patch, +files/vo-0.5-expat.patch:
+ Removing doc USE flags, since they're no longer building, adding missing
+ test dependencies, using new style for Python.
+
*vo-0.5 (12 Feb 2010)
12 Feb 2010; Sébastien Fabbro <bicatali@gentoo.org> -vo-0.4.ebuild,
diff --git a/dev-python/vo/Manifest b/dev-python/vo/Manifest
index 7de2b0eac..b8bb0682d 100644
--- a/dev-python/vo/Manifest
+++ b/dev-python/vo/Manifest
@@ -1,5 +1,8 @@
-AUX vo-0.3.1-docs.patch 1499 RMD160 5aa6f16abedfd8af700a9fc729c55a026d381551 SHA1 c79e4232b1fb2cfe19567a06b7e1750adbbd1bcf SHA256 bf551b3008332af20fdebe1f22c84835dbad11745c00db65c3eca8d15f7fb72e
+AUX vo-0.5-assertion_fix.patch 3918 RMD160 a16f3290652e3d35ec367f5a236d2e2381a9994c SHA1 292f510bd4d42aff8adf550ee6bf46b7f2a4c373 SHA256 a0ab5521f8838a50e8ce3e736f539ed3056502c67dc16e5ae82772cf1194e9bb
+AUX vo-0.5-docs.patch 787 RMD160 981357589fae22befc08a215390bb81b94964423 SHA1 4057e7deacc726130048720b635cdd427f992f53 SHA256 0e0d32d6856193cfea4f547a04893ccac8520fe4872bbd92d6f6848a5ba71db4
+AUX vo-0.5-expat.patch 516 RMD160 96fd104bafa9fba2d4203aec9aaf9d6031752e42 SHA1 72559f15da814b84a43627a89fee8f1cabfb8df3 SHA256 8767dd8efa403f003307d9fb8d60440b850e2a2dc7d4aff43105bc7f5867b488
+AUX vo-0.5-skiptests.patch 2052 RMD160 91ccc4db98a6bfcbf9ecd42fb3366fc2c1074783 SHA1 6498fe9ca58f535b2574131b270cb00fe8e88467 SHA256 d4a60c5f523eca1f749edc4a2ed05a43613965f19257deeeb9d78ef102a863bb
DIST vo-0.5.tar.gz 4495975 RMD160 25bac3958ac8a8e8268ae94ab0dbe32b8df9a30e SHA1 7f9a9fde36df868a1ed96c29d59cee92ea1b5d4a SHA256 e3c97a7b329dadac346682c235deb7b60739055f58835536eeee8c034a9d074a
-EBUILD vo-0.5.ebuild 798 RMD160 8cbda84a81bc667117c4fde9e9ce6cc94290d57e SHA1 bfdad58db53c9ec77a98bc13794821febe2d74b5 SHA256 6f1109ac0db45520add96ee5648617e062f95f362dce5daa00807bb3cebc2640
-MISC ChangeLog 525 RMD160 3e682714a59f48ca051dfe9a99dbea37c7d8bf93 SHA1 38ef0e7d8bbecb167c458f30710d09052eecedc1 SHA256 568f9d9690ef32671130f28194c1007eb1da8733add69ed71edc01ca154f2709
+EBUILD vo-0.5.ebuild 871 RMD160 0731cff9b99eff6c5f73894df9d62c4393452d51 SHA1 7d42d630f335f536c0631c12ea8d087e7b4abe81 SHA256 3d009865caf178e43818d163df6eb4f6f8ee9833eabb5ff2a0d39b4519613d83
+MISC ChangeLog 988 RMD160 2fbe4acb7e99410a5e3a33fd3dda4019dc98d386 SHA1 80c6d7dca6097cfc69708b2240aace315cf8e7da SHA256 69016a888ae81c81808dc930ce7712bb87bd182a50d4a4fc57a90272bba13ea2
MISC metadata.xml 478 RMD160 a115ae6d3b7da632887d7443ee1a85b6ae9b322a SHA1 e42c2e82e7fa028662ef7cb77691ba2ab0c1c9a4 SHA256 d68f25e4c06961ecaa6d08df19e1cf671a592c5f1de97fb1cd780f6722cf793f
diff --git a/dev-python/vo/files/vo-0.5-assertion_fix.patch b/dev-python/vo/files/vo-0.5-assertion_fix.patch
new file mode 100644
index 000000000..ce092752e
--- /dev/null
+++ b/dev-python/vo/files/vo-0.5-assertion_fix.patch
@@ -0,0 +1,90 @@
+--- vo/tree.py
++++ vo/tree.py
+@@ -295,7 +295,7 @@
+ """)
+
+ def _set_content_role(self, content_role):
+- assert (content_role in (None, 'query', 'hints', 'doc', 'location'),
++ assert (content_role in (None, 'query', 'hints', 'doc', 'location')), (
+ "content-role attribute invalid.")
+ self._content_role = content_role
+ def _del_content_role(self): self._content_role = None
+@@ -363,7 +363,7 @@
+ """)
+
+ def _set_name(self, name):
+- assert (name is not None,
++ assert (name is not None), (
+ "'name' attribute required for 'INFO' elements")
+ xmlutil.check_token(name, 'name', self._config, self._pos)
+ self._name = name
+@@ -374,7 +374,7 @@
+ """)
+
+ def _set_value(self, value):
+- assert (value is not None,
++ assert (value is not None), (
+ "'value' attribute required for 'INFO' elements")
+ check_string(value, 'value', self._config, self._pos)
+ self._value = value
+@@ -562,17 +562,17 @@
+ for start, tag, data, pos in iterator:
+ if start:
+ if tag == 'MIN':
+- assert ('value' in data,
++ assert ('value' in data),(
+ 'MIN must have value attribute')
+ self.min = self._field.converter.parse(data['value'])[0]
+ self.min_inclusive = data.get('inclusive', 'yes')
+ elif tag == 'MAX':
+- assert ('value' in data,
++ assert ('value' in data),(
+ 'MAX must have value attribute')
+ self.max = self._field.converter.parse(data['value'])[0]
+ self.max_inclusive = data.get('inclusive', 'yes')
+ elif tag == 'OPTION':
+- assert ('value' in data,
++ assert ('value' in data),(
+ 'OPTION must have value attribute')
+ xmlutil.check_token(data.get('name'), 'name', config, pos)
+ self.options.append(
+@@ -771,10 +771,10 @@
+ """)
+
+ def _set_datatype(self, datatype):
+- assert (datatype is not None,
++ assert (datatype is not None),(
+ "'datatype' attribute required for '%s' elements" %
+ self._element_name)
+- assert (datatype in converters.converter_mapping,
++ assert (datatype in converters.converter_mapping),(
+ "Invalid datatype attribute '%s'" % datatype)
+ self._datatype = datatype
+ datatype = property(
+@@ -793,7 +793,7 @@
+ """)
+
+ def _set_precision(self, precision):
+- assert (precision is None or re.match("^[FE]?[0-9]+$", precision),
++ assert (precision is None or re.match("^[FE]?[0-9]+$", precision)), (
+ "precision '%s' is invalid" % precision)
+ self._precision = precision
+ def _del_precision(self): self._precision = None
+@@ -873,7 +873,7 @@
+
+ def _set_arraysize(self, arraysize):
+ assert (arraysize is None or
+- re.match("^([0-9]+x)*[0-9]*[*]?(s\W)?$", arraysize),
++ re.match("^([0-9]+x)*[0-9]*[*]?(s\W)?$", arraysize)), (
+ 'arraysize attribute is invalid')
+ self._arraysize = arraysize
+ def _del_arraysize(self): self._arraysize = None
+@@ -1053,7 +1053,7 @@
+ def _set_system(self, system):
+ assert (system in ('eq_FK4', 'eq_FK5', 'ICRS', 'ecl_FK4', 'ecl_FK5',
+ 'galactic', 'supergalactic', 'xy', 'barycentric',
+- 'geo_app'),
++ 'geo_app')),(
+ "Invalid system attribute '%s'" % system)
+ self._system = system
+ def _del_system(self): self._system = None
diff --git a/dev-python/vo/files/vo-0.3.1-docs.patch b/dev-python/vo/files/vo-0.5-docs.patch
index 5e8061793..0bb09121c 100644
--- a/dev-python/vo/files/vo-0.3.1-docs.patch
+++ b/dev-python/vo/files/vo-0.5-docs.patch
@@ -1,14 +1,5 @@
---- 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 =
-
+--- doc/Makefile
++++ doc/Makefile
@@ -20,6 +20,7 @@
@echo " json to make JSON files"
@echo " htmlhelp to make HTML files and a HTML help project"
@@ -28,14 +19,3 @@
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/files/vo-0.5-expat.patch b/dev-python/vo/files/vo-0.5-expat.patch
new file mode 100644
index 000000000..7bbd7a84a
--- /dev/null
+++ b/dev-python/vo/files/vo-0.5-expat.patch
@@ -0,0 +1,23 @@
+Using system expat
+
+Patch written by Kacper Kowalik <xarthisius.kk@gmail.com>
+
+--- setup.py
++++ setup.py
+@@ -13,14 +13,9 @@
+
+ iterparse_ext = Extension(
+ "vo.iterparser",
+- ["src/iterparse.c",
+- "src/expat/xmlparse.c",
+- "src/expat/xmlrole.c",
+- "src/expat/xmltok.c",
+- "src/expat/xmltok_impl.c",
+- "src/expat/xmltok_ns.c"],
++ ["src/iterparse.c",],
+ define_macros=defines,
+- include_dirs=["src", "src/expat"])
++ libraries=["expat"])
+
+ setup(name="vo",
+ version="0.5",
diff --git a/dev-python/vo/files/vo-0.5-skiptests.patch b/dev-python/vo/files/vo-0.5-skiptests.patch
new file mode 100644
index 000000000..bbdac7838
--- /dev/null
+++ b/dev-python/vo/files/vo-0.5-skiptests.patch
@@ -0,0 +1,55 @@
+--- test/test.py.orig 2010-04-28 17:52:30.663209813 +0200
++++ test/test.py 2010-04-28 17:54:42.978225374 +0200
+@@ -11,7 +11,7 @@
+ import sys
+
+ from numpy.testing import assert_array_equal, assert_raises
+-from numpy.testing.decorators import knownfailureif
++from numpy.testing.decorators import skipif
+ import numpy as np
+
+ from vo.table import parse
+@@ -26,6 +26,7 @@
+ sts = os.waitpid(p.pid, 0)
+ assert sts[1] == 0
+
++@skipif(1,"Fails on Gentoo, reported upstream...")
+ def test_regression():
+ # Read the VOTABLE
+ votable = parse("regression.xml", pedantic=False)
+@@ -329,7 +330,7 @@
+ assert issubclass(a0.dtype.type, np.bool_)
+ assert_array_equal(a0, b0)
+
+- @knownfailureif(numpy_has_complex_bug)
++ @skipif(numpy_has_complex_bug,"Known failure...")
+ def test_floatComplex(self):
+ assert issubclass(self.array['floatComplex'].dtype.type,
+ np.complex64)
+@@ -338,7 +339,7 @@
+ assert_array_equal(self.mask['floatComplex'],
+ [True, False, False, True, True])
+
+- @knownfailureif(numpy_has_complex_bug)
++ @skipif(numpy_has_complex_bug,"Known failure...")
+ def test_doubleComplex(self):
+ assert issubclass(self.array['doubleComplex'].dtype.type,
+ np.complex128)
+@@ -347,7 +348,7 @@
+ assert_array_equal(self.mask['doubleComplex'],
+ [True, False, False, True, True])
+
+- @knownfailureif(numpy_has_complex_bug)
++ @skipif(numpy_has_complex_bug,"Known failure...")
+ def test_doubleComplexArray(self):
+ assert issubclass(self.array['doubleComplexArray'].dtype.type,
+ np.object_)
+@@ -440,7 +441,7 @@
+ self.table = parse("test_through_tabledata.xml", pedantic=False).get_first_table()
+ self.array = self.table.array
+ self.mask = self.table.mask
+-
++ @skipif(1,"Fails on Gentoo, reported upstream...")
+ def test_schema(self):
+ validate_schema("test_through_tabledata.xml")
+
diff --git a/dev-python/vo/vo-0.5.ebuild b/dev-python/vo/vo-0.5.ebuild
index 1c319922b..3087107cb 100644
--- a/dev-python/vo/vo-0.5.ebuild
+++ b/dev-python/vo/vo-0.5.ebuild
@@ -3,38 +3,37 @@
# $Header: $
EAPI=2
-inherit distutils
+PYTHON_DEPEND="2:2.6"
+
+inherit distutils eutils
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"
+IUSE="test"
SLOT="0"
KEYWORDS="~amd64 ~x86"
LICENSE="AURA"
-src_compile() {
- distutils_src_compile
- if use doc; then
- cd doc
- PYTHONPATH=$(dir -d ../build/lib*) emake html pdf || die
- fi
+DEPEND="${RDEPEND}
+ test? ( dev-python/nose )"
+RDEPEND="dev-libs/expat"
+
+pkg_setup() {
+ python_set_active_version 2
}
-src_test() {
- cd test
- PYTHONPATH=$(dir -d ../build/lib*) "${python}" test.py || die
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-docs.patch
+ epatch "${FILESDIR}"/${P}-assertion_fix.patch
+ epatch "${FILESDIR}"/${P}-expat.patch
+ use test && epatch "${FILESDIR}"/${P}-skiptests.patch
}
-src_install() {
- distutils_src_install
- if use doc; then
- cd doc/build
- insinto /usr/share/doc/${PF}
- doins -r html latex/*.pdf || die
- fi
+#FIX ME: docs are no longer built (missing stsci_sphinxext )
+
+src_test() {
+ cd test
+ PYTHONPATH=$(dir -d ../build/lib.*) nosetests -v || die
}
diff --git a/sci-astronomy/kapteyn/ChangeLog b/sci-astronomy/kapteyn/ChangeLog
index a4d1c08cc..1d810c6d0 100644
--- a/sci-astronomy/kapteyn/ChangeLog
+++ b/sci-astronomy/kapteyn/ChangeLog
@@ -1,7 +1,13 @@
# ChangeLog for sci-astronomy/kapteyn
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*kapteyn-1.9.1 (27 Apr 2010)
+
+ 27 Apr 2010; Kacper Kowalik (Xarthisius) <xarthisius.kk@gmail.com>
+ -kapteyn-1.8.7.ebuild, +kapteyn-1.9.1.ebuild:
+ sci-astronomy/kapteyn: vesion bump, old was removed by upstream
+
*kapteyn-1.8.7 (23 Jul 2009)
23 Jul 2009; Sébastien Fabbro <bicatali@gentoo.org>
diff --git a/sci-astronomy/kapteyn/Manifest b/sci-astronomy/kapteyn/Manifest
index 2fa107dba..ce812e663 100644
--- a/sci-astronomy/kapteyn/Manifest
+++ b/sci-astronomy/kapteyn/Manifest
@@ -1,4 +1,4 @@
-DIST kapteyn-1.8.7.tar.gz 487308 RMD160 b0a7c1cd1df9de7f45f9136eabdef9c022692b02 SHA1 dd9d33ecb82312e466e2bd89dd021225d66e078c SHA256 cac28752490945a51ad7ea951e367f4a235310386d9cc17559b68dfe9d80183a
-EBUILD kapteyn-1.8.7.ebuild 529 RMD160 3ed01ae8cae19e6c32cd459bcc1750cc718cfdf0 SHA1 3c19326fbc57be60268ee88d9eda580b1d41d2f0 SHA256 e32f4734b7b2cf4ecb86b602130cf8dfcc928974ed00c3a041d12fcbecb31fac
-MISC ChangeLog 265 RMD160 1bf35f83167ff464cfe6a98c9f20bca56f95bbef SHA1 138d9b59198666c891e8a048f4792e8112155c0c SHA256 4e65b1bcaf247aa863a1d6b9c12069c0959dfa02fc5ef7db4bb1eeecdd8a9f8a
+DIST kapteyn-1.9.1.tar.gz 6525267 RMD160 8b073c9221e5cb768d57572125b0d73f3e4b54a2 SHA1 0e32b21c24200f4990c0fb75a9001ce5f10280a5 SHA256 218b3a065ff20235e7ba5a67ce9a212171dded0bb79a8dc4669d8ec5a77e9c94
+EBUILD kapteyn-1.9.1.ebuild 529 RMD160 9190221c548c3e4e59825d25eeeb9f28203a2b7b SHA1 9a1e1e6cef371245adb74601725d976da06aec37 SHA256 7c3770d3589edebb11d1951126bfd1e8bc28993d035523c46f6b7e309017a0d4
+MISC ChangeLog 479 RMD160 46e02d39ca32c583571d5c730e67052f6af3c099 SHA1 403f0ec4dc8e7d04cf7573857c9cb2444cb1fc4e SHA256 37d6fd2071e23a2d181925675ed95e1878b00dc5abe7f7b168009cee36c8ca77
MISC metadata.xml 501 RMD160 21ff30e9908a8872f7cf8facbcf86f089b874ebe SHA1 a43bcde0827ad797de7fc10583ae244e2a10e82e SHA256 9c4965e57b84b29a22d6137872629c44618000cb50f8c9a95fb73b46fc348b6a
diff --git a/sci-astronomy/kapteyn/kapteyn-1.8.7.ebuild b/sci-astronomy/kapteyn/kapteyn-1.9.1.ebuild
index 00fd0c074..7aaf1663b 100644
--- a/sci-astronomy/kapteyn/kapteyn-1.8.7.ebuild
+++ b/sci-astronomy/kapteyn/kapteyn-1.9.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
diff --git a/sci-chemistry/nmrpipe/Manifest b/sci-chemistry/nmrpipe/Manifest
index 07ac21f92..0d58d050f 100644
--- a/sci-chemistry/nmrpipe/Manifest
+++ b/sci-chemistry/nmrpipe/Manifest
@@ -1,7 +1,7 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-AUX 5.0.2010.008.16.00-lib.patch 997 RMD160 09e9dbed8e1e2e4964bdf381a15b556d0ea9f3bb SHA1 881a3554f21fb23973e0b8a31b59cff495f5edbb SHA256 011aea3e38ef3eb650be7b5d6274913bbb4f5367838f4bb86f97556ad247b57f
+AUX 5.0.2010.108.19.28-lib.patch 997 RMD160 09e9dbed8e1e2e4964bdf381a15b556d0ea9f3bb SHA1 881a3554f21fb23973e0b8a31b59cff495f5edbb SHA256 011aea3e38ef3eb650be7b5d6274913bbb4f5367838f4bb86f97556ad247b57f
AUX env-nmrpipe 499 RMD160 11ab9f42b03700caedfe344186c47fd4a6409758 SHA1 8431685d268b14d88dd31cb494f0d333fff225b9 SHA256 f16820dd88ae38c8db6ffed19a97aade62f0de4c3de692b7a2c3b89897d894e2
AUX env-nmrpipe-new 537 RMD160 0b8b6e53ad49c4bd280f22590e92fdf336e7b66f SHA1 3491378d2d49c867dd0f5bd661d79409b714ea53 SHA256 fbe6cec954a377bb9d957a0c1921060d2543d2b378a6beb801e6fb34796bff15
DIST NMRPipeX.tZ 123447147 RMD160 f76b8f066915e75838a4901064798b583e083129 SHA1 3f860c6d77727c4c9b36a7d15307c2da1cf691ea SHA256 2bedfc6f04a3d81dd96b740d139af54e5005ca7dd49603b4d9ee7ae55e73ac0a
@@ -17,7 +17,7 @@ MISC metadata.xml 273 RMD160 77dd0acbd8530bfceee840dfeccd1f4228e0460b SHA1 7c679
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
-iEYEARECAAYFAkvO1NwACgkQgAnW8HDreRbdvwCfUhKVxVbp39uQRMUyx8j2AoSe
-Ch0An0RWXM0N3E4tbxtgJbGsv9dXuxiX
-=/yue
+iEYEARECAAYFAkvWiuIACgkQgAnW8HDreRavDgCfdOuuwaPunT+GRIRIbEYByS1d
+90AAn395WdKgONszZ5JBdy2i5HalQUDQ
+=/mce
-----END PGP SIGNATURE-----
diff --git a/sci-libs/ghmm/Manifest b/sci-libs/ghmm/Manifest
new file mode 100644
index 000000000..b9cca10ea
--- /dev/null
+++ b/sci-libs/ghmm/Manifest
@@ -0,0 +1,2 @@
+EBUILD ghmm-9999.ebuild 809 RMD160 2045e42f6055e65c7c753b8b7d2908fa16d732b7 SHA1 73415292cdd81653704ce0ffc9722b1dc80476ae SHA256 bb6cb98074623588ba6db9865c8d407019ace59bead6bfd770ca8687d1b9fef0
+MISC metadata.xml 255 RMD160 184656009858e0a39b1c4f42399521e4464049a8 SHA1 dbd3a562b7cd7911378771015534077fc39c9484 SHA256 cc428331a6ed09c67a36af65ea5b384cb839fc6d68beb1b6c53abd383916fc75
diff --git a/sci-libs/ghmm/ghmm-9999.ebuild b/sci-libs/ghmm/ghmm-9999.ebuild
new file mode 100644
index 000000000..514d454af
--- /dev/null
+++ b/sci-libs/ghmm/ghmm-9999.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/mauvealigner/mauvealigner-9999.ebuild,v 1.1 2009/04/17 18:03:19 weaver Exp $
+
+EAPI="2"
+
+ESVN_REPO_URI="https://ghmm.svn.sourceforge.net/svnroot/ghmm/trunk/ghmm"
+
+inherit subversion
+
+DESCRIPTION="General Hidden Markov Model library - efficient data structures and algorithms for HMMs"
+HOMEPAGE="http://ghmm.sourceforge.net/"
+SRC_URI=""
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE=""
+KEYWORDS=""
+
+CDEPEND=""
+DEPEND="${CDEPEND}"
+RDEPEND="${CDEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ ./autogen.sh
+}
+
+src_configure() {
+ econf
+ # fixme: hack
+ sed -i 's|^prefix = \(.*\)|prefix = ${D}/usr|' {ghmmwrapper,HMMEd}/Makefile || die
+}
+
+src_install() {
+ einstall || die
+}
diff --git a/sci-libs/ghmm/metadata.xml b/sci-libs/ghmm/metadata.xml
new file mode 100644
index 000000000..7c2c6e6d8
--- /dev/null
+++ b/sci-libs/ghmm/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>weaver@gentoo.org</email>
+ <name>Andrey Kislyuk</name>
+ </maintainer>
+ <herd>science</herd>
+</pkgmetadata>