* [gentoo-commits] proj/sci:master commit in: sci-physics/scikit-hep-testdata/
@ 2024-03-20 10:22 Alexander Puck Neuwirth
0 siblings, 0 replies; 2+ messages in thread
From: Alexander Puck Neuwirth @ 2024-03-20 10:22 UTC (permalink / raw
To: gentoo-commits
commit: a00db1fc41fc8e3850be968e1f3b1907e3920eaf
Author: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
AuthorDate: Wed Mar 20 07:08:31 2024 +0000
Commit: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
CommitDate: Wed Mar 20 10:22:16 2024 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=a00db1fc
sci-physics/scikit-hep-testdata: new package, add 0.4.39
Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>
sci-physics/scikit-hep-testdata/metadata.xml | 19 ++++++++++++++
.../scikit-hep-testdata-0.4.39.ebuild | 30 ++++++++++++++++++++++
2 files changed, 49 insertions(+)
diff --git a/sci-physics/scikit-hep-testdata/metadata.xml b/sci-physics/scikit-hep-testdata/metadata.xml
new file mode 100644
index 000000000..ea2e37599
--- /dev/null
+++ b/sci-physics/scikit-hep-testdata/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">
+ A common package to provide example files (e.g. ROOT) for testing and developing packages against. The sample of files is representative of typical files found "in the wild".
+ </longdescription>
+ <upstream>
+ <remote-id type="pypi">scikit-hep-testdata</remote-id>
+ <remote-id type="github">scikit-hep/scikit-hep-testdata</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sci-physics/scikit-hep-testdata/scikit-hep-testdata-0.4.39.ebuild b/sci-physics/scikit-hep-testdata/scikit-hep-testdata-0.4.39.ebuild
new file mode 100644
index 000000000..47d0f0bbd
--- /dev/null
+++ b/sci-physics/scikit-hep-testdata/scikit-hep-testdata-0.4.39.ebuild
@@ -0,0 +1,30 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 pypi
+
+DESCRIPTION="A package to provide example files for testing and developing packages against."
+HOMEPAGE="https://github.com/scikit-hep/scikit-hep-testdata"
+# pypi does not include the data nor tests
+SRC_URI="https://github.com/scikit-hep/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+S="${WORKDIR}/${P}"
+# export is needed here!
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+# otherwise we don't install the data
+export SKHEP_DATA=1
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-python/setuptools-scm[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-physics/scikit-hep-testdata/
@ 2024-10-22 8:34 Alexander Puck Neuwirth
0 siblings, 0 replies; 2+ messages in thread
From: Alexander Puck Neuwirth @ 2024-10-22 8:34 UTC (permalink / raw
To: gentoo-commits
commit: c1cb19c3fccb993c4c82696cab7e31c17f390c54
Author: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
AuthorDate: Sat Oct 19 11:39:22 2024 +0000
Commit: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
CommitDate: Tue Oct 22 08:32:23 2024 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=c1cb19c3
sci-physics/scikit-hep-testdata: add 0.4.48
Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>
.../scikit-hep-testdata-0.4.48.ebuild | 37 ++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/sci-physics/scikit-hep-testdata/scikit-hep-testdata-0.4.48.ebuild b/sci-physics/scikit-hep-testdata/scikit-hep-testdata-0.4.48.ebuild
new file mode 100644
index 000000000..873bf6609
--- /dev/null
+++ b/sci-physics/scikit-hep-testdata/scikit-hep-testdata-0.4.48.ebuild
@@ -0,0 +1,37 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 pypi
+
+DESCRIPTION="A package to provide example files for testing and developing packages against."
+HOMEPAGE="https://github.com/scikit-hep/scikit-hep-testdata"
+# pypi does not include the data nor tests
+SRC_URI="https://github.com/scikit-hep/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+# Fails without this
+S="${WORKDIR}/${P}"
+# export is needed here!
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+# otherwise we don't install the data
+export SKHEP_DATA=1
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/setuptools-scm[${PYTHON_USEDEP}]
+"
+
+EPYTEST_IGNORE=(
+ test_remote_files.py # we are net sandboxed
+)
+EPYTEST_DESELECT=(
+ tests/test_local_files.py::test_data_path_cached # https://github.com/scikit-hep/scikit-hep-testdata/issues/161
+)
+
+distutils_enable_tests pytest
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-10-22 8:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-20 10:22 [gentoo-commits] proj/sci:master commit in: sci-physics/scikit-hep-testdata/ Alexander Puck Neuwirth
-- strict thread matches above, loose matches on Subject: below --
2024-10-22 8:34 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