[python-astropy] 01/03: Fix last FTBS on Hurd
Ole Streicher
olebole at moszumanska.debian.org
Thu Feb 5 20:51:41 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 fb623915df882dd13e90b9fde4838a47abad6772
Author: Ole Streicher <olebole at debian.org>
Date: Thu Feb 5 21:42:46 2015 +0100
Fix last FTBS on Hurd
---
debian/changelog | 6 ++++++
debian/patches/fix_hurd.patch | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 04ff0da..1ccb2a3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+python-astropy (1.0~rc1-3) experimental; urgency=low
+
+ * Fix last FTBS on Hurd
+
+ -- Ole Streicher <olebole at debian.org> Thu, 05 Feb 2015 21:41:57 +0100
+
python-astropy (1.0~rc1-2) experimental; urgency=low
* Fix FTBS on several platforms
diff --git a/debian/patches/fix_hurd.patch b/debian/patches/fix_hurd.patch
index 585d1df..bc278f0 100644
--- a/debian/patches/fix_hurd.patch
+++ b/debian/patches/fix_hurd.patch
@@ -9,7 +9,7 @@ Description: Catch import error due to lacking sem_open support on Hurd.
- queue = multiprocessing.Queue()
+ try:
+ queue = multiprocessing.Queue()
-+ except ImportError:
++ except (ImportError, NotImplementedError, AttributeError):
+ self.raise_error("shared semaphore implementation required "
+ "but not available")
cdef int offset = self.tokenizer.source_pos
--
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