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 96246158012 for ; Thu, 23 Sep 2021 17:22:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E5F34E0891; Thu, 23 Sep 2021 17:22:08 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C29C5E0891 for ; Thu, 23 Sep 2021 17:22:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6D6AF342E04 for ; Thu, 23 Sep 2021 17:22:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 24BF6ED for ; Thu, 23 Sep 2021 17:22:06 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1632417718.00c899ea8d97dd456ce827fbe3f7981042b107a4.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sphobjinv/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/sphobjinv/sphobjinv-2.1-r1.ebuild X-VCS-Directories: dev-python/sphobjinv/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 00c899ea8d97dd456ce827fbe3f7981042b107a4 X-VCS-Branch: master Date: Thu, 23 Sep 2021 17:22:06 +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: 48eed16f-72cb-4e92-940a-a9466af03b0a X-Archives-Hash: 2ed4ce2be6a5c5c92b38605832e5bde8 commit: 00c899ea8d97dd456ce827fbe3f7981042b107a4 Author: Arthur Zamarin gentoo org> AuthorDate: Thu Sep 23 17:21:17 2021 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Thu Sep 23 17:21:58 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00c899ea dev-python/sphobjinv: enable py3.10, fix tests Closes: https://bugs.gentoo.org/812365 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/sphobjinv/sphobjinv-2.1-r1.ebuild | 47 ++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/dev-python/sphobjinv/sphobjinv-2.1-r1.ebuild b/dev-python/sphobjinv/sphobjinv-2.1-r1.ebuild new file mode 100644 index 00000000000..8ba9d8175c4 --- /dev/null +++ b/dev-python/sphobjinv/sphobjinv-2.1-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="Sphinx objects.inv Inspection/Manipulation Tool" +HOMEPAGE=" + https://github.com/bskinn/sphobjinv/ + https://pypi.org/project/sphobjinv/ +" +SRC_URI="https://github.com/bskinn/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +KEYWORDS="~amd64 ~x86" +SLOT="0" + +RDEPEND=" + >=dev-python/attrs-19.2[${PYTHON_USEDEP}] + dev-python/certifi[${PYTHON_USEDEP}] + >=dev-python/fuzzywuzzy-0.8[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/dictdiffer[${PYTHON_USEDEP}] + dev-python/pytest-check[${PYTHON_USEDEP}] + dev-python/pytest-ordering[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + >=dev-python/stdio-mgr-1.0.1[${PYTHON_USEDEP}] + dev-python/timeout-decorator[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests --install pytest +distutils_enable_sphinx doc/source \ + dev-python/sphinx_rtd_theme \ + dev-python/sphinx-issues \ + dev-python/sphinxcontrib-programoutput + +python_prepare_all() { + # --strict option is deprecated in pytest>6 + sed -i -e '/addopts/d' tox.ini || die + + distutils-r1_python_prepare_all +}