[python-asciitable] New upstream version with Latex, AASTex support Patch added to fix errors in the doctests of Cds
Sergio Pascual
sergiopr at fedoraproject.org
Sat Jul 2 07:41:26 UTC 2011
commit c01537099f3785c5e02db2aa88cffe22b8589d4e
Author: Sergio Pascual <sergiopr at fis.ucm.es>
Date: Sat Jul 2 09:41:05 2011 +0200
New upstream version with Latex, AASTex support
Patch added to fix errors in the doctests of Cds
.gitignore | 1 +
python-asciitable-cds-test.patch | 21 +++++++++++++++++++++
python-asciitable.spec | 12 ++++++++++--
sources | 2 +-
4 files changed, 33 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5af5038..8553f47 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/asciitable-0.6.0.tar.gz
+/asciitable-0.7.0.1.tar.gz
diff --git a/python-asciitable-cds-test.patch b/python-asciitable-cds-test.patch
new file mode 100644
index 0000000..2ab8d5c
--- /dev/null
+++ b/python-asciitable-cds-test.patch
@@ -0,0 +1,21 @@
+diff -ur asciitable-0.7.0.1/asciitable/cds.py asciitable-0.7.0.1.tests/asciitable/cds.py
+--- asciitable-0.7.0.1/asciitable/cds.py 2011-07-02 09:36:38.942556575 +0200
++++ asciitable-0.7.0.1.tests/asciitable/cds.py 2011-07-02 09:37:22.045868050 +0200
+@@ -213,6 +213,7 @@
+ parameter indicating the CDS ReadMe file. If not supplied it is assumed that
+ the header information is at the top of the given table. Examples::
+
++ >>> import asciitable
+ >>> table = asciitable.read("t/cds.dat")
+ >>> table = asciitable.read("t/vizier/table1.dat", readme="t/vizier/ReadMe")
+ >>> table = asciitable.read("t/cds/multi/lhs2065.dat", readme="t/cds/multi/ReadMe")
+@@ -241,6 +242,9 @@
+ >>> #The following gives InconsistentTableError, since no
+ >>> #readme file was given and table1.dat does not have a header.
+ >>> table = r.read("t/vizier/table1.dat")
++ Traceback (most recent call last):
++ ...
++ InconsistentTableError: No CDS section delimiter found
+
+ Caveats:
+
diff --git a/python-asciitable.spec b/python-asciitable.spec
index 2059179..116f5d3 100644
--- a/python-asciitable.spec
+++ b/python-asciitable.spec
@@ -7,14 +7,15 @@
%endif
Name: python-%{upname}
-Version: 0.6.0
-Release: 2%{?dist}
+Version: 0.7.0.1
+Release: 1%{?dist}
Summary: Extensible ASCII table reader and writer
License: BSD
Group: Development/Libraries
URL: http://cxc.harvard.edu/contrib/asciitable/
Source0: http://pypi.python.org/packages/source/a/%{upname}/%{upname}-%{version}.tar.gz
+Patch0: python-asciitable-cds-test.patch
BuildRequires: python2-devel python-nose
BuildArch: noarch
@@ -34,6 +35,7 @@ table formats via built-in Extension Reader Classes:
the comment character
* Daophot: table from the IRAF DAOphot package
* Ipac: IPAC format table
+ * Latex, AASTex: LaTeX tables (plain and AASTex)
* NoHeader: basic table with no header where columns are auto-named
* Rdb: tab-separated values with an extra line after the column
definition line
@@ -52,6 +54,7 @@ table formats via built-in Extension Reader Classes:
the comment character
* Daophot: table from the IRAF DAOphot package
* Ipac: IPAC format table
+ * Latex, AASTex: LaTeX tables (plain and AASTex)
* NoHeader: basic table with no header where columns are auto-named
* Rdb: tab-separated values with an extra line after the column
definition line
@@ -60,6 +63,7 @@ table formats via built-in Extension Reader Classes:
%prep
%setup -n %{upname}-%{version} -q
+%patch0 -p1
%if 0%{?with_python3}
rm -rf %{py3dir}
@@ -105,6 +109,10 @@ popd
%changelog
+* Sat Jul 2 2011 Sergio Pascual <sergiopr at fedoraproject.org> - 0.7.0.1-1
+- New upstream version with Latex, AASTex support
+- Patch added to fix errors in the doctests of Cds
+
* Mon Jun 6 2011 Sergio Pascual <sergiopr at fedoraproject.org> - 0.6.0-2
- Adding index.rst before importing
diff --git a/sources b/sources
index 3cd8c38..88e6821 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1bc50c8e8204cb6ed016115e8e4cabfa asciitable-0.6.0.tar.gz
+1488e89de560df17f271c995f405b555 asciitable-0.7.0.1.tar.gz
More information about the scm-commits
mailing list