[Python-modules-commits] [billiard] 04/07: Add configuration for GNU/Hurd when building.

Brian May bam at moszumanska.debian.org
Wed Nov 18 22:06:23 UTC 2015


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

bam pushed a commit to branch master
in repository billiard.

commit db1805a13b2e47657f2b1a8ec5c30992189082a2
Author: Michael Fladischer <fladi at debian.org>
Date:   Thu Oct 8 08:33:15 2015 -0700

    Add configuration for GNU/Hurd when building.
    
    Last-Update: 2015-05-19
    Forwarded: no
    
    Patch-Name: hurd.patch
---
 setup.py | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/setup.py b/setup.py
index 710fdcb..1ff65c9 100644
--- a/setup.py
+++ b/setup.py
@@ -138,6 +138,13 @@ elif sys.platform.startswith('openbsd'):
         HAVE_FD_TRANSFER=1,
     )
     libraries = []
+elif sys.platform.startswith('gnu'):
+    macros = dict(                  # GNU/Hurd
+        HAVE_SEM_OPEN=0,            # Not implemented
+        HAVE_SEM_TIMEDWAIT=0,
+        HAVE_FD_TRANSFER=1,
+    )
+    libraries = []
 else:                                   # Linux and other unices
     macros = dict(
         HAVE_SEM_OPEN=1,

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



More information about the Python-modules-commits mailing list