From ee424ebd14387b49df00e5c631300adf48ab0223 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 8 Feb 2023 16:14:08 +0800 Subject: python3-meh: upgrade 0.50.1 -> 0.51 0001-setup.py-switch-from-distutils-to-setuptools.patch removed since it's included in 0.51. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- ...up.py-switch-from-distutils-to-setuptools.patch | 31 ---------------------- .../python-meh/python3-meh_0.50.1.bb | 17 ------------ .../python-meh/python3-meh_0.51.bb | 16 +++++++++++ 3 files changed, 16 insertions(+), 48 deletions(-) delete mode 100644 meta-python/recipes-extended/python-meh/python3-meh/0001-setup.py-switch-from-distutils-to-setuptools.patch delete mode 100644 meta-python/recipes-extended/python-meh/python3-meh_0.50.1.bb create mode 100644 meta-python/recipes-extended/python-meh/python3-meh_0.51.bb (limited to 'meta-python/recipes-extended/python-meh') diff --git a/meta-python/recipes-extended/python-meh/python3-meh/0001-setup.py-switch-from-distutils-to-setuptools.patch b/meta-python/recipes-extended/python-meh/python3-meh/0001-setup.py-switch-from-distutils-to-setuptools.patch deleted file mode 100644 index 2eb6be5a18..0000000000 --- a/meta-python/recipes-extended/python-meh/python3-meh/0001-setup.py-switch-from-distutils-to-setuptools.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 034ac41561409ffc7836683331b6b94a641436e4 Mon Sep 17 00:00:00 2001 -From: Tim Orling -Date: Mon, 28 Feb 2022 09:41:02 -0800 -Subject: [PATCH] setup.py: switch from distutils to setuptools - -In Python 3.10 'distutils' is deprecated with removal slated for Python -3.12. Switch from 'distutils.core' to 'setuptools'. - -This also allows for a 'wheel' binary archive format to be built with -'setup.py bdist_wheel'. - -Upstream-Status: Backport [cf9eafdd165347f86bb4a2534c41fd805db52322] - -Signed-off-by: Tim Orling - ---- - setup.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index 9c12180..3ba5195 100644 ---- a/setup.py -+++ b/setup.py -@@ -1,6 +1,6 @@ - #!/usr/bin/python3 - --from distutils.core import setup -+from setuptools import setup - - setup(name='python-meh', version='0.50.1', - description='Python module for handling exceptions', diff --git a/meta-python/recipes-extended/python-meh/python3-meh_0.50.1.bb b/meta-python/recipes-extended/python-meh/python3-meh_0.50.1.bb deleted file mode 100644 index 1d9af438da..0000000000 --- a/meta-python/recipes-extended/python-meh/python3-meh_0.50.1.bb +++ /dev/null @@ -1,17 +0,0 @@ -SUMMARY = "A python library for handling exceptions" -DESCRIPTION = "The python-meh package is a python library for handling, saving, and reporting \ -exceptions." -HOMEPAGE = "https://github.com/rhinstaller/python-meh" -LICENSE = "GPL-2.0-or-later" -LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" - -inherit setuptools3_legacy - -S = "${WORKDIR}/git" - -SRC_URI = "git://github.com/rhinstaller/python-meh.git;protocol=https;branch=rhel9-branch \ - file://0001-setup.py-switch-from-distutils-to-setuptools.patch \ - " -SRCREV = "c321ce22950aff76611a3c6beffa02b5ea3adbed" - -FILES:${PN} += "${datadir}/python-meh" diff --git a/meta-python/recipes-extended/python-meh/python3-meh_0.51.bb b/meta-python/recipes-extended/python-meh/python3-meh_0.51.bb new file mode 100644 index 0000000000..e83514af1b --- /dev/null +++ b/meta-python/recipes-extended/python-meh/python3-meh_0.51.bb @@ -0,0 +1,16 @@ +SUMMARY = "A python library for handling exceptions" +DESCRIPTION = "The python-meh package is a python library for handling, saving, and reporting \ +exceptions." +HOMEPAGE = "https://github.com/rhinstaller/python-meh" +LICENSE = "GPL-2.0-or-later" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +inherit setuptools3_legacy + +S = "${WORKDIR}/git" + +SRC_URI = "git://github.com/rhinstaller/python-meh.git;protocol=https;branch=master" + +SRCREV = "eb5d4adc3b838704b6a68f0f77ada2063a11ab1b" + +FILES:${PN} += "${datadir}/python-meh" -- cgit v1.2.3-54-g00ecf