[Python-checkins] r80322 - in python/trunk: Misc/NEWS setup.py

matthias.klose python-checkins at python.org
Thu Apr 22 00:18:53 CEST 2010


Author: matthias.klose
Date: Thu Apr 22 00:18:52 2010
New Revision: 80322

Log:
- Build the ossaudio extension on GNU/kFreeBSD.


Modified:
   python/trunk/Misc/NEWS
   python/trunk/setup.py

Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Thu Apr 22 00:18:52 2010
@@ -58,6 +58,11 @@
 - Issue #8374: Update the internal alias table in the :mod:`locale` module
   to cover recent locale changes and additions.
 
+Extension Modules
+-----------------
+
+- Build the ossaudio extension on GNU/kFreeBSD.
+
 
 What's New in Python 2.7 beta 1?
 ================================

Modified: python/trunk/setup.py
==============================================================================
--- python/trunk/setup.py	(original)
+++ python/trunk/setup.py	Thu Apr 22 00:18:52 2010
@@ -1361,8 +1361,9 @@
         else:
             missing.append('linuxaudiodev')
 
-        if platform in ('linux2', 'freebsd4', 'freebsd5', 'freebsd6',
-                        'freebsd7', 'freebsd8'):
+        if (platform in ('linux2', 'freebsd4', 'freebsd5', 'freebsd6',
+                        'freebsd7', 'freebsd8')
+            or platform.startswith("gnukfreebsd")):
             exts.append( Extension('ossaudiodev', ['ossaudiodev.c']) )
         else:
             missing.append('ossaudiodev')


More information about the Python-checkins mailing list