[python-astropy] 01/02: Remove float128 from DTYPES in 32-bit architecture

Ole Streicher olebole at moszumanska.debian.org
Sun Feb 1 13:50:25 UTC 2015


This is an automated email from the git hooks/post-receive script.

olebole pushed a commit to branch debian
in repository python-astropy.

commit a6374f537e5dc5fde1e95975f0f6a2d7c94e5d2f
Author: Ole Streicher <olebole at debian.org>
Date:   Sun Feb 1 14:49:40 2015 +0100

    Remove float128 from DTYPES in 32-bit architecture
---
 debian/changelog                     |  6 ++++++
 debian/patches/Remove_float128.patch | 23 +++++++++++++++++++++++
 debian/patches/series                |  1 +
 3 files changed, 30 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 4847afb..7998968 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+python-astropy (1.0~rc1-2) experimental; urgency=low
+
+  * Fix FTBS on armel, armhf, mipsel
+
+ -- Ole Streicher <olebole at debian.org>  Sun, 01 Feb 2015 11:13:52 +0100
+
 python-astropy (1.0~rc1-1) experimental; urgency=low
 
   * New upstream release candidate
diff --git a/debian/patches/Remove_float128.patch b/debian/patches/Remove_float128.patch
new file mode 100644
index 0000000..3a4c0cd
--- /dev/null
+++ b/debian/patches/Remove_float128.patch
@@ -0,0 +1,23 @@
+From aa4fed256a64867f633f3c1098dce1b98058ea72 Mon Sep 17 00:00:00 2001
+From: Miguel de Val-Borro <miguel at archlinux.net>
+Date: Wed, 28 Jan 2015 18:47:49 -0500
+Subject: [PATCH] Remove float128 from DTYPES in 32-bit architecture
+--- a/astropy/io/ascii/tests/test_ecsv.py
++++ b/astropy/io/ascii/tests/test_ecsv.py
+@@ -8,6 +8,7 @@
+ """
+ import os
+ import copy
++import sys
+ 
+ import numpy as np
+ 
+@@ -28,7 +29,7 @@
+ DTYPES = ['bool', 'int8', 'int16', 'int32', 'int64', 'uint8', 'uint16', 'uint32',
+           'uint64', 'float16', 'float32', 'float64', 'float128',
+           'str']
+-if os.name == 'nt':
++if os.name == 'nt' or sys.maxsize <= 2**32:
+     DTYPES.remove('float128')
+ 
+ T_DTYPES = Table()
diff --git a/debian/patches/series b/debian/patches/series
index 42284d9..4bd52eb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 mark_known_failures.patch
 disable_helper.patch
 helper_compatibility.patch
+Remove_float128.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/python-astropy.git



More information about the debian-science-commits mailing list