summaryrefslogtreecommitdiff
path: root/dev-python/munkres
diff options
context:
space:
mode:
authorCrucible <crucible@localhost>2026-10-19 21:49:31 -0500
committerCrucible <crucible@localhost>2026-10-19 21:49:31 -0500
commit7381ef26a3e14a703da91508b2cc8606c34b804d (patch)
tree1ded3c74a64f9591c982f01ed71ab968a8bfad24 /dev-python/munkres
parent3b4c7e627726016d50653b6dd2e06020a1915eac (diff)
downloadsrcux-7381ef26a3e14a703da91508b2cc8606c34b804d.tar.gz
srcux-7381ef26a3e14a703da91508b2cc8606c34b804d.tar.xz
srcux-7381ef26a3e14a703da91508b2cc8606c34b804d.zip
Publish srcux candidate 0000000740-20261019-200200
Diffstat (limited to 'dev-python/munkres')
-rw-r--r--dev-python/munkres/Manifest2
-rw-r--r--dev-python/munkres/munkres-3.0.0.ebuild64
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-python/munkres/Manifest b/dev-python/munkres/Manifest
index bddb75b9d995..814d95927d48 100644
--- a/dev-python/munkres/Manifest
+++ b/dev-python/munkres/Manifest
@@ -1,3 +1,5 @@
DIST munkres-2.0.0.tar.gz 104807 BLAKE2B 609fed7b30265a1b6c70c968de27c3877795706dab12d1a8ca2cc7f8f82fd4cc2d3b4d054986b410b1d87a3a599eb2a3c0338286c627d7d24a4fed9811418d31 SHA512 6a732608f96cac6509e350b09eabd18b400794682b7e82b0056c1489a1023d8dfdbcfc5be17ce22b689747067f45ccd4030b7ac2ed167faf5cd6ee359dd62533
DIST munkres-2.0.0.tar.gz.provenance 10086 BLAKE2B a69a07219156587b974a0f772de411e3a21d848e5c36b1ad162a6420484cdb69f086822165c73fdc119850cf858d1c8fc8c661e8cd84c54b3eed60f776896fe0 SHA512 4810e0f21d38c45c23c7ff95865826caf7f71dc37606f866dc69cb3ea6cbfd13352b47ed2c9cd48d51c57d8a5f8c7cce94d4972bdf27bc541a72ad50e7ca5778
+DIST munkres-3.0.0.tar.gz 252231 BLAKE2B 6fa11dd7dd89788a4f690d1ddbe8c7cdd793c7c6b36c3adb0aea9937464be41152f3a7310661eca5257a9b901a1800955a1e86af1fe03fb1d7d5a8d2c7df59e9 SHA512 daea3fe0c68b31d7fc92af14fbc0a923c7c1bc36ed0b77e1c5667ccd6bbc4bc8b10fc1cbbe2283645b535f235e37dac6005af46ad9f8694eebab0e8e285a2d09
+DIST munkres-3.0.0.tar.gz.provenance 10153 BLAKE2B 3c3ab251e8e4acd166eb30b7f018eef41e0dec5087eb079c131fcee9697fb8ddd368471de9ea0b92169de6e65788a60f6e9624ba4dd030b0ca7ae4b657e23214 SHA512 04fa94fb314547cb55122d51e3196d26c90944f8c0eb65569d255fd125119572f32d1b375f79c4276ef5325c79f8cb030425adf1bf345c3a4b972b775dbc338c
DIST munkres-release-1.1.4.gh.tar.gz 13777 BLAKE2B d783ac7a4fd55826ef3ddddd2ba82cf0499727e605a2414491af7dd9080193c53f1e48ed17dba9a462578bc958d3d9e2e1e413408143b4cfd0305f9cb3b6c517 SHA512 24ae7d04f4a6fe52f7bb9dc79bbee3e33425b85813382e2634e106a5d26d2d728ba8d34fab9390b7c3d651bc0e95214dcf9c94ac436636cd5b487a054b5a2c54
diff --git a/dev-python/munkres/munkres-3.0.0.ebuild b/dev-python/munkres/munkres-3.0.0.ebuild
new file mode 100644
index 000000000000..c0893b8cc3d2
--- /dev/null
+++ b/dev-python/munkres/munkres-3.0.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=meson-python
+PYPI_VERIFY_REPO=https://github.com/iameishit/Paldita-munkres
+PYTHON_COMPAT=( python3_{13..14} )
+
+inherit meson distutils-r1 pypi
+
+DESCRIPTION="Module implementing munkres algorithm for the Assignment Problem"
+HOMEPAGE="
+ https://github.com/iameishit/Paldita-munkres/
+ https://pypi.org/project/munkres/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="+native-extensions"
+
+BDEPEND="
+ test? (
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/scipy[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_PLUGINS=( hypothesis )
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+src_prepare() {
+ distutils-r1_src_prepare
+
+ # don't ask
+ mv pyproject.meson.toml pyproject.toml || die
+}
+
+src_configure() {
+ DISTUTILS_ARGS=(
+ $(meson_feature native-extensions native)
+ )
+}
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # junk tests that require dotfiles from the git repo
+ tests/integration/test_examples_and_benchmarks.py::test_release_verifier_reports_no_problems
+ tests/test_repo_hygiene.py
+
+ # upstream build system tests
+ tests/test_meson_build.py
+
+ # super slow
+ tests/hard/test_kernel_hard.py::test_no_memory_growth_over_many_calls
+ # too slow to pass
+ tests/hard/test_system_hard.py::test_pathological_runtimes_stay_bounded
+ )
+
+ epytest
+}