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 6F5B6158095 for ; Tue, 27 Sep 2022 18:25:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B4B48E0AF1; Tue, 27 Sep 2022 18:25:37 +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 995E3E0AF3 for ; Tue, 27 Sep 2022 18:25:37 +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 A7BCF340E6B for ; Tue, 27 Sep 2022 18:25:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 286495F7 for ; Tue, 27 Sep 2022 18:25:34 +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: <1664303125.4b54a4c5bef2502569c60d25852c12bb6a09aabe.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.17.0.ebuild X-VCS-Directories: dev-python/iminuit/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 4b54a4c5bef2502569c60d25852c12bb6a09aabe X-VCS-Branch: master Date: Tue, 27 Sep 2022 18:25:34 +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: 4aee7866-7da1-4fad-8a7a-4df17931edac X-Archives-Hash: c16453cc2cc31219b5ce8dfe5a0fd47c commit: 4b54a4c5bef2502569c60d25852c12bb6a09aabe Author: Arthur Zamarin gentoo org> AuthorDate: Tue Sep 27 18:24:24 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Tue Sep 27 18:25:25 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b54a4c5 dev-python/iminuit: add 2.17.0 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/iminuit/Manifest | 1 + dev-python/iminuit/iminuit-2.17.0.ebuild | 42 ++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-python/iminuit/Manifest b/dev-python/iminuit/Manifest index 0fdc191e9925..be94b64b7a3b 100644 --- a/dev-python/iminuit/Manifest +++ b/dev-python/iminuit/Manifest @@ -1 +1,2 @@ DIST iminuit-2.16.0.tar.gz 429960 BLAKE2B 39d5d52797f8f9749dc99b638039323c5eaedec9bd810f8f6b79f19c37e12d6c8d3c6acd4811b80a43828c9ca7b1a30ea71174cdd749d40f5b27cdfd1de193c6 SHA512 06a3906ff121c135ec3c882a5eb5d77a09b910cd2b81d4e6e635122a4544546b64fc6342936a8a963e84d89efca82552a0283908e100d26c25d4bbf7fca5735e +DIST iminuit-2.17.0.tar.gz 431704 BLAKE2B 46bd5f108f42ba426f71cf7670a1936cbf1c24fd070ace653b9daf55c22a4012ac2e052a05a94ffb6873a42adb7a23509b22f25b0db576ca42e27eea51aca67a SHA512 c42c1a1630d6abf3232ec862c2064db74b7395a9f5ffa515157c74fe86dd4026dc985fa377d5355574fe2fe131432efe006a68b9883cb67c4fa31a3929071f0c diff --git a/dev-python/iminuit/iminuit-2.17.0.ebuild b/dev-python/iminuit/iminuit-2.17.0.ebuild new file mode 100644 index 000000000000..8f9a4ea554d7 --- /dev/null +++ b/dev-python/iminuit/iminuit-2.17.0.ebuild @@ -0,0 +1,42 @@ +# 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/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() { + epytest -p no:pytest-describe || die "Tests failed with ${EPYTHON}" +}