From 32b339fd90a0eef77f74e92153fbd14f44114f96 Mon Sep 17 00:00:00 2001 From: Arjan van de Ven Date: Mon, 20 Dec 2021 15:39:27 +0000 Subject: [PATCH] jaraco.functools: Autospec creation for update from version 3.4.0 to version 3.5.0 Jason R. Coombs (7): Require Python 3.7 or later. Remove filtered warnings, addressed upstream. method_cache just accepts the lru_cache as the default value. Add type annotations for method_cache. Disable mypy tests. Workaround for pytest-dev/pytest#8332. Update changelog. Update changelog. --- Makefile | 2 +- buildreq_cache | 2 ++ jaraco.functools.spec | 25 +++++++++++++------------ options.conf | 2 +- release | 2 +- upstream | 2 +- versions | 2 +- whatrequires | 1 - 8 files changed, 20 insertions(+), 18 deletions(-) create mode 100644 buildreq_cache diff --git a/Makefile b/Makefile index 50e98c5..7f2a213 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PKG_NAME := jaraco.functools -URL = https://files.pythonhosted.org/packages/84/a4/d51170d05ac4eff15f416dbdb2c046c7cbaa7a9d0ad2d3bf9b27ad97b600/jaraco.functools-3.4.0.tar.gz +URL = https://files.pythonhosted.org/packages/1e/c8/6733dc1c6afca663c08534e7f4e7b14751019f6dd3476c40dbecb3904449/jaraco.functools-3.5.0.tar.gz ARCHIVES = include ../common/Makefile.common diff --git a/buildreq_cache b/buildreq_cache new file mode 100644 index 0000000..6ea5759 --- /dev/null +++ b/buildreq_cache @@ -0,0 +1,2 @@ +3.5.0 +pypi(more_itertools) \ No newline at end of file diff --git a/jaraco.functools.spec b/jaraco.functools.spec index df363e7..320ef33 100644 --- a/jaraco.functools.spec +++ b/jaraco.functools.spec @@ -3,21 +3,22 @@ # Generated by: autospec.py # Name : jaraco.functools -Version : 3.4.0 -Release : 33 -URL : https://files.pythonhosted.org/packages/84/a4/d51170d05ac4eff15f416dbdb2c046c7cbaa7a9d0ad2d3bf9b27ad97b600/jaraco.functools-3.4.0.tar.gz -Source0 : https://files.pythonhosted.org/packages/84/a4/d51170d05ac4eff15f416dbdb2c046c7cbaa7a9d0ad2d3bf9b27ad97b600/jaraco.functools-3.4.0.tar.gz +Version : 3.5.0 +Release : 34 +URL : https://files.pythonhosted.org/packages/1e/c8/6733dc1c6afca663c08534e7f4e7b14751019f6dd3476c40dbecb3904449/jaraco.functools-3.5.0.tar.gz +Source0 : https://files.pythonhosted.org/packages/1e/c8/6733dc1c6afca663c08534e7f4e7b14751019f6dd3476c40dbecb3904449/jaraco.functools-3.5.0.tar.gz Summary : Functools like those found in stdlib Group : Development/Tools License : MIT Requires: jaraco.functools-license = %{version}-%{release} Requires: jaraco.functools-python = %{version}-%{release} Requires: jaraco.functools-python3 = %{version}-%{release} -Requires: more-itertools BuildRequires : buildreq-distutils3 -BuildRequires : more-itertools BuildRequires : pluggy BuildRequires : py-python +BuildRequires : pypi(more_itertools) +BuildRequires : pypi(setuptools) +BuildRequires : pypi(setuptools_scm) BuildRequires : pytest BuildRequires : setuptools_scm BuildRequires : tox @@ -56,29 +57,29 @@ python3 components for the jaraco.functools package. %prep -%setup -q -n jaraco.functools-3.4.0 -cd %{_builddir}/jaraco.functools-3.4.0 +%setup -q -n jaraco.functools-3.5.0 +cd %{_builddir}/jaraco.functools-3.5.0 %build export http_proxy=http://127.0.0.1:9/ export https_proxy=http://127.0.0.1:9/ export no_proxy=localhost,127.0.0.1,0.0.0.0 export LANG=C.UTF-8 -export SOURCE_DATE_EPOCH=1635743492 +export SOURCE_DATE_EPOCH=1640014759 export GCC_IGNORE_WERROR=1 export CFLAGS="$CFLAGS -fno-lto " export FCFLAGS="$FFLAGS -fno-lto " export FFLAGS="$FFLAGS -fno-lto " export CXXFLAGS="$CXXFLAGS -fno-lto " export MAKEFLAGS=%{?_smp_mflags} -python3 setup.py build +python3 -m build --wheel --skip-dependency-check --no-isolation %install export MAKEFLAGS=%{?_smp_mflags} rm -rf %{buildroot} mkdir -p %{buildroot}/usr/share/package-licenses/jaraco.functools -cp %{_builddir}/jaraco.functools-3.4.0/LICENSE %{buildroot}/usr/share/package-licenses/jaraco.functools/8e6689d37f82d5617b7f7f7232c94024d41066d1 -python3 -tt setup.py build install --root=%{buildroot} +cp %{_builddir}/jaraco.functools-3.5.0/LICENSE %{buildroot}/usr/share/package-licenses/jaraco.functools/8e6689d37f82d5617b7f7f7232c94024d41066d1 +pip install --root=%{buildroot} --no-deps --ignore-installed dist/*.whl echo ----[ mark ]---- cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || : echo ----[ mark ]---- diff --git a/options.conf b/options.conf index 3860621..1524309 100644 --- a/options.conf +++ b/options.conf @@ -1,6 +1,6 @@ [package] name = jaraco.functools -url = https://files.pythonhosted.org/packages/84/a4/d51170d05ac4eff15f416dbdb2c046c7cbaa7a9d0ad2d3bf9b27ad97b600/jaraco.functools-3.4.0.tar.gz +url = https://files.pythonhosted.org/packages/1e/c8/6733dc1c6afca663c08534e7f4e7b14751019f6dd3476c40dbecb3904449/jaraco.functools-3.5.0.tar.gz archives = giturl = https://github.com/jaraco/jaraco.functools.git domain = diff --git a/release b/release index bb95160..a787364 100644 --- a/release +++ b/release @@ -1 +1 @@ -33 +34 diff --git a/upstream b/upstream index 3663705..d65cf46 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -58d88a8017d84f1c9ab4ebdba74120532983dbd0/jaraco.functools-3.4.0.tar.gz +3a2b3f8d538c3dcbf71d7cc1365cc7536df34dd0/jaraco.functools-3.5.0.tar.gz diff --git a/versions b/versions index 1809198..1545d96 100644 --- a/versions +++ b/versions @@ -1 +1 @@ -3.4.0 +3.5.0 diff --git a/whatrequires b/whatrequires index 2a7aa5c..2ab2aa6 100644 --- a/whatrequires +++ b/whatrequires @@ -1,5 +1,4 @@ # This file contains recursive sources that require this package cheroot -conda jaraco.text tempora