summaryrefslogtreecommitdiff
path: root/dev-python/pytrie
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
commitb590c8d7572b727d565cc0b8ff660d43569845de (patch)
tree06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/pytrie
parent24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff)
downloadbaldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip
Adding metadata
Diffstat (limited to 'dev-python/pytrie')
-rw-r--r--dev-python/pytrie/Manifest1
-rw-r--r--dev-python/pytrie/metadata.xml23
-rw-r--r--dev-python/pytrie/pytrie-0.4.0-r1.ebuild34
3 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/pytrie/Manifest b/dev-python/pytrie/Manifest
new file mode 100644
index 000000000000..693b96c68c71
--- /dev/null
+++ b/dev-python/pytrie/Manifest
@@ -0,0 +1 @@
+DIST PyTrie-0.4.0.tar.gz 95139 BLAKE2B de57b4c36429c3e2d9ec7cb89e6515fd0a131e890bbfec17797a9a03b932ca2370cf283c67b4a99bb742b275c6f005789af410b875e857d30e6ba9e959403899 SHA512 c951568774c1e35d2b2bd5a52e5368da5ef2ffc83476d60882aa842debcd53c5eb0ed19f497a09f78c6a736ffba57702eda3aa0f3afa74dd0d1e770c17885c74
diff --git a/dev-python/pytrie/metadata.xml b/dev-python/pytrie/metadata.xml
new file mode 100644
index 000000000000..56afc58071a8
--- /dev/null
+++ b/dev-python/pytrie/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <stabilize-allarches />
+ <upstream>
+ <maintainer>
+ <email>george.sakkis@gmail.com</email>
+ <name>George Sakkis</name>
+ </maintainer>
+ </upstream>
+ <longdescription>
+ 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.
+ </longdescription>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>
diff --git a/dev-python/pytrie/pytrie-0.4.0-r1.ebuild b/dev-python/pytrie/pytrie-0.4.0-r1.ebuild
new file mode 100644
index 000000000000..e7a112c3eb4e
--- /dev/null
+++ b/dev-python/pytrie/pytrie-0.4.0-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYPI_PN="PyTrie"
+PYTHON_COMPAT=( python3_{13..14} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A pure Python implementation of the trie data structure"
+HOMEPAGE="
+ https://github.com/gsakkis/pytrie/
+ https://pypi.org/project/PyTrie/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 arm arm64 ~riscv ~sparc x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-python/sortedcontainers[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/test[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests unittest