[Python-modules-commits] r29336 - in packages/billiard/trunk/debian (3 files)

fladi-guest at users.alioth.debian.org fladi-guest at users.alioth.debian.org
Sat Jun 14 18:53:10 UTC 2014


    Date: Saturday, June 14, 2014 @ 18:53:09
  Author: fladi-guest
Revision: 29336

Add gnukfreebsd.patch to make setup.py recognize GNU/kFreeBSD as a FreeBSD platform (Closes: #747441).

Added:
  packages/billiard/trunk/debian/patches/gnukfreebsd.patch
Modified:
  packages/billiard/trunk/debian/changelog
  packages/billiard/trunk/debian/patches/series

Modified: packages/billiard/trunk/debian/changelog
===================================================================
--- packages/billiard/trunk/debian/changelog	2014-06-14 15:01:15 UTC (rev 29335)
+++ packages/billiard/trunk/debian/changelog	2014-06-14 18:53:09 UTC (rev 29336)
@@ -1,3 +1,10 @@
+billiard (3.3.0.17-2) unstable; urgency=medium
+
+  * Add gnukfreebsd.patch to make setup.py recognize GNU/kFreeBSD as a
+    FreeBSD platform (Closes: #747441).
+
+ -- Michael Fladischer <FladischerMichael at fladi.at>  Sat, 14 Jun 2014 20:41:08 +0200
+
 billiard (3.3.0.17-1) unstable; urgency=low
 
   * New upstream release.

Added: packages/billiard/trunk/debian/patches/gnukfreebsd.patch
===================================================================
--- packages/billiard/trunk/debian/patches/gnukfreebsd.patch	                        (rev 0)
+++ packages/billiard/trunk/debian/patches/gnukfreebsd.patch	2014-06-14 18:53:09 UTC (rev 29336)
@@ -0,0 +1,21 @@
+Description: Consider gnukfreebsdN as a FreeBSD platform
+ Extend detection of FreeBSD to GNU/kFreeBSD to get semaphores working.
+Author: Michael Fladischer <FladischerMichael at fladi.at>
+Last-Update: 2014-06-12
+Forwarded: https://github.com/celery/billiard/pull/115
+
+Index: billiard/setup.py
+===================================================================
+--- billiard.orig/setup.py
++++ billiard/setup.py
+@@ -118,8 +118,8 @@ elif sys.platform in ('freebsd4', 'freeb
+         HAVE_FD_TRANSFER=1,
+         )
+     libraries = []
+-elif sys.platform in ('freebsd7', 'freebsd8', 'freebsd9', 'freebsd10'):
+-    macros = dict(                  # FreeBSD 7+
++elif re.match('^(gnukfreebsd(8|9|10|11)|freebsd(7|8|9|0))', sys.platform):
++    macros = dict(                  # FreeBSD 7+ and GNU/kFreeBSD 8+
+         HAVE_SEM_OPEN=bool(
+             sysconfig.get_config_var('HAVE_SEM_OPEN') and not
+             bool(sysconfig.get_config_var('POSIX_SEMAPHORES_NOT_ENABLED'))

Modified: packages/billiard/trunk/debian/patches/series
===================================================================
--- packages/billiard/trunk/debian/patches/series	2014-06-14 15:01:15 UTC (rev 29335)
+++ packages/billiard/trunk/debian/patches/series	2014-06-14 18:53:09 UTC (rev 29336)
@@ -1,3 +1,4 @@
 spelling.patch
 remove-nose-cover3.patch
+gnukfreebsd.patch
 exclude_funtests_package.patch




More information about the Python-modules-commits mailing list