commit:     dfcc941de3a9f04c7f6b9aed88d6e97fdfafc789
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 19 10:46:27 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Aug 19 10:48:53 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfcc941d

dev-python/pylev: Modernize

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pylev/Manifest              |  1 +
 dev-python/pylev/pylev-1.4.0-r1.ebuild | 25 +++++++++++++++++++++++++
 2 files changed, 26 insertions(+)

diff --git a/dev-python/pylev/Manifest b/dev-python/pylev/Manifest
index 9add27a3a01c..fba4b3fc7099 100644
--- a/dev-python/pylev/Manifest
+++ b/dev-python/pylev/Manifest
@@ -1 +1,2 @@
+DIST pylev-1.4.0.gh.tar.gz 4895 BLAKE2B 
d49e153d308165dcdc06bad94013afa4ccc6d2a6ecff943a2718a8f9ab71bbacb9c0cf8b604dbf0c77322a8d0cbeba5ffaed13531a31210507f144f716f8e740
 SHA512 
3999adf04b159499a199b1aa66e2540904c689c50a407bf7e0cc0affe834ea289006d2fc73f65e4fcd486c755c580e9657dc5c67290dccb4704bebc6a4348de3
 DIST pylev-1.4.0.tar.gz 4895 BLAKE2B 
d49e153d308165dcdc06bad94013afa4ccc6d2a6ecff943a2718a8f9ab71bbacb9c0cf8b604dbf0c77322a8d0cbeba5ffaed13531a31210507f144f716f8e740
 SHA512 
3999adf04b159499a199b1aa66e2540904c689c50a407bf7e0cc0affe834ea289006d2fc73f65e4fcd486c755c580e9657dc5c67290dccb4704bebc6a4348de3

diff --git a/dev-python/pylev/pylev-1.4.0-r1.ebuild 
b/dev-python/pylev/pylev-1.4.0-r1.ebuild
new file mode 100644
index 000000000000..0baaed9b640d
--- /dev/null
+++ b/dev-python/pylev/pylev-1.4.0-r1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python Levenshtein implementation"
+HOMEPAGE="
+       https://github.com/toastdriven/pylev/
+       https://pypi.org/project/pylev/
+"
+SRC_URI="
+       https://github.com/toastdriven/pylev/archive/v${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+distutils_enable_tests unittest

Reply via email to