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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5C870158088 for ; Mon, 31 Jan 2022 00:26:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 47C75E07B3; Mon, 31 Jan 2022 00:26:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DB36E2BC007 for ; Mon, 31 Jan 2022 00:26:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 803AC342BCB for ; Mon, 31 Jan 2022 00:26:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CA0B8166 for ; Mon, 31 Jan 2022 00:26:24 +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: <1643588627.0ace91d037ec40709932f45aaf7572ebda883b2b.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sphobjinv/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/sphobjinv/Manifest dev-python/sphobjinv/sphobjinv-2.2.ebuild X-VCS-Directories: dev-python/sphobjinv/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 0ace91d037ec40709932f45aaf7572ebda883b2b X-VCS-Branch: master Date: Mon, 31 Jan 2022 00:26:24 +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: 67b46b05-354d-4329-ad94-f41a24ce3db0 X-Archives-Hash: 9451f9a9650d65ea8fcfb1657f7eeda2 commit: 0ace91d037ec40709932f45aaf7572ebda883b2b Author: Michał Górny gentoo org> AuthorDate: Sun Jan 30 21:31:39 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Jan 31 00:23:47 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ace91d0 dev-python/sphobjinv: Bump to 2.2 Signed-off-by: Michał Górny gentoo.org> dev-python/sphobjinv/Manifest | 1 + dev-python/sphobjinv/sphobjinv-2.2.ebuild | 50 +++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/dev-python/sphobjinv/Manifest b/dev-python/sphobjinv/Manifest index 6fa2f2762a66..0681c1bf6e6e 100644 --- a/dev-python/sphobjinv/Manifest +++ b/dev-python/sphobjinv/Manifest @@ -1 +1,2 @@ DIST sphobjinv-2.1.tar.gz 1144017 BLAKE2B 71878e1bac5202ab74298b56cd6172236ea524050323e0d6b8bbc0c89f1937d75f10d40b4071cfbe8c9031641e9a0ecb283da908c40840a61c12a7c892438241 SHA512 cde77d73b09b72358b0ac5b0d8f1a748e78dce6664d1b849ba68f5ff70dc43cbcff4581374d0151be29c4d97efe2920c5c00ff68918371243be158031e9554fa +DIST sphobjinv-2.2.tar.gz 1150648 BLAKE2B db29624c9e7c5ec014793bb76693dfbe87d8742a688b91c196bec12ac03852ae7999717588e075f58f5d2c3109b10d532bd117d482b540d30af27760869a5904 SHA512 257327ad168d5804639d3a064db683e0b9eb4f1dcb864a12a8ba440f3fde31c832bd72298f6381d2590bfac85ffe811563b8de124a135de2b6c1511217925103 diff --git a/dev-python/sphobjinv/sphobjinv-2.2.ebuild b/dev-python/sphobjinv/sphobjinv-2.2.ebuild new file mode 100644 index 000000000000..d3097e5c313a --- /dev/null +++ b/dev-python/sphobjinv/sphobjinv-2.2.ebuild @@ -0,0 +1,50 @@ +# 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 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 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +SLOT="0" + +RDEPEND=" + >=dev-python/attrs-19.2[${PYTHON_USEDEP}] + dev-python/certifi[${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/sphinx[${PYTHON_USEDEP}] + dev-python/timeout-decorator[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx doc/source \ + dev-python/sphinx_rtd_theme \ + dev-python/sphinx-issues \ + dev-python/sphinxcontrib-programoutput + +src_prepare() { + # --strict option is deprecated in pytest>6 + sed -i -e '/addopts/d' tox.ini || die + sed -e '/CLI_TEST_TIMEOUT/s/2/20/' -i tests/test_cli.py || die + + distutils-r1_src_prepare +}