Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

Commit

Permalink
importlib_metadata: Autospec creation for update from version 4.6.3 t…
Browse files Browse the repository at this point in the history
…o version 4.6.4

Henry Schreiner (1):
      fix(typing): Path-likes use truediv

Jason R. Coombs (10):
      Rely on setuptools 56 and drop the explicit mention of the license file in favor of simple discovery.
      Remove workaround for python/typed_ast#156.
      Use line continuations to indicate which exclusions are for which workarounds.
      Remove blacken docs as it cannot honor Python's default repr. Ref adamchainz/blacken-docs#62.
      Limit filter to DeprecationWarnings
      Update changelog.
      Add test purported to capture the failure, but it still passes.
      Move the test out of doctest. Still doesn't capture failure.
      Remove unhelpful test.
      Fix attribute name.
  • Loading branch information
fenrus75 committed Aug 16, 2021
1 parent 1e24192 commit 9e67284
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Makefile
@@ -1,5 +1,5 @@
PKG_NAME := importlib_metadata
URL = https://files.pythonhosted.org/packages/58/f1/9b77b8aa38482b7c284b8f8eda8b99d3b1103a280f107bab362a1c518c92/importlib_metadata-4.6.3.tar.gz
URL = https://files.pythonhosted.org/packages/aa/b9/514816064db3028d7370f2ce02e8e8f5d9bc68f6f9a41b04d19176aba70e/importlib_metadata-4.6.4.tar.gz
ARCHIVES =

include ../common/Makefile.common
17 changes: 8 additions & 9 deletions importlib_metadata.spec
Expand Up @@ -3,18 +3,17 @@
# Generated by: autospec.py
#
Name : importlib_metadata
Version : 4.6.3
Release : 66
URL : https://files.pythonhosted.org/packages/58/f1/9b77b8aa38482b7c284b8f8eda8b99d3b1103a280f107bab362a1c518c92/importlib_metadata-4.6.3.tar.gz
Source0 : https://files.pythonhosted.org/packages/58/f1/9b77b8aa38482b7c284b8f8eda8b99d3b1103a280f107bab362a1c518c92/importlib_metadata-4.6.3.tar.gz
Version : 4.6.4
Release : 67
URL : https://files.pythonhosted.org/packages/aa/b9/514816064db3028d7370f2ce02e8e8f5d9bc68f6f9a41b04d19176aba70e/importlib_metadata-4.6.4.tar.gz
Source0 : https://files.pythonhosted.org/packages/aa/b9/514816064db3028d7370f2ce02e8e8f5d9bc68f6f9a41b04d19176aba70e/importlib_metadata-4.6.4.tar.gz
Summary : Read metadata from Python packages
Group : Development/Tools
License : Apache-2.0
Requires: importlib_metadata-license = %{version}-%{release}
Requires: importlib_metadata-python = %{version}-%{release}
Requires: importlib_metadata-python3 = %{version}-%{release}
Requires: zipp
Provides: importlib-metadata
BuildRequires : buildreq-distutils3
BuildRequires : pluggy
BuildRequires : py-python
Expand Down Expand Up @@ -58,16 +57,16 @@ python3 components for the importlib_metadata package.


%prep
%setup -q -n importlib_metadata-4.6.3
cd %{_builddir}/importlib_metadata-4.6.3
%setup -q -n importlib_metadata-4.6.4
cd %{_builddir}/importlib_metadata-4.6.4
%patch1 -p1

%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=1627925139
export SOURCE_DATE_EPOCH=1629128670
export GCC_IGNORE_WERROR=1
export CFLAGS="$CFLAGS -fno-lto "
export FCFLAGS="$FFLAGS -fno-lto "
Expand All @@ -80,7 +79,7 @@ python3 setup.py build
export MAKEFLAGS=%{?_smp_mflags}
rm -rf %{buildroot}
mkdir -p %{buildroot}/usr/share/package-licenses/importlib_metadata
cp %{_builddir}/importlib_metadata-4.6.3/LICENSE %{buildroot}/usr/share/package-licenses/importlib_metadata/da4dc954bbc3ab0893517cb1d7af5598f7a3daf4
cp %{_builddir}/importlib_metadata-4.6.4/LICENSE %{buildroot}/usr/share/package-licenses/importlib_metadata/da4dc954bbc3ab0893517cb1d7af5598f7a3daf4
python3 -tt setup.py build install --root=%{buildroot}
echo ----[ mark ]----
cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || :
Expand Down
2 changes: 1 addition & 1 deletion options.conf
@@ -1,6 +1,6 @@
[package]
name = importlib_metadata
url = https://files.pythonhosted.org/packages/58/f1/9b77b8aa38482b7c284b8f8eda8b99d3b1103a280f107bab362a1c518c92/importlib_metadata-4.6.3.tar.gz
url = https://files.pythonhosted.org/packages/aa/b9/514816064db3028d7370f2ce02e8e8f5d9bc68f6f9a41b04d19176aba70e/importlib_metadata-4.6.4.tar.gz
archives =
giturl = https://github.com/python/importlib_metadata
domain =
Expand Down
2 changes: 1 addition & 1 deletion release
@@ -1 +1 @@
66
67
2 changes: 1 addition & 1 deletion upstream
@@ -1 +1 @@
cafbfe60e2f2d01faaefd22eeeacd5785100f6e9/importlib_metadata-4.6.3.tar.gz
9662433c6bab2ba82e867f24f9eef86e3b6340e6/importlib_metadata-4.6.4.tar.gz
2 changes: 1 addition & 1 deletion versions
@@ -1 +1 @@
4.6.3
4.6.4

0 comments on commit 9e67284

Please sign in to comment.