mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
dev-python/ahocorasick: new package, add 1.4.4, 9999
Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
This commit is contained in:
1
dev-python/ahocorasick/Manifest
Normal file
1
dev-python/ahocorasick/Manifest
Normal file
@@ -0,0 +1 @@
|
|||||||
|
DIST pyahocorasick-1.4.4.tar.gz 89581 BLAKE2B c803883561623ef306fb91857dd1da1a85712ed1387c1449e88798018e8785bbcddc5fb8942f640ae454db03c05856169d1abc5c78a27c5962cc2f5b8fa3a60e SHA512 2b2ef6d99abe8e051feb943b02c58e9854118e4408d01b86b422d0576b204de081b2ea5d5fb775a0886e02d38d905e3331016771c67f412f97d0633f805dc250
|
||||||
23
dev-python/ahocorasick/ahocorasick-1.4.4.ebuild
Normal file
23
dev-python/ahocorasick/ahocorasick-1.4.4.ebuild
Normal file
@@ -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
|
||||||
19
dev-python/ahocorasick/ahocorasick-9999.ebuild
Normal file
19
dev-python/ahocorasick/ahocorasick-9999.ebuild
Normal file
@@ -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
|
||||||
25
dev-python/ahocorasick/metadata.xml
Normal file
25
dev-python/ahocorasick/metadata.xml
Normal file
@@ -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>spiderx@spiderx.dp.ua</email>
|
||||||
|
<name>Vladimir Pavljuchenkov</name>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>proxy-maint@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>
|
||||||
|
|
||||||
Reference in New Issue
Block a user