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 13CF1158091 for ; Mon, 23 May 2022 10:34:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3CA6DE08E5; Mon, 23 May 2022 10:34:16 +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 1C82AE08E5 for ; Mon, 23 May 2022 10:34:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 0F9AD341BEB for ; Mon, 23 May 2022 10:34:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 89A4146D for ; Mon, 23 May 2022 10:34:12 +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: <1653302047.aae7cdc35ad1a796a762f199f94853bd05215d07.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/typeguard/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/typeguard/typeguard-2.13.3-r1.ebuild X-VCS-Directories: dev-python/typeguard/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: aae7cdc35ad1a796a762f199f94853bd05215d07 X-VCS-Branch: master Date: Mon, 23 May 2022 10:34:12 +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: 3cdec71f-19d6-4760-a60f-03fdabd0e6fd X-Archives-Hash: 2d14d9bf5b27e7ea3b02c270e5f0e892 commit: aae7cdc35ad1a796a762f199f94853bd05215d07 Author: Michał Górny gentoo org> AuthorDate: Mon May 23 09:57:38 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon May 23 10:34:07 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aae7cdc3 dev-python/typeguard: Use PEP517 build Signed-off-by: Michał Górny gentoo.org> dev-python/typeguard/typeguard-2.13.3-r1.ebuild | 44 +++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/dev-python/typeguard/typeguard-2.13.3-r1.ebuild b/dev-python/typeguard/typeguard-2.13.3-r1.ebuild new file mode 100644 index 000000000000..b4cdda966b33 --- /dev/null +++ b/dev-python/typeguard/typeguard-2.13.3-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Run-time type checker for Python" +HOMEPAGE=" + https://pypi.org/project/typeguard/ + https://github.com/agronholm/typeguard/ +" +SRC_URI=" + https://github.com/agronholm/typeguard/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/typing-extensions[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + local EPYTEST_IGNORE=( + # mypy changes results from version to version + tests/mypy + ) + + local -x PYTHONDONTWRITEBYTECODE= + epytest +}