commit: 0a4929e2e2005e730785db2d35e110836d8428c2 Author: Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru> AuthorDate: Sun Aug 27 23:06:37 2023 +0000 Commit: Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru> CommitDate: Sun Aug 27 23:06:37 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0a4929e2
dev-python/ahocorasick: new package, add 1.4.4, 9999 Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> ya.ru> dev-python/ahocorasick/Manifest | 1 + dev-python/ahocorasick/ahocorasick-1.4.4.ebuild | 23 +++++++++++++++++++++++ dev-python/ahocorasick/ahocorasick-9999.ebuild | 19 +++++++++++++++++++ dev-python/ahocorasick/metadata.xml | 25 +++++++++++++++++++++++++ 4 files changed, 68 insertions(+) diff --git a/dev-python/ahocorasick/Manifest b/dev-python/ahocorasick/Manifest new file mode 100644 index 0000000000..9215a590d8 --- /dev/null +++ b/dev-python/ahocorasick/Manifest @@ -0,0 +1 @@ +DIST pyahocorasick-1.4.4.tar.gz 89581 BLAKE2B c803883561623ef306fb91857dd1da1a85712ed1387c1449e88798018e8785bbcddc5fb8942f640ae454db03c05856169d1abc5c78a27c5962cc2f5b8fa3a60e SHA512 2b2ef6d99abe8e051feb943b02c58e9854118e4408d01b86b422d0576b204de081b2ea5d5fb775a0886e02d38d905e3331016771c67f412f97d0633f805dc250 diff --git a/dev-python/ahocorasick/ahocorasick-1.4.4.ebuild b/dev-python/ahocorasick/ahocorasick-1.4.4.ebuild new file mode 100644 index 0000000000..87ed789e7d --- /dev/null +++ b/dev-python/ahocorasick/ahocorasick-1.4.4.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +MY_PN="py${PN}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Python module implementing Aho-Corasick algorithm" +HOMEPAGE="https://github.com/WojciechMula/pyahocorasick" +SRC_URI="https://github.com/WojciechMula/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +S="${WORKDIR}/${MY_P}" + +distutils_enable_tests pytest diff --git a/dev-python/ahocorasick/ahocorasick-9999.ebuild b/dev-python/ahocorasick/ahocorasick-9999.ebuild new file mode 100644 index 0000000000..e1f7c570d4 --- /dev/null +++ b/dev-python/ahocorasick/ahocorasick-9999.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +EGIT_REPO_URI="https://github.com/WojciechMula/pyahocorasick.git" + +inherit distutils-r1 git-r3 + +DESCRIPTION="Python module implementing Aho-Corasick algorithm" +HOMEPAGE="https://github.com/WojciechMula/pyahocorasick" +SRC_URI="" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="" + +distutils_enable_tests pytest diff --git a/dev-python/ahocorasick/metadata.xml b/dev-python/ahocorasick/metadata.xml new file mode 100644 index 0000000000..9cce67520c --- /dev/null +++ b/dev-python/ahocorasick/metadata.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>spid...@spiderx.dp.ua</email> + <name>Vladimir Pavljuchenkov</name> + </maintainer> + <maintainer type="project"> + <email>proxy-ma...@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription lang="en"> + pyahocorasick is a fast and memory efficient library for exact or + approximate multi-pattern string search meaning that you can find + multiple key strings occurrences at once in some input text. + The library provides an ahocorasick Python module that you can use + as a plain dict-like Trie or convert a Trie to an automaton for + efficient Aho-Corasick search. + </longdescription> + <upstream> + <remote-id type="github">WojciechMula/pyahocorasick</remote-id> + <remote-id type="pypi">pyahocorasick</remote-id> + </upstream> +</pkgmetadata> +