Dear all,
I had the need for a little python bindings package, that is available in pypi as lxc-python2.
https://pypi.python.org/pypi/lxc-python2 https://github.com/lxc/python2-lxc
As this is required for setting up lxc containers via ansible, I guess this might be useful in factory. But what would be the correct name for the package?
python-lxc-python2 python2-lxc-python2 python2-lxc ...
Johannes
P.S.: The bindings themselves have not changed for a long time, so this should be easy to maintain...
Hi,
The convention is to use `python[version]-[pypi-name]`. So in your case it's `python-lxc-python2` for py2 and `python3-lxc-python2` for py3. This looks quite ugly in your case, but using the pypi package name is the most useful convention.
Hope this helps.
Sebastian
On 01/24/2017 07:59 PM, Johannes Kastl wrote:
Dear all,
I had the need for a little python bindings package, that is available in pypi as lxc-python2.
https://pypi.python.org/pypi/lxc-python2 https://github.com/lxc/python2-lxc
As this is required for setting up lxc containers via ansible, I guess this might be useful in factory. But what would be the correct name for the package?
python-lxc-python2 python2-lxc-python2 python2-lxc ...
Johannes
P.S.: The bindings themselves have not changed for a long time, so this should be easy to maintain...
Current naming convention is python-<pypi-name>. python-lxc-python2 sounds stupid, but would match.... Schöne Grüße Axel Braun
Dear Axel, dear Sebastian,
On 24.01.17 20:20 Axel Braun wrote:
Current naming convention is python-<pypi-name>. python-lxc-python2 sounds stupid, but would match....
Thanks for the confirmation. I was not sure if the naming should be python2-lxc... as this is a python2-only package, as far as I can see.
Johannes
On 01/24/2017 08:46 PM, Johannes Kastl wrote:
I was not sure if the naming should be python2-lxc... as this is a python2-only package, as far as I can see.
Yes, currently the default is still python2 and `python-` still implicitly means python2.
Sebastian
On 24.01.17 19:59 Johannes Kastl wrote:
I had the need for a little python bindings package, that is available in pypi as lxc-python2.
https://pypi.python.org/pypi/lxc-python2 https://github.com/lxc/python2-lxc
As this is required for setting up lxc containers via ansible, I guess this might be useful in factory. But what would be the correct name for the package?
I just sr'ed this to devel:languages:python, please feel free to comment or point out weak spots.
SR 452476 https://build.opensuse.org/request/show/452476
Thanks in advance, Johannes
On 25.01.17 19:27 Johannes Kastl wrote:
Superseded by 452579.
I added a changes-file and cleaned the spec file with spec-cleaner.
Johannes