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 476A415808B for ; Sat, 17 Feb 2024 06:10:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6ADC72BC020; Sat, 17 Feb 2024 06:10:34 +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 46A892BC020 for ; Sat, 17 Feb 2024 06:10:34 +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 5C9A033FD3F for ; Sat, 17 Feb 2024 06:10:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A85E314D3 for ; Sat, 17 Feb 2024 06:10:30 +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: <1708150227.f373ba93f6c144ff57469f67a4bd4ff6f5c93b3c.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/testfixtures/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/testfixtures/Manifest dev-python/testfixtures/testfixtures-8.0.0.ebuild X-VCS-Directories: dev-python/testfixtures/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: f373ba93f6c144ff57469f67a4bd4ff6f5c93b3c X-VCS-Branch: master Date: Sat, 17 Feb 2024 06:10:30 +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: d2a89c39-a38a-4d6b-943f-3869ef2d45ca X-Archives-Hash: 89b38b8afa9cd59bfca78cbfada3d2e9 commit: f373ba93f6c144ff57469f67a4bd4ff6f5c93b3c Author: Michał Górny gentoo org> AuthorDate: Sat Feb 17 06:09:05 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Feb 17 06:10:27 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f373ba93 dev-python/testfixtures: Bump to 8.0.0 Signed-off-by: Michał Górny gentoo.org> dev-python/testfixtures/Manifest | 1 + dev-python/testfixtures/testfixtures-8.0.0.ebuild | 46 +++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-python/testfixtures/Manifest b/dev-python/testfixtures/Manifest index 2241a86ce2e9..06c07a7b8667 100644 --- a/dev-python/testfixtures/Manifest +++ b/dev-python/testfixtures/Manifest @@ -1 +1,2 @@ DIST testfixtures-7.2.2.tar.gz 133809 BLAKE2B 6a3701bb9c5ca476aadc144f1013268f87e10dd47a6f757e8a0aaa3feb33e1a06663a38f0789b7c54cf439b07562dfb638bd9b89efdc36831d04977f6035ecc8 SHA512 4f7a5ed659b650080deac0b1caff6d2dff0b71d23eaeb26b48b7daa4df85dc0a1f6cfef98275c9a90289eb893c0a06311c849b84f2cc35447fb766f4d0d41c89 +DIST testfixtures-8.0.0.tar.gz 133847 BLAKE2B 0197f1946b6124298251a2d0bedf706f36982b1f10c8f959fe1ac52aa8290a9123355a110aa2bdf932229bd152bd041f086eba76b29aa97f9df2f8a1b3a3f7c3 SHA512 57d7876cccda12f3abb47c50e15c5a9e2cbae2039a573733cb10d1708245f20adbf959fec34fd06edf1ba9279a10e336b34acd8bda0cf1f8a64f9940bd5c8c2b diff --git a/dev-python/testfixtures/testfixtures-8.0.0.ebuild b/dev-python/testfixtures/testfixtures-8.0.0.ebuild new file mode 100644 index 000000000000..5bd6337f763e --- /dev/null +++ b/dev-python/testfixtures/testfixtures-8.0.0.ebuild @@ -0,0 +1,46 @@ +# 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..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A collection of helpers and mock objects for unit tests and doc tests" +HOMEPAGE=" + https://pypi.org/project/testfixtures/ + https://github.com/Simplistix/testfixtures/ +" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + dev-python/django[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + >=dev-python/sybil-6[${PYTHON_USEDEP}] + >=dev-python/twisted-18[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs \ + dev-python/furo +distutils_enable_tests pytest + +python_test() { + local -x PYTHONPATH="." + local -x DJANGO_SETTINGS_MODULE=testfixtures.tests.test_django.settings + + local EPYTEST_DESELECT=( + # TODO + testfixtures/tests/test_shouldwarn.py::ShouldWarnTests::test_filter_missing + testfixtures/tests/test_shouldwarn.py::ShouldWarnTests::test_filter_present + ) + + epytest +}