From cd7a413e15e712db6297287e56cfd02884a3c73d Mon Sep 17 00:00:00 2001 From: bakedsnake Date: Fri, 6 Nov 2026 17:40:56 +0100 Subject: [PATCH] dev-python/nab-index: add 0.0.23 Signed-off-by: bakedsnake --- dev-python/nab-index/Manifest | 2 + dev-python/nab-index/nab-index-0.0.23.ebuild | 51 ++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 dev-python/nab-index/nab-index-0.0.23.ebuild diff --git a/dev-python/nab-index/Manifest b/dev-python/nab-index/Manifest index 8a7b3079ae..dd0e3d3f29 100644 --- a/dev-python/nab-index/Manifest +++ b/dev-python/nab-index/Manifest @@ -1,2 +1,4 @@ DIST nab_index-0.0.22.tar.gz 110621 BLAKE2B 0035db4909a8a3492192463b45a98dd95c1d41e30e9d76f3ceb84ad31d003577ab91a86e2bee73ef04e0f71244cf2b9cf154a0c5b37126b3837539214729ddd7 SHA512 0df1c2a9447247eafffc1dd07200099b24a86ffc1d41def6136e38e7b2715e21b466be4d3df70daa8dcfdb568f0c5247be6404b8f659b56d36aa2755b16b56bc DIST nab_index-0.0.22.tar.gz.provenance 9988 BLAKE2B f458658a014574064ae6d357a57a2035897586266a89ee9ea40259e2215dbf2087db94daee78cf591e87122132cd937a870ea3096eba0444bcbb1ce5a9a87809 SHA512 4a6a04b85cfec89116e8aa265814892329653ca9d9e379f0d8ca9dca179fa07371226d6b5fbf7b98ea69e7ab30a4715b9942a71973dd9eb319cb8145b0f11dca +DIST nab_index-0.0.23.tar.gz 124241 BLAKE2B cf25e108c09691b0540cd35b64a9f0eec440ab897affbdcfb293011d5ba51f74d334216e3bc8293bb5334ef986ac006373189beddbff71595d162a7bc19e4285 SHA512 9ad22c682500e474402d65dad02353b47812561d51988c39ceec26ddc79df72b36576b314ab67c9d84259ce5987cd0c72c8c84f1974339d8abf77eb5c92aa804 +DIST nab_index-0.0.23.tar.gz.provenance 9745 BLAKE2B e75efd3c81593782d10d303e73108b16a826249d4b3cc868848ffdb0570b5fe1e192fd16cfc48d7ca62fed6b9ea3540acac4cdfb26bdb05db1c51eff2514f667 SHA512 6b09c2c01f572601b87fe869676d04b432649799b44f75533ebeb327978f07bcb97aefd5182eceaad1d1397eb5ceb7336f681948bc62ac500a9f145b5451d1f9 diff --git a/dev-python/nab-index/nab-index-0.0.23.ebuild b/dev-python/nab-index/nab-index-0.0.23.ebuild new file mode 100644 index 0000000000..ec0483037a --- /dev/null +++ b/dev-python/nab-index/nab-index-0.0.23.ebuild @@ -0,0 +1,51 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYPI_VERIFY_REPO=https://github.com/notatallshaw/nab +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{13..15} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Pypi Simple-API client and on-disk cache for nab" +HOMEPAGE=" + https://github.com/notatallshaw/nab/ + https://pypi.org/project/nab-index/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + ~dev-python/nab-markersets-0.0.23[${PYTHON_USEDEP}] + ~dev-python/nab-provider-0.0.23[${PYTHON_USEDEP}] + ~dev-python/nab-resolver-0.0.23[${PYTHON_USEDEP}] + dev-python/truststore[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] +" + +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( ) + +distutils_enable_tests pytest + +python_test() { + # skip tests that expect monorepo + local EPYTEST_DESELECT=( + tests/test_index_parsed_cache.py::TestReadPathRebuild::test_over_nested_blob_warns_and_reparses + tests/client/test_listings.py::test_oversized_version_is_skipped + tests/test_parsed_listing_codec.py::test_over_nested_blob_is_miss + tests/test_parsed_listing_codec.py::test_over_nested_blob_names_its_depth + tests/test_read_fresh_parsed_listing.py::TestReadFreshParsedListing::test_over_nested_policy_returns_none + tests/test_read_fresh_parsed_listing.py::TestReadFreshParsedListing::test_over_nested_blob_returns_none + ) + + epytest +}