Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #16116

python3-gpib installation layout stopped working

From Vladimir Vassilev <vladimir@lightside-instruments.com>
Newsgroups linux.debian.maint.python
Subject python3-gpib installation layout stopped working
Date 2024-07-29 13:20 +0200
Message-ID <J5wA1-1eRy-7@gated-at.bofh.it> (permalink)
References <J5tLQ-1dbF-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

I have been maintaining a package used by users of our gpib adapters and 
seems the python bindings for the libgpib0 C library stopped working at 
some point during the bookworm updates.

Here is how the rules file currently looks: 
https://github.com/lightside-instruments/gpib-debian/blob/debian/4.3.6-lsi4/debian/rules


The relevant section is:

...

install:

...

python$$pyvers setup.py install --prefix=/usr 
--root=$(CURDIR)/debian/tmp --install-layout=deb

...


This ends up not working correctly. I also tried creating a pybuild 
based package of only the python bindings to the library which worked. 
Here is how the layout differs.


Not working:

dpkg -c python3-gpib_4.3.6-lsi4_armhf.deb

...

-rw-r--r-- root/root      2156 2024-07-23 10:50 
./usr/lib/python3/dist-packages/gpib-1.0-py3.11-linux-armv6l.egg/Gpib.py


Working(pybuild):

dpkg -c gpib/linux-gpib-user/language/python3-gpib_1.0-0_armhf.deb

...

-rw-r--r-- root/root      2156 2022-11-30 16:20 
./usr/lib/python3/dist-packages/Gpib.py



I wonder if the original command line in debian/rules can be changed so 
that it still works or is the only way to go forward is a separate 
package building only the python package with pybuild?


/Vladimir

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Find similar


Thread

python3-gpib installation layout stopped working Vladimir Vassilev <vladimir@lightside-instruments.com> - 2024-07-29 10:20 +0200
  python3-gpib installation layout stopped working Vladimir Vassilev <vladimir@lightside-instruments.com> - 2024-07-29 13:20 +0200

csiph-web