Re: Should cocotb & pyuvm be under Electronics or Python team ?

2023-07-25 Thread thomas


On Jul 26, 2023 6:57 AM, أحمد المحمودي  
wrote:

>

> On Sun, Jul 23, 2023 at 01:01:39PM +0200, Agathe Porte wrote: 

> I've got another issue, that is cocotb requires find_libppython module, 

> which is used to find libpython on the system, so should I package 

> find_libpython, which doesn't seem to be needed on Debian, just for the 

> sake of cocotb ? Or should I just patch cocotb and put some simplified code 
> (tailored for Debian) that finds path to libpython ? 


My opinion on that one is: do whatever will use the least amount of your time. 
I didn't look into the upstream code that you are talking about, so I cannot 
tell, so I leave the evaluation to you. If the patch seems easy to write AND 
maintain in the long run, the it is probably the least time consuming task for 
you, rather than maintaining another package that potentially will also need 
bugfix and updates.


Best would be if you could convince cocotb upstream to accept your patch. It 
may work if you explain clearly why you need this patch.


Hoping this helps,

Cheers,


Thomas Goirand (zigo)




Re: Should cocotb & pyuvm be under Electronics or Python team ?

2023-07-25 Thread أحمد المحمودي
On Sun, Jul 23, 2023 at 01:01:39PM +0200, Agathe Porte wrote:
> From my quick look at cocotb’s documentation [3], it seems to ship at
> least one binary in $PATH named `cocotb-config`. Here is how it could be
> packaged:
> 
> - `cocotb` srcpkg in `electronics` section;
> - `python3-cocotb` binpkg in `python` section, containing the library;
> - `cocotb` binpkg in `electronics` section, Depends on `python3-cocotb`
>   and contains the executables.
---end quoted text---

Well, I am reluctant to separate the python module from the binary, as 
the python module doesn't seem to be useful without the binary.

I've got another issue, that is cocotb requires find_libppython module, 
which is used to find libpython on the system, so should I package 
find_libpython, which doesn't seem to be needed on Debian, just for the 
sake of cocotb ? Or should I just patch cocotb and put some simplified code 
(tailored for Debian) that finds path to libpython ?

-- 
‎أحمد المحمودي (Ahmed El-Mahmoudy)
 Digital design engineer
GPG KeyIDs: 4096R/A7EF5671 2048R/EDDDA1B7
GPG Fingerprints:
 6E2E E4BB 72E2 F417 D066  6ABF 7B30 B496 A7EF 5761
 8206 A196 2084 7E6D 0DF8  B176 BC19 6A94 EDDD A1B7


signature.asc
Description: PGP signature