FS#73859 - [libcec] build with Python support

Attached to Project: Community Packages
Opened by Jonathan Liu (net147) - Friday, 18 February 2022, 13:03 GMT
Last edited by Ike Devolder (BlackEagle) - Saturday, 19 February 2022, 10:25 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Ike Devolder (BlackEagle)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Please build libcec with Python support by adding 'swig' to makedepends and 'python' to depends.

Additional info:
* libcec 6.0.2-1

Steps to reproduce:
$ python -q
>>> import cec
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'cec'
>>>
This task depends upon

Closed by  Ike Devolder (BlackEagle)
Saturday, 19 February 2022, 10:25 GMT
Reason for closing:  Implemented
Additional comments about closing:  added in libcec 6.0.2-2
Comment by Ike Devolder (BlackEagle) - Saturday, 19 February 2022, 10:04 GMT
so actually python could be an optdepend? no need for it to be a hard dependency
Comment by Jonathan Liu (net147) - Saturday, 19 February 2022, 10:10 GMT
These files depend on Python:
/usr/bin/pyCecClient
/usr/lib/python3.10/site-packages/_cec.so
/usr/lib/python3.10/site-packages/cec.py

Perhaps those files can be split into python-libcec?
So if you want python support you can install python-libcec.

Loading...