Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/python-deprecation: new package
@ 2026-04-21 20:48 Alexandre Ondet
  2026-04-24 21:27 ` Julien Olivain via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Alexandre Ondet @ 2026-04-21 20:48 UTC (permalink / raw)
  To: buildroot; +Cc: James Hilliard, Alexandre Ondet, Thomas Petazzoni

Signed-off-by: Alexandre Ondet <hellohacker.dev@gmail.com>
---
 package/Config.in                                  |  1 +
 package/python-deprecation/Config.in               |  5 +++++
 package/python-deprecation/python-deprecation.hash |  2 ++
 package/python-deprecation/python-deprecation.mk   | 14 ++++++++++++++
 4 files changed, 22 insertions(+)
 create mode 100644 package/python-deprecation/Config.in
 create mode 100644 package/python-deprecation/python-deprecation.hash
 create mode 100644 package/python-deprecation/python-deprecation.mk

diff --git a/package/Config.in b/package/Config.in
index d0f148699b..a2bd4a2e4a 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1077,6 +1077,7 @@ menu "External python modules"
 	source "package/python-dbus-fast/Config.in"
 	source "package/python-dbus-next/Config.in"
 	source "package/python-decorator/Config.in"
+	source "package/python-deprecation/Config.in"
 	source "package/python-decouple/Config.in"
 	source "package/python-defusedxml/Config.in"
 	source "package/python-dialog3/Config.in"
diff --git a/package/python-deprecation/Config.in b/package/python-deprecation/Config.in
new file mode 100644
index 0000000000..83bf414bd5
--- /dev/null
+++ b/package/python-deprecation/Config.in
@@ -0,0 +1,5 @@
+config BR2_PACKAGE_PYTHON_DEPRECATION
+	bool "python-deprecation"
+	help
+	  A library to handle automated deprecations in Python.
+	  https://pypi.org/project/deprecation/
diff --git a/package/python-deprecation/python-deprecation.hash b/package/python-deprecation/python-deprecation.hash
new file mode 100644
index 0000000000..027dfafa4e
--- /dev/null
+++ b/package/python-deprecation/python-deprecation.hash
@@ -0,0 +1,2 @@
+# From https://pypi.org/pypi/deprecation/2.1.0/json
+sha256  72b3bde64e5d778694b0cf68178aed03d15e15477116add3fb773e581f9518ff  deprecation-2.1.0.tar.gz
diff --git a/package/python-deprecation/python-deprecation.mk b/package/python-deprecation/python-deprecation.mk
new file mode 100644
index 0000000000..5ec8977c80
--- /dev/null
+++ b/package/python-deprecation/python-deprecation.mk
@@ -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))
-- 
2.53.0.windows.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-04-24 21:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-21 20:48 [Buildroot] [PATCH 1/2] package/python-deprecation: new package Alexandre Ondet
2026-04-24 21:27 ` Julien Olivain via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox