FS#58983 - [python2] libnsl dependency should be optional
Attached to Project:
Arch Linux
Opened by Leonid Isaev (lisaev) - Tuesday, 12 June 2018, 16:40 GMT
Last edited by freswa (frederik) - Sunday, 13 September 2020, 15:12 GMT
Opened by Leonid Isaev (lisaev) - Tuesday, 12 June 2018, 16:40 GMT
Last edited by freswa (frederik) - Sunday, 13 September 2020, 15:12 GMT
|
Details
Currently, the package extra/python2 depends on libnsl (to
support the NIS module [1]), but in fact the only binary in
the entire package that links to libnsl.so.2 is
/usr/lib/python2.7/lib-dynload/nis.so. Clearly, only a small
fraction of systems having the python stack would ever
interface with a NIS domain. Hence, is it possible to make
libnsl an optdep? For example, "libnsl: for the NIS
module".
Thanks! [1] https://docs.python.org/2/library/nis.html |
This task depends upon
Aside: this applies equally to python 3...