From 6824cef410a12fa4ae9386f083a13e2506cb2ef3 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Sat, 16 Nov 2024 09:25:19 -0500 Subject: [PATCH] python3-frozenlist: update to 1.5.0. --- .../patches/no-expandvars.patch | 23 +++++++++++++++++++ srcpkgs/python3-frozenlist/template | 8 +++---- 2 files changed, 27 insertions(+), 4 deletions(-) create mode 100644 srcpkgs/python3-frozenlist/patches/no-expandvars.patch diff --git a/srcpkgs/python3-frozenlist/patches/no-expandvars.patch b/srcpkgs/python3-frozenlist/patches/no-expandvars.patch new file mode 100644 index 00000000000..5ed8c78b20f --- /dev/null +++ b/srcpkgs/python3-frozenlist/patches/no-expandvars.patch @@ -0,0 +1,23 @@ +diff -ur a/packaging/pep517_backend/_cython_configuration.py b/packaging/pep517_backend/_cython_configuration.py +--- a/packaging/pep517_backend/_cython_configuration.py 2024-11-16 13:10:48.821864296 -0500 ++++ b/packaging/pep517_backend/_cython_configuration.py 2024-11-16 13:12:37.985262597 -0500 +@@ -7,7 +7,7 @@ + from pathlib import Path + from sys import version_info as _python_version_tuple + +-from expandvars import expandvars ++from os.path import expandvars + + from ._compat import load_toml_from_string # noqa: WPS436 + from ._transformers import ( # noqa: WPS436 +diff -ur a/pyproject.toml b/pyproject.toml +--- a/pyproject.toml 2024-11-16 13:10:48.821864296 -0500 ++++ b/pyproject.toml 2024-11-16 13:10:59.594903606 -0500 +@@ -3,7 +3,6 @@ + # NOTE: The following build dependencies are necessary for initial + # NOTE: provisioning of the in-tree build backend located under + # NOTE: `packaging/pep517_backend/`. +- "expandvars", + "setuptools >= 47", # Minimum required for `version = attr:` + "tomli; python_version < '3.11'", + ] diff --git a/srcpkgs/python3-frozenlist/template b/srcpkgs/python3-frozenlist/template index 8c7983a4e01..d5337344328 100644 --- a/srcpkgs/python3-frozenlist/template +++ b/srcpkgs/python3-frozenlist/template @@ -1,9 +1,9 @@ # Template file for 'python3-frozenlist' pkgname=python3-frozenlist -version=1.4.0 +version=1.5.0 revision=1 -build_style=python3-module -hostmakedepends="python3-setuptools python3-wheel" +build_style=python3-pep517 +hostmakedepends="python3-setuptools python3-wheel python3-Cython" makedepends="python3-devel" depends="python3" checkdepends="python3-pytest python3-pytest-asyncio python3-pytest-cov" @@ -12,4 +12,4 @@ maintainer="Arjan Mossel " license="Apache-2.0" homepage="https://github.com/aio-libs/frozenlist" distfiles="${PYPI_SITE}/f/frozenlist/frozenlist-${version}.tar.gz" -checksum=09163bdf0b2907454042edb19f887c6d33806adc71fbd54afc14908bfdc22251 +checksum=81d5af29e61b9c8348e876d442253723928dce6433e0e76cd925cd83f1b4b817