package/python-deprecation: new package

Signed-off-by: Alexandre Ondet <hellohacker.dev@gmail.com>
[Julien:
 - add a new line before homepage url in Config.in
 - add LICENSE hash
 - fix check-package error
]
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Alexandre Ondet
2026-04-21 16:48:27 -04:00
committed by Julien Olivain
parent 7312fcd4b6
commit 210fa82736
4 changed files with 24 additions and 0 deletions

View File

@@ -1079,6 +1079,7 @@ menu "External python modules"
source "package/python-decorator/Config.in"
source "package/python-decouple/Config.in"
source "package/python-defusedxml/Config.in"
source "package/python-deprecation/Config.in"
source "package/python-dialog3/Config.in"
source "package/python-dictdiffer/Config.in"
source "package/python-dicttoxml/Config.in"

View File

@@ -0,0 +1,6 @@
config BR2_PACKAGE_PYTHON_DEPRECATION
bool "python-deprecation"
help
A library to handle automated deprecations in Python.
https://pypi.org/project/deprecation/

View File

@@ -0,0 +1,3 @@
# From https://pypi.org/pypi/deprecation/2.1.0/json
sha256 72b3bde64e5d778694b0cf68178aed03d15e15477116add3fb773e581f9518ff deprecation-2.1.0.tar.gz
sha256 b40930bbcf80744c86c46a12bc9da056641d722716c378f5659b9e555ef833e1 LICENSE

View File

@@ -0,0 +1,14 @@
################################################################################
#
# python-deprecation
#
################################################################################
PYTHON_DEPRECATION_VERSION = 2.1.0
PYTHON_DEPRECATION_SOURCE = deprecation-$(PYTHON_DEPRECATION_VERSION).tar.gz
PYTHON_DEPRECATION_SITE = https://files.pythonhosted.org/packages/source/d/deprecation
PYTHON_DEPRECATION_SETUP_TYPE = setuptools
PYTHON_DEPRECATION_LICENSE = Apache-2.0
PYTHON_DEPRECATION_LICENSE_FILES = LICENSE
$(eval $(python-package))