diff options
Diffstat (limited to 'dev-python/numpydoc')
-rw-r--r-- | dev-python/numpydoc/Manifest | 4 | ||||
-rw-r--r-- | dev-python/numpydoc/numpydoc-1.1.0.ebuild | 4 | ||||
-rw-r--r-- | dev-python/numpydoc/numpydoc-1.2.ebuild | 44 |
3 files changed, 49 insertions, 3 deletions
diff --git a/dev-python/numpydoc/Manifest b/dev-python/numpydoc/Manifest index e392d7f99a61..6270ceea6e4b 100644 --- a/dev-python/numpydoc/Manifest +++ b/dev-python/numpydoc/Manifest @@ -1,3 +1,5 @@ DIST numpydoc-1.1.0.tar.gz 609482 BLAKE2B 475be835a760dd148b7132a3149a1b79193425b70bbaa51b29a3909c73ed11a933181c917a0f0d0b56d8d30baced2142897e0a931b5eeb6449092d0a2a81632b SHA512 10dfc5e40ca851401be7d7cca3cbf24bf8ded8573c01344976321cd65fe351d985ee0bf48a92a485a43f8fb191c246e4822545a1583c87c1214d819a5fdfc106 -EBUILD numpydoc-1.1.0.ebuild 951 BLAKE2B 65f29c2d8f21d9067dcadacca3750c8d38dfab3ec408f078118e2d023edfdcffe3ee6f1c333291ee414435a14e96a7d928cd789e9e0dbc8870b17ba4075c06e7 SHA512 26196641f65aa3a274ecf0e137a6d03b342e2f44ea554ade644bbc3b42af5194731f36f50452305ae4db66794ff78c9c7ed2a74f3b177cfe8b21b1d6fef7155c +DIST numpydoc-1.2.tar.gz 69659 BLAKE2B e5483ad3d6d82e9ff51d2d7cdc36c75407361059a696047f1d0fb7d3307c36ee056e8c0b9eb45fc11e4d341350c1b1dd021d60252055154c6907942e549b9555 SHA512 b8ea82a947c7fca9d02c2083f6040f2a1a115400e43257fd6ce7ac9b1b174d22ed7723053b87893d6bff8f47a625932297c884e853be4e00d3ae2262ad0161cf +EBUILD numpydoc-1.1.0.ebuild 957 BLAKE2B 67276e0c558ba0b1cea81ac913da1be0fab9f002d6908c07b72f832b2ea9eb61c588a61a5244a1ef3cbeb18bbfd7eb77cf77480f13210401bbd2f5418d22a138 SHA512 2642eb67c87bee2d0b9e0ac36968952bd551a771b2d220ef94c85f3646de067c5c128d903a464a3917466872805e56e77d62e06d92ac5d10b4844a094b5ceb58 +EBUILD numpydoc-1.2.ebuild 1016 BLAKE2B da616537e26fa7dbdb561c8b36fc1837fc3df7c11902560f5af120bd87fd82e1c56c0283a733644d26923d0a2e18555ba18fdc51b6f7fba5d18da490f4cbb6d7 SHA512 c32991d468abe435fdbd5a68e6b505f5228319543d7d0d014b724328017119fd6cb570438fd3e6abb042fe89bff3a55e3bff2cf5704e1c5370558a822f85e0bf MISC metadata.xml 403 BLAKE2B 437fdd3881a5ec60a83b3cb018e57c714a91030be9ab0032b8662e30b7bcd120ee3dd2015be561dd8a65a39833ef777e22f040a6e466c1b56a602a4ac33d4917 SHA512 833d00712cf7dfdc1080181301c03388a3c966436d2d9c9badb609cff66fa49035a6d001d60f205e1c2c49808eda7fad65abda8802f42f7ba36939b3691a8390 diff --git a/dev-python/numpydoc/numpydoc-1.1.0.ebuild b/dev-python/numpydoc/numpydoc-1.1.0.ebuild index d5ae68493db0..dadb3713598c 100644 --- a/dev-python/numpydoc/numpydoc-1.1.0.ebuild +++ b/dev-python/numpydoc/numpydoc-1.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" RDEPEND=" dev-python/jinja[${PYTHON_USEDEP}] diff --git a/dev-python/numpydoc/numpydoc-1.2.ebuild b/dev-python/numpydoc/numpydoc-1.2.ebuild new file mode 100644 index 000000000000..f59030e0df57 --- /dev/null +++ b/dev-python/numpydoc/numpydoc-1.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Sphinx extension to support docstrings in Numpy format" +HOMEPAGE="https://pypi.org/project/numpydoc/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + >=dev-python/jinja-2.10[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.8[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/matplotlib-3.2.1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e 's:--cov-report= --cov=numpydoc::' setup.cfg || die + + distutils-r1_src_prepare +} + +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 --pyargs numpydoc +} |