From 3cf7c3ef441822c889356fd1812ebf2944a59851 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 25 Aug 2020 10:45:55 +0100 Subject: gentoo resync : 25.08.2020 --- dev-python/numpydoc/Manifest | 6 ++--- dev-python/numpydoc/metadata.xml | 1 + dev-python/numpydoc/numpydoc-0.9.2.ebuild | 28 -------------------- dev-python/numpydoc/numpydoc-1.1.0.ebuild | 43 +++++++++++++++++++++++++++++++ 4 files changed, 47 insertions(+), 31 deletions(-) delete mode 100644 dev-python/numpydoc/numpydoc-0.9.2.ebuild create mode 100644 dev-python/numpydoc/numpydoc-1.1.0.ebuild (limited to 'dev-python/numpydoc') diff --git a/dev-python/numpydoc/Manifest b/dev-python/numpydoc/Manifest index 39898e0b0ab4..89019d7ddecf 100644 --- a/dev-python/numpydoc/Manifest +++ b/dev-python/numpydoc/Manifest @@ -1,5 +1,5 @@ DIST numpydoc-0.9.1.tar.gz 27583 BLAKE2B 91764f74b35a740790efa9faade69622d48777fe97a62824b91d78ebf62f806f8c5ec34b1e6c4a4afee6e87358edfa40ca0d316ea41f7ed8501733a51797611b SHA512 85a47ed86823baa3125dde4bb2760ce56f6fed9bb29dc64187dee4101f6344b5065146209f603d50a84a5d9cf0b7f4e5134fc0b495219e68100e05e028b61f2a -DIST numpydoc-0.9.2.tar.gz 27555 BLAKE2B 47b7788c502a26c40889c84563c0b94983655a653fa1f783f47d667021c65c7ffc0d2cdd14a16dfcb982da48642c0b07c949f57336d5b67c897a78815684bcac SHA512 db8f5c3b409ece0a40f1c2ccb06eaa182896d173a5c913c7e6c5780fd021d746c48557fee6f050db8c42cfa41a5021901342bbb93dfd8b8daf7d43fead9cf94a +DIST numpydoc-1.1.0.tar.gz 609482 BLAKE2B 475be835a760dd148b7132a3149a1b79193425b70bbaa51b29a3909c73ed11a933181c917a0f0d0b56d8d30baced2142897e0a931b5eeb6449092d0a2a81632b SHA512 10dfc5e40ca851401be7d7cca3cbf24bf8ded8573c01344976321cd65fe351d985ee0bf48a92a485a43f8fb191c246e4822545a1583c87c1214d819a5fdfc106 EBUILD numpydoc-0.9.1.ebuild 782 BLAKE2B 8c0c94fdaac4280ce66502dcdc254de03a8d33384586be2efa249728c93bae31a655f90869d33ee518ae8bf9edb97b56de4785ece4d076caea896efa6bfcfe03 SHA512 4bd71ffd4a8fdc1b61e853d39773cf1500933df899abdebb9fe4cc57bdbbda91e7f917038caf548abd9710bb58e6f3499e3db62fa54eaa0681fde58ed4483010 -EBUILD numpydoc-0.9.2.ebuild 598 BLAKE2B 37a54df7e8838af8bfaea968cb0953aaaa923d6a4ccc3bbefbb389953d11856decb7c6615386c1e36f8cbe2f3caea5461313ba88b80e6a12f7083e7c7346705e SHA512 793fc4c9ceff3b528a82ef09f1949d337e87ee7627a58e90d649d11dc53cf684e2fccef501603ebc0c82ac530e0dcb527941f918b81257f555179cfd777bb05c -MISC metadata.xml 321 BLAKE2B bbd5917a97e564f5abc495cb2632e42ab36ac1e2441be7c0a375224af7be481b00e5b8e60b6762653401021104b0094903a62eabe9a221020390a74753fcc258 SHA512 51803da4bebb8d1ac7fcc0e33ec99234b4f497a2817361032712c35ea57e9e58591fd675c9273d7627f94c60e010878b9dd6a6e8708704f36c945344159880a2 +EBUILD numpydoc-1.1.0.ebuild 933 BLAKE2B 0d9ba3fcd91ea8dfb990a6b46b4d793caa9d20f265506572a3bcaf408688676cc669a432b9ef0ac4dba81fd00233d42a54edd4f024eea35c9cd6a436611546f7 SHA512 4bfc101c5525f8ebc7e3d5848926a95bfb9d1a0351948d2ba9b415c7fb861ca6e6bbd9feb13984707830686d4b17f47418c3851445fc292e83d26f091e94db64 +MISC metadata.xml 346 BLAKE2B 4cc694f3ee24d59fb18bc7d1ecc4b2cce5931d450efb57b75765c2762a06ff10458f55a4c472a75ca6d64e4e1a79dac0b5ed610e4963f52498ab4a3701d18ede SHA512 737d553f25d503f5257b1bfd36bf295a528e600070b00cbe5b0fff9c1fde9f967c89b5be92968b2eef617bead31780d7cad4a0deb419f0a816c806c2a688e9b5 diff --git a/dev-python/numpydoc/metadata.xml b/dev-python/numpydoc/metadata.xml index 03512508d0a1..d1fd3820e131 100644 --- a/dev-python/numpydoc/metadata.xml +++ b/dev-python/numpydoc/metadata.xml @@ -5,6 +5,7 @@ python@gentoo.org Python + numpydoc diff --git a/dev-python/numpydoc/numpydoc-0.9.2.ebuild b/dev-python/numpydoc/numpydoc-0.9.2.ebuild deleted file mode 100644 index f1101578b636..000000000000 --- a/dev-python/numpydoc/numpydoc-0.9.2.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6..9} ) - -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 ~ppc ~ppc64 ~x86" - -RDEPEND=" - dev-python/jinja[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - >=dev-python/matplotlib-3.2.1[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/numpydoc/numpydoc-1.1.0.ebuild b/dev-python/numpydoc/numpydoc-1.1.0.ebuild new file mode 100644 index 000000000000..5163fd43f16a --- /dev/null +++ b/dev-python/numpydoc/numpydoc-1.1.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} ) + +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 ~ppc ppc64 x86" + +RDEPEND=" + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/sphinx[${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 + + # these require Internet (intersphinx) + sed -e 's:test_MyClass:_&:' \ + -e 's:test_my_function:_&:' \ + -i numpydoc/tests/test_full.py || die + + distutils-r1_src_prepare +} + +python_test() { + pytest -vv --pyargs numpydoc || die "Tests failed with ${EPYTHON}" +} -- cgit v1.2.3