public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sci-physics/scikit-hep-testdata/
@ 2024-03-20 10:22 Alexander Puck Neuwirth
  0 siblings, 0 replies; only message 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] only message in thread

only message in thread, other threads:[~2024-03-20 10:22 UTC | newest]

Thread overview: (only message) (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

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