commit:     d0f7fd0d00cce149e593dd7ec3a0a0df1169c291
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 26 03:56:28 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Sep 26 04:42:04 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0f7fd0d

dev-python/numpydoc: Bump to 1.6.0

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

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

diff --git a/dev-python/numpydoc/Manifest b/dev-python/numpydoc/Manifest
index 12f4df6c5769..7c03c1c02fa5 100644
--- a/dev-python/numpydoc/Manifest
+++ b/dev-python/numpydoc/Manifest
@@ -1 +1,2 @@
 DIST numpydoc-1.5.0.gh.tar.gz 71498 BLAKE2B 
6f46d3b39ceecffe1a604d314bb0b2613219c92a951e3578333da8c0891e928564dd7501258d0270901b9923be7caf8af5d68ed4df7dd8f8e322a7503456fbf7
 SHA512 
e87535c74767946a71b3094b6591fcfb4d7e42acd505c28b3a5c00ea19c29bb21806c5cb655b5d3aca670d105654956d9b59c06d8be68cd51a1760b219c1c815
+DIST numpydoc-1.6.0.gh.tar.gz 85296 BLAKE2B 
839fb0062dc1b0b45dfbc855d50d21a3c23cf1e9fef82b8d44e9d4cc36127c32447ad4c6ee5aa500cd24fb6a304f95426be69406468e3059c068ca4b0ad5714f
 SHA512 
3846f395d8603a21d97a6c0fc57f0ea69e908ff2f672673d336a1f4ff02f5cb3f9e76d1e1ad6d990478b121a327bcca8179c3db6b5215f36818e41e4597878fd

diff --git a/dev-python/numpydoc/numpydoc-1.6.0.ebuild 
b/dev-python/numpydoc/numpydoc-1.6.0.ebuild
new file mode 100644
index 000000000000..2955338caaea
--- /dev/null
+++ b/dev-python/numpydoc/numpydoc-1.6.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1
+
+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
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc 
~x86 ~x64-macos"
+
+RDEPEND="
+       >=dev-python/jinja-2.10[${PYTHON_USEDEP}]
+       >=dev-python/sphinx-5[${PYTHON_USEDEP}]
+       >=dev-python/tabulate-0.8.10[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}]
+       ' 3.10)
+"
+BDEPEND="
+       test? (
+               >=dev-python/matplotlib-3.2.1[${PYTHON_USEDEP}]
+       )
+"
+
+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
+       )
+       epytest -o addopts= --pyargs numpydoc
+}

Reply via email to