From 111e725b08c076dca4966cc3eac3fb073b462fc7 Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Thu, 14 Dec 2023 09:54:14 -0700 Subject: [PATCH] package/python-anyio: new package Signed-off-by: James Hilliard Reviewed-by: Marcus Hoffmann Signed-off-by: Thomas Petazzoni --- package/Config.in | 1 + package/python-anyio/Config.in | 9 +++++++++ package/python-anyio/python-anyio.hash | 5 +++++ package/python-anyio/python-anyio.mk | 15 +++++++++++++++ 4 files changed, 30 insertions(+) create mode 100644 package/python-anyio/Config.in create mode 100644 package/python-anyio/python-anyio.hash create mode 100644 package/python-anyio/python-anyio.mk diff --git a/package/Config.in b/package/Config.in index d5b8982df1..d8894e4925 100644 --- a/package/Config.in +++ b/package/Config.in @@ -982,6 +982,7 @@ menu "External python modules" source "package/python-alsaaudio/Config.in" source "package/python-annotated-types/Config.in" source "package/python-ansicolors/Config.in" + source "package/python-anyio/Config.in" source "package/python-apispec/Config.in" source "package/python-appdirs/Config.in" source "package/python-argh/Config.in" diff --git a/package/python-anyio/Config.in b/package/python-anyio/Config.in new file mode 100644 index 0000000000..d843f37af0 --- /dev/null +++ b/package/python-anyio/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_ANYIO + bool "python-anyio" + select BR2_PACKAGE_PYTHON_IDNA # runtime + select BR2_PACKAGE_PYTHON_SNIFFIO # runtime + help + High level compatibility layer for multiple asynchronous + event loop implementations. + + https://github.com/agronholm/anyio diff --git a/package/python-anyio/python-anyio.hash b/package/python-anyio/python-anyio.hash new file mode 100644 index 0000000000..1cea549bc1 --- /dev/null +++ b/package/python-anyio/python-anyio.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/anyio/json +md5 58d288dd84e28e2507ff9ce7e4620010 anyio-3.7.1.tar.gz +sha256 44a3c9aba0f5defa43261a8b3efb97891f2bd7d804e0e1f56419befa1adfc780 anyio-3.7.1.tar.gz +# Locally computed sha256 checksums +sha256 5361ac9dc58f2ef5fd2e9b09c68297c17f04950909bbc8023bdb82eacf22c2b0 LICENSE diff --git a/package/python-anyio/python-anyio.mk b/package/python-anyio/python-anyio.mk new file mode 100644 index 0000000000..80404ac660 --- /dev/null +++ b/package/python-anyio/python-anyio.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-anyio +# +################################################################################ + +PYTHON_ANYIO_VERSION = 3.7.1 +PYTHON_ANYIO_SOURCE = anyio-$(PYTHON_ANYIO_VERSION).tar.gz +PYTHON_ANYIO_SITE = https://files.pythonhosted.org/packages/28/99/2dfd53fd55ce9838e6ff2d4dac20ce58263798bd1a0dbe18b3a9af3fcfce +PYTHON_ANYIO_SETUP_TYPE = setuptools +PYTHON_ANYIO_LICENSE = MIT +PYTHON_ANYIO_LICENSE_FILES = LICENSE +PYTHON_ANYIO_DEPENDENCIES = host-python-setuptools-scm + +$(eval $(python-package))