Hello community, here is the log from the commit of package gitlint for openSUSE:Factory checked in at 2020-08-18 12:25:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gitlint (Old) and /work/SRC/openSUSE:Factory/.gitlint.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gitlint" Tue Aug 18 12:25:30 2020 rev:3 rq:827516 version:0.13.1 Changes: -------- --- /work/SRC/openSUSE:Factory/gitlint/gitlint.changes 2019-07-05 13:49:14.501501751 +0200 +++ /work/SRC/openSUSE:Factory/.gitlint.new.3399/gitlint.changes 2020-08-18 12:25:41.387838563 +0200 @@ -1,0 +2,14 @@ +Sun Aug 16 23:17:13 UTC 2020 - Dirk Mueller <dmuel...@suse.com> + +- update to 0.13.1: + * Patch to enable --staged flag for pre-commit. + * Minor doc updates (#109) + Revert Commits are now recognized and ignored by default (#99) + --staged flag: gitlint can now detect meta-data (such as author details, changed files, etc) of staged/pre-commits. Useful when you use gitlint's commit-msg hook or precommit (#105) + * New branch properties on GitCommit and GitContext, useful when writing your own user-defined rules: commit.branches and commit.context.current_branch (#108) + * Python 3.8 support + * Python 3.4 no longer supported. Python 3.4 has reached EOL and an increasing + * Gitlint no longer crashes when acting on empty repositories (this only occurred in specific circumstances). + * Under-the-hood: dependencies updated, unit and integration test improvements, migrated from TravisCI to Github Actions. + +------------------------------------------------------------------- Old: ---- gitlint-0.11.0.tar.gz New: ---- gitlint-0.13.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gitlint.spec ++++++ --- /var/tmp/diff_new_pack.MkM0sn/_old 2020-08-18 12:25:43.455839426 +0200 +++ /var/tmp/diff_new_pack.MkM0sn/_new 2020-08-18 12:25:43.455839426 +0200 @@ -1,7 +1,7 @@ # # spec file for package gitlint # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,28 +16,26 @@ # -%define modname gitlint -Name: %{modname} -Version: 0.11.0 +Name: gitlint +Version: 0.13.1 Release: 0 Summary: Git commit message linter checking License: MIT Group: Development/Languages/Python -Url: https://github.com/jorisroovers/%{modname} -Source: https://pypi.io/packages/source/g/%{modname}/%{modname}-%{version}.tar.gz +URL: https://github.com/jorisroovers/%{name} +Source: https://pypi.io/packages/source/g/%{name}/%{name}-%{version}.tar.gz # PATCH-FIX-OPENSUSE relax-requirements.patch -- relax requirements to work with openSUSE Patch0: relax-requirements.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires(post): update-alternatives -Requires(postun): update-alternatives Requires: python-arrow >= 0.10.0 Requires: python-click >= 6.7 Requires: python-sh >= 1.12.14 +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch - %python_subpackages %description @@ -48,7 +46,7 @@ also easily customize it to your own liking. %prep -%setup -q -n %{name}-%{version} +%setup -q %patch0 -p1 %build @@ -56,19 +54,18 @@ %install %python_install -%python_clone -a %{buildroot}%{_bindir}/%{modname} +%python_clone -a %{buildroot}%{_bindir}/%{name} %fdupes %{buildroot}%{_prefix} %post -%python_install_alternative %{modname} +%python_install_alternative gitlint %postun -%python_uninstall_alternative {modname} +%python_uninstall_alternative gitlint %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE +%license LICENSE %{python_sitelib}/* -%python_alternative %{_bindir}/%{modname} +%python_alternative %{_bindir}/%{name} %changelog ++++++ gitlint-0.11.0.tar.gz -> gitlint-0.13.1.tar.gz ++++++ ++++ 2059 lines of diff (skipped) ++++++ relax-requirements.patch ++++++ --- /var/tmp/diff_new_pack.MkM0sn/_old 2020-08-18 12:25:43.567839472 +0200 +++ /var/tmp/diff_new_pack.MkM0sn/_new 2020-08-18 12:25:43.571839474 +0200 @@ -1,40 +1,30 @@ -diff -u -r gitlint-0.11.0/gitlint.egg-info/requires.txt gitlint-0.11.0.patched/gitlint.egg-info/requires.txt ---- gitlint-0.11.0/gitlint.egg-info/requires.txt 2019-03-13 14:16:59.000000000 +0100 -+++ gitlint-0.11.0.patched/gitlint.egg-info/requires.txt 2019-07-04 15:34:32.604844335 +0200 -@@ -1,9 +1,9 @@ --Click==6.7 --arrow==0.10.0 -+Click>=6.7 -+arrow>=0.10.0 - - [:python_version < "2.7"] --importlib==1.0.3 --ordereddict==1.1 -+importlib>=1.0.3 -+ordereddict>=1.1 +Index: gitlint-0.13.1/gitlint.egg-info/requires.txt +=================================================================== +--- gitlint-0.13.1.orig/gitlint.egg-info/requires.txt ++++ gitlint-0.13.1/gitlint.egg-info/requires.txt +@@ -1,5 +1,5 @@ +-Click==7.0 +-arrow==0.15.5 ++Click>=7.0 ++arrow>=0.15.5 [:sys_platform != "win32"] -sh==1.12.14 +sh>=1.12.14 -diff -u -r gitlint-0.11.0/setup.py gitlint-0.11.0.patched/setup.py ---- gitlint-0.11.0/setup.py 2019-03-13 13:26:51.000000000 +0100 -+++ gitlint-0.11.0.patched/setup.py 2019-07-04 15:33:46.932567901 +0200 -@@ -65,16 +65,16 @@ +Index: gitlint-0.13.1/setup.py +=================================================================== +--- gitlint-0.13.1.orig/setup.py ++++ gitlint-0.13.1/setup.py +@@ -66,12 +66,12 @@ setup( "License :: OSI Approved :: MIT License" ], install_requires=[ -- 'Click==6.7', -- 'arrow==0.10.0' -+ 'Click>=6.7', -+ 'arrow>=0.10.0' +- 'Click==7.0', +- 'arrow==0.15.5', ++ 'Click>=7.0', ++ 'arrow>=0.15.5', ], extras_require={ - ':python_version < "2.7"': [ -- 'importlib==1.0.3', -- 'ordereddict==1.1', -+ 'importlib>=1.0.3', -+ 'ordereddict>=1.1', - ], ':sys_platform != "win32"': [ - 'sh==1.12.14', + 'sh>=1.12.14',