From a6cfb3e2d81d0e6c355b19348bdebeb62b57f4007646eab9e32b359a459d2dc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 3 Jun 2025 09:14:18 +0000 Subject: [PATCH] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-patiencediff?expand=0&rev=24 --- .gitattributes | 23 +++++++++ .gitignore | 1 + patiencediff-0.2.15.tar.gz | 3 ++ python-patiencediff.changes | 95 +++++++++++++++++++++++++++++++++++++ python-patiencediff.spec | 69 +++++++++++++++++++++++++++ 5 files changed, 191 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 patiencediff-0.2.15.tar.gz create mode 100644 python-patiencediff.changes create mode 100644 python-patiencediff.spec 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/patiencediff-0.2.15.tar.gz b/patiencediff-0.2.15.tar.gz new file mode 100644 index 0000000..a751963 --- /dev/null +++ b/patiencediff-0.2.15.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d00911efd32e3bc886c222c3a650291440313ee94ac857031da6cc3be7935204 +size 27483 diff --git a/python-patiencediff.changes b/python-patiencediff.changes new file mode 100644 index 0000000..94fa4a7 --- /dev/null +++ b/python-patiencediff.changes @@ -0,0 +1,95 @@ +------------------------------------------------------------------- +Tue Jun 3 09:13:27 UTC 2025 - Markéta Machová + +- Convert to pip-based build + +------------------------------------------------------------------- +Tue May 7 13:17:58 UTC 2024 - Dirk Müller + +- update to 0.2.15: + * Update README.rst + * Add dependabot config + * Bump actions/setup-python from 2 to 5 + * Bump docker/setup-qemu-action from 1 to 3 + * Bump actions/checkout from 2 to 4 + * Publish wheels from github + * Drop python 3.7 support + +------------------------------------------------------------------- +Tue Dec 12 13:40:20 UTC 2023 - Dirk Müller + +- update to 0.2.14: + * Sort Python import definitions with isort + * Use disperse action + * Enable ruff, pyupgrade + +------------------------------------------------------------------- +Mon Jan 2 20:02:11 UTC 2023 - Dirk Müller + +- update to 0.2.12: + * install patiencediff + * drop python 3.6 + +------------------------------------------------------------------- +Tue Dec 13 15:48:46 UTC 2022 - Yogalakshmi Arunachalam + +- Update to version 0.2.11 + * Merge release of 0.2.11 + * Merge pull request #34 from jelmer/release-0.2.11 + +------------------------------------------------------------------- +Tue Dec 6 04:03:14 UTC 2022 - Yogalakshmi Arunachalam + +- Update to version 0.2.10 + * Merge pull request #33 from jelmer/release-0.2.10 + Merge release of 0.2.10 + +- Update to version 0.2.9 + * Merge pull request #32 from jelmer/release-0.2.9 + Merge release of 0.2.9 + +- Update to version 0.2.8 + * Merge pull request #31 from jelmer/bump-version + * Bump version to 0.2.8 +------------------------------------------------------------------- +Wed Nov 9 16:18:18 UTC 2022 - Yogalakshmi Arunachalam + +- Update to version 0.2.7 + * Make C extension mandatory when running in cibuildwheel. + * Use more metadata to setup.cfg, use standard optional flag. + * Fix path. + * Remove other unused dependencies from pyproject.toml + * Remove redundant wheel dep from pyproject.toml + +------------------------------------------------------------------- +Fri Oct 28 18:39:37 UTC 2022 - Yogalakshmi Arunachalam + +- Update to version 0.2.6 + * Fix path. + +- Update to version 0.2.4 + * Merge pull request #21 from jelmer/pyproject + * Add pyproject, depend on cython + +------------------------------------------------------------------- +Wed Oct 12 13:57:47 UTC 2022 - Yogalakshmi Arunachalam + +- Update to version 0.2.3 + * No Upstream changelog + +------------------------------------------------------------------- +Fri Jul 15 23:43:59 UTC 2022 - John Vandenberg + +- Add package specific URL + +------------------------------------------------------------------- +Sat Mar 26 14:25:57 UTC 2022 - Dirk Müller + +- update to 0.2.2: + * fix license declaration + +------------------------------------------------------------------- +Wed Jun 10 11:05:23 UTC 2020 - pgajdos@suse.com + +- initial version 0.2.0, required by breezy + diff --git a/python-patiencediff.spec b/python-patiencediff.spec new file mode 100644 index 0000000..c2d4ae5 --- /dev/null +++ b/python-patiencediff.spec @@ -0,0 +1,69 @@ +# +# spec file for package python-patiencediff +# +# 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/ +# + + +Name: python-patiencediff +Version: 0.2.15 +Release: 0 +Summary: Python implementation of the patiencediff algorithm +License: GPL-2.0-or-later +Group: Development/Languages/Python +URL: https://github.com/breezy-team/patiencediff +Source: https://files.pythonhosted.org/packages/source/p/patiencediff/patiencediff-%{version}.tar.gz +BuildRequires: %{python_module devel >= 3.7} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires(post): alts +Requires(preun): alts +%python_subpackages + +%description +Python implementation of the patiencediff algorithm. + +%prep +%setup -q -n patiencediff-%{version} + +%build +export CFLAGS="%{optflags}" +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} +%python_clone -a %{buildroot}%{_bindir}/patiencediff + +%post +%python_install_alternative patiencediff + +%postun +%python_uninstall_alternative patiencediff + +%check +%pytest + +%files %{python_files} +%doc AUTHORS README.rst +%license COPYING +%python_alternative %{_bindir}/patiencediff +%{python_sitearch}/patiencediff +%{python_sitearch}/patiencediff-%{version}*-info + +%changelog