From 864740501df8496da53540e35cafcdfd007c4135 Mon Sep 17 00:00:00 2001 From: Arjan van de Ven Date: Thu, 7 Mar 2024 15:53:11 +0000 Subject: [PATCH] pypi-importlib_metadata: Autospec creation for update from version 7.0.1 to version 7.0.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bartosz Sławecki (1): Tweak coverage configuration for type checking (jaraco/skeleton#97) Danyal-Faheem (2): refactor: add return type for select method refactor: add return type for load method Dimitri Papadopoulos Orfanos (2): Use the ruff formatter (jaraco/skeleton#99) ruff: extended-ignore → ignore (jaraco/skeleton#105) Jason R. Coombs (22): Separate collateral jobs on different lines for easier override/extension. Drop minimum requirement on pytest-mypy as most environments are already running much later. Closes jaraco/skeleton#96. Remove sole entry for branches-ignore. Workaround for and closes jaraco/skeleton#103. Remove string types now that future annotations are in place. Expand docstrings to elaborate on the purpose and details of the interfaces. Bump year on badge Add an example of how a custom provider might leverage the DistributionFinder.Context. Remove build and dist from excludes. It appears they are not needed and their presence blocks the names of packages like 'builder' and 'distutils'. Ref pypa/distutils#224. Exclude docs and tests directories properly per Setuptools behavior. Rely on default discovery for good heuristics for finding packages. Enable preview to enable preserving quotes. Use latest versions in RTD boilerplate. Remove Sphinx pin. Ref sphinx-doc/sphinx#11662. Include deps from the base config in diffcov. Enable complexity check and pycodestyle warnings. Closes jaraco/skeleton#110. Use 'extend-select' to avoid disabling the default config. Ref jaraco/skeleton#110. 👹 Feed the hobgoblins (delint). Moved example sources to the tests/data directory, avoiding build issues. Fix docs error due to duplicate explicit target name. Re-order imports for consistency. 🧎‍♀️ Genuflect to the types. Finalize Sviatoslav Sydorenko (1): Enable testing merge queues @ GitHub Actions CI/CD (jaraco/skeleton#93) --- Makefile | 2 +- options.conf | 6 +++++- pypi-importlib_metadata.spec | 40 ++++++++++++++++++------------------ release | 2 +- upstream | 2 +- 5 files changed, 28 insertions(+), 24 deletions(-) diff --git a/Makefile b/Makefile index d3d0966..dee4091 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PKG_NAME := pypi-importlib_metadata -URL = https://files.pythonhosted.org/packages/90/b4/206081fca69171b4dc1939e77b378a7b87021b0f43ce07439d49d8ac5c84/importlib_metadata-7.0.1.tar.gz +URL = https://files.pythonhosted.org/packages/64/dd/7467b3be0e863401438a407411f78c33376748aff39ec0b8f45f6739c86c/importlib_metadata-7.0.2.tar.gz ARCHIVES = include ../common/Makefile.common diff --git a/options.conf b/options.conf index fb1ed83..8a4b84d 100644 --- a/options.conf +++ b/options.conf @@ -1,6 +1,6 @@ [package] name = pypi-importlib_metadata -url = https://files.pythonhosted.org/packages/90/b4/206081fca69171b4dc1939e77b378a7b87021b0f43ce07439d49d8ac5c84/importlib_metadata-7.0.1.tar.gz +url = https://files.pythonhosted.org/packages/64/dd/7467b3be0e863401438a407411f78c33376748aff39ec0b8f45f6739c86c/importlib_metadata-7.0.2.tar.gz archives = giturl = https://github.com/python/importlib_metadata/ domain = @@ -9,6 +9,8 @@ alias = [autospec] # build 32 bit libraries 32bit = false +# allow windows executables (*.exe, *.dll) to be packaged +allow_exe = false # allow package to build with test failures allow_test_failures = false # unset %build ld_as_needed variable @@ -59,6 +61,8 @@ server = false skip_tests = false # add .so files to the lib package instead of dev so_to_lib = false +# configure build for apx +use_apx = false # configure build for avx2 use_avx2 = true # configure build for avx512 diff --git a/pypi-importlib_metadata.spec b/pypi-importlib_metadata.spec index 6cb5f12..e31ebee 100644 --- a/pypi-importlib_metadata.spec +++ b/pypi-importlib_metadata.spec @@ -2,14 +2,14 @@ # This file is auto-generated. DO NOT EDIT # Generated by: autospec.py # Using build pattern: pyproject -# autospec version: v3 -# autospec commit: c1050fe +# autospec version: v4 +# autospec commit: 1ab68ca # Name : pypi-importlib_metadata -Version : 7.0.1 -Release : 114 -URL : https://files.pythonhosted.org/packages/90/b4/206081fca69171b4dc1939e77b378a7b87021b0f43ce07439d49d8ac5c84/importlib_metadata-7.0.1.tar.gz -Source0 : https://files.pythonhosted.org/packages/90/b4/206081fca69171b4dc1939e77b378a7b87021b0f43ce07439d49d8ac5c84/importlib_metadata-7.0.1.tar.gz +Version : 7.0.2 +Release : 115 +URL : https://files.pythonhosted.org/packages/64/dd/7467b3be0e863401438a407411f78c33376748aff39ec0b8f45f6739c86c/importlib_metadata-7.0.2.tar.gz +Source0 : https://files.pythonhosted.org/packages/64/dd/7467b3be0e863401438a407411f78c33376748aff39ec0b8f45f6739c86c/importlib_metadata-7.0.2.tar.gz Summary : Read metadata from Python packages Group : Development/Tools License : Apache-2.0 @@ -63,11 +63,11 @@ python3 components for the pypi-importlib_metadata package. %prep -%setup -q -n importlib_metadata-7.0.1 -cd %{_builddir}/importlib_metadata-7.0.1 +%setup -q -n importlib_metadata-7.0.2 +cd %{_builddir}/importlib_metadata-7.0.2 %patch -P 1 -p1 pushd .. -cp -a importlib_metadata-7.0.1 buildavx2 +cp -a importlib_metadata-7.0.2 buildavx2 popd %build @@ -75,7 +75,7 @@ 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=1703281473 +export SOURCE_DATE_EPOCH=1709826787 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 " @@ -90,11 +90,11 @@ LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS" export MAKEFLAGS=%{?_smp_mflags} python3 -m build --wheel --skip-dependency-check --no-isolation pushd ../buildavx2/ -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 " +CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 " +CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 " +FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 " +FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS -march=x86-64-v3 " +LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS -march=x86-64-v3 " python3 -m build --wheel --skip-dependency-check --no-isolation popd @@ -120,11 +120,11 @@ echo ----[ mark ]---- cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || : echo ----[ mark ]---- pushd ../buildavx2/ -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 " +CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 " +CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 " +FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 " +FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS -march=x86-64-v3 " +LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS -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 dee79f1..ee977b5 100644 --- a/release +++ b/release @@ -1 +1 @@ -114 +115 diff --git a/upstream b/upstream index ce1e696..c6edf39 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -ab443076a90cdf74930b6e331bb9f1245985a05d/importlib_metadata-7.0.1.tar.gz +ec51122c7a725f4ffb811c2269ac1cf95b23693a/importlib_metadata-7.0.2.tar.gz