public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alexander Puck Neuwirth" <alexander@neuwirth-informatik.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/particle/
Date: Tue, 23 Apr 2024 14:17:59 +0000 (UTC)	[thread overview]
Message-ID: <1713880426.0d6d40c476ef48c4e25a87f97426399dfb657438.alexander@gentoo> (raw)

commit:     0d6d40c476ef48c4e25a87f97426399dfb657438
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
AuthorDate: Tue Apr 23 13:53:46 2024 +0000
Commit:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> 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 <alexander <AT> 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
+}


             reply	other threads:[~2024-04-23 14:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-23 14:17 Alexander Puck Neuwirth [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-22  8:34 [gentoo-commits] proj/sci:master commit in: sci-physics/particle/ Alexander Puck Neuwirth
2024-03-19 19:42 Alexander Puck Neuwirth
2023-07-29 18:04 Alexander Puck Neuwirth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1713880426.0d6d40c476ef48c4e25a87f97426399dfb657438.alexander@gentoo \
    --to=alexander@neuwirth-informatik.de \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox