public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sci-physics/particle/
@ 2023-07-29 18:04 Alexander Puck Neuwirth
  0 siblings, 0 replies; 4+ messages in thread
From: Alexander Puck Neuwirth @ 2023-07-29 18:04 UTC (permalink / raw
  To: gentoo-commits

commit:     7f84924d9383774b9cfa01d9f4d5c395b2ee9fa2
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
AuthorDate: Wed Jul 26 18:30:36 2023 +0000
Commit:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> 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 <alexander <AT> 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>sci@gentoo.org</email>
+		<name>Gentoo Science Project</name>
+	</maintainer>
+	<maintainer type="person">
+		<email>alexander@neuwirth-informatik.de</email>
+		<name>Alexander Puck Neuwirth</name>
+	</maintainer>
+	<longdescription lang="en">
+	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.
+	</longdescription>
+	<upstream>
+		<remote-id type="pypi">particle</remote-id>
+		<remote-id type="github">scikit-hep/particle</remote-id>
+	</upstream>
+</pkgmetadata>

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
+}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-physics/particle/
@ 2024-03-19 19:42 Alexander Puck Neuwirth
  0 siblings, 0 replies; 4+ messages in thread
From: Alexander Puck Neuwirth @ 2024-03-19 19:42 UTC (permalink / raw
  To: gentoo-commits

commit:     d41f019755193ba78fdffe64e1d6bd726d810b7e
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
AuthorDate: Tue Mar 19 19:42:10 2024 +0000
Commit:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
CommitDate: Tue Mar 19 19:42:10 2024 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=d41f0197

sci-physics/particle: add 0.23.1, enable py3.12

Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>

 sci-physics/particle/{particle-9999.ebuild => particle-0.23.1.ebuild} | 2 +-
 sci-physics/particle/particle-9999.ebuild                             | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-physics/particle/particle-9999.ebuild b/sci-physics/particle/particle-0.23.1.ebuild
similarity index 95%
copy from sci-physics/particle/particle-9999.ebuild
copy to sci-physics/particle/particle-0.23.1.ebuild
index 88da33c3e..43f1e67ca 100644
--- a/sci-physics/particle/particle-9999.ebuild
+++ b/sci-physics/particle/particle-0.23.1.ebuild
@@ -1,6 +1,6 @@
 EAPI=8
 
-PYTHON_COMPAT=( python3_11 )
+PYTHON_COMPAT=( python3_{11..12} )
 DISTUTILS_USE_PEP517=hatchling
 inherit distutils-r1
 

diff --git a/sci-physics/particle/particle-9999.ebuild b/sci-physics/particle/particle-9999.ebuild
index 88da33c3e..43f1e67ca 100644
--- a/sci-physics/particle/particle-9999.ebuild
+++ b/sci-physics/particle/particle-9999.ebuild
@@ -1,6 +1,6 @@
 EAPI=8
 
-PYTHON_COMPAT=( python3_11 )
+PYTHON_COMPAT=( python3_{11..12} )
 DISTUTILS_USE_PEP517=hatchling
 inherit distutils-r1
 


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-physics/particle/
@ 2024-04-23 14:17 Alexander Puck Neuwirth
  0 siblings, 0 replies; 4+ messages in thread
From: Alexander Puck Neuwirth @ 2024-04-23 14:17 UTC (permalink / raw
  To: gentoo-commits

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
+}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-physics/particle/
@ 2024-10-22  8:34 Alexander Puck Neuwirth
  0 siblings, 0 replies; 4+ messages in thread
From: Alexander Puck Neuwirth @ 2024-10-22  8:34 UTC (permalink / raw
  To: gentoo-commits

commit:     969ba769b7c38e88cc9beca7812599f2c16e70f8
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
AuthorDate: Sat Oct 19 11:11:49 2024 +0000
Commit:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
CommitDate: Tue Oct 22 08:32:18 2024 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=969ba769

sci-physics/particle: add 0.25.2

Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>

 .../particle/{particle-9999.ebuild => particle-0.25.2.ebuild}  | 10 +++++++---
 sci-physics/particle/particle-9999.ebuild                      | 10 +++++++---
 2 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/sci-physics/particle/particle-9999.ebuild b/sci-physics/particle/particle-0.25.2.ebuild
similarity index 82%
copy from sci-physics/particle/particle-9999.ebuild
copy to sci-physics/particle/particle-0.25.2.ebuild
index 43f1e67ca..e5e49ea91 100644
--- a/sci-physics/particle/particle-9999.ebuild
+++ b/sci-physics/particle/particle-0.25.2.ebuild
@@ -1,6 +1,6 @@
 EAPI=8
 
-PYTHON_COMPAT=( python3_{11..12} )
+PYTHON_COMPAT=( python3_{11..13} )
 DISTUTILS_USE_PEP517=hatchling
 inherit distutils-r1
 
@@ -22,12 +22,16 @@ RDEPEND="
 	>=dev-python/attrs-19.2[${PYTHON_USEDEP}]
 	>=sci-physics/hepunits-2.0.0[${PYTHON_USEDEP}]
 	dev-python/deprecated[${PYTHON_USEDEP}]
+	$(python_gen_cond_dep '
+		>=dev-python/typing-extensions-4.5[${PYTHON_USEDEP}]
+	' python3_{11..12})
+
 "
-DEPEND="${RDEPEND}"
 BDEPEND="
+	dev-python/hatch-vcs[${PYTHON_USEDEP}]
 	test? (
-		>=dev-python/pytest-6.0.0[${PYTHON_USEDEP}]
 		dev-python/pandas[${PYTHON_USEDEP}]
+		>=dev-python/pytest-6.0.0[${PYTHON_USEDEP}]
 		dev-python/tabulate[${PYTHON_USEDEP}]
 	)
 "

diff --git a/sci-physics/particle/particle-9999.ebuild b/sci-physics/particle/particle-9999.ebuild
index 43f1e67ca..e5e49ea91 100644
--- a/sci-physics/particle/particle-9999.ebuild
+++ b/sci-physics/particle/particle-9999.ebuild
@@ -1,6 +1,6 @@
 EAPI=8
 
-PYTHON_COMPAT=( python3_{11..12} )
+PYTHON_COMPAT=( python3_{11..13} )
 DISTUTILS_USE_PEP517=hatchling
 inherit distutils-r1
 
@@ -22,12 +22,16 @@ RDEPEND="
 	>=dev-python/attrs-19.2[${PYTHON_USEDEP}]
 	>=sci-physics/hepunits-2.0.0[${PYTHON_USEDEP}]
 	dev-python/deprecated[${PYTHON_USEDEP}]
+	$(python_gen_cond_dep '
+		>=dev-python/typing-extensions-4.5[${PYTHON_USEDEP}]
+	' python3_{11..12})
+
 "
-DEPEND="${RDEPEND}"
 BDEPEND="
+	dev-python/hatch-vcs[${PYTHON_USEDEP}]
 	test? (
-		>=dev-python/pytest-6.0.0[${PYTHON_USEDEP}]
 		dev-python/pandas[${PYTHON_USEDEP}]
+		>=dev-python/pytest-6.0.0[${PYTHON_USEDEP}]
 		dev-python/tabulate[${PYTHON_USEDEP}]
 	)
 "


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-10-22  8:34 UTC | newest]

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox