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 5C7B4158089 for ; Tue, 24 Oct 2023 14:42:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2EBBC2BC019; Tue, 24 Oct 2023 14:42:08 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 137EF2BC019 for ; Tue, 24 Oct 2023 14:42:08 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E82B7335CB7 for ; Tue, 24 Oct 2023 14:42:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4E73012B7 for ; Tue, 24 Oct 2023 14:42:05 +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: <1698158519.79cab922cd7701de67a6b809f80894fe53b2cb4f.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-tornasync/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pytest-tornasync/Manifest dev-python/pytest-tornasync/pytest-tornasync-0.6.0_p2-r1.ebuild X-VCS-Directories: dev-python/pytest-tornasync/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 79cab922cd7701de67a6b809f80894fe53b2cb4f X-VCS-Branch: master Date: Tue, 24 Oct 2023 14:42:05 +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: ddc3b05b-0715-49f2-a75f-c22ad228d069 X-Archives-Hash: abdcb3a9c6686424135a4d19ef84ff25 commit: 79cab922cd7701de67a6b809f80894fe53b2cb4f Author: Michał Górny gentoo org> AuthorDate: Tue Oct 24 14:18:30 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Oct 24 14:41:59 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79cab922 dev-python/pytest-tornasync: PEP517, fix tests, py3.12 Signed-off-by: Michał Górny gentoo.org> dev-python/pytest-tornasync/Manifest | 1 + .../pytest-tornasync-0.6.0_p2-r1.ebuild | 45 ++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-python/pytest-tornasync/Manifest b/dev-python/pytest-tornasync/Manifest index 591d86f01ace..e6a8a660ad90 100644 --- a/dev-python/pytest-tornasync/Manifest +++ b/dev-python/pytest-tornasync/Manifest @@ -1 +1,2 @@ +DIST pytest-tornasync-0.6.0.post2.gh.tar.gz 6157 BLAKE2B 315526ebfe1801ccb10258c0258a83f16efdc28b2b2dcdeece94423a0230506fc08ef176655e35c7aed007fad40501d6a1b0ad20728dfc58faddaad003fb1182 SHA512 fe21bc724b0bcc192f0ca7628302cda0b8122e1b5aedd4f7a0818bc757f45c1d4f76b2aecc35396349df7fc5b43c1278a5a06af44c2b29d8bf1e691164324231 DIST pytest-tornasync-0.6.0.post2.tar.gz 6201 BLAKE2B 6b6a2f941e649fb33373ef39b9d848d68a8af0f5e0d1a5e4496a9160e8e63ea108832437e87382c8203bb2c75673fad37b4ebd76157913199eb1661cd0216591 SHA512 2e258913b17a5442d18928833ee7e9771b6dbd148dbf251a7661432a54d4b9f9f3a7c396134eb544c0e3ce0af48c99d2d632399ac6ebdcf148187a7a523f4974 diff --git a/dev-python/pytest-tornasync/pytest-tornasync-0.6.0_p2-r1.ebuild b/dev-python/pytest-tornasync/pytest-tornasync-0.6.0_p2-r1.ebuild new file mode 100644 index 000000000000..597b80841a4d --- /dev/null +++ b/dev-python/pytest-tornasync/pytest-tornasync-0.6.0_p2-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +MY_P=${PN}-${PV/_p/.post} +DESCRIPTION="Pytest plugin for testing Python 3.5+ Tornado code" +HOMEPAGE=" + https://github.com/eukaryote/pytest-tornasync/ + https://pypi.org/project/pytest-tornasync/ +" +SRC_URI=" + https://github.com/eukaryote/pytest-tornasync/archive/${PV/_p/.post}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/pytest-3.0[${PYTHON_USEDEP}] + >=dev-python/tornado-5.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_prepare_all() { + # Do not install the license file + sed -i -e '/LICENSE/d' setup.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_tornasync.plugin +}