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

Commit 79b1094

Browse files
committed
zipp: Autospec creation for update from version 3.1.0 to version 3.2.0
Jason R. Coombs (35): Update to bionic for Travis. Correct comment about IPv6 workaround. Suppress warnings in pytest-flake8, pytest-black, and pytest-checkdocs. Prefer pytest-black to pytest-black-multipy Test against Windows and Mac Define a default pool_vm_image Remove tox-venv and tox-pip-version. Tox-venv is discouraged (tox-dev/tox-venv#48 (comment)) and tox-pip-version was only there to support tox-venv. venv is dead; long live virtualenv. Remove more references to tox-venv Add workaround for warning emitted when junitxml is used. Ref pytest-dev/pytest#6178. Include mypy for type checking during tests. Ensure virtualenv is upgraded when installing tox. Fixes jaraco/path#188. Run tests on prereleases of Python on Windows. Fixes jaraco/skeleton#17. Add workaround for python/mypy#8627. Fixes jaraco/skeleton#18. Add 'refresh.svg' demonstrating an example of refreshing a project with the latest skeleton. Ref #7. Move workaround for python/mypy#8627 to tox.ini, as adding it to setup.cfg prevents releases to PyPI. Fixes jaraco/skeleton#19. Update comment to reflect correct class name. Remove workaround for python/mypy#8627. Ref jaraco/skeleton#18. Add test capturing issue reported in bpo-40564 Create Github releases when releasing the package. Fixes jaraco/skeleton#23. Moved refresh.svg to another branch. Reference the animation from the docs. Ref jaraco/skeleton#7. Add the env var mapping too. Disable pytest-black and pytest-mypy on PyPy. Fixes jaraco/skeleton#22. Ref pytest-dev/pytest#7675. Bump black and blacken-docs to latest stable versions. Instead of creating a copy of a any zipfile passed to Path, simply augment the behavior by replacing the class with a subclass. Use enabled plugin configuration to enable mypy and black when the plugin is present. Ref jaraco/skeleton#22. Also enable flake8 and cov when the plugins are present. Add a docstring explaining how the source zipfile is mutated. Update changelog. Restore running under pytest (still unittest compatibility). ⚫ Fade to black. Add unit test for iterdir on file. Add unit test for invalid args to open binary. Add unit test capturing expectation that a subclass type should be retained during traversal. Ref #56. Path subclasses now retain their type during traversal. Ref #56. Add test capturing missed expectation when is_file is invoked on a name not in the zipfile. Ref #55. Correct behavior of is_file to return False for non-existent files. Also fix two broken tests. Fixes #55.
1 parent 4ae62e4 commit 79b1094

7 files changed

+21
-42
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PKG_NAME := zipp
2-
URL = https://files.pythonhosted.org/packages/ce/8c/2c5f7dc1b418f659d36c04dec9446612fc7b45c8095cc7369dd772513055/zipp-3.1.0.tar.gz
2+
URL = https://files.pythonhosted.org/packages/30/a3/a67b64feac23b22c71ca2a4084387a6f205dc7cb4f0c67c755d6a4b29a7f/zipp-3.2.0.tar.gz
33
ARCHIVES =
44

55
include ../common/Makefile.common

buildreq_cache

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
3.1.0
1+
3.2.0
22
setuptools
33
setuptools_scm-python

options.conf

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
[package]
22
name = zipp
3-
url = https://files.pythonhosted.org/packages/ce/8c/2c5f7dc1b418f659d36c04dec9446612fc7b45c8095cc7369dd772513055/zipp-3.1.0.tar.gz
3+
url = https://files.pythonhosted.org/packages/30/a3/a67b64feac23b22c71ca2a4084387a6f205dc7cb4f0c67c755d6a4b29a7f/zipp-3.2.0.tar.gz
44
archives =
55
giturl = https://github.com/jaraco/zipp.git
66
domain =
7+
alias =
78

89
[autospec]
910
# build 32 bit libraries
@@ -38,6 +39,8 @@ no_autostart = false
3839
nodebug = false
3940
# disable stripping binaries
4041
nostrip = false
42+
# configure build also for openmpi
43+
openmpi = false
4144
# optimize build for size over speed
4245
optimize_size = false
4346
# set profile for pgo

release

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
15
1+
16

upstream

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4002f19d959b7de827b39265518b184140da6d6d/zipp-3.1.0.tar.gz
1+
c54fde681399584ef990308807231ea245711d2f/zipp-3.2.0.tar.gz

versions

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.1.0
1+
3.2.0

zipp.spec

+12-36
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
# Generated by: autospec.py
44
#
55
Name : zipp
6-
Version : 3.1.0
7-
Release : 15
8-
URL : https://files.pythonhosted.org/packages/ce/8c/2c5f7dc1b418f659d36c04dec9446612fc7b45c8095cc7369dd772513055/zipp-3.1.0.tar.gz
9-
Source0 : https://files.pythonhosted.org/packages/ce/8c/2c5f7dc1b418f659d36c04dec9446612fc7b45c8095cc7369dd772513055/zipp-3.1.0.tar.gz
6+
Version : 3.2.0
7+
Release : 16
8+
URL : https://files.pythonhosted.org/packages/30/a3/a67b64feac23b22c71ca2a4084387a6f205dc7cb4f0c67c755d6a4b29a7f/zipp-3.2.0.tar.gz
9+
Source0 : https://files.pythonhosted.org/packages/30/a3/a67b64feac23b22c71ca2a4084387a6f205dc7cb4f0c67c755d6a4b29a7f/zipp-3.2.0.tar.gz
1010
Summary : Backport of pathlib-compatible object wrapper for zip files
1111
Group : Development/Tools
1212
License : MIT
@@ -24,32 +24,9 @@ BuildRequires : virtualenv
2424

2525
%description
2626
.. image:: https://img.shields.io/pypi/v/zipp.svg
27-
:target: `PyPI link`_
28-
27+
:target: `PyPI link`_
2928
.. image:: https://img.shields.io/pypi/pyversions/zipp.svg
30-
:target: `PyPI link`_
31-
32-
.. _PyPI link: https://pypi.org/project/zipp
33-
34-
.. image:: https://dev.azure.com/jaraco/zipp/_apis/build/status/jaraco.zipp?branchName=master
35-
:target: https://dev.azure.com/jaraco/zipp/_build/latest?definitionId=1&branchName=master
36-
37-
.. image:: https://img.shields.io/travis/jaraco/zipp/master.svg
38-
:target: https://travis-ci.org/jaraco/zipp
39-
40-
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
41-
:target: https://github.com/psf/black
42-
:alt: Code style: Black
43-
44-
.. image:: https://img.shields.io/appveyor/ci/jaraco/zipp/master.svg
45-
:target: https://ci.appveyor.com/project/jaraco/zipp/branch/master
46-
47-
.. .. image:: https://readthedocs.org/projects/zipp/badge/?version=latest
48-
.. :target: https://zipp.readthedocs.io/en/latest/?badge=latest
49-
50-
51-
A pathlib-compatible Zipfile object wrapper. A backport of the
52-
`Path object <https://docs.python.org/3.8/library/zipfile.html#path-objects>`_.
29+
:target: `PyPI link`_
5330

5431
%package license
5532
Summary: license components for the zipp package.
@@ -79,23 +56,22 @@ python3 components for the zipp package.
7956

8057

8158
%prep
82-
%setup -q -n zipp-3.1.0
83-
cd %{_builddir}/zipp-3.1.0
59+
%setup -q -n zipp-3.2.0
60+
cd %{_builddir}/zipp-3.2.0
8461

8562
%build
8663
export http_proxy=http://127.0.0.1:9/
8764
export https_proxy=http://127.0.0.1:9/
8865
export no_proxy=localhost,127.0.0.1,0.0.0.0
8966
export LANG=C.UTF-8
90-
export SOURCE_DATE_EPOCH=1583254152
91-
# -Werror is for werrorists
67+
export SOURCE_DATE_EPOCH=1600878924
9268
export GCC_IGNORE_WERROR=1
9369
export AR=gcc-ar
9470
export RANLIB=gcc-ranlib
9571
export NM=gcc-nm
9672
export CFLAGS="$CFLAGS -O3 -ffat-lto-objects -flto=4 "
97-
export FCFLAGS="$CFLAGS -O3 -ffat-lto-objects -flto=4 "
98-
export FFLAGS="$CFLAGS -O3 -ffat-lto-objects -flto=4 "
73+
export FCFLAGS="$FFLAGS -O3 -ffat-lto-objects -flto=4 "
74+
export FFLAGS="$FFLAGS -O3 -ffat-lto-objects -flto=4 "
9975
export CXXFLAGS="$CXXFLAGS -O3 -ffat-lto-objects -flto=4 "
10076
export MAKEFLAGS=%{?_smp_mflags}
10177
python3 setup.py build
@@ -104,7 +80,7 @@ python3 setup.py build
10480
export MAKEFLAGS=%{?_smp_mflags}
10581
rm -rf %{buildroot}
10682
mkdir -p %{buildroot}/usr/share/package-licenses/zipp
107-
cp %{_builddir}/zipp-3.1.0/LICENSE %{buildroot}/usr/share/package-licenses/zipp/8e6689d37f82d5617b7f7f7232c94024d41066d1
83+
cp %{_builddir}/zipp-3.2.0/LICENSE %{buildroot}/usr/share/package-licenses/zipp/8e6689d37f82d5617b7f7f7232c94024d41066d1
10884
python3 -tt setup.py build install --root=%{buildroot}
10985
echo ----[ mark ]----
11086
cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || :

0 commit comments

Comments
 (0)