jw.pkg.build.lib: Move to jw.pkg.lib

In preparation of reorganizing the tree below cmds, move the lib
subdirectory a level up.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-01-25 09:55:02 +01:00
commit 2e69639362
5 changed files with 4 additions and 4 deletions

View file

@ -5,7 +5,7 @@ from argparse import Namespace, ArgumentParser
from urllib.parse import urlparse
from ..Cmd import Cmd
from ..lib.util import run_cmd
from ...lib.util import run_cmd
class CmdGetAuthInfo(Cmd): # export

View file

@ -4,7 +4,7 @@ import re, os
from argparse import Namespace, ArgumentParser
from ..Cmd import Cmd
from ..lib.util import get_username, get_password, run_curl
from ...lib.util import get_username, get_password, run_curl
class CmdListRepos(Cmd): # export
@ -31,7 +31,7 @@ class CmdListRepos(Cmd): # export
match url.scheme:
case 'ssh':
if re.match(r'ssh://.*git\.janware\.com/', args.base_url):
from jw.pkg.build.lib.SSHClient import SSHClientCmd as SSHClient
from jw.pkg.lib.SSHClient import SSHClientCmd as SSHClient
ssh = SSHClient(hostname=url.hostname)
if username is not None:
ssh.set_username(username)

View file

@ -1,4 +1,4 @@
TOPDIR = ../../../../../..
TOPDIR = ../../../../..
include $(TOPDIR)/make/proj.mk
include $(JWBDIR)/make/py-mod.mk