From f73f0ca10c764535e182377bcc40637e387daa42 Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Sun, 10 Dec 2023 10:54:11 +0100 Subject: [PATCH] dev-python/pfzy: new package, add 0.3.4 Signed-off-by: Andreas Billmeier --- README.md | 4 ++-- dev-python/pfzy/Manifest | 3 +++ dev-python/pfzy/metadata.xml | 16 ++++++++++++++++ dev-python/pfzy/pfzy-0.3.4.ebuild | 31 +++++++++++++++++++++++++++++++ 4 files changed, 52 insertions(+), 2 deletions(-) create mode 100644 dev-python/pfzy/Manifest create mode 100644 dev-python/pfzy/metadata.xml create mode 100644 dev-python/pfzy/pfzy-0.3.4.ebuild diff --git a/README.md b/README.md index 9d3c30030..1eeca2126 100644 --- a/README.md +++ b/README.md @@ -612,11 +612,11 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E ## Licenses This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted. -There are 1689 Ebuilds in total, 1678 of them have in total 1698 (43 different) licenses assigned. +There are 1691 Ebuilds in total, 1680 of them have in total 1700 (43 different) licenses assigned. |License| Ebuilds using it| |-------|-----| -|MIT|986| +|MIT|988| |Apache-2.0|356| |GPL-3|96| |BSD|96| diff --git a/dev-python/pfzy/Manifest b/dev-python/pfzy/Manifest new file mode 100644 index 000000000..2823281a1 --- /dev/null +++ b/dev-python/pfzy/Manifest @@ -0,0 +1,3 @@ +DIST pfzy-0.3.4.tar.gz 8396 BLAKE2B 62c3cd0a2ec9e430fa91e159e550eb3feae610a4a07646e5f3221c479c8d58b660dfc7ed8345d5e9a857aa01a39ee36400ce2849051af54ff91e2d35eb9d03cf SHA512 5ec3dfb8ab62bcf3018d6a3cf09158c25079d10ee657f7b9c094d4cfa948994148ac5710d701f505fc73ed51aeb5866eca1b3981bf7777e4d6aae36b05888385 +EBUILD pfzy-0.3.4.ebuild 636 BLAKE2B 1c75588461a8513f2412ed70083d48ac6f440c18f86af404126e69c4256f1d393a34bc39e35e6e5e052e466ca961cb2f29bbdd55a783b62bb80892674e2ab80d SHA512 62a263e134351019b14dfe0bce5581b481d4bd2c8ee3756a347fcf4bda9b159a0f51d3d417494fbe1342ffc7f01cc760653e1a2e5229a95e161045b85008b84d +MISC metadata.xml 502 BLAKE2B 84f217fb02753680c1366a021493d679c6316f4b3f203eea7ba3f51044d6f199866bb10ba8f5f0cc253a1723a4461feed677873c49d56e597537bd0f616de246 SHA512 11e2cd40073b8e6c2ce349bd786d3e52f047e8152abba05e6ca4616d0152715c192ab4cea175dfe73d88bb517deef197eec183017e397b6cc59464d52deb7726 diff --git a/dev-python/pfzy/metadata.xml b/dev-python/pfzy/metadata.xml new file mode 100644 index 000000000..b811d8266 --- /dev/null +++ b/dev-python/pfzy/metadata.xml @@ -0,0 +1,16 @@ + + + + + b@edevau.net + Andreas Billmeier + + + pfzy + kazhala/pfzy + + kevin7441@gmail.com + Kevin Zhuang + + + diff --git a/dev-python/pfzy/pfzy-0.3.4.ebuild b/dev-python/pfzy/pfzy-0.3.4.ebuild new file mode 100644 index 000000000..449773d75 --- /dev/null +++ b/dev-python/pfzy/pfzy-0.3.4.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=poetry +inherit distutils-r1 pypi + +DESCRIPTION="Python port of the fzy fuzzy string matching algorithm" +HOMEPAGE="https://github.com/kazhala/pfzy https://pypi.org/project/pfzy/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS="README.md" + +RDEPEND="dev-python/furo[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + )" + +python_test() { + py.test -v -v || die +} + +distutils_enable_tests pytest