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

Commit

Permalink
zipp: Autospec creation for update from version 1.0.0 to version 2.0.0
Browse files Browse the repository at this point in the history
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
  • Loading branch information
fenrus75 committed Jan 22, 2020
1 parent 504225b commit a23a4c3
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 28 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion buildreq_cache
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
1.0.0
2.0.0
setuptools
setuptools_scm-python
2 changes: 1 addition & 1 deletion options.conf
Original file line number Diff line number Diff line change
@@ -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 =
Expand Down
2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7
8
2 changes: 1 addition & 1 deletion upstream
Original file line number Diff line number Diff line change
@@ -1 +1 @@
637bb8e7018a13d45ebdadb4cbb109ce3bee2c5d/zipp-1.0.0.tar.gz
b2235ae70408d8ea125fb1504cae9960883a8a04/zipp-2.0.0.tar.gz
2 changes: 1 addition & 1 deletion versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0
2.0.0
1 change: 1 addition & 0 deletions zipp.license
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
MIT
29 changes: 7 additions & 22 deletions zipp.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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 || :
Expand All @@ -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,-)

Expand Down

0 comments on commit a23a4c3

Please sign in to comment.