From 40f53a3a1f3fc19aa18840f7fd5f61dbeb3a1ff5 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Thu, 23 Mar 2023 12:20:13 +0800 Subject: python3-daemon: upgrade 2.3.2 -> 3.0.1 Changelog: ========== Bugs Fixed: * Migrate to use the explicitly-maintained 'packaging' library. The package bundled in 'setuptools.extern.packaging' is to help make that package self-contained, but is not a supported API. * Declare dependency on Setuptools >= 62.4.0. This is necessary for establishing the version information via Setuptools. We use 'setuptools.command.build', 'introduced in Setuptools version 62.4.0 * Refactor calculation of file descriptor ranges to close. Added: * Document a 'ServiceRunner' class as an example of using 'DaemonContext'. * PyPA recommended Project URLs for the distribution. Changed: * Raise a TypeError if any 'exclude' values are not valid file descriptors. * Migrate package version handling to use Setuptools API. Removed: * Remove redundant 'wheel' from the requirements specification. * Remove Setuptools 'test' command support. * Remove Setuptools 'register' and 'upload' command support. * Remove the obsolete 'runner' module. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-daemon_2.3.2.bb | 19 ------------------- .../recipes-devtools/python/python3-daemon_3.0.1.bb | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 19 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-daemon_2.3.2.bb create mode 100644 meta-python/recipes-devtools/python/python3-daemon_3.0.1.bb (limited to 'meta-python/recipes-devtools') diff --git a/meta-python/recipes-devtools/python/python3-daemon_2.3.2.bb b/meta-python/recipes-devtools/python/python3-daemon_2.3.2.bb deleted file mode 100644 index 49b094fce0..0000000000 --- a/meta-python/recipes-devtools/python/python3-daemon_2.3.2.bb +++ /dev/null @@ -1,19 +0,0 @@ -DESCRIPTION = "Library to implement a well-behaved Unix daemon process" -HOMEPAGE = "https://pagure.io/python-daemon/" -SECTION = "devel/python" - -DEPENDS += "${PYTHON_PN}-docutils-native" -RDEPENDS:${PN} = "${PYTHON_PN}-docutils \ - ${PYTHON_PN}-lockfile (>= 0.10) \ - ${PYTHON_PN}-resource \ -" - -LICENSE = "Apache-2.0 & GPL-3.0-only" -LIC_FILES_CHKSUM = "file://README;md5=a3a94c615dc969a70525f1eebbacf235" - -inherit pypi setuptools3 - -SRC_URI[md5sum] = "b7397fe73d516dc14921500a1245b41c" -SRC_URI[sha256sum] = "3deeb808e72b6b89f98611889e11cc33754f5b2c1517ecfa1aaf25f402051fb5" - -PYPI_PACKAGE = "python-daemon" diff --git a/meta-python/recipes-devtools/python/python3-daemon_3.0.1.bb b/meta-python/recipes-devtools/python/python3-daemon_3.0.1.bb new file mode 100644 index 0000000000..79507bdce2 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-daemon_3.0.1.bb @@ -0,0 +1,18 @@ +DESCRIPTION = "Library to implement a well-behaved Unix daemon process" +HOMEPAGE = "https://pagure.io/python-daemon/" +SECTION = "devel/python" + +DEPENDS += "${PYTHON_PN}-docutils-native" +RDEPENDS:${PN} = "${PYTHON_PN}-docutils \ + ${PYTHON_PN}-lockfile (>= 0.10) \ + ${PYTHON_PN}-resource \ +" + +LICENSE = "Apache-2.0 & GPL-3.0-only" +LIC_FILES_CHKSUM = "file://README;md5=a3a94c615dc969a70525f1eebbacf235" + +inherit pypi setuptools3 + +SRC_URI[sha256sum] = "6c57452372f7eaff40934a1c03ad1826bf5e793558e87fef49131e6464b4dae5" + +PYPI_PACKAGE = "python-daemon" -- cgit v1.2.3-54-g00ecf