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 B78FF159C9B for ; Fri, 2 Aug 2024 04:50:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3B5B12BC076; Fri, 2 Aug 2024 04:50:51 +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 1CB912BC076 for ; Fri, 2 Aug 2024 04:50:51 +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 32A7634168D for ; Fri, 2 Aug 2024 04:50:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5DC961EA1 for ; Fri, 2 Aug 2024 04:50:47 +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: <1722574238.4ac9834e9d1bc73e09a2f1a50b5a8e8066c1dc2e.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.6.ebuild X-VCS-Directories: dev-python/xdoctest/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 4ac9834e9d1bc73e09a2f1a50b5a8e8066c1dc2e X-VCS-Branch: master Date: Fri, 2 Aug 2024 04:50:47 +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: faceb28a-d571-4a38-8849-48984ea60524 X-Archives-Hash: 262661d4dbde5dba2bbb6329fc3ca1d7 commit: 4ac9834e9d1bc73e09a2f1a50b5a8e8066c1dc2e Author: Michał Górny gentoo org> AuthorDate: Fri Aug 2 04:41:00 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Aug 2 04:50:38 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ac9834e dev-python/xdoctest: Bump to 1.1.6 Signed-off-by: Michał Górny gentoo.org> dev-python/xdoctest/Manifest | 1 + dev-python/xdoctest/xdoctest-1.1.6.ebuild | 49 +++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/dev-python/xdoctest/Manifest b/dev-python/xdoctest/Manifest index 043223f831c7..79b83abd3c89 100644 --- a/dev-python/xdoctest/Manifest +++ b/dev-python/xdoctest/Manifest @@ -1 +1,2 @@ DIST xdoctest-1.1.5.gh.tar.gz 230382 BLAKE2B 0bbcd09464cc48d6450c746fc341892401bfa91a18be45ab340d291a4001a71f6d5a0fca6b3a7e869c2c34ce008e992fdac62fdd898a941659017e9bf68b7ae9 SHA512 6664eef216f7e83236673542bcdd75276c14260dd94026575e4e72ff41c6b4249909659e54a46fda84c49e22954fb169d23a1baf439823d28337731232803781 +DIST xdoctest-1.1.6.gh.tar.gz 230764 BLAKE2B 9a46f5339e5e7c1904f71f80eecfa385d78775aea896cf86b26288f3fdc63045e17b3d420c48a0f53c57c8992d048d2b7610f09276d772c26e147f492a71d3ad SHA512 9d33e315cde68f1731cff8b4311c941a30aba0718a94f81ca198a2efe760c829f6d4984f0d1c273c554aef938d445d2556d78d7f06fbe4160efe5d94acea9a53 diff --git a/dev-python/xdoctest/xdoctest-1.1.6.ebuild b/dev-python/xdoctest/xdoctest-1.1.6.ebuild new file mode 100644 index 000000000000..70d8909b5a6b --- /dev/null +++ b/dev-python/xdoctest/xdoctest-1.1.6.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +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 +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/pytest[${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 + +python_test() { + local EPYTEST_DESELECT=( + tests/test_pytest_cli.py::test_simple_pytest_import_error_cli + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdoctest.plugin + + epytest --pyargs tests xdoctest +}