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 C2D8E158043 for ; Fri, 1 Mar 2024 18:33:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 110ABE2A06; Fri, 1 Mar 2024 18:33:05 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 B6E3CE2A06 for ; Fri, 1 Mar 2024 18:33:04 +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 009033430EC for ; Fri, 1 Mar 2024 18:33:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6541A14EE for ; Fri, 1 Mar 2024 18:33:01 +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: <1709317974.81dab8f7b185553f473a1c0c31f2aeb061d49c09.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.1.0.ebuild X-VCS-Directories: dev-python/testfixtures/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 81dab8f7b185553f473a1c0c31f2aeb061d49c09 X-VCS-Branch: master Date: Fri, 1 Mar 2024 18:33:01 +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: 54133116-66e6-4479-ad6b-401e70fcf974 X-Archives-Hash: 7e5cd8839403f0f4d201121e5458c884 commit: 81dab8f7b185553f473a1c0c31f2aeb061d49c09 Author: Michał Górny gentoo org> AuthorDate: Fri Mar 1 18:01:51 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Mar 1 18:32:54 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81dab8f7 dev-python/testfixtures: Bump to 8.1.0 Signed-off-by: Michał Górny gentoo.org> dev-python/testfixtures/Manifest | 1 + dev-python/testfixtures/testfixtures-8.1.0.ebuild | 46 +++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-python/testfixtures/Manifest b/dev-python/testfixtures/Manifest index 06c07a7b8667..e32bda057723 100644 --- a/dev-python/testfixtures/Manifest +++ b/dev-python/testfixtures/Manifest @@ -1,2 +1,3 @@ DIST testfixtures-7.2.2.tar.gz 133809 BLAKE2B 6a3701bb9c5ca476aadc144f1013268f87e10dd47a6f757e8a0aaa3feb33e1a06663a38f0789b7c54cf439b07562dfb638bd9b89efdc36831d04977f6035ecc8 SHA512 4f7a5ed659b650080deac0b1caff6d2dff0b71d23eaeb26b48b7daa4df85dc0a1f6cfef98275c9a90289eb893c0a06311c849b84f2cc35447fb766f4d0d41c89 DIST testfixtures-8.0.0.tar.gz 133847 BLAKE2B 0197f1946b6124298251a2d0bedf706f36982b1f10c8f959fe1ac52aa8290a9123355a110aa2bdf932229bd152bd041f086eba76b29aa97f9df2f8a1b3a3f7c3 SHA512 57d7876cccda12f3abb47c50e15c5a9e2cbae2039a573733cb10d1708245f20adbf959fec34fd06edf1ba9279a10e336b34acd8bda0cf1f8a64f9940bd5c8c2b +DIST testfixtures-8.1.0.tar.gz 134639 BLAKE2B 9f930d15b039a808717e06d86711553c4b165b39927c36901a78a028d227a9aaa39b05091192bcaf15a579f08262e8f9561670e959d6cfa58541f2213f8c15ef SHA512 17aa2be892e8095d2386b72e72daa73689fb44283a168a0cb3fad8c847cd9527e4e273cf0ac527cdd2579f2e0689074de77b26c1124e3ae7aa7efce0f5909fec diff --git a/dev-python/testfixtures/testfixtures-8.1.0.ebuild b/dev-python/testfixtures/testfixtures-8.1.0.ebuild new file mode 100644 index 000000000000..5bd6337f763e --- /dev/null +++ b/dev-python/testfixtures/testfixtures-8.1.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 +}