From 607ce98dcf12d12a94f2a90aae61541290ac7930 Mon Sep 17 00:00:00 2001 From: Arjan van de Ven Date: Mon, 10 Jul 2023 15:30:10 +0000 Subject: [PATCH] pypi-importlib_resources: Autospec creation for update from version 5.12.0 to version 6.0.0 Jason R. Coombs (22): Remove unnecessary and incorrect copyright notice. Fixes jaraco/skeleton#78. Replace flake8 with ruff. Fixes jaraco/skeleton#79 and sheds debt. Make substitution fields more prominent and distinct from true 'skeleton' references. (#71) Suppress EncodingWarning in build.env. Ref pypa/build#615. Remove reference to EncodingWarning as it doesn't exist on some Pythons. Update RTD boilerplate to new issue. Ref readthedocs/readthedocs.org#10401. Add badge for Ruff. Remove inclusion of python version for docs Adopt towncrier for managing changelog. Fixes jaraco/skeleton#83. Replace workaround for actions/setup-python#508 with 'allow-prereleases' Remove tox boilerplate, no longer necessary with later versions of tox. Require Python 3.8 or later. Expand 'finalize' to commit and tag the change. Leverage pytest-enabler 2.2 for the default config. Prefer 3.x for Python version (latest stable). Collapse skeleton history. Workaround for jaraco/skeleton#87. Add links to project home page and pypi. Fixes jaraco/skeleton#77. Replace redundant step names with simple 'Run'. Finalize Remove legacy support. Fixes #80. Update Python version mapping to include Python 3.13 and updates to 3.12 per python/cpython#97930. Finalize Joyce (1): Feat: initial permissions to main.yml (jaraco/skeleton#76) --- Makefile | 2 +- options.conf | 6 ++++-- pypi-importlib_resources.spec | 31 ++++++++++++++++--------------- release | 2 +- upstream | 2 +- 5 files changed, 23 insertions(+), 20 deletions(-) diff --git a/Makefile b/Makefile index 9839a33..2eabd7a 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PKG_NAME := pypi-importlib_resources -URL = https://files.pythonhosted.org/packages/4e/a2/3cab1de83f95dd15297c15bdc04d50902391d707247cada1f021bbfe2149/importlib_resources-5.12.0.tar.gz +URL = https://files.pythonhosted.org/packages/78/1f/65a619c18b0ecd55ac165c7ed119c846051991d01c2cfc0ff7818e4573f0/importlib_resources-6.0.0.tar.gz ARCHIVES = include ../common/Makefile.common diff --git a/options.conf b/options.conf index ad422cd..27c7350 100644 --- a/options.conf +++ b/options.conf @@ -1,6 +1,6 @@ [package] name = pypi-importlib_resources -url = https://files.pythonhosted.org/packages/4e/a2/3cab1de83f95dd15297c15bdc04d50902391d707247cada1f021bbfe2149/importlib_resources-5.12.0.tar.gz +url = https://files.pythonhosted.org/packages/78/1f/65a619c18b0ecd55ac165c7ed119c846051991d01c2cfc0ff7818e4573f0/importlib_resources-6.0.0.tar.gz archives = giturl = https://github.com/python/importlib_resources/ domain = @@ -19,6 +19,8 @@ autoupdate = true broken_c++ = false # disable parallelization during build broken_parallel_build = false +# create vendor archive with cargo +cargo_vendor = false # this package is a library compatibility package and only ships versioned library files compat = false # set conservative build flags @@ -58,7 +60,7 @@ skip_tests = false # add .so files to the lib package instead of dev so_to_lib = false # configure build for avx2 -use_avx2 = false +use_avx2 = true # configure build for avx512 use_avx512 = false # add clang flags diff --git a/pypi-importlib_resources.spec b/pypi-importlib_resources.spec index d02aa18..43935b8 100644 --- a/pypi-importlib_resources.spec +++ b/pypi-importlib_resources.spec @@ -1,15 +1,16 @@ # # This file is auto-generated. DO NOT EDIT # Generated by: autospec.py +# Using build pattern: pyproject # Name : pypi-importlib_resources -Version : 5.12.0 -Release : 31 -URL : https://files.pythonhosted.org/packages/4e/a2/3cab1de83f95dd15297c15bdc04d50902391d707247cada1f021bbfe2149/importlib_resources-5.12.0.tar.gz -Source0 : https://files.pythonhosted.org/packages/4e/a2/3cab1de83f95dd15297c15bdc04d50902391d707247cada1f021bbfe2149/importlib_resources-5.12.0.tar.gz +Version : 6.0.0 +Release : 32 +URL : https://files.pythonhosted.org/packages/78/1f/65a619c18b0ecd55ac165c7ed119c846051991d01c2cfc0ff7818e4573f0/importlib_resources-6.0.0.tar.gz +Source0 : https://files.pythonhosted.org/packages/78/1f/65a619c18b0ecd55ac165c7ed119c846051991d01c2cfc0ff7818e4573f0/importlib_resources-6.0.0.tar.gz Summary : Read resources from Python packages Group : Development/Tools -License : Apache-2.0 +License : MIT Requires: pypi-importlib_resources-license = %{version}-%{release} Requires: pypi-importlib_resources-python = %{version}-%{release} Requires: pypi-importlib_resources-python3 = %{version}-%{release} @@ -57,10 +58,10 @@ python3 components for the pypi-importlib_resources package. %prep -%setup -q -n importlib_resources-5.12.0 -cd %{_builddir}/importlib_resources-5.12.0 +%setup -q -n importlib_resources-6.0.0 +cd %{_builddir}/importlib_resources-6.0.0 pushd .. -cp -a importlib_resources-5.12.0 buildavx2 +cp -a importlib_resources-6.0.0 buildavx2 popd %build @@ -68,15 +69,15 @@ 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=1676769571 +export SOURCE_DATE_EPOCH=1689003005 export GCC_IGNORE_WERROR=1 export AR=gcc-ar export RANLIB=gcc-ranlib export NM=gcc-nm -export CFLAGS="$CFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz " -export FCFLAGS="$FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz " -export FFLAGS="$FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz " -export CXXFLAGS="$CXXFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz " +export CFLAGS="$CFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " +export FCFLAGS="$FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " +export FFLAGS="$FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " +export CXXFLAGS="$CXXFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " export MAKEFLAGS=%{?_smp_mflags} python3 -m build --wheel --skip-dependency-check --no-isolation pushd ../buildavx2/ @@ -93,7 +94,7 @@ popd export MAKEFLAGS=%{?_smp_mflags} rm -rf %{buildroot} mkdir -p %{buildroot}/usr/share/package-licenses/pypi-importlib_resources -cp %{_builddir}/importlib_resources-%{version}/LICENSE %{buildroot}/usr/share/package-licenses/pypi-importlib_resources/2b8b815229aa8a61e483fb4ba0588b8b6c491890 || : +cp %{_builddir}/importlib_resources-%{version}/LICENSE %{buildroot}/usr/share/package-licenses/pypi-importlib_resources/0445ed0f69910eeaee036f09a39a13c6e1f37e12 || : pip install --root=%{buildroot} --no-deps --ignore-installed dist/*.whl echo ----[ mark ]---- cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || : @@ -113,7 +114,7 @@ popd %files license %defattr(0644,root,root,0755) -/usr/share/package-licenses/pypi-importlib_resources/2b8b815229aa8a61e483fb4ba0588b8b6c491890 +/usr/share/package-licenses/pypi-importlib_resources/0445ed0f69910eeaee036f09a39a13c6e1f37e12 %files python %defattr(-,root,root,-) diff --git a/release b/release index e85087a..f5c8955 100644 --- a/release +++ b/release @@ -1 +1 @@ -31 +32 diff --git a/upstream b/upstream index 53b9596..633525e 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -b793f4fb94148414679e3192e731fef25e3e9bc9/importlib_resources-5.12.0.tar.gz +44a58a99cacee32e2a62a247bcab4ad1dfc2dd71/importlib_resources-6.0.0.tar.gz