mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
patman: Add support for building a patman PyPi package
Create the necessary files to build this new package. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
a545dc1db9
commit
30eb11ae04
2 changed files with 30 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -2282,6 +2282,7 @@ pip pip_test pip_release: _pip
|
|||
|
||||
_pip:
|
||||
scripts/make_pip.sh u_boot_pylib ${PIP_ARGS}
|
||||
scripts/make_pip.sh patman ${PIP_ARGS}
|
||||
|
||||
help:
|
||||
@echo 'Cleaning targets:'
|
||||
|
|
29
tools/patman/pyproject.toml
Normal file
29
tools/patman/pyproject.toml
Normal file
|
@ -0,0 +1,29 @@
|
|||
[build-system]
|
||||
requires = ["setuptools>=61.0"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "patch-manager"
|
||||
version = "0.0.2"
|
||||
authors = [
|
||||
{ name="Simon Glass", email="sjg@chromium.org" },
|
||||
]
|
||||
dependencies = ["u_boot_pylib"]
|
||||
description = "Patman patch manager"
|
||||
readme = "README.rst"
|
||||
requires-python = ">=3.7"
|
||||
classifiers = [
|
||||
"Programming Language :: Python :: 3",
|
||||
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
|
||||
"Operating System :: OS Independent",
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
"Homepage" = "https://u-boot.readthedocs.io/en/latest/develop/patman.html"
|
||||
"Bug Tracker" = "https://source.denx.de/groups/u-boot/-/issues"
|
||||
|
||||
[project.scripts]
|
||||
patman = "patman.__main__:run_patman"
|
||||
|
||||
[tool.setuptools.package-data]
|
||||
patman = ["*.rst"]
|
Loading…
Reference in a new issue