summaryrefslogtreecommitdiff
path: root/dev-python/numpydoc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
committerV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
commit752d6256e5204b958b0ef7905675a940b5e9172f (patch)
tree330d16e6362a49cbed8875a777fe641a43376cd3 /dev-python/numpydoc
parent0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff)
gentoo resync : 12.05.2022
Diffstat (limited to 'dev-python/numpydoc')
-rw-r--r--dev-python/numpydoc/Manifest6
-rw-r--r--dev-python/numpydoc/numpydoc-1.2.1-r1.ebuild (renamed from dev-python/numpydoc/numpydoc-1.2.1.ebuild)2
-rw-r--r--dev-python/numpydoc/numpydoc-1.3.0.ebuild51
-rw-r--r--dev-python/numpydoc/numpydoc-1.3.1.ebuild51
4 files changed, 109 insertions, 1 deletions
diff --git a/dev-python/numpydoc/Manifest b/dev-python/numpydoc/Manifest
index b4efb4fe8bc1..95cd739f7531 100644
--- a/dev-python/numpydoc/Manifest
+++ b/dev-python/numpydoc/Manifest
@@ -1,5 +1,9 @@
DIST numpydoc-1.2.1.tar.gz 70350 BLAKE2B f693436efa8e95527e4d7d20676b1f3e563369190a71cc4e2cc8ec38b65ad500f3e0e8a4e89ce48ebd3bf1190c8fff1ead05cc22dbbf80fdf147b9996b2b5add SHA512 439ff422d46ea8eaa26bd14ac41f8d64638d8df081a3b889eaadceafbde64f2a091f6363d0565759618d60c4fe869d8f62ec0878d45674022056058621048d0e
DIST numpydoc-1.2.tar.gz 69659 BLAKE2B e5483ad3d6d82e9ff51d2d7cdc36c75407361059a696047f1d0fb7d3307c36ee056e8c0b9eb45fc11e4d341350c1b1dd021d60252055154c6907942e549b9555 SHA512 b8ea82a947c7fca9d02c2083f6040f2a1a115400e43257fd6ce7ac9b1b174d22ed7723053b87893d6bff8f47a625932297c884e853be4e00d3ae2262ad0161cf
-EBUILD numpydoc-1.2.1.ebuild 1016 BLAKE2B da616537e26fa7dbdb561c8b36fc1837fc3df7c11902560f5af120bd87fd82e1c56c0283a733644d26923d0a2e18555ba18fdc51b6f7fba5d18da490f4cbb6d7 SHA512 c32991d468abe435fdbd5a68e6b505f5228319543d7d0d014b724328017119fd6cb570438fd3e6abb042fe89bff3a55e3bff2cf5704e1c5370558a822f85e0bf
+DIST numpydoc-1.3.0.gh.tar.gz 70243 BLAKE2B 64b6550bffb644945972e38eb9783ca0a81478c9c9f8aac9d0a91b5871fcc9470d55533ebd4cbe287cf7ade2f355b05e4a31e8558e4fff3a836b37ed33027b13 SHA512 ba6b77fba590a9cb97562e9325db98d3423e39eeca6f28975960bc3ac9c83922ad9c47ecb92c2e2ec359f050304225fc204347708cf699cb40074eaefaa29e41
+DIST numpydoc-1.3.1.gh.tar.gz 70432 BLAKE2B bcf1214625671e89fcffedb7a90b1ef7f5993a43bff5e632e21bde647bb1b1ae1f4d21d4cf653622879121ea72c58486b78266d73b51d239243394b177b80078 SHA512 2b2ba50444765460d2df756c65893e59236bf3e47ab5980ed2279c0f3930bd841c68b2cb1438c3e25d0f2416fe4f2670dba9ebad4809c63a8db479fc8068916c
+EBUILD numpydoc-1.2.1-r1.ebuild 1080 BLAKE2B d295ef6e9227bf3360ff4c334ef7ca212d2795dd46f9ac62475ad01ed597f71f4356c226f210196aa8e6dc6a9b0f37af51c3d31d6b0613902f2d945e1c939958 SHA512 3328cd1901fe44a2c54e1c339091a1fd61fc47ed3269d0c83a27bb9076e2cb63302693652d396c0bcb3daf5e117bf5bc4e16127a8267f613e471389baf784628
EBUILD numpydoc-1.2.ebuild 1008 BLAKE2B af23e49a4e3599f7ae80c717095cb3f8c758e8e6f8265901db7c315718517ca6ebfaafd39bb4c7b665631e0a416d717743c95ede1fc0892344e847f77fb118da SHA512 97aab5ab6d369fe625b2108d6913df429e5af8f09fa3f9872f768fab1d797714c5bb9ad4bd3a94890a3d9f7b8583ea2678ea2f1b5a19d6084a301cef78554240
+EBUILD numpydoc-1.3.0.ebuild 1134 BLAKE2B 1316fef4887ac48f0004835bd50362206ec48e7800c7a589053ee13d0e8dcdf11bc3628a3d8fb8ecc6aa97d75a5e33d0b3203a78ece40633b61da8a54bc76e9c SHA512 38e124822310ea45c8b79692c5feebd2eb6e8f5e755bb61808493431e813022b34a7cd06549ad3c4384274b47020fe69b7280e629cfdb73ba30115905a1e680c
+EBUILD numpydoc-1.3.1.ebuild 1134 BLAKE2B 1316fef4887ac48f0004835bd50362206ec48e7800c7a589053ee13d0e8dcdf11bc3628a3d8fb8ecc6aa97d75a5e33d0b3203a78ece40633b61da8a54bc76e9c SHA512 38e124822310ea45c8b79692c5feebd2eb6e8f5e755bb61808493431e813022b34a7cd06549ad3c4384274b47020fe69b7280e629cfdb73ba30115905a1e680c
MISC metadata.xml 403 BLAKE2B 437fdd3881a5ec60a83b3cb018e57c714a91030be9ab0032b8662e30b7bcd120ee3dd2015be561dd8a65a39833ef777e22f040a6e466c1b56a602a4ac33d4917 SHA512 833d00712cf7dfdc1080181301c03388a3c966436d2d9c9badb609cff66fa49035a6d001d60f205e1c2c49808eda7fad65abda8802f42f7ba36939b3691a8390
diff --git a/dev-python/numpydoc/numpydoc-1.2.1.ebuild b/dev-python/numpydoc/numpydoc-1.2.1-r1.ebuild
index f59030e0df57..8a0d7f8dfe4d 100644
--- a/dev-python/numpydoc/numpydoc-1.2.1.ebuild
+++ b/dev-python/numpydoc/numpydoc-1.2.1-r1.ebuild
@@ -30,6 +30,8 @@ distutils_enable_tests pytest
src_prepare() {
sed -i -e 's:--cov-report= --cov=numpydoc::' setup.cfg || die
+ # unpin the dep
+ sed -i -e '/Jinja2/s:,<3.1::' setup.py || die
distutils-r1_src_prepare
}
diff --git a/dev-python/numpydoc/numpydoc-1.3.0.ebuild b/dev-python/numpydoc/numpydoc-1.3.0.ebuild
new file mode 100644
index 000000000000..8b2f2b65ba40
--- /dev/null
+++ b/dev-python/numpydoc/numpydoc-1.3.0.ebuild
@@ -0,0 +1,51 @@
+# 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://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 ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+
+RDEPEND="
+ >=dev-python/jinja-2.10[${PYTHON_USEDEP}]
+ >=dev-python/sphinx-3[${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
+}
diff --git a/dev-python/numpydoc/numpydoc-1.3.1.ebuild b/dev-python/numpydoc/numpydoc-1.3.1.ebuild
new file mode 100644
index 000000000000..8b2f2b65ba40
--- /dev/null
+++ b/dev-python/numpydoc/numpydoc-1.3.1.ebuild
@@ -0,0 +1,51 @@
+# 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://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 ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+
+RDEPEND="
+ >=dev-python/jinja-2.10[${PYTHON_USEDEP}]
+ >=dev-python/sphinx-3[${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
+}