package/python-isodate: new package

Signed-off-by: Alexandre Ondet <hellohacker.dev@gmail.com>
[Julien:
 - add host-python-setuptools-scm dependency
 - 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:50:31 -04:00
committed by Julien Olivain
parent 210fa82736
commit 863b920e6b
4 changed files with 28 additions and 0 deletions

View File

@@ -1180,6 +1180,7 @@ menu "External python modules"
source "package/python-ipython-genutils/Config.in"
source "package/python-ipython-pygments-lexers/Config.in"
source "package/python-iso8601/Config.in"
source "package/python-isodate/Config.in"
source "package/python-iterable-io/Config.in"
source "package/python-itsdangerous/Config.in"
source "package/python-iwlib/Config.in"

View File

@@ -0,0 +1,8 @@
config BR2_PACKAGE_PYTHON_ISODATE
bool "python-isodate"
help
An ISO 8601 date/time/duration parser and formatter for
Python. Useful for parsing and formatting ISO 8601 dates,
times, and durations.
https://github.com/gweis/isodate/

View File

@@ -0,0 +1,3 @@
# From https://pypi.org/pypi/isodate/0.7.2/json
sha256 4cd1aa0f43ca76f4a6c6c0292a85f40b35ec2e43e315b59f06e6d32171a953e6 isodate-0.7.2.tar.gz
sha256 ce5fe4893fb6ab843de77b367bfa9db974d7b00ab9033fcca8d7760a97fe1b43 LICENSE

View File

@@ -0,0 +1,16 @@
################################################################################
#
# python-isodate
#
################################################################################
PYTHON_ISODATE_VERSION = 0.7.2
PYTHON_ISODATE_SOURCE = isodate-$(PYTHON_ISODATE_VERSION).tar.gz
PYTHON_ISODATE_SITE = https://files.pythonhosted.org/packages/source/i/isodate
PYTHON_ISODATE_SETUP_TYPE = setuptools
PYTHON_ISODATE_LICENSE = BSD-3-Clause
PYTHON_ISODATE_LICENSE_FILES = LICENSE
PYTHON_ISODATE_DEPENDENCIES = host-python-setuptools-scm
$(eval $(python-package))