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 56CB315807A for ; Wed, 9 Oct 2024 06:31:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3BFF3E29E9; Wed, 9 Oct 2024 06:31:11 +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 E180CE29E6 for ; Wed, 9 Oct 2024 06:31:10 +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 07382343208 for ; Wed, 9 Oct 2024 06:31:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A0BEB27F2 for ; Wed, 9 Oct 2024 06:31:06 +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: <1728455455.7f18793970961252da4742dce37a451545cc153c.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.1.ebuild X-VCS-Directories: dev-python/iminuit/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 7f18793970961252da4742dce37a451545cc153c X-VCS-Branch: master Date: Wed, 9 Oct 2024 06:31:06 +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: a59820ad-f4f4-4d79-b396-d2ff4515b875 X-Archives-Hash: bdb2d2b2a1225d33d907490d21c2aaef commit: 7f18793970961252da4742dce37a451545cc153c Author: Michał Górny gentoo org> AuthorDate: Wed Oct 9 05:58:07 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Oct 9 06:30:55 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f187939 dev-python/iminuit: Bump to 2.30.1 Signed-off-by: Michał Górny gentoo.org> dev-python/iminuit/Manifest | 1 + dev-python/iminuit/iminuit-2.30.1.ebuild | 65 ++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/dev-python/iminuit/Manifest b/dev-python/iminuit/Manifest index c6b277ab62b8..1c48fa9633e8 100644 --- a/dev-python/iminuit/Manifest +++ b/dev-python/iminuit/Manifest @@ -1 +1,2 @@ DIST iminuit-2.30.0.tar.gz 1835241 BLAKE2B 26bedcab00a626e4a88895021a2dc25c232efe0e0c6f807d7bf68253340c823cea973eecc6f02f0702932a35f1b01735a9ab3479c78ba3db81f436e8e0ef9183 SHA512 2e0594924ad5b01bd50592356289edca623eace75fede5b44652cf616f9271f7c62ae0949ef13e49e97ac6b3733dde7c2f379df00ccabf9bd7492fe88822580c +DIST iminuit-2.30.1.tar.gz 1835277 BLAKE2B a242aeb5c356c3dbfd20a894b8e259a227a86de1d3f2b69963e3ff7577fe760c0394385f37a0db3772634c41cb49fb3ca8cfbd813b41d7bb85871eeeedfd4d19 SHA512 e14e2bf4a93e9d976739c542b26520fdbcf9c2a8bbd8b9f65bb11aafe5783645aeaa9100aefa3516923b7ff8bb488e3bca6a0f5f010813198333d1931ceb5c5d diff --git a/dev-python/iminuit/iminuit-2.30.1.ebuild b/dev-python/iminuit/iminuit-2.30.1.ebuild new file mode 100644 index 000000000000..22953bd65422 --- /dev/null +++ b/dev-python/iminuit/iminuit-2.30.1.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}" +}