commit:     f81ce1c3befe956ace703ac3b1cb91642a6ccb4f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 25 04:08:25 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jun 25 04:35:46 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f81ce1c3

dev-python/numpydoc: Bump to 1.9.0

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

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

diff --git a/dev-python/numpydoc/Manifest b/dev-python/numpydoc/Manifest
index 845c3cd8bd3f..518ce3d3136f 100644
--- a/dev-python/numpydoc/Manifest
+++ b/dev-python/numpydoc/Manifest
@@ -1 +1,2 @@
 DIST numpydoc-1.8.0.gh.tar.gz 90624 BLAKE2B 
112274fa185bd48909a3fbe0cd2a98465f94b30207060234a396278e1802058224164fb6f3c492a6b1e76b7e0f7966ecaf6c592c96675e6e45fae044414f62c7
 SHA512 
d7ea64f1140395815e0d95697d1b855ba0a5f63fc99e8cf1fb7d240cd799be1958c2efd034cbec64c8b3b1742076c8b7db5a0ddc54af3ef39fc341ea0e3ec586
+DIST numpydoc-1.9.0.gh.tar.gz 91390 BLAKE2B 
a864a4ebddc7ddab11a4ab6ea949b96a6c2447f6e726867ed0f49aba09a29c51cb130d5b565feeaaa3fb3de8b4e24748fa604e77ff3def7ba0f17d601d8563ff
 SHA512 
7ae73a5bbce11e674fe8ca16e8ddce7914498f97dc8ebe85c26ae0cf240299596c20a6915e3a547a394e0e3f9ae6e9ac0694a2de7baa34918df98f523a8bfdf0

diff --git a/dev-python/numpydoc/numpydoc-1.9.0.ebuild 
b/dev-python/numpydoc/numpydoc-1.9.0.ebuild
new file mode 100644
index 000000000000..62098d5a6cda
--- /dev/null
+++ b/dev-python/numpydoc/numpydoc-1.9.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