Skip to content

Commit bb5ba57

Browse files
committed
pypi-importlib_metadata: Autospec creation for update from version 4.11.4 to version 4.12.0
Anderson Bravalheri (1): Update Github actions to v3 (#62) Hugo van Kemenade (1): Update base URL for PEPs (#61) Jason R. Coombs (14): Fix bug in changelog Fix reference in docs build. Add Python 3.11 into the matrix using workaround from actions/setup-python#213. Drop 3.9 from matrix for efficiency. Prefer spaces for rst. Fixes jaraco/skeleton#64. Update license. Fixes python/importlib_metadata#387. Honor PEP 518 with pytest-enabler. Exclude pip-run from coverage. It's just noise. Add xfail test capturing new expectation. Add comment about the compatibility factor. In Distribution.from_name, require a non-empty string. Fixes python/cpython#93259. Refactor Distribution.from_name to avoid return in loop and unnecessary None sentinel. In Distribution.from_name, re-use discover. Update changelog Fix reference in docs build. Sviatoslav Sydorenko (1): Inject check job into CI workflow as ultimate flag (#55) wim glenn (1): exclude build env from cov reporting (#60)
1 parent 424cf33 commit bb5ba57

6 files changed

+18
-18
lines changed

Makefile

+1-1
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/35/a8/f2bd0d488c2bf932b4dda0fb91cbb687c0b1132b33130d1cfad4e2b4b963/importlib_metadata-4.11.4.tar.gz
2+
URL = https://files.pythonhosted.org/packages/1a/16/441080c907df829016729e71d8bdd42d99b9bdde48b01492ed08912c0aa9/importlib_metadata-4.12.0.tar.gz
33
ARCHIVES =
44

55
include ../common/Makefile.common

options.conf

+1-1
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/35/a8/f2bd0d488c2bf932b4dda0fb91cbb687c0b1132b33130d1cfad4e2b4b963/importlib_metadata-4.11.4.tar.gz
3+
url = https://files.pythonhosted.org/packages/1a/16/441080c907df829016729e71d8bdd42d99b9bdde48b01492ed08912c0aa9/importlib_metadata-4.12.0.tar.gz
44
archives =
55
giturl = https://github.com/python/importlib_metadata/
66
domain =

pypi-importlib_metadata.spec

+13-13
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
# Generated by: autospec.py
44
#
55
Name : pypi-importlib_metadata
6-
Version : 4.11.4
7-
Release : 89
8-
URL : https://files.pythonhosted.org/packages/35/a8/f2bd0d488c2bf932b4dda0fb91cbb687c0b1132b33130d1cfad4e2b4b963/importlib_metadata-4.11.4.tar.gz
9-
Source0 : https://files.pythonhosted.org/packages/35/a8/f2bd0d488c2bf932b4dda0fb91cbb687c0b1132b33130d1cfad4e2b4b963/importlib_metadata-4.11.4.tar.gz
6+
Version : 4.12.0
7+
Release : 90
8+
URL : https://files.pythonhosted.org/packages/1a/16/441080c907df829016729e71d8bdd42d99b9bdde48b01492ed08912c0aa9/importlib_metadata-4.12.0.tar.gz
9+
Source0 : https://files.pythonhosted.org/packages/1a/16/441080c907df829016729e71d8bdd42d99b9bdde48b01492ed08912c0aa9/importlib_metadata-4.12.0.tar.gz
1010
Summary : Read metadata from Python packages
1111
Group : Development/Tools
1212
License : Apache-2.0
@@ -59,19 +59,19 @@ python3 components for the pypi-importlib_metadata package.
5959

6060

6161
%prep
62-
%setup -q -n importlib_metadata-4.11.4
63-
cd %{_builddir}/importlib_metadata-4.11.4
62+
%setup -q -n importlib_metadata-4.12.0
63+
cd %{_builddir}/importlib_metadata-4.12.0
6464
%patch1 -p1
6565
pushd ..
66-
cp -a importlib_metadata-4.11.4 buildavx2
66+
cp -a importlib_metadata-4.12.0 buildavx2
6767
popd
6868

6969
%build
7070
export http_proxy=http://127.0.0.1:9/
7171
export https_proxy=http://127.0.0.1:9/
7272
export no_proxy=localhost,127.0.0.1,0.0.0.0
7373
export LANG=C.UTF-8
74-
export SOURCE_DATE_EPOCH=1653336791
74+
export SOURCE_DATE_EPOCH=1656342835
7575
export GCC_IGNORE_WERROR=1
7676
export CFLAGS="$CFLAGS -fno-lto "
7777
export FCFLAGS="$FFLAGS -fno-lto "
@@ -80,8 +80,8 @@ export CXXFLAGS="$CXXFLAGS -fno-lto "
8080
export MAKEFLAGS=%{?_smp_mflags}
8181
python3 -m build --wheel --skip-dependency-check --no-isolation
8282
pushd ../buildavx2/
83-
export CFLAGS="$CFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
84-
export CXXFLAGS="$CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
83+
export CFLAGS="$CFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 -msse2avx"
84+
export CXXFLAGS="$CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 -msse2avx "
8585
export FFLAGS="$FFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
8686
export FCFLAGS="$FCFLAGS -m64 -march=x86-64-v3 "
8787
export LDFLAGS="$LDFLAGS -m64 -march=x86-64-v3 "
@@ -93,7 +93,7 @@ popd
9393
export MAKEFLAGS=%{?_smp_mflags}
9494
rm -rf %{buildroot}
9595
mkdir -p %{buildroot}/usr/share/package-licenses/pypi-importlib_metadata
96-
cp %{_builddir}/importlib_metadata-4.11.4/LICENSE %{buildroot}/usr/share/package-licenses/pypi-importlib_metadata/da4dc954bbc3ab0893517cb1d7af5598f7a3daf4
96+
cp %{_builddir}/importlib_metadata-4.12.0/LICENSE %{buildroot}/usr/share/package-licenses/pypi-importlib_metadata/2b8b815229aa8a61e483fb4ba0588b8b6c491890
9797
pip install --root=%{buildroot} --no-deps --ignore-installed dist/*.whl
9898
echo ----[ mark ]----
9999
cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || :
@@ -106,14 +106,14 @@ export FCFLAGS="$FCFLAGS -m64 -march=x86-64-v3 "
106106
export LDFLAGS="$LDFLAGS -m64 -march=x86-64-v3 "
107107
pip install --root=%{buildroot}-v3 --no-deps --ignore-installed dist/*.whl
108108
popd
109-
/usr/bin/elf-move.py avx2 %{buildroot}-v3 %{buildroot}/usr/share/clear/optimized-elf/ %{buildroot}/usr/share/clear/filemap/filemap-%{name}
109+
/usr/bin/elf-move.py avx2 %{buildroot}-v3 %{buildroot} %{buildroot}/usr/share/clear/filemap/filemap-%{name}
110110

111111
%files
112112
%defattr(-,root,root,-)
113113

114114
%files license
115115
%defattr(0644,root,root,0755)
116-
/usr/share/package-licenses/pypi-importlib_metadata/da4dc954bbc3ab0893517cb1d7af5598f7a3daf4
116+
/usr/share/package-licenses/pypi-importlib_metadata/2b8b815229aa8a61e483fb4ba0588b8b6c491890
117117

118118
%files python
119119
%defattr(-,root,root,-)

release

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
89
1+
90

upstream

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8f4928326eaea5c59f8e097eeee73848aa41b733/importlib_metadata-4.11.4.tar.gz
1+
ec68de1ec1800048de8656b9d211e22b7fe7c53e/importlib_metadata-4.12.0.tar.gz

versions

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.11.4
1+
4.12.0

0 commit comments

Comments
 (0)