Skip to content

Commit

Permalink
pypi-importlib_resources: Autospec creation for update from version 5…
Browse files Browse the repository at this point in the history
….9.0 to version 5.10.0

Jason R. Coombs (27):
      Inline type defintions
      Implement resolve as a single-dispatch function. (#261)
      Use '-dev' for every Python version. Ref actions/setup-python#213.
      Use Python 3.11 for cutting releases.
      Pin flake8. Workaround for tholo/pytest-flake8#87.
      Update to setup-python v4. Fixes jaraco/skeleton#65.
      Also update release to v4
      Add PyPy to the test matrix on Linux. Fixes jaraco/skeleton#63.
      When rendering docs, preserve the syntax for defaults. Fixes jaraco/path#197.
      Adopt furo theme for docs.
      Indicate to use latest Python version (workaround for readthedocs/readthedocs.org/#9623). Requires also specifying the OS version (workaround for readthedocs/readthedocs.org#9635).
      Add test capturing current behavior and missed expectation. Ref #203.
      Remove restriction that a 'package' cannot be a module. Allows resolution of resources from adjacent modules, even those not found in a package. Fixes #203.
      Update changelog. Ref #203.
      Update docs to prefer the name 'anchor' to 'package', as the anchor may be a module.
      Rewrite section using imperative voice and add determiners.
      Remove docs pertinent to Python 3.6 and earlier.
      Extend type spec for clarity.
      Use more namespaces.
      Prefer relative imports for abc.
      Correct the changelog to mention the correct function affected.
      Rename the 'package' parameter to 'anchor'.
      Add doctests to flesh out coverage.
      Add test capturing expectation.
      Extract fixture for SiteDir.
      Implement caller inference to allow ``files()`` to be called without any parameter.
      Update changelog

sobolevn (1):
      Replace `abstractproperty` with `property` + `abstractmethod`
  • Loading branch information
fenrus75 committed Oct 10, 2022
1 parent b2cd8ac commit fef8ffa
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 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_resources
URL = https://files.pythonhosted.org/packages/38/b6/bc58f9261c70abb5fd670f9ad5d84445a402b4b473f308c5bf699cd379e0/importlib_resources-5.9.0.tar.gz
URL = https://files.pythonhosted.org/packages/06/72/6bf0df4fe7a139147f5d6b473f16d5aefb7bc5b719ba5dd33f230d35760f/importlib_resources-5.10.0.tar.gz
ARCHIVES =

include ../common/Makefile.common
2 changes: 1 addition & 1 deletion options.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = pypi-importlib_resources
url = https://files.pythonhosted.org/packages/38/b6/bc58f9261c70abb5fd670f9ad5d84445a402b4b473f308c5bf699cd379e0/importlib_resources-5.9.0.tar.gz
url = https://files.pythonhosted.org/packages/06/72/6bf0df4fe7a139147f5d6b473f16d5aefb7bc5b719ba5dd33f230d35760f/importlib_resources-5.10.0.tar.gz
archives =
giturl = https://github.com/python/importlib_resources/
domain =
Expand Down
18 changes: 9 additions & 9 deletions pypi-importlib_resources.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
# Generated by: autospec.py
#
Name : pypi-importlib_resources
Version : 5.9.0
Release : 23
URL : https://files.pythonhosted.org/packages/38/b6/bc58f9261c70abb5fd670f9ad5d84445a402b4b473f308c5bf699cd379e0/importlib_resources-5.9.0.tar.gz
Source0 : https://files.pythonhosted.org/packages/38/b6/bc58f9261c70abb5fd670f9ad5d84445a402b4b473f308c5bf699cd379e0/importlib_resources-5.9.0.tar.gz
Version : 5.10.0
Release : 24
URL : https://files.pythonhosted.org/packages/06/72/6bf0df4fe7a139147f5d6b473f16d5aefb7bc5b719ba5dd33f230d35760f/importlib_resources-5.10.0.tar.gz
Source0 : https://files.pythonhosted.org/packages/06/72/6bf0df4fe7a139147f5d6b473f16d5aefb7bc5b719ba5dd33f230d35760f/importlib_resources-5.10.0.tar.gz
Summary : Read resources from Python packages
Group : Development/Tools
License : Apache-2.0
Expand Down Expand Up @@ -54,18 +54,18 @@ python3 components for the pypi-importlib_resources package.


%prep
%setup -q -n importlib_resources-5.9.0
cd %{_builddir}/importlib_resources-5.9.0
%setup -q -n importlib_resources-5.10.0
cd %{_builddir}/importlib_resources-5.10.0
pushd ..
cp -a importlib_resources-5.9.0 buildavx2
cp -a importlib_resources-5.10.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=1658764372
export SOURCE_DATE_EPOCH=1665419158
export GCC_IGNORE_WERROR=1
export AR=gcc-ar
export RANLIB=gcc-ranlib
Expand All @@ -90,7 +90,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/2b8b815229aa8a61e483fb4ba0588b8b6c491890 || :
pip install --root=%{buildroot} --no-deps --ignore-installed dist/*.whl
echo ----[ mark ]----
cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || :
Expand Down
2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
23
24
2 changes: 1 addition & 1 deletion upstream
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3b4b20fa0399e2fa21c7506be27a4b943495d3ad/importlib_resources-5.9.0.tar.gz
a8c7a6a976fffb9841c548230cb633eda3111c4f/importlib_resources-5.10.0.tar.gz
2 changes: 1 addition & 1 deletion versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.9.0
5.10.0

0 comments on commit fef8ffa

Please sign in to comment.