From e39157a422f4bae90d5420797e8c56a3e543c9e40b5f525b88c1293867aea444 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 17 Jan 2025 13:59:42 +0000 Subject: [PATCH] - 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 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + python-whatthepatch.changes | 62 ++++++++++++++++++++++++++++++++++ python-whatthepatch.spec | 66 +++++++++++++++++++++++++++++++++++++ whatthepatch-1.0.5.tar.gz | 3 ++ whatthepatch-1.0.6.tar.gz | 3 ++ whatthepatch-1.0.7.tar.gz | 3 ++ 7 files changed, 161 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-whatthepatch.changes create mode 100644 python-whatthepatch.spec create mode 100644 whatthepatch-1.0.5.tar.gz create mode 100644 whatthepatch-1.0.6.tar.gz create mode 100644 whatthepatch-1.0.7.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-whatthepatch.changes b/python-whatthepatch.changes new file mode 100644 index 0000000..c67cf2f --- /dev/null +++ b/python-whatthepatch.changes @@ -0,0 +1,62 @@ +------------------------------------------------------------------- +Fri Jan 17 11:52:06 UTC 2025 - John Paul Adrian Glaubitz + +- 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 + +- 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 + +- add sle15_python_module_pythons + +------------------------------------------------------------------- +Wed Aug 30 03:47:25 UTC 2023 - Tony Jones + +- 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 + +- 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 + +- 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 + +- Initial spec for v0.0.6 diff --git a/python-whatthepatch.spec b/python-whatthepatch.spec new file mode 100644 index 0000000..df50724 --- /dev/null +++ b/python-whatthepatch.spec @@ -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 diff --git a/whatthepatch-1.0.5.tar.gz b/whatthepatch-1.0.5.tar.gz new file mode 100644 index 0000000..fbd9c55 --- /dev/null +++ b/whatthepatch-1.0.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f374c172812581bc3763587525d14a143aac7fe4220bc4676ecce0d86cb8f08 +size 31850 diff --git a/whatthepatch-1.0.6.tar.gz b/whatthepatch-1.0.6.tar.gz new file mode 100644 index 0000000..155a61f --- /dev/null +++ b/whatthepatch-1.0.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b274b3294784f78b1e759b35b49b7ef2e8473a580aabf39e5b94a9f901e5de61 +size 31849 diff --git a/whatthepatch-1.0.7.tar.gz b/whatthepatch-1.0.7.tar.gz new file mode 100644 index 0000000..e9b3478 --- /dev/null +++ b/whatthepatch-1.0.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9eefb4ebea5200408e02d413d2b4bc28daea6b78bb4b4d53431af7245f7d7edf +size 34612