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 92FA21581E7 for ; Tue, 23 Apr 2024 14:18:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6A80AE29CD; Tue, 23 Apr 2024 14:18:02 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 4D631E29CD for ; Tue, 23 Apr 2024 14:18:02 +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 6179934327B for ; Tue, 23 Apr 2024 14:18:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CCCB2171E for ; Tue, 23 Apr 2024 14:17:59 +0000 (UTC) From: "Alexander Puck Neuwirth" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexander Puck Neuwirth" Message-ID: <1713880426.0d6d40c476ef48c4e25a87f97426399dfb657438.alexander@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/particle/ X-VCS-Repository: proj/sci X-VCS-Files: sci-physics/particle/particle-0.24.0.ebuild X-VCS-Directories: sci-physics/particle/ X-VCS-Committer: alexander X-VCS-Committer-Name: Alexander Puck Neuwirth X-VCS-Revision: 0d6d40c476ef48c4e25a87f97426399dfb657438 X-VCS-Branch: master Date: Tue, 23 Apr 2024 14:17:59 +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: b4d53597-cacf-402a-9343-441ac4eef788 X-Archives-Hash: 540462d9558257088d58649f621bd5f8 commit: 0d6d40c476ef48c4e25a87f97426399dfb657438 Author: Alexander Puck Neuwirth neuwirth-informatik de> AuthorDate: Tue Apr 23 13:53:46 2024 +0000 Commit: Alexander Puck Neuwirth neuwirth-informatik de> CommitDate: Tue Apr 23 13:53:46 2024 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=0d6d40c4 sci-physics/particle: add 0.24.0 Signed-off-by: Alexander Puck Neuwirth neuwirth-informatik.de> sci-physics/particle/particle-0.24.0.ebuild | 44 +++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/sci-physics/particle/particle-0.24.0.ebuild b/sci-physics/particle/particle-0.24.0.ebuild new file mode 100644 index 000000000..43f1e67ca --- /dev/null +++ b/sci-physics/particle/particle-0.24.0.ebuild @@ -0,0 +1,44 @@ +EAPI=8 + +PYTHON_COMPAT=( python3_{11..12} ) +DISTUTILS_USE_PEP517=hatchling +inherit distutils-r1 + +DESCRIPTION="PDG particle data and identification codes" +HOMEPAGE="https://github.com/scikit-hep/particle" + +LICENSE="BSD" +SLOT="0" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/scikit-hep/particle" +else + inherit pypi + KEYWORDS="~amd64" +fi + +RDEPEND=" + >=dev-python/attrs-19.2[${PYTHON_USEDEP}] + >=sci-physics/hepunits-2.0.0[${PYTHON_USEDEP}] + dev-python/deprecated[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND=" + test? ( + >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/tabulate[${PYTHON_USEDEP}] + ) +" +distutils_enable_tests pytest + +src_prepare() { + default + + sed -i -e 's:--benchmark-disable::' pyproject.toml || die +} + +python_test() { + epytest --ignore tests/particle/test_performance.py +}