Skip to content

Commit

Permalink
pypi-importlib_metadata: Autospec creation for update from version 5.…
Browse files Browse the repository at this point in the history
…0.0 to version 5.1.0

Jason R. Coombs (16):
      Indicate to use latest Python version (workaround for readthedocs/readthedocs.org/#9623). Requires also specifying the OS version (workaround for readthedocs/readthedocs.org#9635).
      Simply wrap .matches instead of replacing EntryPoint.
      Add minimum retention of DeprecatedTuple. Ref #409, Ref #348.
      Fix warning in plural of Import Package.
      Correct syntax is without the space.
      GHA pretty env (#67)
      Add row for Python 3.12 to compatibility map.
      Update compatibility matrix to reflect 4.13 in 3.11 (python/cpython#98875).
      Python 3.10 is synced mainly through 4.6 (plus bugfixes).
      Pin mypy to '<0.990' due to realpython/pytest-mypy#141
      Remove the hyperlink for the Python versions badge. The PyPI badge is a better anchor for the hyperlink.
      Apply explicit_package_bases for mypy and unpin the version. Ref python/mypy#14057.
      Add Python 3.12 to matrix. Only test 3.8-3.10 on Linux.
      Disable flake8 on Python 3.12. Workaround for tholo/pytest-flake8#87.
      Update changelog.
      Add note to docs about limitation of packages_distributions. Fixes #402.

Julien Palard (1):
      Doc: missing underscore in hyperlink. (GH-98391)

Zach Burnett (1):
      rename `.readthedocs.yml` to `.readthedocs.yaml` (RTD docs indicate that `.readthedocs.yml` will be deprecated) (#68)

layday (1):
      Fix `SimplePath` protocol
  • Loading branch information
fenrus75 committed Nov 25, 2022
1 parent 5c43147 commit 44030e2
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 16 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_NAME := pypi-importlib_metadata
URL = https://files.pythonhosted.org/packages/7e/ec/97f2ce958b62961fddd7258e0ceede844953606ad09b672fa03b86c453d3/importlib_metadata-5.0.0.tar.gz
URL = https://files.pythonhosted.org/packages/32/5a/e0d75c8010295ae6746f379f5324bc726076dfc426548bfa6f0763fce870/importlib_metadata-5.1.0.tar.gz
ARCHIVES =

include ../common/Makefile.common
4 changes: 3 additions & 1 deletion options.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = pypi-importlib_metadata
url = https://files.pythonhosted.org/packages/7e/ec/97f2ce958b62961fddd7258e0ceede844953606ad09b672fa03b86c453d3/importlib_metadata-5.0.0.tar.gz
url = https://files.pythonhosted.org/packages/32/5a/e0d75c8010295ae6746f379f5324bc726076dfc426548bfa6f0763fce870/importlib_metadata-5.1.0.tar.gz
archives =
giturl = https://github.com/python/importlib_metadata/
domain =
Expand Down Expand Up @@ -35,6 +35,8 @@ insecure_build = false
keepstatic = false
# do not require autostart subpackage
no_autostart = false
# do not use the replacement pattern for file matching
no_glob = false
# do not generate debuginfo for this package
nodebug = false
# disable stripping binaries
Expand Down
22 changes: 11 additions & 11 deletions pypi-importlib_metadata.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
# Generated by: autospec.py
#
Name : pypi-importlib_metadata
Version : 5.0.0
Release : 96
URL : https://files.pythonhosted.org/packages/7e/ec/97f2ce958b62961fddd7258e0ceede844953606ad09b672fa03b86c453d3/importlib_metadata-5.0.0.tar.gz
Source0 : https://files.pythonhosted.org/packages/7e/ec/97f2ce958b62961fddd7258e0ceede844953606ad09b672fa03b86c453d3/importlib_metadata-5.0.0.tar.gz
Version : 5.1.0
Release : 97
URL : https://files.pythonhosted.org/packages/32/5a/e0d75c8010295ae6746f379f5324bc726076dfc426548bfa6f0763fce870/importlib_metadata-5.1.0.tar.gz
Source0 : https://files.pythonhosted.org/packages/32/5a/e0d75c8010295ae6746f379f5324bc726076dfc426548bfa6f0763fce870/importlib_metadata-5.1.0.tar.gz
Summary : Read metadata from Python packages
Group : Development/Tools
License : Apache-2.0
Expand All @@ -28,7 +28,7 @@ Patch1: deps.patch

%description
.. image:: https://img.shields.io/pypi/v/importlib_metadata.svg
:target: `PyPI link`_
:target: https://pypi.org/project/importlib_metadata

%package license
Summary: license components for the pypi-importlib_metadata package.
Expand Down Expand Up @@ -59,19 +59,19 @@ python3 components for the pypi-importlib_metadata package.


%prep
%setup -q -n importlib_metadata-5.0.0
cd %{_builddir}/importlib_metadata-5.0.0
%setup -q -n importlib_metadata-5.1.0
cd %{_builddir}/importlib_metadata-5.1.0
%patch1 -p1
pushd ..
cp -a importlib_metadata-5.0.0 buildavx2
cp -a importlib_metadata-5.1.0 buildavx2
popd

%build
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=1664807086
export SOURCE_DATE_EPOCH=1669396486
export GCC_IGNORE_WERROR=1
export CFLAGS="$CFLAGS -fno-lto "
export FCFLAGS="$FFLAGS -fno-lto "
Expand All @@ -80,8 +80,8 @@ export CXXFLAGS="$CXXFLAGS -fno-lto "
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 -msse2avx"
export CXXFLAGS="$CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 -msse2avx "
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 "
Expand Down
2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
96
97
2 changes: 1 addition & 1 deletion upstream
Original file line number Diff line number Diff line change
@@ -1 +1 @@
38794db2afb90ed0be04bd8b5996a5b5fd45acc2/importlib_metadata-5.0.0.tar.gz
4a49e8c6d8e2eb02e9ea821444b5ba153d8c34a6/importlib_metadata-5.1.0.tar.gz
2 changes: 1 addition & 1 deletion versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.0.0
5.1.0

0 comments on commit 44030e2

Please sign in to comment.