From cbf626128f0621075848ec706948611eddad6f64 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 21 May 2025 16:59:08 +0800 Subject: python3-matplotlib: upgrade 3.10.1 -> 3.10.3 0001-Change-types-for-width-height-to-match-definitions-i.patch refreshed for 3.10.3 Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- ...s-for-width-height-to-match-definitions-i.patch | 8 ++-- .../python/python3-matplotlib_3.10.1.bb | 50 ---------------------- .../python/python3-matplotlib_3.10.3.bb | 50 ++++++++++++++++++++++ 3 files changed, 54 insertions(+), 54 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-matplotlib_3.10.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-matplotlib_3.10.3.bb (limited to 'meta-python/recipes-devtools') diff --git a/meta-python/recipes-devtools/python/python3-matplotlib/0001-Change-types-for-width-height-to-match-definitions-i.patch b/meta-python/recipes-devtools/python/python3-matplotlib/0001-Change-types-for-width-height-to-match-definitions-i.patch index bf73bf9a22..f2c85abfbe 100644 --- a/meta-python/recipes-devtools/python/python3-matplotlib/0001-Change-types-for-width-height-to-match-definitions-i.patch +++ b/meta-python/recipes-devtools/python/python3-matplotlib/0001-Change-types-for-width-height-to-match-definitions-i.patch @@ -1,4 +1,4 @@ -From b19715aeafcf8440466553d01717924add1eabf4 Mon Sep 17 00:00:00 2001 +From 9e4624f256a256df595a0169908f28721fc4cdf3 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 9 Apr 2025 23:17:12 -0700 Subject: [PATCH] Change types for width/height to match definitions in @@ -16,10 +16,10 @@ Signed-off-by: Khem Raj 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/_backend_agg.h b/src/_backend_agg.h -index 0e33d38dfd..dcbd7e1496 100644 +index 8010508..29bb81a 100644 --- a/src/_backend_agg.h +++ b/src/_backend_agg.h -@@ -131,12 +131,12 @@ class RendererAgg +@@ -132,12 +132,12 @@ class RendererAgg virtual ~RendererAgg(); @@ -34,7 +34,7 @@ index 0e33d38dfd..dcbd7e1496 100644 { return height; } -@@ -206,7 +206,7 @@ class RendererAgg +@@ -205,7 +205,7 @@ class RendererAgg void restore_region(BufferRegion ®); void restore_region(BufferRegion ®ion, int xx1, int yy1, int xx2, int yy2, int x, int y); diff --git a/meta-python/recipes-devtools/python/python3-matplotlib_3.10.1.bb b/meta-python/recipes-devtools/python/python3-matplotlib_3.10.1.bb deleted file mode 100644 index 6d678bd66a..0000000000 --- a/meta-python/recipes-devtools/python/python3-matplotlib_3.10.1.bb +++ /dev/null @@ -1,50 +0,0 @@ -SUMMARY = "matplotlib: plotting with Python" -DESCRIPTION = "\ -Matplotlib is a Python 2D plotting library which produces \ -publication-quality figures in a variety of hardcopy formats \ -and interactive environments across platforms." -HOMEPAGE = "https://github.com/matplotlib/matplotlib" -SECTION = "devel/python" -LICENSE = "PSF-2.0" -LIC_FILES_CHKSUM = "\ - file://LICENSE/LICENSE;md5=afec61498aa5f0c45936687da9a53d74 \ -" - -DEPENDS = "\ - python3-setuptools-scm-native \ - freetype \ - libpng \ - python3-pybind11 \ - qhull \ -" - -SRC_URI += "file://run-ptest \ - file://0001-Do-not-download-external-dependency-tarballs-via-mes.patch \ - file://0001-Change-types-for-width-height-to-match-definitions-i.patch \ - " -SRC_URI[sha256sum] = "e8d2d0e3881b129268585bf4765ad3ee73a4591d77b9a18c214ac7e3a79fb2ba" - -inherit pypi pkgconfig python3targetconfig meson ptest-python-pytest - -EXTRA_OEMESON += "-Dsystem-freetype=true -Dsystem-qhull=true" - -# LTO with clang needs lld -LDFLAGS:append:toolchain-clang = " -fuse-ld=lld" - -FILES:${PN}-ptest += "${PYTHON_SITEPACKAGES_DIR}/matplotlib/tests" -FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}/" - -RDEPENDS:${PN} = "\ - freetype \ - libpng \ - python3-numpy \ - python3-pyparsing \ - python3-cycler \ - python3-dateutil \ - python3-kiwisolver \ - python3-pytz \ - python3-pillow \ - python3-packaging \ -" - -BBCLASSEXTEND = "native" diff --git a/meta-python/recipes-devtools/python/python3-matplotlib_3.10.3.bb b/meta-python/recipes-devtools/python/python3-matplotlib_3.10.3.bb new file mode 100644 index 0000000000..97a2910fa2 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-matplotlib_3.10.3.bb @@ -0,0 +1,50 @@ +SUMMARY = "matplotlib: plotting with Python" +DESCRIPTION = "\ +Matplotlib is a Python 2D plotting library which produces \ +publication-quality figures in a variety of hardcopy formats \ +and interactive environments across platforms." +HOMEPAGE = "https://github.com/matplotlib/matplotlib" +SECTION = "devel/python" +LICENSE = "PSF-2.0" +LIC_FILES_CHKSUM = "\ + file://LICENSE/LICENSE;md5=afec61498aa5f0c45936687da9a53d74 \ +" + +DEPENDS = "\ + python3-setuptools-scm-native \ + freetype \ + libpng \ + python3-pybind11 \ + qhull \ +" + +SRC_URI += "file://run-ptest \ + file://0001-Do-not-download-external-dependency-tarballs-via-mes.patch \ + file://0001-Change-types-for-width-height-to-match-definitions-i.patch \ + " +SRC_URI[sha256sum] = "2f82d2c5bb7ae93aaaa4cd42aca65d76ce6376f83304fa3a630b569aca274df0" + +inherit pypi pkgconfig python3targetconfig meson ptest-python-pytest + +EXTRA_OEMESON += "-Dsystem-freetype=true -Dsystem-qhull=true" + +# LTO with clang needs lld +LDFLAGS:append:toolchain-clang = " -fuse-ld=lld" + +FILES:${PN}-ptest += "${PYTHON_SITEPACKAGES_DIR}/matplotlib/tests" +FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}/" + +RDEPENDS:${PN} = "\ + freetype \ + libpng \ + python3-numpy \ + python3-pyparsing \ + python3-cycler \ + python3-dateutil \ + python3-kiwisolver \ + python3-pytz \ + python3-pillow \ + python3-packaging \ +" + +BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf