diff options
Diffstat (limited to 'meta-python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pyzstd/0001-Bump-setuptools-dependency-from-74-to-89.patch | 27 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pyzstd_0.19.0.bb (renamed from meta-python/recipes-devtools/python/python3-pyzstd_0.18.0.bb) | 9 |
2 files changed, 5 insertions, 31 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyzstd/0001-Bump-setuptools-dependency-from-74-to-89.patch b/meta-python/recipes-devtools/python/python3-pyzstd/0001-Bump-setuptools-dependency-from-74-to-89.patch deleted file mode 100644 index f7b43b12a7..0000000000 --- a/meta-python/recipes-devtools/python/python3-pyzstd/0001-Bump-setuptools-dependency-from-74-to-89.patch +++ /dev/null | |||
| @@ -1,27 +0,0 @@ | |||
| 1 | From bc9b975c9f41e43481a2eb0623b4180926baecec Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Wed, 9 Apr 2025 14:38:31 -0700 | ||
| 4 | Subject: [PATCH] Bump setuptools dependency from 74 to 89 | ||
| 5 | |||
| 6 | Upstream sticks to 0.74 since setuptools have dropped msvc9compiler | ||
| 7 | support beyond that which is needed for python 3.9 on windows. We | ||
| 8 | do not have this problem on Linux | ||
| 9 | |||
| 10 | Upstream-Status: Inappropriate [OE-specific] | ||
| 11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 12 | --- | ||
| 13 | pyproject.toml | 2 +- | ||
| 14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 15 | |||
| 16 | diff --git a/pyproject.toml b/pyproject.toml | ||
| 17 | index dd885e4..5d4d511 100644 | ||
| 18 | --- a/pyproject.toml | ||
| 19 | +++ b/pyproject.toml | ||
| 20 | @@ -1,6 +1,6 @@ | ||
| 21 | [build-system] | ||
| 22 | # setuptools 64+ support --build-option | ||
| 23 | # setuptools 74+ drops distutils.msvc9compiler required for Python 3.9 under Windows | ||
| 24 | -requires = ["setuptools>=64,<74"] | ||
| 25 | +requires = ["setuptools>=64,<89"] | ||
| 26 | backend-path = ["build_script"] | ||
| 27 | build-backend = "pyzstd_pep517" | ||
diff --git a/meta-python/recipes-devtools/python/python3-pyzstd_0.18.0.bb b/meta-python/recipes-devtools/python/python3-pyzstd_0.19.0.bb index 2aee987efa..b41746dbae 100644 --- a/meta-python/recipes-devtools/python/python3-pyzstd_0.18.0.bb +++ b/meta-python/recipes-devtools/python/python3-pyzstd_0.19.0.bb | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | DESCRIPTION = "Pyzstd module provides classes and functions for compressing and \ | 1 | DESCRIPTION = "Pyzstd module provides classes and functions for compressing and \ |
| 2 | decompressing data, using Facebook’s Zstandard (or zstd as short name) algorithm." | 2 | decompressing data, using Facebook’s Zstandard (or zstd as short name) algorithm." |
| 3 | HOMEPAGE = "https://github.com/animalize/pyzstd" | 3 | HOMEPAGE = "https://github.com/Rogdham/pyzstd" |
| 4 | SECTION = "devel/python" | 4 | SECTION = "devel/python" |
| 5 | 5 | ||
| 6 | LICENSE = "BSD-3-Clause" | 6 | LICENSE = "BSD-3-Clause" |
| @@ -8,10 +8,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=aedb5a2679cd1552fb61c181ef974b9e" | |||
| 8 | 8 | ||
| 9 | PYPI_PACKAGE = "pyzstd" | 9 | PYPI_PACKAGE = "pyzstd" |
| 10 | 10 | ||
| 11 | SRC_URI += "file://0001-Bump-setuptools-dependency-from-74-to-89.patch" | 11 | SRC_URI[sha256sum] = "44e7b9be7b445aac742003ddee52ca31385d52dffb8c60adf633fad8e795f10d" |
| 12 | SRC_URI[sha256sum] = "81b6851ab1ca2e5f2c709e896a1362e3065a64f271f43db77fb7d5e4a78e9861" | ||
| 13 | 12 | ||
| 14 | inherit pypi python_setuptools_build_meta ptest-python-pytest | 13 | inherit pypi python_setuptools_build_meta ptest-python-pytest python_hatchling |
| 14 | |||
| 15 | DEPENDS += "python3-hatch-vcs-native" | ||
| 15 | 16 | ||
| 16 | # clang-16 with -flto segfaults on arm, therefore ignore flto for now | 17 | # clang-16 with -flto segfaults on arm, therefore ignore flto for now |
| 17 | do_configure:append:arm:toolchain-clang() { | 18 | do_configure:append:arm:toolchain-clang() { |
