From ecdac123787b96ce6649f0f91da12ea6458cc2b1 Mon Sep 17 00:00:00 2001 From: Palica Date: Tue, 23 Jun 2020 22:35:08 +0200 Subject: Updating liguros repo --- dev-python/pytrie/Manifest | 1 + dev-python/pytrie/metadata.xml | 24 ++++++++++++++++++++++++ dev-python/pytrie/pytrie-0.3.1-r1.ebuild | 23 +++++++++++++++++++++++ 3 files changed, 48 insertions(+) create mode 100644 dev-python/pytrie/Manifest create mode 100644 dev-python/pytrie/metadata.xml create mode 100644 dev-python/pytrie/pytrie-0.3.1-r1.ebuild (limited to 'dev-python/pytrie') diff --git a/dev-python/pytrie/Manifest b/dev-python/pytrie/Manifest new file mode 100644 index 000000000000..59d298f575e6 --- /dev/null +++ b/dev-python/pytrie/Manifest @@ -0,0 +1 @@ +DIST pytrie-0.3.1.tar.gz 94678 BLAKE2B 12631652ea33d2f1575f86bc8c42982543f8fa146debc9cb86e1139ff089f0657e04e50bad97b9bc344f4a270d102ee98e03fd389eb2c56ba3baac32b2288670 SHA512 72cb4ffff53d01545658b27b6c0b798736404f95013bfe34586c51c8823cc923ac4b3a8e874a938b26e3045784ce98ce2d8e51ab70dc435ff50075ffaf9d6c51 diff --git a/dev-python/pytrie/metadata.xml b/dev-python/pytrie/metadata.xml new file mode 100644 index 000000000000..ba771f10e098 --- /dev/null +++ b/dev-python/pytrie/metadata.xml @@ -0,0 +1,24 @@ + + + + + python@gentoo.org + Python + + + + george.sakkis@gmail.com + George Sakkis + + PyTrie + gsakkis/pytrie + + + A *trie* is an ordered tree data structure that is used to store a + mapping where the keys are sequences, usually strings over an alphabet. + In addition to implementing the mapping interface, tries allow finding + the items for a given prefix, and vice versa, finding the items whose + keys are prefixes of a given key. + + gentoo-staging + diff --git a/dev-python/pytrie/pytrie-0.3.1-r1.ebuild b/dev-python/pytrie/pytrie-0.3.1-r1.ebuild new file mode 100644 index 000000000000..fc5d1d89a7ad --- /dev/null +++ b/dev-python/pytrie/pytrie-0.3.1-r1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +MY_PN="PyTrie" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="A pure Python implementation of the trie data structure" +HOMEPAGE="https://github.com/gsakkis/pytrie/ https://pypi.org/project/PyTrie/" +SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 arm ~arm64 x86 ~amd64-linux ~x86-linux" + +RDEPEND="dev-python/sortedcontainers[${PYTHON_USEDEP}]" + +distutils_enable_tests setup.py -- cgit v1.3.1