commit:     7a01f733b4a9c9bd84ee529b5ff1dd2b61656fcb
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Dec  3 04:18:47 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Dec  3 04:19:21 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a01f733

dev-python/numpydoc: Bump to 1.10.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/numpydoc/Manifest               |  1 +
 dev-python/numpydoc/numpydoc-1.10.0.ebuild | 49 ++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/dev-python/numpydoc/Manifest b/dev-python/numpydoc/Manifest
index b38581c8596c..05582ed4e732 100644
--- a/dev-python/numpydoc/Manifest
+++ b/dev-python/numpydoc/Manifest
@@ -1 +1,2 @@
+DIST numpydoc-1.10.0.gh.tar.gz 94037 BLAKE2B 
356004e4e30634048f9e4adb2b560fde574feac973c59d9becf6bd4bbd4d502c79ca6eaadb21322d13db0882a596e88e89f87d32565a003253b88bc6439c3446
 SHA512 
bd8becb71fe45f7a0e11bbd3f804c9855b1192ff22acbc0291380c462c493facd2efd6d59e560111ae56132925502d37abc90643db217358f3a8c1138ce7c693
 DIST numpydoc-1.9.0.gh.tar.gz 91390 BLAKE2B 
a864a4ebddc7ddab11a4ab6ea949b96a6c2447f6e726867ed0f49aba09a29c51cb130d5b565feeaaa3fb3de8b4e24748fa604e77ff3def7ba0f17d601d8563ff
 SHA512 
7ae73a5bbce11e674fe8ca16e8ddce7914498f97dc8ebe85c26ae0cf240299596c20a6915e3a547a394e0e3f9ae6e9ac0694a2de7baa34918df98f523a8bfdf0

diff --git a/dev-python/numpydoc/numpydoc-1.10.0.ebuild 
b/dev-python/numpydoc/numpydoc-1.10.0.ebuild
new file mode 100644
index 000000000000..62098d5a6cda
--- /dev/null
+++ b/dev-python/numpydoc/numpydoc-1.10.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..13} )
+
+inherit distutils-r1
+
+MY_P=${P/_}
+DESCRIPTION="Sphinx extension to support docstrings in Numpy format"
+HOMEPAGE="
+       https://numpydoc.readthedocs.io/en/latest/
+       https://github.com/numpy/numpydoc/
+       https://pypi.org/project/numpydoc/
+"
+SRC_URI="
+       https://github.com/numpy/numpydoc/archive/v${PV/_}.tar.gz
+               -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~x64-macos"
+
+RDEPEND="
+       >=dev-python/sphinx-6[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? (
+               >=dev-python/matplotlib-3.2.1[${PYTHON_USEDEP}]
+       )
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+python_test() {
+       local EPYTEST_DESELECT=(
+               # these require Internet (intersphinx)
+               numpydoc/tests/test_full.py::test_MyClass
+               numpydoc/tests/test_full.py::test_my_function
+               # TODO
+               
numpydoc/tests/test_validate.py::test_extract_ignore_validation_comments
+       )
+       epytest -o addopts= --pyargs numpydoc
+}

Reply via email to