From 1d60d4ba7501e46eef8bd00a9ad078b465ce8b8a Mon Sep 17 00:00:00 2001 From: William Douglas Date: Mon, 4 Dec 2023 12:15:29 -0800 Subject: [PATCH] pypi-importlib_metadata: Autospec creation for update from version 6.8.0 to version 7.0.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Amund Hov (1): With commit 0c819641d314ac496eb32b55f2b15215fa6fa55f the behavior of Entrypoints gets a bit disorienting. Christian Clauss (2): Upgrade GitHub Actions checkout (jaraco/skeleton#94) GitHub Actions: Combine tox jobs diffcov and docs (jaraco/skeleton#95) Dimitri Papadopoulos (1): Fix new typo found using codespell Jason R. Coombs (30): Add links to project home page and pypi. Fixes jaraco/skeleton#77. Replace redundant step names with simple 'Run'. Increase visibility of security policy. (#4) Remove TOX_WORK_DIR workaround, no longer necessary with tox 4. Ref tox-dev/tox#3050. Add origin property. Ref #404. Pin against sphinx 7.2.5 as workaround for sphinx/sphinx-doc#11662. Closes jaraco/skeleton#88. Allow GITHUB_* settings to pass through to tests. Remove spinner disablement. If it's not already fixed upstream, that's where it should be fixed. Clean up 'color' environment variables. Add diff-cover check to Github Actions CI. Closes jaraco/skeleton#90. Add descriptions to the tox environments. Closes jaraco/skeleton#91. Add FORCE_COLOR to the TOX_OVERRIDE for GHA. Requires tox 4.11.1. Closes jaraco/skeleton#89. Prefer ``pass_env`` in tox config. Preferred failure mode for tox-dev/tox#3127 and closes jaraco/skeleton#92. Update changelog to reflect backward-incompatible effect. Ref #459. Limit sphinxlint jobs to 1. Workaround for sphinx-contrib/sphinx-lint#83. Remove news fragment after allowing time to be processed downstream. Suppress deprecation warning in dateutil. Workaround for dateutil/dateutil#1284. ⚫ Fade to black. 🧎‍♀️ Genuflect to the types. Add news fragment. Intended for #473. Finalize Added diagnose script. Closes #461. Finalize Restore pypy tests now that 3.10 is the standard. Bypasses issue in #463. Add changelog Add test capturing expectation. Ref #404 Use a SiteBuilder class to build files in the site, traversing the class hierarchy explicitly and avoiding the need for separate setUp calls for each. Finalize Removed EntryPoint access by numeric index (tuple behavior). Finalize --- Makefile | 2 +- options.conf | 2 +- pypi-importlib_metadata.spec | 67 +++++++++++++++++++++++------------- release | 2 +- upstream | 2 +- 5 files changed, 47 insertions(+), 28 deletions(-) diff --git a/Makefile b/Makefile index 2059b24..2f5d445 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PKG_NAME := pypi-importlib_metadata -URL = https://files.pythonhosted.org/packages/33/44/ae06b446b8d8263d712a211e959212083a5eda2bf36d57ca7415e03f6f36/importlib_metadata-6.8.0.tar.gz +URL = https://files.pythonhosted.org/packages/db/5a/392426ddb5edfebfcb232ab7a47e4a827aa1d5b5267a5c20c448615feaa9/importlib_metadata-7.0.0.tar.gz ARCHIVES = include ../common/Makefile.common diff --git a/options.conf b/options.conf index 3b5e1b9..9b3ef1e 100644 --- a/options.conf +++ b/options.conf @@ -1,6 +1,6 @@ [package] name = pypi-importlib_metadata -url = https://files.pythonhosted.org/packages/33/44/ae06b446b8d8263d712a211e959212083a5eda2bf36d57ca7415e03f6f36/importlib_metadata-6.8.0.tar.gz +url = https://files.pythonhosted.org/packages/db/5a/392426ddb5edfebfcb232ab7a47e4a827aa1d5b5267a5c20c448615feaa9/importlib_metadata-7.0.0.tar.gz archives = giturl = https://github.com/python/importlib_metadata/ domain = diff --git a/pypi-importlib_metadata.spec b/pypi-importlib_metadata.spec index 4176db0..10d5a7c 100644 --- a/pypi-importlib_metadata.spec +++ b/pypi-importlib_metadata.spec @@ -2,12 +2,14 @@ # This file is auto-generated. DO NOT EDIT # Generated by: autospec.py # Using build pattern: pyproject +# autospec version: v2 +# autospec commit: e661f3a # Name : pypi-importlib_metadata -Version : 6.8.0 -Release : 110 -URL : https://files.pythonhosted.org/packages/33/44/ae06b446b8d8263d712a211e959212083a5eda2bf36d57ca7415e03f6f36/importlib_metadata-6.8.0.tar.gz -Source0 : https://files.pythonhosted.org/packages/33/44/ae06b446b8d8263d712a211e959212083a5eda2bf36d57ca7415e03f6f36/importlib_metadata-6.8.0.tar.gz +Version : 7.0.0 +Release : 111 +URL : https://files.pythonhosted.org/packages/db/5a/392426ddb5edfebfcb232ab7a47e4a827aa1d5b5267a5c20c448615feaa9/importlib_metadata-7.0.0.tar.gz +Source0 : https://files.pythonhosted.org/packages/db/5a/392426ddb5edfebfcb232ab7a47e4a827aa1d5b5267a5c20c448615feaa9/importlib_metadata-7.0.0.tar.gz Summary : Read metadata from Python packages Group : Development/Tools License : Apache-2.0 @@ -61,11 +63,11 @@ python3 components for the pypi-importlib_metadata package. %prep -%setup -q -n importlib_metadata-6.8.0 -cd %{_builddir}/importlib_metadata-6.8.0 +%setup -q -n importlib_metadata-7.0.0 +cd %{_builddir}/importlib_metadata-7.0.0 %patch -P 1 -p1 pushd .. -cp -a importlib_metadata-6.8.0 buildavx2 +cp -a importlib_metadata-7.0.0 buildavx2 popd %build @@ -73,40 +75,57 @@ 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=1689002890 +export SOURCE_DATE_EPOCH=1701720923 export GCC_IGNORE_WERROR=1 -export CFLAGS="$CFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " -export FCFLAGS="$FFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " -export FFLAGS="$FFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " -export CXXFLAGS="$CXXFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " +CLEAR_INTERMEDIATE_CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " +CLEAR_INTERMEDIATE_FCFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " +CLEAR_INTERMEDIATE_FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " +CLEAR_INTERMEDIATE_CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " +CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS" +CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS" +FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS" +FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS" +ASFLAGS="$CLEAR_INTERMEDIATE_ASFLAGS" +LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS" export MAKEFLAGS=%{?_smp_mflags} python3 -m build --wheel --skip-dependency-check --no-isolation pushd ../buildavx2/ -export CFLAGS="$CFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " -export CXXFLAGS="$CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " -export FFLAGS="$FFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " -export FCFLAGS="$FCFLAGS -m64 -march=x86-64-v3 " -export LDFLAGS="$LDFLAGS -m64 -march=x86-64-v3 " +CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " +CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " +FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " +FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS -m64 -march=x86-64-v3 " +LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS -m64 -march=x86-64-v3 " python3 -m build --wheel --skip-dependency-check --no-isolation popd %install +export GCC_IGNORE_WERROR=1 +CLEAR_INTERMEDIATE_CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " +CLEAR_INTERMEDIATE_FCFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " +CLEAR_INTERMEDIATE_FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " +CLEAR_INTERMEDIATE_CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " +CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS" +CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS" +FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS" +FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS" +ASFLAGS="$CLEAR_INTERMEDIATE_ASFLAGS" +LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS" export MAKEFLAGS=%{?_smp_mflags} rm -rf %{buildroot} mkdir -p %{buildroot}/usr/share/package-licenses/pypi-importlib_metadata cp %{_builddir}/importlib_metadata-%{version}/LICENSE %{buildroot}/usr/share/package-licenses/pypi-importlib_metadata/2b8b815229aa8a61e483fb4ba0588b8b6c491890 || : -pip install --root=%{buildroot} --no-deps --ignore-installed dist/*.whl +python3 -m installer --destdir=%{buildroot} dist/*.whl echo ----[ mark ]---- cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || : echo ----[ mark ]---- pushd ../buildavx2/ -export CFLAGS="$CFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " -export CXXFLAGS="$CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " -export FFLAGS="$FFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " -export FCFLAGS="$FCFLAGS -m64 -march=x86-64-v3 " -export LDFLAGS="$LDFLAGS -m64 -march=x86-64-v3 " -pip install --root=%{buildroot}-v3 --no-deps --ignore-installed dist/*.whl +CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " +CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " +FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " +FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS -m64 -march=x86-64-v3 " +LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS -m64 -march=x86-64-v3 " +python3 -m installer --destdir=%{buildroot}-v3 dist/*.whl popd /usr/bin/elf-move.py avx2 %{buildroot}-v3 %{buildroot} %{buildroot}/usr/share/clear/filemap/filemap-%{name} diff --git a/release b/release index bc6298e..58c9bdf 100644 --- a/release +++ b/release @@ -1 +1 @@ -110 +111 diff --git a/upstream b/upstream index ebb758f..970467d 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -0e5742cd1d559863573bfb4f6cb7ca9ad8dcf466/importlib_metadata-6.8.0.tar.gz +d3ac7c390b035f183a69fc9ced61c549d3495b38/importlib_metadata-7.0.0.tar.gz