14
0

- Update to 1.0.7

* PR #62 fix: incorrect regular expression matching diffcmd
  * Support up to 3.13
  * Drop support up to 3.8

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-whatthepatch?expand=0&rev=15
This commit is contained in:
2025-01-17 13:59:42 +00:00
committed by Git OBS Bridge
commit e39157a422
7 changed files with 161 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,62 @@
-------------------------------------------------------------------
Fri Jan 17 11:52:06 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.0.7
* PR #62 fix: incorrect regular expression matching diffcmd
* Support up to 3.13
* Drop support up to 3.8
-------------------------------------------------------------------
Mon Sep 23 09:23:18 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.0.6:
* Bump black from 22.10.0 to 24.3.0
* Improve huge_patch test
-------------------------------------------------------------------
Thu Nov 9 02:39:23 UTC 2023 - Giacomo Comes <gcomes.obs@gmail.com>
- add sle15_python_module_pythons
-------------------------------------------------------------------
Wed Aug 30 03:47:25 UTC 2023 - Tony Jones <tonyj@suse.com>
- Update to v1.0.5
* bugfix:min line in binary diff (#57)
- from v1.0.4
* git binary patch explore (#53)
* nixify (#54)
* Rename default branch on build yaml (#52)
* Remove redundant wheel dep from pyproject.toml (#51)
-------------------------------------------------------------------
Sun Nov 13 22:40:19 UTC 2022 - John Vandenberg <jayvdb@gmail.com>
- Drop no-nose.patch merged upstream
- Update to v1.0.3
* Code optimization for unified diff parsing
* Package using build module and pyproject.toml
* Support up to 3.11
* Drop support up to 3.6
- from v1.0.2
* Support up to 3.9
* Fix unified diff parse error
- from v1.0.1
* Replace nose with pytest
* Fix bug where context diffs would not parse
-------------------------------------------------------------------
Tue Jul 21 13:05:20 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- update to 1.0.0
* Issue #26 fix where hardcoded "/tmp" reference was being used
* Support up to Python 3.8
* Drop support for Python 2, 3.4
* Bump Code of Conduct to 2.0
- Add patch to build without nose:
* no-nose.patch
-------------------------------------------------------------------
Thu Aug 8 01:28:12 AM UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Initial spec for v0.0.6

66
python-whatthepatch.spec Normal file
View File

@@ -0,0 +1,66 @@
#
# spec file for package python-whatthepatch
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
%define skip_python2 1
Name: python-whatthepatch
Version: 1.0.7
Release: 0
Summary: A patch parsing and application library
License: MIT
Group: Development/Languages/Python
URL: https://github.com/cscorley/whatthepatch
Source: https://files.pythonhosted.org/packages/source/w/whatthepatch/whatthepatch-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: dos2unix
BuildRequires: ed
BuildRequires: fdupes
BuildRequires: patch
BuildRequires: python-rpm-macros
Requires: ed
Requires: patch
BuildArch: noarch
%python_subpackages
%description
A patch parsing and application library.
%prep
%setup -q -n whatthepatch-%{version}
dos2unix README.rst
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest tests
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/whatthepatch*/
%changelog

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7f374c172812581bc3763587525d14a143aac7fe4220bc4676ecce0d86cb8f08
size 31850

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b274b3294784f78b1e759b35b49b7ef2e8473a580aabf39e5b94a9f901e5de61
size 31849

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9eefb4ebea5200408e02d413d2b4bc28daea6b78bb4b4d53431af7245f7d7edf
size 34612