From bfd9c39e4712ebdb442d4ca0673061faed1e70e1 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 4 Jun 2026 05:48:38 -0500 Subject: Revert "Adding metadata" This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704. --- dev-python/diff-match-patch/Manifest | 1 + .../diff-match-patch-20241021.ebuild | 21 +++++++++++++++++ dev-python/diff-match-patch/metadata.xml | 26 ++++++++++++++++++++++ 3 files changed, 48 insertions(+) create mode 100644 dev-python/diff-match-patch/Manifest create mode 100644 dev-python/diff-match-patch/diff-match-patch-20241021.ebuild create mode 100644 dev-python/diff-match-patch/metadata.xml (limited to 'dev-python/diff-match-patch') diff --git a/dev-python/diff-match-patch/Manifest b/dev-python/diff-match-patch/Manifest new file mode 100644 index 000000000000..dd9eee540fd2 --- /dev/null +++ b/dev-python/diff-match-patch/Manifest @@ -0,0 +1 @@ +DIST diff_match_patch-20241021.tar.gz 39962 BLAKE2B 798eb10166ec05226a017ca3718cf721dc48ee6bf16915779245bc7b29a000c6605f332834a7da45ffd6de9344853e1e5d3a95054c3aa73c7c995a9ea7ffa9be SHA512 23bdf81a159358f668e4adb1771780bef6cf14fc1bc90c76700d3339e35a2c00b61a72ef7cdabd0abc079c3aa8606ea91cef4d936c47b95b4fd94483c927daf5 diff --git a/dev-python/diff-match-patch/diff-match-patch-20241021.ebuild b/dev-python/diff-match-patch/diff-match-patch-20241021.ebuild new file mode 100644 index 000000000000..066f50471a36 --- /dev/null +++ b/dev-python/diff-match-patch/diff-match-patch-20241021.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Diff, match and patch algorithms for plain text" +HOMEPAGE=" + https://github.com/diff-match-patch-python/diff-match-patch/ + https://pypi.org/project/diff-match-patch/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 arm64 x86" + +distutils_enable_tests pytest diff --git a/dev-python/diff-match-patch/metadata.xml b/dev-python/diff-match-patch/metadata.xml new file mode 100644 index 000000000000..3a1754d7588c --- /dev/null +++ b/dev-python/diff-match-patch/metadata.xml @@ -0,0 +1,26 @@ + + + + + python@gentoo.org + Python + + + The Diff Match and Patch libraries offer robust algorithms to perform + the operations required for synchronizing plain text. + Diff: Compare two blocks of plain text and efficiently return a list of + differences. + Match: Given a search string, find its best fuzzy match in a block of + plain text. Weighted for both accuracy and location. + Patch: Apply a list of patches onto plain text. Use best-effort to apply + patch even when the underlying text doesn't match. + Diff Match and Patch libraries are currently available in Java, + JavaScript, C++, C#, Objective C, Lua and Python, although this package + contains only Python implementation. Regardless of language, each + library features the same API and the same functionality. All versions + also have comprehensive test harnesses. + + diff-match-patch-python/diff-match-patch + diff-match-patch + + -- cgit v1.3.1