[Python-modules-team] Bug#676450: python-psutil: FTBFS on Debian GNU/Hurd
Barry deFreese
bdefreese at debian.org
Thu Jun 7 01:52:04 UTC 2012
Package: python-psutil
Version: 0.4.1-1
Severity: normal
User: debian-hurd at lists.debian.org
Usertags: hurd
Tags: patch
Hi,
Currently python-psutil fails to build on Debian GNU/Hurd. (Doesn't recognize gnu system).
Attached is a patch for building on Hurd.
Thank you,
Barry deFreese
-------------- next part --------------
Index: python-psutil-0.4.1/setup.py
===================================================================
--- python-psutil-0.4.1.orig/setup.py 2011-12-14 22:18:27.000000000 +0000
+++ python-psutil-0.4.1/setup.py 2012-06-06 21:44:59.000000000 +0000
@@ -72,6 +72,12 @@
sources=['psutil/_psutil_linux.c'],
),
posix_extension]
+# GNU
+elif sys.platform.lower().startswith("gnu"):
+ extensions = [Extension('_psutil_posix',
+ sources=['psutil/_psutil_posix.c'],
+ ),
+ posix_extension]
else:
raise NotImplementedError('platform %s is not supported' % sys.platform)
More information about the Python-modules-team
mailing list