mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-11-07 17:18:55 -10:00
Switch to hatchling with hatch-vcs and use the PyPI source distribution,
which includes the version metadata needed by hatch-vcs.
Restore the compatibility symlink omitted from the PyPI archive so the
wheel continues to provide the configshell_fb module.
Drop the obsolete six and urwid runtime dependencies. Select curses
explicitly, since it was previously pulled in by urwid.
Update the license hash for the removal of a trailing blank line:
36306fd6f8
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
24 lines
1.0 KiB
Makefile
24 lines
1.0 KiB
Makefile
################################################################################
|
|
#
|
|
# python-configshell-fb
|
|
#
|
|
################################################################################
|
|
|
|
# When upgrading the version, be sure to also upgrade python-rtslib-fb
|
|
# and targetcli-fb at the same time.
|
|
PYTHON_CONFIGSHELL_FB_VERSION = 2.0.3
|
|
PYTHON_CONFIGSHELL_FB_SOURCE = configshell_fb-$(PYTHON_CONFIGSHELL_FB_VERSION).tar.gz
|
|
PYTHON_CONFIGSHELL_FB_SITE = https://files.pythonhosted.org/packages/5c/cd/3575aae7d0302c3a9d7a9999870475c289209a2f5b633a682c94f9dfc08c
|
|
PYTHON_CONFIGSHELL_FB_LICENSE = Apache-2.0
|
|
PYTHON_CONFIGSHELL_FB_LICENSE_FILES = COPYING
|
|
PYTHON_CONFIGSHELL_FB_SETUP_TYPE = hatch
|
|
PYTHON_CONFIGSHELL_FB_DEPENDENCIES = host-python-hatch-vcs
|
|
|
|
# The PyPI archive omits the compatibility symlink included in Git.
|
|
define PYTHON_CONFIGSHELL_FB_RESTORE_COMPAT_SYMLINK
|
|
ln -s configshell $(@D)/configshell_fb
|
|
endef
|
|
PYTHON_CONFIGSHELL_FB_POST_EXTRACT_HOOKS += PYTHON_CONFIGSHELL_FB_RESTORE_COMPAT_SYMLINK
|
|
|
|
$(eval $(python-package))
|