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 C9DED158083 for ; Thu, 26 Sep 2024 16:16:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0CD4E2BC014; Thu, 26 Sep 2024 16:16:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 E26ED2BC014 for ; Thu, 26 Sep 2024 16:16:57 +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 B2BD334301D for ; Thu, 26 Sep 2024 16:16:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 512961ACF for ; Thu, 26 Sep 2024 16:16:55 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1727367407.aa3188e95781924d3eb39bdcf00ed212fb07e305.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/beartype/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/beartype/Manifest dev-python/beartype/beartype-0.19.0.ebuild X-VCS-Directories: dev-python/beartype/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: aa3188e95781924d3eb39bdcf00ed212fb07e305 X-VCS-Branch: master Date: Thu, 26 Sep 2024 16:16:55 +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: 51ea6115-9543-43a1-9bea-1f012f970ac5 X-Archives-Hash: f3e7e1f24d116d99b457608fbdb5b683 commit: aa3188e95781924d3eb39bdcf00ed212fb07e305 Author: Arthur Zamarin gentoo org> AuthorDate: Thu Sep 26 16:16:28 2024 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Thu Sep 26 16:16:47 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa3188e9 dev-python/beartype: add 0.19.0 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/beartype/Manifest | 1 + dev-python/beartype/beartype-0.19.0.ebuild | 40 ++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/dev-python/beartype/Manifest b/dev-python/beartype/Manifest index 8718c889444a..f3e7e531c9e0 100644 --- a/dev-python/beartype/Manifest +++ b/dev-python/beartype/Manifest @@ -1,3 +1,4 @@ DIST beartype-0.18.5.tar.gz 1193506 BLAKE2B 497de6f326a3b600992748db8b74ba80d4a14003a0cc484b3eeaf48f0f808864fe64462ef3315d421dc4b5fe5d7060b48585ee00eb822c9f124612f394ab93bb SHA512 114b256619c6c7fc48fbe28db00ae5a8ddea4ce11c5394a06fa026f0317a34907ff12ef0c0009cff7a7b83742e6b66bc8b503b4c0e382c0b6cf79d43780bda5b +DIST beartype-0.19.0.tar.gz 1294480 BLAKE2B 7a0d2800a28af49815bf300c93081faee0e01c922497418bc7328c0968cac077a0fdfe984de66c214af610bb972a217224a6d164a2f3aac9c0a2d067c0658fc3 SHA512 9a87086736ba0d3497f3dfc3b57fdfd3ebb33812aaf58d195f1161474a553499e87d6f3f9c12bc66ab33cb3ca1697b00220828d004d568495ac743efb473c1e8 DIST beartype-0.19.0rc1.tar.gz 1281359 BLAKE2B df124c838891e5bbce62ac8116968631887dc5e5918a1b6a7c46c1705d05fcacf5f4cc4034b39a6d8565a78e2edd99686643a0d1d8c22586cfd797ceb8085b29 SHA512 630fd68a55ab379aca7b49b72161b732e0790835d7f62568239fb53f719fc8295bbe3c942058ab6dfad3226060a5a11820bc87080a2dcfb46c482e1877f775b7 DIST beartype-0.19.0rc2.tar.gz 1294713 BLAKE2B 7197c8203cd9d1a750df3946a19ad9d0be893b649f89254462edadbabb49adfda3e098b35b21fcc92156c5ea488b2e7760cf6bf18f418530533495be9694b71c SHA512 ea9bd08f9b294382826201e4bded03fb7337e5fd5ed3d63fa741703b49164ad7dd3075ccaf3256011005c31cce4258efb9070f876009eece49bbfd2bffb5196a diff --git a/dev-python/beartype/beartype-0.19.0.ebuild b/dev-python/beartype/beartype-0.19.0.ebuild new file mode 100644 index 000000000000..000466fffd5b --- /dev/null +++ b/dev-python/beartype/beartype-0.19.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Unbearably fast runtime type checking in pure Python" +HOMEPAGE=" + https://pypi.org/project/beartype/ + https://github.com/beartype/beartype/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +BDEPEND=" + test? ( + dev-python/mypy[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # fragile performance test + beartype_test/a00_unit/a70_decor/test_decorwrapper.py::test_wrapper_fail_obj_large + # test for building docs, apparently broken too + beartype_test/a90_func/z90_lib/a00_sphinx + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +}