jwutils: Move to jwutils -> jw.util
Move all implementation source code from the jwutils module to jw.util. For compatibility with existing Python modules, keep a thin, autogenerated compatibility shim under jwutils. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
bc7652fdf9
commit
a2684dd601
9 changed files with 678 additions and 52 deletions
14
src/python/jwutils/auth/Auth.py
Normal file
14
src/python/jwutils/auth/Auth.py
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# ruff: noqa: E501
|
||||
from jw.util.auth.Auth import Access as Access
|
||||
from jw.util.auth.Auth import ProjectFlags as ProjectFlags
|
||||
from jw.util.auth.Auth import Group as Group
|
||||
from jw.util.auth.Auth import User as User
|
||||
from jw.util.auth.Auth import Auth as Auth
|
||||
|
||||
__all__ = [
|
||||
"Access",
|
||||
"ProjectFlags",
|
||||
"Group",
|
||||
"User",
|
||||
"Auth",
|
||||
]
|
||||
5
src/python/jwutils/auth/Makefile
Normal file
5
src/python/jwutils/auth/Makefile
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
TOPDIR = ../../../..
|
||||
PY_UPDATE_INIT_PY = false
|
||||
|
||||
include $(TOPDIR)/make/proj.mk
|
||||
include $(JWBDIR)/make/py-mod.mk
|
||||
11
src/python/jwutils/auth/__init__.py
Normal file
11
src/python/jwutils/auth/__init__.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# >> -------------------------- generated by python-tools.sh >>
|
||||
# ruff: noqa: E501
|
||||
from pkgutil import extend_path
|
||||
|
||||
__path__ = extend_path(__path__, __name__)
|
||||
from .Auth import Access as Access
|
||||
from .Auth import ProjectFlags as ProjectFlags
|
||||
from .Auth import Group as Group
|
||||
from .Auth import User as User
|
||||
from .Auth import Auth as Auth
|
||||
# << -------------------------- generated by python-tools.sh <<
|
||||
10
src/python/jwutils/auth/dummy/Auth.py
Normal file
10
src/python/jwutils/auth/dummy/Auth.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# ruff: noqa: E501
|
||||
from jw.util.auth.dummy.Auth import Group as Group
|
||||
from jw.util.auth.dummy.Auth import User as User
|
||||
from jw.util.auth.dummy.Auth import Auth as Auth
|
||||
|
||||
__all__ = [
|
||||
"Group",
|
||||
"User",
|
||||
"Auth",
|
||||
]
|
||||
5
src/python/jwutils/auth/dummy/Makefile
Normal file
5
src/python/jwutils/auth/dummy/Makefile
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
TOPDIR = ../../../../..
|
||||
PY_UPDATE_INIT_PY = false
|
||||
|
||||
include $(TOPDIR)/make/proj.mk
|
||||
include $(JWBDIR)/make/py-mod.mk
|
||||
9
src/python/jwutils/auth/dummy/__init__.py
Normal file
9
src/python/jwutils/auth/dummy/__init__.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# >> -------------------------- generated by python-tools.sh >>
|
||||
# ruff: noqa: E501
|
||||
from pkgutil import extend_path
|
||||
|
||||
__path__ = extend_path(__path__, __name__)
|
||||
from .Auth import Group as Group
|
||||
from .Auth import User as User
|
||||
from .Auth import Auth as Auth
|
||||
# << -------------------------- generated by python-tools.sh <<
|
||||
8
src/python/jwutils/auth/ldap/Auth.py
Normal file
8
src/python/jwutils/auth/ldap/Auth.py
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# ruff: noqa: E501
|
||||
from jw.util.auth.ldap.Auth import Group as Group
|
||||
from jw.util.auth.ldap.Auth import Auth as Auth
|
||||
|
||||
__all__ = [
|
||||
"Group",
|
||||
"Auth",
|
||||
]
|
||||
5
src/python/jwutils/auth/ldap/Makefile
Normal file
5
src/python/jwutils/auth/ldap/Makefile
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
TOPDIR = ../../../../..
|
||||
PY_UPDATE_INIT_PY = false
|
||||
|
||||
include $(TOPDIR)/make/proj.mk
|
||||
include $(JWBDIR)/make/py-mod.mk
|
||||
8
src/python/jwutils/auth/ldap/__init__.py
Normal file
8
src/python/jwutils/auth/ldap/__init__.py
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# >> -------------------------- generated by python-tools.sh >>
|
||||
# ruff: noqa: E501
|
||||
from pkgutil import extend_path
|
||||
|
||||
__path__ = extend_path(__path__, __name__)
|
||||
from .Auth import Group as Group
|
||||
from .Auth import Auth as Auth
|
||||
# << -------------------------- generated by python-tools.sh <<
|
||||
Loading…
Reference in a new issue