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 A5F8B158083 for ; Wed, 25 Sep 2024 04:39:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 60B95E2B55; Wed, 25 Sep 2024 04:39:36 +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 40D9FE2B54 for ; Wed, 25 Sep 2024 04:39:36 +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 95367343173 for ; Wed, 25 Sep 2024 04:39:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 53DD42804 for ; Wed, 25 Sep 2024 04:39:31 +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: <1727239145.eb1384fb4f399b0defdae80fa7906cd18efb0e52.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/iminuit/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/iminuit/Manifest dev-python/iminuit/iminuit-2.30.0.ebuild X-VCS-Directories: dev-python/iminuit/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: eb1384fb4f399b0defdae80fa7906cd18efb0e52 X-VCS-Branch: master Date: Wed, 25 Sep 2024 04:39:31 +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: 95ffad8a-f97a-4971-a6a0-1896a2ef506a X-Archives-Hash: 7021e64a4b5f2abc51f59a9579312d65 commit: eb1384fb4f399b0defdae80fa7906cd18efb0e52 Author: Michał Górny gentoo org> AuthorDate: Wed Sep 25 04:06:59 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Sep 25 04:39:05 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb1384fb dev-python/iminuit: Bump to 2.30.0 Signed-off-by: Michał Górny gentoo.org> dev-python/iminuit/Manifest | 1 + dev-python/iminuit/iminuit-2.30.0.ebuild | 65 ++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/dev-python/iminuit/Manifest b/dev-python/iminuit/Manifest index 337922b8a2fb..156da5e486ec 100644 --- a/dev-python/iminuit/Manifest +++ b/dev-python/iminuit/Manifest @@ -1,2 +1,3 @@ DIST iminuit-2.28.0.tar.gz 3268211 BLAKE2B bdc790602daf7df6bb98d4d341aacab2583d3feebd82cc71bce573e83a680da5394c32918038f60cc1e3ad1a0dae15ce0c46fba5e56fdece3b3cfbcb59a3aa08 SHA512 9674d57dff8682367a75d6a3b338f92e9171a507b9e51d1b2eef9c2feaeb1cccb60e2d39f0d6cd3feda9265050333a7814bad939207d4c653f53eecdb3b95955 DIST iminuit-2.29.1.tar.gz 1833873 BLAKE2B 18d7d9f61125fb34eed24e4c7949e8dc1b62df20fcdf238e25ab2c87935d456c6c53ac4126e9ca9e7127b7bcaa80405072bede9502e8be4e750c74fc973458c9 SHA512 853c3ec4b3a454ebe94929fc04df50f24179e069a8ce7ab34b8a33a349adc4092ebbc563975211b9f5109e5d4524e386c2f02ff095d892bd878ba7958399d771 +DIST iminuit-2.30.0.tar.gz 1835241 BLAKE2B 26bedcab00a626e4a88895021a2dc25c232efe0e0c6f807d7bf68253340c823cea973eecc6f02f0702932a35f1b01735a9ab3479c78ba3db81f436e8e0ef9183 SHA512 2e0594924ad5b01bd50592356289edca623eace75fede5b44652cf616f9271f7c62ae0949ef13e49e97ac6b3733dde7c2f379df00ccabf9bd7492fe88822580c diff --git a/dev-python/iminuit/iminuit-2.30.0.ebuild b/dev-python/iminuit/iminuit-2.30.0.ebuild new file mode 100644 index 000000000000..22953bd65422 --- /dev/null +++ b/dev-python/iminuit/iminuit-2.30.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=scikit-build-core +PYTHON_COMPAT=( python3_{10..13} ) + +inherit cmake distutils-r1 virtualx pypi + +DESCRIPTION="Minuit numerical function minimization in Python" +HOMEPAGE=" + https://github.com/scikit-hep/iminuit/ + https://pypi.org/project/iminuit/ +" + +LICENSE="MIT LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] +" +DEPEND=" + >=dev-python/pybind11-2.12[${PYTHON_USEDEP}] +" +BDEPEND=" + ${DEPEND} + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-python/annotated-types[${PYTHON_USEDEP}] + dev-python/ipython[${PYTHON_USEDEP}] + dev-python/ipywidgets[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # do not force LTO + sed -i -e '/INTERPROCEDURAL_OPTIMIZATION/d' CMakeLists.txt || die +} + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # precision error + tests/test_cost.py::test_Template_with_model_2D + + # TODO + tests/test_describe.py::test_with_pydantic_types + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # nonfatal implied by virtx + nonfatal epytest || die "Tests failed with ${EPYTHON}" +}