tiny fix to python-packages
now fails with: SystemError: dynamic module not initialized properly

1 joachim@lenovo-t530 ...bk07sc-python2.7-pyqwt-5.2.0/examples % ./CPUplot.py
Traceback (most recent call last):
  File "/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/examples/.CPUplot.py-wrapped", line 11, in <module>
    import Qwt5 as Qwt
  File "/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/__init__.py", line 32, in <module>
    from Qwt import *
SystemError: dynamic module not initialized properly
1 joachim@lenovo-t530 ...bk07sc-python2.7-pyqwt-5.2.0/examples % ldd -r /nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so
        linux-vdso.so.1 (0x00007fffa9bfe000)
        libQtCore.so.4 => /nix/store/7c85qvshhiwz23s1mmifv8hxlh6g2i5s-qt-4.8.6/lib/libQtCore.so.4 (0x00007f3ba3338000)
        libpthread.so.0 => /nix/store/i11d0d4015p0vbdnjq7lb509v9pwp049-glibc-2.19/lib/libpthread.so.0 (0x00007f3ba3119000)
        libQtGui.so.4 => /nix/store/7c85qvshhiwz23s1mmifv8hxlh6g2i5s-qt-4.8.6/lib/libQtGui.so.4 (0x00007f3ba2450000)
        libQtSvg.so.4 => /nix/store/7c85qvshhiwz23s1mmifv8hxlh6g2i5s-qt-4.8.6/lib/libQtSvg.so.4 (0x00007f3ba21f8000)
        libXext.so.6 => /nix/store/lg18c9jd2h8fz6mqa07rs39jx3i88dn9-libXext-1.3.3/lib/libXext.so.6 (0x00007f3ba1fe5000)
        libX11.so.6 => /nix/store/x0k7wrv28xx7ksxd6lfy1zri0j7y0ipw-libX11-1.6.2/lib/libX11.so.6 (0x00007f3ba1cab000)
        libstdc++.so.6 => /nix/store/n2zcibvfxg6k2wpiipd8bzmc46q0vjy6-gcc-4.8.3/lib64/libstdc++.so.6 (0x00007f3ba19a8000)
        libm.so.6 => /nix/store/i11d0d4015p0vbdnjq7lb509v9pwp049-glibc-2.19/lib/libm.so.6 (0x00007f3ba16a6000)
        libgcc_s.so.1 => /nix/store/n2zcibvfxg6k2wpiipd8bzmc46q0vjy6-gcc-4.8.3/lib64/libgcc_s.so.1 (0x00007f3ba1490000)
        libc.so.6 => /nix/store/i11d0d4015p0vbdnjq7lb509v9pwp049-glibc-2.19/lib/libc.so.6 (0x00007f3ba10e3000)
        libz.so.1 => /nix/store/9ikh5ifbi15iq2d9kcgmg28kzzzw2jx1-zlib-1.2.8/lib/libz.so.1 (0x00007f3ba0ecc000)
        libdl.so.2 => /nix/store/i11d0d4015p0vbdnjq7lb509v9pwp049-glibc-2.19/lib/libdl.so.2 (0x00007f3ba0cc8000)
        libgthread-2.0.so.0 => /nix/store/xyb4p3di6zd4k77g92dp2a697wy4b4dw-glib-2.40.0/lib/libgthread-2.0.so.0 (0x00007f3ba0ac6000)
        libglib-2.0.so.0 => /nix/store/xyb4p3di6zd4k77g92dp2a697wy4b4dw-glib-2.40.0/lib/libglib-2.0.so.0 (0x00007f3ba0795000)
        librt.so.1 => /nix/store/i11d0d4015p0vbdnjq7lb509v9pwp049-glibc-2.19/lib/librt.so.1 (0x00007f3ba058d000)
        /nix/store/i11d0d4015p0vbdnjq7lb509v9pwp049-glibc-2.19/lib64/ld-linux-x86-64.so.2 (0x00007f3ba3c6d000)
        libpng16.so.16 => /nix/store/xi6jimqv2gaxq8hks3vx9imnipmwizqv-libpng-1.6.13/lib/libpng16.so.16 (0x00007f3ba035a000)
        libfreetype.so.6 => /nix/store/s1n8g01x9slks39amxigr6l21gz2kp6n-freetype-2.5.3/lib/libfreetype.so.6 (0x00007f3ba005b000)
        libSM.so.6 => /nix/store/dl2nh80wqi07l8d0cialg8n93aip53z2-libSM-1.2.2/lib/libSM.so.6 (0x00007f3b9fe53000)
        libICE.so.6 => /nix/store/5176aycp30pyjbfvgwwa3rchkgvxq75q-libICE-1.0.9/lib/libICE.so.6 (0x00007f3b9fc38000)
        libXi.so.6 => /nix/store/zq17ciqfsjanvl6jkvwdkj1nxlcf8c8p-libXi-1.7.4/lib/libXi.so.6 (0x00007f3b9fa29000)
        libXrender.so.1 => /nix/store/2ysn15sm59ag6436yv4l13yrh7avp9xx-libXrender-0.9.8/lib/libXrender.so.1 (0x00007f3b9f81e000)
        libXrandr.so.2 => /nix/store/q6bcps34j9c4bndrgr115kvkd4a96xxr-libXrandr-1.4.2/lib/libXrandr.so.2 (0x00007f3b9f615000)
        libXfixes.so.3 => /nix/store/khdxvpj1n549dqwd6s8ms16qrsmsnr57-libXfixes-5.0.1/lib/libXfixes.so.3 (0x00007f3b9f410000)
        libXcursor.so.1 => /nix/store/360qrq42k03ddi4xvzxp62l8f2n3kbn5-libXcursor-1.1.14/lib/libXcursor.so.1 (0x00007f3b9f205000)
        libXinerama.so.1 => /nix/store/s431slchxxp6yg3vwy8d1l7bwvkgczbk-libXinerama-1.1.3/lib/libXinerama.so.1 (0x00007f3b9f003000)
        libfontconfig.so.1 => /nix/store/ir037n9vz50zinmwyx5531scmgi54mqs-fontconfig-2.10.2/lib/libfontconfig.so.1 (0x00007f3b9edca000)
        libxcb.so.1 => /nix/store/p224xhm7rmz5wy6cnpf0nh3w9ph0vlra-libxcb-1.11/lib/libxcb.so.1 (0x00007f3b9ebab000)
        libXau.so.6 => /nix/store/vwfkdyc65x76glbkx6fbik97wiq5vv89-libXau-1.0.8/lib/libXau.so.6 (0x00007f3b9e9a7000)
        libXdmcp.so.6 => /nix/store/4z6wpk99i5ibvlgmpddbmrhd0bvnq4mh-libXdmcp-1.1.1/lib/libXdmcp.so.6 (0x00007f3b9e7a2000)
        libbz2.so.1.0 => /nix/store/qcpcs24jzqa0v7ks06f7289mx3ghsly8-bzip2-1.0.6/lib/libbz2.so.1.0 (0x00007f3b9e591000)
        libuuid.so.1 => /nix/store/ash6ha16a2rb2jyasxc8ljjjhp3iancv-util-linux-2.25.1/lib/libuuid.so.1 (0x00007f3b9e38d000)
        libexpat.so.1 => /nix/store/j08ar697mnk532fqsj1pi1fvqgm31xzy-expat-2.1.0/lib/libexpat.so.1 (0x00007f3b9e163000)
undefined symbol: PyList_Type   (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyCapsule_Type        (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyCObject_Type        (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PySlice_Type  (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: _Py_NoneStruct        (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyExc_AttributeError  (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyExc_MemoryError     (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyExc_RuntimeError    (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: _Py_NotImplementedStruct      (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyExc_TypeError       (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyFloat_Type  (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyExc_ImportError     (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyLong_AsLong (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyDict_GetItemString  (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyObject_GetAttrString        (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyType_IsSubtype      (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyModule_GetDict      (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyDict_SetItem        (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyEval_RestoreThread  (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PySlice_GetIndicesEx  (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyLong_AsDouble       (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyDict_Next   (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyErr_Format  (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyFloat_FromDouble    (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyFloat_AsDouble      (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyCObject_AsVoidPtr   (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: Py_BuildValue (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyList_New    (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyImport_ImportModule (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PySequence_Check      (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyString_FromStringAndSize    (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyErr_Clear   (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: Py_InitModule4_64     (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyObject_HasAttrString        (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyDict_New    (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyErr_SetString       (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyGILState_Release    (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyCapsule_GetPointer  (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyInt_AsLong  (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyEval_SaveThread     (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PySequence_Size       (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyErr_Occurred        (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyList_SetItem        (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyLong_FromUnsignedLong       (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyInt_FromLong        (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyErr_Print   (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)
undefined symbol: PyBool_FromLong       (/nix/store/vhkam9jkpn0i34r33qgkfkb2wgbk07sc-python2.7-pyqwt-5.2.0/lib/python2.7/site-packages/Qwt5/Qwt.so)