deleted file mode 100644
@@ -1,41 +0,0 @@
-From d81b703f3e8e29c1547386135c7e9ca539c1f054 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?P=C3=A1draig=20Brady?= <P@draigBrady.com>
-Date: Tue, 2 Aug 2022 14:40:37 +0100
-Subject: [PATCH] prefer shlex over pipes
-
-pipes is deprecated since python 3.10
-and slated for removal in python 3.13
-
-[Romain backport to 0.9.3]
-Upstream: https://github.com/pixelb/crudini/commit/e1650941054822faad4cda788bff6fe364eb4ca3
-Signed-off-by: Romain Naour <romain.naour@smile.fr>
----
- crudini | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/crudini b/crudini
-index 669596b..a136241 100755
---- a/crudini
-+++ b/crudini
-@@ -17,15 +17,17 @@ import getopt
- import hashlib
- import iniparse
- import os
--import pipes
-+import re
- import shutil
- import string
- import tempfile
-
- if sys.version_info[0] >= 3:
-+ import shlex as pipes
- from io import StringIO
- import configparser
- else:
-+ import pipes
- from cStringIO import StringIO
- import ConfigParser as configparser
-
-2.34.3
-
@@ -1,3 +1,4 @@
+# from https://pypi.org/project/crudini/#files
+sha256 59ae650f45af82a64afc33eb876909ee0c4888dc4e8711ef59731c1edfda5e24 crudini-0.9.5.tar.gz
# locally computed
-sha256 e1b8125ac4373ece3bb0bb047ba9336e5bd55ed5d56b9729968058c9385ab546 crudini-0.9.3.tar.gz
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
@@ -4,14 +4,15 @@
#
################################################################################
-CRUDINI_VERSION = 0.9.3
-CRUDINI_SITE = $(call github,pixelb,crudini,$(CRUDINI_VERSION))
+CRUDINI_VERSION = 0.9.5
+CRUDINI_SITE = https://files.pythonhosted.org/packages/32/67/c4e838930e2f434db08d6a6aadffca3d14e7455d1c2c2332e22003ad453d
CRUDINI_SETUP_TYPE = setuptools
+CRUDINI_DEPENDENCIES = host-python-setuptools-scm
CRUDINI_LICENSE = GPL-2.0
CRUDINI_LICENSE_FILES = COPYING
# This is a runtime dependency, but we don't have the concept of
# runtime dependencies for host packages.
-HOST_CRUDINI_DEPENDENCIES = host-python-iniparse
+HOST_CRUDINI_DEPENDENCIES = host-python-iniparse host-python-setuptools-scm
$(eval $(python-package))
$(eval $(host-python-package))
Removing backported patch and introducing new dependency setuptools-scm. As setuptools-scm doesn't work with github release tarballs, also switching back to download the tarball from pypi... Signed-off-by: Zoltan Gyarmati <zgyarmati@zgyarmati.de> --- .../0001-prefer-shlex-over-pipes.patch | 41 ------------------- package/crudini/crudini.hash | 3 +- package/crudini/crudini.mk | 7 ++-- 3 files changed, 6 insertions(+), 45 deletions(-) delete mode 100644 package/crudini/0001-prefer-shlex-over-pipes.patch