From a23a4c37bf7b887c1a4a5d7ca15eedbdf59cd098 Mon Sep 17 00:00:00 2001 From: Arjan van de Ven Date: Wed, 22 Jan 2020 17:23:06 +0000 Subject: [PATCH] zipp: Autospec creation for update from version 1.0.0 to version 2.0.0 Hugo van Kemenade (1): Spelling and capitalisation (#8) Jason R. Coombs (23): Python 3 only Enable coverage reporting on project Report the lines missing coverage Ensure that a late version of pip is installed without special versions of tox-venv. Disable tox-pip-version as it interacts badly with tox-venv causing tox to use the wrong Python version to install packages and run tests. Ref pglass/tox-pip-version#20 and tox-dev/tox-venv#40. Bring back tox-pip-version now that pglass/tox-pip-version#20 is fixed. Test/release on Python 3.8 Apply black to docs/conf.py Update black version and links Expect flake8 3.6 or later and remove suppression of warnings from Flake8 prior to 3.6. Rely on pytest-checkdocs 1.2.3, eliminating workaround for docutils warning. Remove workaround for gitlab.com/pycqa/flake8/issues/275, apparently no longer necessary. Normalize indentation Include keyring support from twine Rename 'build-docs' to simply 'docs' (matching more popular convention). Prefer 'path' to 'path.py' Cover Python 3.8 in Windows tests Update black in pre-commit and add blacken-docs. Test and release using Azure Pipelines Correct guidance on project creation. Update changelog to reflect dropped Python 3.5 support. Rely on setuptools_scm 3.4 and setuptools 42. Now setup.py is optional. Remove setuptools from test environment. Finish dropping support for Python 2 (I hope). johnthagen (1): Line wrap LICENSE file --- Makefile | 2 +- buildreq_cache | 2 +- options.conf | 2 +- release | 2 +- upstream | 2 +- versions | 2 +- zipp.license | 1 + zipp.spec | 29 +++++++---------------------- 8 files changed, 14 insertions(+), 28 deletions(-) create mode 100644 zipp.license diff --git a/Makefile b/Makefile index 014e2fb..c0026ad 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PKG_NAME := zipp -URL = https://files.pythonhosted.org/packages/d4/cd/ef86396dce8910413b6ca1ef31ec09367c47e15fc1a12def2cc8ae134dea/zipp-1.0.0.tar.gz +URL = https://files.pythonhosted.org/packages/ee/f7/6c3ca4764a8025da9422825c2bc367fdc8dd115ebb52e4ef057f234938c4/zipp-2.0.0.tar.gz ARCHIVES = include ../common/Makefile.common diff --git a/buildreq_cache b/buildreq_cache index 5227c84..46f36c3 100644 --- a/buildreq_cache +++ b/buildreq_cache @@ -1,3 +1,3 @@ -1.0.0 +2.0.0 setuptools setuptools_scm-python \ No newline at end of file diff --git a/options.conf b/options.conf index a45acf2..f44c05d 100644 --- a/options.conf +++ b/options.conf @@ -1,6 +1,6 @@ [package] name = zipp -url = https://files.pythonhosted.org/packages/d4/cd/ef86396dce8910413b6ca1ef31ec09367c47e15fc1a12def2cc8ae134dea/zipp-1.0.0.tar.gz +url = https://files.pythonhosted.org/packages/ee/f7/6c3ca4764a8025da9422825c2bc367fdc8dd115ebb52e4ef057f234938c4/zipp-2.0.0.tar.gz archives = giturl = https://github.com/jaraco/zipp.git domain = diff --git a/release b/release index 7f8f011..45a4fb7 100644 --- a/release +++ b/release @@ -1 +1 @@ -7 +8 diff --git a/upstream b/upstream index d71db8f..178e018 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -637bb8e7018a13d45ebdadb4cbb109ce3bee2c5d/zipp-1.0.0.tar.gz +b2235ae70408d8ea125fb1504cae9960883a8a04/zipp-2.0.0.tar.gz diff --git a/versions b/versions index 3eefcb9..227cea2 100644 --- a/versions +++ b/versions @@ -1 +1 @@ -1.0.0 +2.0.0 diff --git a/zipp.license b/zipp.license new file mode 100644 index 0000000..8ab70c0 --- /dev/null +++ b/zipp.license @@ -0,0 +1 @@ +MIT \ No newline at end of file diff --git a/zipp.spec b/zipp.spec index b4b37ea..4572859 100644 --- a/zipp.spec +++ b/zipp.spec @@ -3,14 +3,13 @@ # Generated by: autospec.py # Name : zipp -Version : 1.0.0 -Release : 7 -URL : https://files.pythonhosted.org/packages/d4/cd/ef86396dce8910413b6ca1ef31ec09367c47e15fc1a12def2cc8ae134dea/zipp-1.0.0.tar.gz -Source0 : https://files.pythonhosted.org/packages/d4/cd/ef86396dce8910413b6ca1ef31ec09367c47e15fc1a12def2cc8ae134dea/zipp-1.0.0.tar.gz +Version : 2.0.0 +Release : 8 +URL : https://files.pythonhosted.org/packages/ee/f7/6c3ca4764a8025da9422825c2bc367fdc8dd115ebb52e4ef057f234938c4/zipp-2.0.0.tar.gz +Source0 : https://files.pythonhosted.org/packages/ee/f7/6c3ca4764a8025da9422825c2bc367fdc8dd115ebb52e4ef057f234938c4/zipp-2.0.0.tar.gz Summary : Backport of pathlib-compatible object wrapper for zip files Group : Development/Tools License : MIT -Requires: zipp-license = %{version}-%{release} Requires: zipp-python = %{version}-%{release} Requires: zipp-python3 = %{version}-%{release} Requires: more-itertools @@ -28,14 +27,6 @@ BuildRequires : virtualenv .. image:: https://img.shields.io/pypi/v/zipp.svg :target: https://pypi.org/project/zipp -%package license -Summary: license components for the zipp package. -Group: Default - -%description license -license components for the zipp package. - - %package python Summary: python components for the zipp package. Group: Default @@ -55,15 +46,15 @@ python3 components for the zipp package. %prep -%setup -q -n zipp-1.0.0 -cd %{_builddir}/zipp-1.0.0 +%setup -q -n zipp-2.0.0 +cd %{_builddir}/zipp-2.0.0 %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=1578970010 +export SOURCE_DATE_EPOCH=1579713781 # -Werror is for werrorists export GCC_IGNORE_WERROR=1 export AR=gcc-ar @@ -79,8 +70,6 @@ python3 setup.py build %install export MAKEFLAGS=%{?_smp_mflags} rm -rf %{buildroot} -mkdir -p %{buildroot}/usr/share/package-licenses/zipp -cp %{_builddir}/zipp-1.0.0/LICENSE %{buildroot}/usr/share/package-licenses/zipp/a1474494d96f6ddb3a9a0d767a09871ffc388faf python3 -tt setup.py build install --root=%{buildroot} echo ----[ mark ]---- cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || : @@ -89,10 +78,6 @@ echo ----[ mark ]---- %files %defattr(-,root,root,-) -%files license -%defattr(0644,root,root,0755) -/usr/share/package-licenses/zipp/a1474494d96f6ddb3a9a0d767a09871ffc388faf - %files python %defattr(-,root,root,-)