From 1b638e4817d8b1148eef60506e201b39141859d6 Mon Sep 17 00:00:00 2001 From: Emile Cormier Date: Sun, 3 Apr 2022 19:19:49 -0300 Subject: [PATCH] package/python-appdirs: new package Required by python-twisted[conch], which is required by python-crossbar. Signed-off-by: Emile Cormier Signed-off-by: Thomas Petazzoni --- DEVELOPERS | 3 +++ package/Config.in | 1 + package/python-appdirs/Config.in | 7 +++++++ package/python-appdirs/python-appdirs.hash | 5 +++++ package/python-appdirs/python-appdirs.mk | 14 ++++++++++++++ 5 files changed, 30 insertions(+) create mode 100644 package/python-appdirs/Config.in create mode 100644 package/python-appdirs/python-appdirs.hash create mode 100644 package/python-appdirs/python-appdirs.mk diff --git a/DEVELOPERS b/DEVELOPERS index edc02bf1c4..531839c817 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -777,6 +777,9 @@ N: Eloi Bail F: package/bayer2rgb-neon/ F: package/gstreamer1/gst1-plugins-bayer2rgb-neon/ +N: Emile Cormier +F: package/python-appdirs/ + N: Eric Le Bihan F: docs/manual/adding-packages-meson.txt F: package/adwaita-icon-theme/ diff --git a/package/Config.in b/package/Config.in index 57733f80b5..2e1bf500e0 100644 --- a/package/Config.in +++ b/package/Config.in @@ -942,6 +942,7 @@ menu "External python modules" source "package/python-alembic/Config.in" source "package/python-alsaaudio/Config.in" source "package/python-ansicolors/Config.in" + source "package/python-appdirs/Config.in" source "package/python-argh/Config.in" source "package/python-argon2-cffi/Config.in" source "package/python-argon2-cffi-bindings/Config.in" diff --git a/package/python-appdirs/Config.in b/package/python-appdirs/Config.in new file mode 100644 index 0000000000..5585759aa6 --- /dev/null +++ b/package/python-appdirs/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_APPDIRS + bool "python-appdirs" + help + A small Python module for determining appropriate platform- + specific dirs, e.g. a "user data dir". + + http://github.com/ActiveState/appdirs diff --git a/package/python-appdirs/python-appdirs.hash b/package/python-appdirs/python-appdirs.hash new file mode 100644 index 0000000000..52689b8b2c --- /dev/null +++ b/package/python-appdirs/python-appdirs.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/appdirs/json +md5 d6bca12613174185dd9abc8a29f4f012 appdirs-1.4.4.tar.gz +sha256 7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41 appdirs-1.4.4.tar.gz +# Locally computed sha256 checksums +sha256 36ddb4d0a745a93ab203203d7190814b1b89727d254caff48c7a7afbbd47000b LICENSE.txt diff --git a/package/python-appdirs/python-appdirs.mk b/package/python-appdirs/python-appdirs.mk new file mode 100644 index 0000000000..222aadbb29 --- /dev/null +++ b/package/python-appdirs/python-appdirs.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-appdirs +# +################################################################################ + +PYTHON_APPDIRS_VERSION = 1.4.4 +PYTHON_APPDIRS_SOURCE = appdirs-$(PYTHON_APPDIRS_VERSION).tar.gz +PYTHON_APPDIRS_SITE = https://files.pythonhosted.org/packages/d7/d8/05696357e0311f5b5c316d7b95f46c669dd9c15aaeecbb48c7d0aeb88c40 +PYTHON_APPDIRS_SETUP_TYPE = setuptools +PYTHON_APPDIRS_LICENSE = MIT +PYTHON_APPDIRS_LICENSE_FILES = LICENSE.txt + +$(eval $(python-package))