diff options
Diffstat (limited to 'dev-python/diff-match-patch')
| -rw-r--r-- | dev-python/diff-match-patch/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/diff-match-patch/diff-match-patch-20181111.ebuild | 18 | ||||
| -rw-r--r-- | dev-python/diff-match-patch/metadata.xml | 26 |
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/diff-match-patch/Manifest b/dev-python/diff-match-patch/Manifest new file mode 100644 index 000000000000..6278567ccc5d --- /dev/null +++ b/dev-python/diff-match-patch/Manifest @@ -0,0 +1 @@ +DIST diff-match-patch-20181111.tar.gz 58554 BLAKE2B 2a74294bb9ac88447cdea794a9c3b44d705d93f7e0777d5e5ece4a306f43df47458a4ba0ec8b16624862a6e4540a605695c3a83ee7dad7749b22210ebe65705a SHA512 9b21726b9c0e350553533c14dd86cca823c6f98ab642e7166cf9348952a57b62bcb0576e3d6a3b76655ea1bcc8cef3fe7f33ffb068b5a4bfb4b4b521042484e6 diff --git a/dev-python/diff-match-patch/diff-match-patch-20181111.ebuild b/dev-python/diff-match-patch/diff-match-patch-20181111.ebuild new file mode 100644 index 000000000000..2bfeee2ef32b --- /dev/null +++ b/dev-python/diff-match-patch/diff-match-patch-20181111.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +DESCRIPTION="Diff, match and patch algorithms for plain text" +HOMEPAGE="https://pypi.org/project/diff-match-patch/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +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..a0b6be0095c5 --- /dev/null +++ b/dev-python/diff-match-patch/metadata.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches/> + <longdescription lang="en">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.</longdescription> + <upstream> + <remote-id type="pypi">diff-match-patch</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> |
