Skip to content

Commit f73f0ca

Browse files
committed
dev-python/pfzy: new package, add 0.3.4
Signed-off-by: Andreas Billmeier <[email protected]>
1 parent 7929a6b commit f73f0ca

File tree

4 files changed

+52
-2
lines changed

4 files changed

+52
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -612,11 +612,11 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
612612

613613
## Licenses
614614
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.
615-
There are 1689 Ebuilds in total, 1678 of them have in total 1698 (43 different) licenses assigned.
615+
There are 1691 Ebuilds in total, 1680 of them have in total 1700 (43 different) licenses assigned.
616616

617617
|License| Ebuilds using it|
618618
|-------|-----|
619-
|MIT|986|
619+
|MIT|988|
620620
|Apache-2.0|356|
621621
|GPL-3|96|
622622
|BSD|96|

dev-python/pfzy/Manifest

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
DIST pfzy-0.3.4.tar.gz 8396 BLAKE2B 62c3cd0a2ec9e430fa91e159e550eb3feae610a4a07646e5f3221c479c8d58b660dfc7ed8345d5e9a857aa01a39ee36400ce2849051af54ff91e2d35eb9d03cf SHA512 5ec3dfb8ab62bcf3018d6a3cf09158c25079d10ee657f7b9c094d4cfa948994148ac5710d701f505fc73ed51aeb5866eca1b3981bf7777e4d6aae36b05888385
2+
EBUILD pfzy-0.3.4.ebuild 636 BLAKE2B 1c75588461a8513f2412ed70083d48ac6f440c18f86af404126e69c4256f1d393a34bc39e35e6e5e052e466ca961cb2f29bbdd55a783b62bb80892674e2ab80d SHA512 62a263e134351019b14dfe0bce5581b481d4bd2c8ee3756a347fcf4bda9b159a0f51d3d417494fbe1342ffc7f01cc760653e1a2e5229a95e161045b85008b84d
3+
MISC metadata.xml 502 BLAKE2B 84f217fb02753680c1366a021493d679c6316f4b3f203eea7ba3f51044d6f199866bb10ba8f5f0cc253a1723a4461feed677873c49d56e597537bd0f616de246 SHA512 11e2cd40073b8e6c2ce349bd786d3e52f047e8152abba05e6ca4616d0152715c192ab4cea175dfe73d88bb517deef197eec183017e397b6cc59464d52deb7726

dev-python/pfzy/metadata.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
3+
<pkgmetadata>
4+
<maintainer type="project">
5+
<email>[email protected]</email>
6+
<name>Andreas Billmeier</name>
7+
</maintainer>
8+
<upstream>
9+
<remote-id type="pypi">pfzy</remote-id>
10+
<remote-id type="github">kazhala/pfzy</remote-id>
11+
<maintainer status="unknown">
12+
<email>[email protected]</email>
13+
<name>Kevin Zhuang</name>
14+
</maintainer>
15+
</upstream>
16+
</pkgmetadata>

dev-python/pfzy/pfzy-0.3.4.ebuild

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Copyright 1999-2023 Gentoo Authors
2+
# Distributed under the terms of the GNU General Public License v2
3+
4+
EAPI=8
5+
6+
PYTHON_COMPAT=( python3_{10..12} )
7+
DISTUTILS_USE_PEP517=poetry
8+
inherit distutils-r1 pypi
9+
10+
DESCRIPTION="Python port of the fzy fuzzy string matching algorithm"
11+
HOMEPAGE="https://github.com/kazhala/pfzy https://pypi.org/project/pfzy/"
12+
13+
LICENSE="MIT"
14+
SLOT="0"
15+
KEYWORDS="amd64 arm arm64 x86"
16+
IUSE="test"
17+
RESTRICT="!test? ( test )"
18+
19+
DOCS="README.md"
20+
21+
RDEPEND="dev-python/furo[${PYTHON_USEDEP}]"
22+
BDEPEND="
23+
test? (
24+
dev-python/pytest[${PYTHON_USEDEP}]
25+
)"
26+
27+
python_test() {
28+
py.test -v -v || die
29+
}
30+
31+
distutils_enable_tests pytest

0 commit comments

Comments
 (0)