Hi,

Sandro Tosi wrote:
> yeah I will fix that bug, having known the urgency I might have
> changed the scheduling of my Debian works though

Here's a quick fix for building on kfreebsd, maybe hurd is the same?
For some reason the build/ subdirectory has the kernel version in it,
e.g.:

../build/lib.linux-3.2.0-4-amd64-x86_64-2.7
../build/lib.gnukfreebsd-10.1-0-amd64-x86_64-2.7


--- python-dmidecode-3.12.2/unit-tests/unit.orig        2015-06-08 
16:19:45.000000000 +0100
+++ python-dmidecode-3.12.2/unit-tests/unit     2016-01-14 02:01:48.597318900 
+0000
@@ -11,6 +11,7 @@
 (sysname, nodename, release, version, machine) = os.uname()
 pyver = sys.version[:3]
 sys.path.insert(0,'../build/lib.%s-%s-%s' % (sysname.lower(), machine, pyver))
+sys.path.insert(1,'../build/lib.%s-%s-%s-%s' % 
(sysname.lower().translate(None, '/'), release, machine, pyver))
 
 root_user = (os.getuid() == 0 and True or False)
 
<EOT>

Regards,
-- 
Steven Chamberlain
ste...@pyro.eu.org

Attachment: signature.asc
Description: Digital signature

Reply via email to