From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9FB97138359 for ; Sun, 5 Jul 2020 06:09:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BBB60E0828; Sun, 5 Jul 2020 06:09:39 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4D682E0828 for ; Sun, 5 Jul 2020 06:09:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E369534ED87 for ; Sun, 5 Jul 2020 06:09:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 308ED21D for ; Sun, 5 Jul 2020 06:09:35 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1593929288.43b401c58c9d6c83dc77f20c5b638488bdfd6ce4.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/numpydoc/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/numpydoc/Manifest dev-python/numpydoc/numpydoc-1.1.0.ebuild X-VCS-Directories: dev-python/numpydoc/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 43b401c58c9d6c83dc77f20c5b638488bdfd6ce4 X-VCS-Branch: master Date: Sun, 5 Jul 2020 06:09:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d9fe2085-940d-477e-898c-8f232e3ec82c X-Archives-Hash: c15eb2999cde5c01169cccf637249013 commit: 43b401c58c9d6c83dc77f20c5b638488bdfd6ce4 Author: Michał Górny gentoo org> AuthorDate: Sun Jul 5 06:08:08 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Jul 5 06:08:08 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43b401c5 dev-python/numpydoc: Bump to 1.1.0 Signed-off-by: Michał Górny gentoo.org> dev-python/numpydoc/Manifest | 1 + dev-python/numpydoc/numpydoc-1.1.0.ebuild | 43 +++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-python/numpydoc/Manifest b/dev-python/numpydoc/Manifest index 400c35f3121..4373ddddf55 100644 --- a/dev-python/numpydoc/Manifest +++ b/dev-python/numpydoc/Manifest @@ -1,2 +1,3 @@ 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 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 00000000000..442eae40359 --- /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}" +}