Skip to content

Commit 1d60d4b

Browse files
committed
pypi-importlib_metadata: Autospec creation for update from version 6.8.0 to version 7.0.0
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
1 parent d2c4e84 commit 1d60d4b

File tree

5 files changed

+47
-28
lines changed

5 files changed

+47
-28
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PKG_NAME := pypi-importlib_metadata
2-
URL = https://files.pythonhosted.org/packages/33/44/ae06b446b8d8263d712a211e959212083a5eda2bf36d57ca7415e03f6f36/importlib_metadata-6.8.0.tar.gz
2+
URL = https://files.pythonhosted.org/packages/db/5a/392426ddb5edfebfcb232ab7a47e4a827aa1d5b5267a5c20c448615feaa9/importlib_metadata-7.0.0.tar.gz
33
ARCHIVES =
44

55
include ../common/Makefile.common

options.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = pypi-importlib_metadata
3-
url = https://files.pythonhosted.org/packages/33/44/ae06b446b8d8263d712a211e959212083a5eda2bf36d57ca7415e03f6f36/importlib_metadata-6.8.0.tar.gz
3+
url = https://files.pythonhosted.org/packages/db/5a/392426ddb5edfebfcb232ab7a47e4a827aa1d5b5267a5c20c448615feaa9/importlib_metadata-7.0.0.tar.gz
44
archives =
55
giturl = https://github.com/python/importlib_metadata/
66
domain =

pypi-importlib_metadata.spec

Lines changed: 43 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@
22
# This file is auto-generated. DO NOT EDIT
33
# Generated by: autospec.py
44
# Using build pattern: pyproject
5+
# autospec version: v2
6+
# autospec commit: e661f3a
57
#
68
Name : pypi-importlib_metadata
7-
Version : 6.8.0
8-
Release : 110
9-
URL : https://files.pythonhosted.org/packages/33/44/ae06b446b8d8263d712a211e959212083a5eda2bf36d57ca7415e03f6f36/importlib_metadata-6.8.0.tar.gz
10-
Source0 : https://files.pythonhosted.org/packages/33/44/ae06b446b8d8263d712a211e959212083a5eda2bf36d57ca7415e03f6f36/importlib_metadata-6.8.0.tar.gz
9+
Version : 7.0.0
10+
Release : 111
11+
URL : https://files.pythonhosted.org/packages/db/5a/392426ddb5edfebfcb232ab7a47e4a827aa1d5b5267a5c20c448615feaa9/importlib_metadata-7.0.0.tar.gz
12+
Source0 : https://files.pythonhosted.org/packages/db/5a/392426ddb5edfebfcb232ab7a47e4a827aa1d5b5267a5c20c448615feaa9/importlib_metadata-7.0.0.tar.gz
1113
Summary : Read metadata from Python packages
1214
Group : Development/Tools
1315
License : Apache-2.0
@@ -61,52 +63,69 @@ python3 components for the pypi-importlib_metadata package.
6163

6264

6365
%prep
64-
%setup -q -n importlib_metadata-6.8.0
65-
cd %{_builddir}/importlib_metadata-6.8.0
66+
%setup -q -n importlib_metadata-7.0.0
67+
cd %{_builddir}/importlib_metadata-7.0.0
6668
%patch -P 1 -p1
6769
pushd ..
68-
cp -a importlib_metadata-6.8.0 buildavx2
70+
cp -a importlib_metadata-7.0.0 buildavx2
6971
popd
7072

7173
%build
7274
export http_proxy=http://127.0.0.1:9/
7375
export https_proxy=http://127.0.0.1:9/
7476
export no_proxy=localhost,127.0.0.1,0.0.0.0
7577
export LANG=C.UTF-8
76-
export SOURCE_DATE_EPOCH=1689002890
78+
export SOURCE_DATE_EPOCH=1701720923
7779
export GCC_IGNORE_WERROR=1
78-
export CFLAGS="$CFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
79-
export FCFLAGS="$FFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
80-
export FFLAGS="$FFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
81-
export CXXFLAGS="$CXXFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
80+
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 "
81+
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 "
82+
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 "
83+
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 "
84+
CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS"
85+
CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS"
86+
FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS"
87+
FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS"
88+
ASFLAGS="$CLEAR_INTERMEDIATE_ASFLAGS"
89+
LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS"
8290
export MAKEFLAGS=%{?_smp_mflags}
8391
python3 -m build --wheel --skip-dependency-check --no-isolation
8492
pushd ../buildavx2/
85-
export CFLAGS="$CFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
86-
export CXXFLAGS="$CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
87-
export FFLAGS="$FFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
88-
export FCFLAGS="$FCFLAGS -m64 -march=x86-64-v3 "
89-
export LDFLAGS="$LDFLAGS -m64 -march=x86-64-v3 "
93+
CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
94+
CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
95+
FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
96+
FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS -m64 -march=x86-64-v3 "
97+
LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS -m64 -march=x86-64-v3 "
9098
python3 -m build --wheel --skip-dependency-check --no-isolation
9199

92100
popd
93101

94102
%install
103+
export GCC_IGNORE_WERROR=1
104+
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 "
105+
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 "
106+
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 "
107+
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 "
108+
CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS"
109+
CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS"
110+
FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS"
111+
FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS"
112+
ASFLAGS="$CLEAR_INTERMEDIATE_ASFLAGS"
113+
LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS"
95114
export MAKEFLAGS=%{?_smp_mflags}
96115
rm -rf %{buildroot}
97116
mkdir -p %{buildroot}/usr/share/package-licenses/pypi-importlib_metadata
98117
cp %{_builddir}/importlib_metadata-%{version}/LICENSE %{buildroot}/usr/share/package-licenses/pypi-importlib_metadata/2b8b815229aa8a61e483fb4ba0588b8b6c491890 || :
99-
pip install --root=%{buildroot} --no-deps --ignore-installed dist/*.whl
118+
python3 -m installer --destdir=%{buildroot} dist/*.whl
100119
echo ----[ mark ]----
101120
cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || :
102121
echo ----[ mark ]----
103122
pushd ../buildavx2/
104-
export CFLAGS="$CFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
105-
export CXXFLAGS="$CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
106-
export FFLAGS="$FFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
107-
export FCFLAGS="$FCFLAGS -m64 -march=x86-64-v3 "
108-
export LDFLAGS="$LDFLAGS -m64 -march=x86-64-v3 "
109-
pip install --root=%{buildroot}-v3 --no-deps --ignore-installed dist/*.whl
123+
CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
124+
CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
125+
FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
126+
FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS -m64 -march=x86-64-v3 "
127+
LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS -m64 -march=x86-64-v3 "
128+
python3 -m installer --destdir=%{buildroot}-v3 dist/*.whl
110129
popd
111130
/usr/bin/elf-move.py avx2 %{buildroot}-v3 %{buildroot} %{buildroot}/usr/share/clear/filemap/filemap-%{name}
112131

release

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
110
1+
111

upstream

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0e5742cd1d559863573bfb4f6cb7ca9ad8dcf466/importlib_metadata-6.8.0.tar.gz
1+
d3ac7c390b035f183a69fc9ced61c549d3495b38/importlib_metadata-7.0.0.tar.gz

0 commit comments

Comments
 (0)