commit: cbb09256e16cc90c7b8ba7045adce229850a2234
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Sat Sep 7 12:54:55 2024 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Sat Sep 7 12:54:55 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cbb09256
dev-python/bidict: add 0.23.1
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
dev-python/bidict/Manifest | 1 +
dev-python/bidict/bidict-0.23.1.ebuild | 45 ++++++++++++++++++++++++++++++++++
2 files changed, 46 insertions(+)
diff --git a/dev-python/bidict/Manifest b/dev-python/bidict/Manifest
index eaefb5239..c26be0a1e 100644
--- a/dev-python/bidict/Manifest
+++ b/dev-python/bidict/Manifest
@@ -1 +1,2 @@
DIST bidict-0.22.1.gh.tar.gz 181134 BLAKE2B
aa8606d2d48da1f8a4756bcaf450527c867f67fe284a95299df54b3c711d28d60b869a41d4494f16580c37f197263918bdd9e3d2c6bc347497caa85b4b4dd425
SHA512
c85355125fa0a56c8e763e9c2662be52ca753827d06276adcbe60d87265095e7e59669ec1e4bf3361301a3ae942a9aa47b084f8c3a4a066041d54e353e7b2ea8
+DIST bidict-0.23.1.gh.tar.gz 390680 BLAKE2B
f114ee35f7f3c1cb6e9094f52ce776c976c8b94e0cb9891eec62772eddfdf8735549ea710359cfaaba28f71d7bf96057cc65533a771f9b33a37935e93e152aef
SHA512
795e29b61c1717dd34807c60ce598fc6a142decebd0545378bdc728f397e2050f52cf11212075ba60e22553031e9727fcbaae26891f531219075f6f58e457d05
diff --git a/dev-python/bidict/bidict-0.23.1.ebuild
b/dev-python/bidict/bidict-0.23.1.ebuild
new file mode 100644
index 000000000..5742834d4
--- /dev/null
+++ b/dev-python/bidict/bidict-0.23.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1
+
+DESCRIPTION="The bidirectional mapping library for Python"
+HOMEPAGE="
+ https://pypi.org/project/bidict/
+ https://github.com/jab/bidict
+"
+SRC_URI="https://github.com/jab/${PN}/archive/refs/tags/v${PV}.tar.gz ->
${P}.gh.tar.gz"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="
+ test? (
+ dev-python/hypothesis[${PYTHON_USEDEP}]
+ dev-python/sortedcontainers[${PYTHON_USEDEP}]
+ dev-python/sortedcollections[${PYTHON_USEDEP}]
+ dev-python/typing-extensions[${PYTHON_USEDEP}]
+ )
+"
+
+DOCS=( {CHANGELOG,README,SECURITY}.rst )
+
+EPYTEST_IGNORE=( tests/test_microbenchmarks.py )
+
+distutils_enable_tests pytest
+
+distutils_enable_sphinx docs \
+ dev-python/furo
+
+src_prepare() {
+ distutils-r1_src_prepare
+
+ sed -i pytest.ini \
+ -e "/--numprocesses/d" \
+ -e "/--benchmark/d" || die
+}