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 2EBE015815E for ; Thu, 8 Feb 2024 18:56:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B4224E2A3A; Thu, 8 Feb 2024 18:56:52 +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 95DBAE2A3A for ; Thu, 8 Feb 2024 18:56:52 +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 44F8D3430C2 for ; Thu, 8 Feb 2024 18:56:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 90AA914B7 for ; Thu, 8 Feb 2024 18:56:49 +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: <1707417116.6c918fd017099e115ccf16ca059238d950a8b658.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.25.1.ebuild X-VCS-Directories: dev-python/iminuit/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 6c918fd017099e115ccf16ca059238d950a8b658 X-VCS-Branch: master Date: Thu, 8 Feb 2024 18:56:49 +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: 67d95755-55ac-4e72-a762-6f0de96e6772 X-Archives-Hash: eefeafe3928dcb6a43311d8576cc60f3 commit: 6c918fd017099e115ccf16ca059238d950a8b658 Author: Michał Górny gentoo org> AuthorDate: Thu Feb 8 18:31:56 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Feb 8 18:31:56 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c918fd0 dev-python/iminuit: Bump to 2.25.1 Signed-off-by: Michał Górny gentoo.org> dev-python/iminuit/Manifest | 1 + dev-python/iminuit/iminuit-2.25.1.ebuild | 58 ++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/dev-python/iminuit/Manifest b/dev-python/iminuit/Manifest index b6b7157a0b5c..8fc40e6c0f13 100644 --- a/dev-python/iminuit/Manifest +++ b/dev-python/iminuit/Manifest @@ -1,3 +1,4 @@ DIST iminuit-2.21.3.tar.gz 437827 BLAKE2B 5196e896769f6312bb6ba9af8d6f03bea6023a9459ccbe8553e4c10ba5dc2ed90e4e4b57bdd104f7b72e7514a50c0d4c717c76adf206d7eaddcd3c4c54c4d210 SHA512 5e48d4451caf56688143fa4590528fb4ed0660e144dbb3d1c409b84f793593478979728b4af9748b7bbdb7063e2ef7e05476a2ecd52af089f351522aadfc9ba4 DIST iminuit-2.24.0.tar.gz 2326542 BLAKE2B 98713f814f9c6c58e18c0e468037717c846dce02cedeb86320d47f8515d2e6309bd0f4600e404905235de0e84b6e188c90f6b3776affe607c54df5f721035d75 SHA512 d4c439ddba950b82c5f665cffe099ea593d9f154ecc00dd23359e2fba057bb11e86b832465fbb6f19cd68717913b34f818e434205270f5292b0dc6c2237cf4cc DIST iminuit-2.25.0.tar.gz 2920587 BLAKE2B 19cab06326461ffc333cf704353620608e7c59376cd8d9a508cfea0bb517f05cb8795250c45495d8e052e4b3739903b07374eae439f7ea3a8b9de558f7aed667 SHA512 cd8322276529127f7a7b3360d5cef9cb9ffdfd48df4b2bbec4bfa60b84377abb4e24b932b385655448ae207191e2810a2da5b11bb7cce6baa195d0421644e1e4 +DIST iminuit-2.25.1.tar.gz 2921727 BLAKE2B db3460ccfa9a0eebf9995758b4ea42eb6e11c09eb3ed9e99aa36ae544c741f07a492ef7228755495229bcf7964932c2667894c2173b5d458833685c2c1ca226c SHA512 a4047f1aaf8e09c0cd531ac10db9a73477cedc2de832e96696e523c8e2319e55925c64996429df15b74b27e72c9c24d8f2b2af3637043967aff377b0a489c003 diff --git a/dev-python/iminuit/iminuit-2.25.1.ebuild b/dev-python/iminuit/iminuit-2.25.1.ebuild new file mode 100644 index 000000000000..ae167b13d180 --- /dev/null +++ b/dev-python/iminuit/iminuit-2.25.1.ebuild @@ -0,0 +1,58 @@ +# 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..12} ) + +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[${PYTHON_USEDEP}] +" +BDEPEND=" + ${BDEPEND} + 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_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}" +}