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 CE71C15800A for ; Sat, 29 Jul 2023 18:04:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E0F63E0BE5; Sat, 29 Jul 2023 18:04:47 +0000 (UTC) Received: from smtp.gentoo.org (dev.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C1C7AE0BDF for ; Sat, 29 Jul 2023 18:04:47 +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 86D693408A2 for ; Sat, 29 Jul 2023 18:04:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C1D07E71 for ; Sat, 29 Jul 2023 18:04:44 +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: <1690409707.7f84924d9383774b9cfa01d9f4d5c395b2ee9fa2.alexander@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/particle/ X-VCS-Repository: proj/sci X-VCS-Files: sci-physics/particle/metadata.xml sci-physics/particle/particle-0.23.0.ebuild sci-physics/particle/particle-9999.ebuild X-VCS-Directories: sci-physics/particle/ X-VCS-Committer: alexander X-VCS-Committer-Name: Alexander Puck Neuwirth X-VCS-Revision: 7f84924d9383774b9cfa01d9f4d5c395b2ee9fa2 X-VCS-Branch: master Date: Sat, 29 Jul 2023 18:04:44 +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: 4056f158-4cc0-4b61-89a8-fafedc6b42e2 X-Archives-Hash: c87b9a8e2e394924a584f283e4b71ac2 commit: 7f84924d9383774b9cfa01d9f4d5c395b2ee9fa2 Author: Alexander Puck Neuwirth neuwirth-informatik de> AuthorDate: Wed Jul 26 18:30:36 2023 +0000 Commit: Alexander Puck Neuwirth neuwirth-informatik de> CommitDate: Wed Jul 26 22:15:07 2023 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=7f84924d sci-physics/particle: new package, add 0.23.0, 9999 Signed-off-by: Alexander Puck Neuwirth neuwirth-informatik.de> sci-physics/particle/metadata.xml | 19 +++++++++++++ sci-physics/particle/particle-0.23.0.ebuild | 42 +++++++++++++++++++++++++++++ sci-physics/particle/particle-9999.ebuild | 42 +++++++++++++++++++++++++++++ 3 files changed, 103 insertions(+) diff --git a/sci-physics/particle/metadata.xml b/sci-physics/particle/metadata.xml new file mode 100644 index 000000000..1ec9e9afb --- /dev/null +++ b/sci-physics/particle/metadata.xml @@ -0,0 +1,19 @@ + + + + + sci@gentoo.org + Gentoo Science Project + + + alexander@neuwirth-informatik.de + Alexander Puck Neuwirth + + + Particle provides a pythonic interface to the Particle Data Group (PDG) particle data tables and particle identification codes, with extended particle information and extra goodies. + + + particle + scikit-hep/particle + + diff --git a/sci-physics/particle/particle-0.23.0.ebuild b/sci-physics/particle/particle-0.23.0.ebuild new file mode 100644 index 000000000..c1f823d9d --- /dev/null +++ b/sci-physics/particle/particle-0.23.0.ebuild @@ -0,0 +1,42 @@ +EAPI=8 + +PYTHON_COMPAT=( python3_11 ) +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}] + test? ( + >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/tabulate[${PYTHON_USEDEP}] + ) +" +BDEPEND="${RDEPEND}" +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 +} diff --git a/sci-physics/particle/particle-9999.ebuild b/sci-physics/particle/particle-9999.ebuild new file mode 100644 index 000000000..c1f823d9d --- /dev/null +++ b/sci-physics/particle/particle-9999.ebuild @@ -0,0 +1,42 @@ +EAPI=8 + +PYTHON_COMPAT=( python3_11 ) +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}] + test? ( + >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/tabulate[${PYTHON_USEDEP}] + ) +" +BDEPEND="${RDEPEND}" +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 +}