2017-07-24 12:19:34 +02:00
|
|
|
[summary]
|
|
|
|
|
janware Python utility library
|
|
|
|
|
|
|
|
|
|
[description]
|
|
|
|
|
janware Python utility library
|
|
|
|
|
|
|
|
|
|
[global]
|
2019-12-07 20:13:08 +01:00
|
|
|
group = "Development/Libraries/Python"
|
2025-02-20 19:14:31 +00:00
|
|
|
subpackages = run devel
|
2019-12-07 14:13:48 +00:00
|
|
|
license = LGPL 2
|
2017-07-24 12:19:34 +02:00
|
|
|
jw-maintainer = jan
|
|
|
|
|
|
|
|
|
|
[build]
|
|
|
|
|
libname = none
|
|
|
|
|
|
2017-11-23 15:05:18 +01:00
|
|
|
[pkg.requires.os]
|
2026-10-19 14:56:48 +02:00
|
|
|
run = mypy, python3-magic, python3-termcolor, python3-pytimeparse, python3-argcomplete, \
|
|
|
|
|
python3-ldap, python3-networkx
|
2026-07-02 15:34:28 +02:00
|
|
|
build = python3-pytest
|
2017-11-23 15:05:18 +01:00
|
|
|
|
2026-10-19 14:56:48 +02:00
|
|
|
[pkg.requires.suse]
|
2026-10-19 17:58:54 +02:00
|
|
|
run = python3-PyYAML
|
2026-10-19 14:56:48 +02:00
|
|
|
|
|
|
|
|
[pkg.requires.debian]
|
2026-10-19 17:58:54 +02:00
|
|
|
run = python3-yaml
|
2026-10-19 14:56:48 +02:00
|
|
|
|
2017-07-24 12:19:34 +02:00
|
|
|
[pkg.requires.jw]
|
jw.util.Cmds, .Cmd, .App: Use jw.pkg.lib.App + .Cmd
This commit does a couple of things in one go:
- Move the implementations from jw.util.Cmds and jw.util.Cmd back to
jwutils where they came from to remain backwards compatible for
code still using jwutils.
- No code uses jw.util.Cmds and jw.util.Cmd yet, so remove them.
- Add new jw.util.App and jw.util.Cmd classes instead, which are
re-exported modules from jw.pkg.lib. These implementations are very
similar, but not identical to jwutils.Cmds and jwutils.App.
Originally, Cmds and Cmd had been copied from jw-python to jw-pkg App
and Cmd, respectively, because an App class proved indispensible in
jw-pkg. The two classes have subsequently evolved in jw-pkg, and
re-using them here ends the fork and removes the redundancy.
This makes jw-python expose the same App / Cmd pair as jw.pkg does
for as long as Cmds is still in use. In the future, it might be a
good idea to remove Cmds, Cmd and App from jw-python entirely.
Signed-off-by: Jan Lindemann <jan@janware.com>
2026-06-13 10:43:41 +02:00
|
|
|
run = jw-pkg-run = VERSION
|
2025-11-28 14:22:42 +01:00
|
|
|
devel = jw-python-run = VERSION-REVISION, jw-pkg-devel = VERSION
|
jw.util.Cmds, .Cmd, .App: Use jw.pkg.lib.App + .Cmd
This commit does a couple of things in one go:
- Move the implementations from jw.util.Cmds and jw.util.Cmd back to
jwutils where they came from to remain backwards compatible for
code still using jwutils.
- No code uses jw.util.Cmds and jw.util.Cmd yet, so remove them.
- Add new jw.util.App and jw.util.Cmd classes instead, which are
re-exported modules from jw.pkg.lib. These implementations are very
similar, but not identical to jwutils.Cmds and jwutils.App.
Originally, Cmds and Cmd had been copied from jw-python to jw-pkg App
and Cmd, respectively, because an App class proved indispensible in
jw-pkg. The two classes have subsequently evolved in jw-pkg, and
re-using them here ends the fork and removes the redundancy.
This makes jw-python expose the same App / Cmd pair as jw.pkg does
for as long as Cmds is still in use. In the future, it might be a
good idea to remove Cmds, Cmd and App from jw-python entirely.
Signed-off-by: Jan Lindemann <jan@janware.com>
2026-06-13 10:43:41 +02:00
|
|
|
build = jw-pkg-devel, jw-pkg-devel
|