%global _empty_manifest_terminate_build 0Name: python-diff-match-patchVersion: 20241021Release: 1Summary: Repackaging of Google's Diff Match and Patch libraries. Offers robust algorithms to perform the operations required for synchronizing plain text.License: Apache-2.0URL: https://github.com/diff-match-patch-python/diff-match-patchSource0: https://files.pythonhosted.org/packages/source/d/diff_match_patch/diff_match_patch-%{version}.tar.gzBuildArch: noarch%descriptionThe Diff Match and Patch libraries offer robust algorithms to perform the operations required for synchronizing plain text.%package -n python3-diff-match-patchSummary: Repackaging of Google's Diff Match and Patch libraries. Offers robust algorithms to perform the operations required for synchronizing plain text.Provides: python-diff-match-patch = %{version}-%{release}BuildRequires: python3-develBuildRequires: python3-pip python3-wheel python3-flit%description -n python3-diff-match-patchThe Diff Match and Patch libraries offer robust algorithms to perform the operations required for synchronizing plain text.%package helpSummary: Development documents and examples for diff-match-patchProvides: python3-diff-match-patch-doc%description helpThe Diff Match and Patch libraries offer robust algorithms to perform the operations required for synchronizing plain text.%prep%autosetup -n diff-match-patch-%{version}%build%pyproject_build%install%pyproject_install diff-match-patch==%{version}install -d -m755 %{buildroot}/%{_pkgdocdir}if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fiif [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fiif [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fiif [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fiif [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fiif [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fiif [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi%files -n python3-diff-match-patch%{python3_sitelib}/*%files help%{_docdir}/*%changelog* Tue Oct 14 2025 Yu Peng <yupeng@kylinos.cn> - 20241021-1- Upgrade to 20241021* Stop breaking surrogate pairs in toDelta()* Start tracking new upstream https://github.com/dmsnell/diff-match-patch* Removed imp usage in speedtest* Updated dev dependencies, use uv for dev workflows when available* Tested on Python 3.8-3.13* Untested on Python 3.7, will be unsupported in future release* Sat May 06 2023 wangjunqi <wangjunqi@kylinos.cn> - 20230430-1- Update package to version 20230430* Thu Sep 09 2021 Python_Bot <Python_Bot@openeuler.org> - 20200713.1-1- Package Init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
1. 开源生态
2. 协作、人、软件
3. 评估模型