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 4D453158003 for ; Mon, 30 Jan 2023 06:59:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ED245E08ED; Mon, 30 Jan 2023 06:59:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 D163BE08ED for ; Mon, 30 Jan 2023 06:59:03 +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 D629F335CA3 for ; Mon, 30 Jan 2023 06:59:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 90DEA895 for ; Mon, 30 Jan 2023 06:59:00 +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: <1675061936.6fc398436c10a04b84f8e22d3edad36a35e78e76.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/xdoctest/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/xdoctest/Manifest dev-python/xdoctest/xdoctest-1.1.1.ebuild X-VCS-Directories: dev-python/xdoctest/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 6fc398436c10a04b84f8e22d3edad36a35e78e76 X-VCS-Branch: master Date: Mon, 30 Jan 2023 06:59:00 +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: 5efd37c5-480e-4c10-9eab-dee11f8e3de0 X-Archives-Hash: 104bf4570e276aa37bf0fe8abec7732c commit: 6fc398436c10a04b84f8e22d3edad36a35e78e76 Author: Michał Górny gentoo org> AuthorDate: Mon Jan 30 06:56:57 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Jan 30 06:58:56 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fc39843 dev-python/xdoctest: Bump to 1.1.1 Signed-off-by: Michał Górny gentoo.org> dev-python/xdoctest/Manifest | 1 + dev-python/xdoctest/xdoctest-1.1.1.ebuild | 49 +++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/dev-python/xdoctest/Manifest b/dev-python/xdoctest/Manifest index 438c02b95a3b..63b76f6d1cb0 100644 --- a/dev-python/xdoctest/Manifest +++ b/dev-python/xdoctest/Manifest @@ -1 +1,2 @@ DIST xdoctest-1.1.0.gh.tar.gz 208884 BLAKE2B cdba39e0e7108ddf7b637391dc549853754864d407b11c9237e9bc9988686bba2787e37892451bbdd3df4f7a2f01b0c446a658180c6ab06081b494313bbfe066 SHA512 55d3e58969414098a60fc4f825a8323c4e0de88e7f387fd93e61bd7c54fcebd76a66eff8d07850383009fce0e5c301838a051c886a45e4f1159e6210493a057c +DIST xdoctest-1.1.1.gh.tar.gz 212973 BLAKE2B 2af66b23889ba1f0321af08fbb81cec87f6c582fe000eaa3372f166287bf69b40fd82eff1029aadb0d0d62760640881676f61571f0bed37309a98680450fbe77 SHA512 8b0f77df54be8e61bf1b98bbc6ef7ac76337e634ea590394e13481c61ea83b6b4b017588f8d6ab813f95d277f605ece2d82441d6cbd25bbf485dd5bc85677abd diff --git a/dev-python/xdoctest/xdoctest-1.1.1.ebuild b/dev-python/xdoctest/xdoctest-1.1.1.ebuild new file mode 100644 index 000000000000..2c7df196799c --- /dev/null +++ b/dev-python/xdoctest/xdoctest-1.1.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="A rewrite of Python's builtin doctest module but without all the weirdness" +HOMEPAGE=" + https://github.com/Erotemic/xdoctest/ + https://pypi.org/project/xdoctest/ +" +SRC_URI=" + https://github.com/Erotemic/xdoctest/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +SLOT="0" +LICENSE="Apache-2.0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] +" +# dev-python/nbformat-5.1.{0..2} did not install package data +BDEPEND=" + test? ( + >=dev-python/nbformat-5.1.2-r1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +#distutils_enable_sphinx docs/source \ +# dev-python/autoapi \ +# dev-python/sphinx_rtd_theme + +EPYTEST_DESELECT=( + tests/test_pytest_cli.py::test_simple_pytest_import_error_cli +) + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdoctest.plugin + + epytest --pyargs tests xdoctest +}