aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/hepunits/Manifest1
-rw-r--r--sci-physics/hepunits/hepunits-2.3.2.ebuild23
-rw-r--r--sci-physics/hepunits/hepunits-9999.ebuild23
-rw-r--r--sci-physics/hepunits/metadata.xml19
-rw-r--r--sci-physics/particle/Manifest1
-rw-r--r--sci-physics/particle/metadata.xml19
-rw-r--r--sci-physics/particle/particle-0.23.0.ebuild42
-rw-r--r--sci-physics/particle/particle-9999.ebuild42
8 files changed, 170 insertions, 0 deletions
diff --git a/sci-physics/hepunits/Manifest b/sci-physics/hepunits/Manifest
new file mode 100644
index 000000000..f831328d4
--- /dev/null
+++ b/sci-physics/hepunits/Manifest
@@ -0,0 +1 @@
+DIST hepunits-2.3.2.tar.gz 13327 BLAKE2B 16986f4cf96eb927e5ae7268dc2975957846678bff0569fc5d5b9d36bb5dae251905283a07e5fcdd895b20982e1e2d32bce5048752d654ca085286e89b65837f SHA512 48d0a4939e19fc6f26b3bb5f8515d8e0d9d4cbed172c14ae30609c2039bdb77625dad8e1e628178481ee0f203d7d36cd2e0d3306f3b344fe14cd68827c4d9477
diff --git a/sci-physics/hepunits/hepunits-2.3.2.ebuild b/sci-physics/hepunits/hepunits-2.3.2.ebuild
new file mode 100644
index 000000000..9816df84b
--- /dev/null
+++ b/sci-physics/hepunits/hepunits-2.3.2.ebuild
@@ -0,0 +1,23 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+DISTUTILS_USE_PEP517=hatchling
+inherit distutils-r1
+
+DESCRIPTION="units and constants in the HEP system of units"
+HOMEPAGE="https://github.com/scikit-hep/hepunits"
+
+LICENSE="BSD"
+SLOT="0"
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/scikit-hep/hepunits"
+else
+ inherit pypi
+ KEYWORDS="~amd64"
+fi
+
+RDEPEND="
+ >=dev-python/attrs-19.2[${PYTHON_USEDEP}]
+"
+BDEPEND="${RDEPEND}"
diff --git a/sci-physics/hepunits/hepunits-9999.ebuild b/sci-physics/hepunits/hepunits-9999.ebuild
new file mode 100644
index 000000000..9816df84b
--- /dev/null
+++ b/sci-physics/hepunits/hepunits-9999.ebuild
@@ -0,0 +1,23 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+DISTUTILS_USE_PEP517=hatchling
+inherit distutils-r1
+
+DESCRIPTION="units and constants in the HEP system of units"
+HOMEPAGE="https://github.com/scikit-hep/hepunits"
+
+LICENSE="BSD"
+SLOT="0"
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/scikit-hep/hepunits"
+else
+ inherit pypi
+ KEYWORDS="~amd64"
+fi
+
+RDEPEND="
+ >=dev-python/attrs-19.2[${PYTHON_USEDEP}]
+"
+BDEPEND="${RDEPEND}"
diff --git a/sci-physics/hepunits/metadata.xml b/sci-physics/hepunits/metadata.xml
new file mode 100644
index 000000000..41d598fa2
--- /dev/null
+++ b/sci-physics/hepunits/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">
+ hepunits collects the most commonly used units and constants in the HEP System of Units, as derived from the basic units originally defined by the CLHEP project
+ </longdescription>
+ <upstream>
+ <remote-id type="pypi">hepunits</remote-id>
+ <remote-id type="github">scikit-hep/hepunits</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sci-physics/particle/Manifest b/sci-physics/particle/Manifest
new file mode 100644
index 000000000..fbbcdada4
--- /dev/null
+++ b/sci-physics/particle/Manifest
@@ -0,0 +1 @@
+DIST particle-0.23.0.tar.gz 313512 BLAKE2B 33a0dc1cf612af8242b5080d0862f3b1e587254b46fa90f235cd6edba3919594c5077733600dfe88ad0959be889271c301324789abf0511a7fbe588942086877 SHA512 582c42beade0b28f28f3ee9f83f6d8cc75558f8a9aa5fbe3679c7aa68af40bd04f374741211d6f214bb828c24a017a89b541f780739a36d61d85a2fd5e00b530
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
+}