Skip to content

Commit

Permalink
pypi-importlib_resources: Autospec creation for update from version 6…
Browse files Browse the repository at this point in the history
….0.0 to version 6.0.1

Jason R. Coombs (4):
      Increase visibility of security policy. (#4)
      Remove TOX_WORK_DIR workaround, no longer necessary with tox 4. Ref tox-dev/tox#3050.
      Restore LICENSE unintentionally changed in 8de19cf901dece8c587e2d072a687a7acf81d49e.
      Finalize
  • Loading branch information
fenrus75 committed Aug 7, 2023
1 parent 607ce98 commit 566f103
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 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/78/1f/65a619c18b0ecd55ac165c7ed119c846051991d01c2cfc0ff7818e4573f0/importlib_resources-6.0.0.tar.gz
URL = https://files.pythonhosted.org/packages/fd/dc/0c5cfbd4df5d6e83de4e64324b370151ee88de25f3c71aea21115f4f77f8/importlib_resources-6.0.1.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/78/1f/65a619c18b0ecd55ac165c7ed119c846051991d01c2cfc0ff7818e4573f0/importlib_resources-6.0.0.tar.gz
url = https://files.pythonhosted.org/packages/fd/dc/0c5cfbd4df5d6e83de4e64324b370151ee88de25f3c71aea21115f4f77f8/importlib_resources-6.0.1.tar.gz
archives =
giturl = https://github.com/python/importlib_resources/
domain =
Expand Down
22 changes: 11 additions & 11 deletions pypi-importlib_resources.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
# Using build pattern: pyproject
#
Name : pypi-importlib_resources
Version : 6.0.0
Release : 32
URL : https://files.pythonhosted.org/packages/78/1f/65a619c18b0ecd55ac165c7ed119c846051991d01c2cfc0ff7818e4573f0/importlib_resources-6.0.0.tar.gz
Source0 : https://files.pythonhosted.org/packages/78/1f/65a619c18b0ecd55ac165c7ed119c846051991d01c2cfc0ff7818e4573f0/importlib_resources-6.0.0.tar.gz
Version : 6.0.1
Release : 33
URL : https://files.pythonhosted.org/packages/fd/dc/0c5cfbd4df5d6e83de4e64324b370151ee88de25f3c71aea21115f4f77f8/importlib_resources-6.0.1.tar.gz
Source0 : https://files.pythonhosted.org/packages/fd/dc/0c5cfbd4df5d6e83de4e64324b370151ee88de25f3c71aea21115f4f77f8/importlib_resources-6.0.1.tar.gz
Summary : Read resources from Python packages
Group : Development/Tools
License : MIT
License : Apache-2.0
Requires: pypi-importlib_resources-license = %{version}-%{release}
Requires: pypi-importlib_resources-python = %{version}-%{release}
Requires: pypi-importlib_resources-python3 = %{version}-%{release}
Expand Down Expand Up @@ -58,18 +58,18 @@ python3 components for the pypi-importlib_resources package.


%prep
%setup -q -n importlib_resources-6.0.0
cd %{_builddir}/importlib_resources-6.0.0
%setup -q -n importlib_resources-6.0.1
cd %{_builddir}/importlib_resources-6.0.1
pushd ..
cp -a importlib_resources-6.0.0 buildavx2
cp -a importlib_resources-6.0.1 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=1689003005
export SOURCE_DATE_EPOCH=1691427412
export GCC_IGNORE_WERROR=1
export AR=gcc-ar
export RANLIB=gcc-ranlib
Expand All @@ -94,7 +94,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/0445ed0f69910eeaee036f09a39a13c6e1f37e12 || :
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 All @@ -114,7 +114,7 @@ popd

%files license
%defattr(0644,root,root,0755)
/usr/share/package-licenses/pypi-importlib_resources/0445ed0f69910eeaee036f09a39a13c6e1f37e12
/usr/share/package-licenses/pypi-importlib_resources/2b8b815229aa8a61e483fb4ba0588b8b6c491890

%files python
%defattr(-,root,root,-)
Expand Down
2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
32
33
2 changes: 1 addition & 1 deletion upstream
Original file line number Diff line number Diff line change
@@ -1 +1 @@
44a58a99cacee32e2a62a247bcab4ad1dfc2dd71/importlib_resources-6.0.0.tar.gz
dc5322c0a6414fa823f54ef7fe938210abecd6a8/importlib_resources-6.0.1.tar.gz

0 comments on commit 566f103

Please sign in to comment.