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 C3E62158094 for ; Tue, 21 Jun 2022 17:32:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DDA00E08BD; Tue, 21 Jun 2022 17:32:48 +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 C3D26E08BD for ; Tue, 21 Jun 2022 17:32:48 +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 71413341536 for ; Tue, 21 Jun 2022 17:32:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C54167F for ; Tue, 21 Jun 2022 17:32:45 +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: <1655832759.6d2e699391462a88ec11fa231d1f9331fa94c57a.arthurzam@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.12.0.ebuild X-VCS-Directories: dev-python/iminuit/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 6d2e699391462a88ec11fa231d1f9331fa94c57a X-VCS-Branch: master Date: Tue, 21 Jun 2022 17:32:45 +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: b3d36ea7-3849-4b84-8116-fd398617f137 X-Archives-Hash: 7853d707e99f94948d736ab8f88589ee commit: 6d2e699391462a88ec11fa231d1f9331fa94c57a Author: Arthur Zamarin gentoo org> AuthorDate: Tue Jun 21 17:20:47 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Tue Jun 21 17:32:39 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d2e6993 dev-python/iminuit: add 2.12.0 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/iminuit/Manifest | 1 + dev-python/iminuit/iminuit-2.12.0.ebuild | 41 ++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/dev-python/iminuit/Manifest b/dev-python/iminuit/Manifest index 3a0e1e68611b..58d9c3acf719 100644 --- a/dev-python/iminuit/Manifest +++ b/dev-python/iminuit/Manifest @@ -1 +1,2 @@ DIST iminuit-2.11.2.tar.gz 411984 BLAKE2B 8fa47b24890f26718ebb8f053c2f908d982a7b6cc7f71f6523f387128ab0bd894bb851f18e2f8611ff5ab1c113651f526893445f465fbbfa10d487dc15effcbd SHA512 b60755f21ae38bd19860e0d711bab9c6e37dd361cc8cf43bdd1a583e8c06abca38e42ae0a6c4631be05c5082c9ab169bddb51e4d84397ce8f81833fd4c46cdd7 +DIST iminuit-2.12.0.tar.gz 420687 BLAKE2B 9d3761bd756f58a7c36a61f161e4667f8efbb6edef9bb1882fcd324efe46aaec126dbfb4b692a5b7f56a1f162cb292c9e58a0d3337ae04a019756455bc0df1e9 SHA512 1697c04722323506bbe43682befe1b6020656348c98fec0a877ea8403390e741ea106d61d95e31595d894b020025606b413b2f185fd747b2b7d733b729919fe1 diff --git a/dev-python/iminuit/iminuit-2.12.0.ebuild b/dev-python/iminuit/iminuit-2.12.0.ebuild new file mode 100644 index 000000000000..3a700725da54 --- /dev/null +++ b/dev-python/iminuit/iminuit-2.12.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-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} ) + +# forced implicitly +CMAKE_MAKEFILE_GENERATOR=emake +inherit cmake distutils-r1 virtualx + +DESCRIPTION="Minuit numerical function minimization in Python" +HOMEPAGE="https://github.com/scikit-hep/iminuit/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="MIT LGPL-2.1" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-python/ipython[${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() { + epytest -p no:pytest-describe || die "Tests failed with ${EPYTHON}" +}