From e72396ae321609497d3329e047b21113fb11bc35 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Thu, 15 Aug 2024 09:30:53 +0300 Subject: python3-dirty-equals: Upgrade 0.7.1 -> 0.8.0 Upgrade to release 0.8.0: - set requires-python to 3.8 - use zoneinfo instead of pytz where possible - No need to call datetime.replace for utc_now - Patch pprint to make pytest diffs nicer for big objects - uprev test, lint and docs dependencies - Support Python 3.13 - Uprev version Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-dirty-equals_0.7.1.bb | 21 ----------------- .../python/python3-dirty-equals_0.8.0.bb | 26 ++++++++++++++++++++++ 2 files changed, 26 insertions(+), 21 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-dirty-equals_0.7.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-dirty-equals_0.8.0.bb (limited to 'meta-python/recipes-devtools') diff --git a/meta-python/recipes-devtools/python/python3-dirty-equals_0.7.1.bb b/meta-python/recipes-devtools/python/python3-dirty-equals_0.7.1.bb deleted file mode 100644 index ea9303b17..000000000 --- a/meta-python/recipes-devtools/python/python3-dirty-equals_0.7.1.bb +++ /dev/null @@ -1,21 +0,0 @@ -SUMMARY = "Doing dirty (but extremely useful) things with equals." -DESCRIPTION = "dirty-equals is a python library that (mis)uses the \ -__eq__ method to make python code (generally unit tests) more \ -declarative and therefore easier to read and write.\ -\ -dirty-equals can be used in whatever context you like, but it comes \ -into its own when writing unit tests for applications where you're \ -commonly checking the response to API calls and the contents of a database." -HOMEPAGE = "https://github.com/samuelcolvin/dirty-equals" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=ab599c188b4a314d2856b3a55030c75c" - -SRC_URI[sha256sum] = "a580513f3285e93656a770a04e428f8bfc513848877bf278282dbfbb907fdbb4" - -S = "${WORKDIR}/dirty_equals-${PV}" - -inherit pypi python_hatchling - -PYPI_PACKAGE = "dirty_equals" - -RDEPENDS:${PN} += "python3-pytz" diff --git a/meta-python/recipes-devtools/python/python3-dirty-equals_0.8.0.bb b/meta-python/recipes-devtools/python/python3-dirty-equals_0.8.0.bb new file mode 100644 index 000000000..584d787a7 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-dirty-equals_0.8.0.bb @@ -0,0 +1,26 @@ +SUMMARY = "Doing dirty (but extremely useful) things with equals." +DESCRIPTION = "dirty-equals is a python library that (mis)uses the \ +__eq__ method to make python code (generally unit tests) more \ +declarative and therefore easier to read and write.\ +\ +dirty-equals can be used in whatever context you like, but it comes \ +into its own when writing unit tests for applications where you're \ +commonly checking the response to API calls and the contents of a database." +HOMEPAGE = "https://github.com/samuelcolvin/dirty-equals" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=ab599c188b4a314d2856b3a55030c75c" + +SRC_URI[sha256sum] = "798db3b9481b9a5024c0e520946507676ed2f0c65317d3e95bdce1a01657cf60" + +S = "${WORKDIR}/dirty_equals-${PV}" + +inherit pypi python_hatchling + +PYPI_PACKAGE = "dirty_equals" + +RDEPENDS:${PN} += " \ + python3-pytz \ + python3-core \ + python3-json \ + python3-netclient \ +" -- cgit v1.2.3-54-g00ecf