commit: 1441f4cafd423c94b7c921ed4bd7b1f600e85d2a
Author: Michael Schubert <mschu.dev <AT> gmail <DOT> com>
AuthorDate: Sat Mar 8 10:02:51 2025 +0000
Commit: Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
CommitDate: Fri Mar 21 15:46:49 2025 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=1441f4ca
dev-python/donfig: add ebuild
Signed-off-by: Michael Schubert <mschu.dev <AT> gmail.com>
Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org>
dev-python/donfig/donfig-0.8.1.ebuild | 28 ++++++++++++++++++++++++++++
dev-python/donfig/metadata.xml | 16 ++++++++++++++++
2 files changed, 44 insertions(+)
diff --git a/dev-python/donfig/donfig-0.8.1.ebuild
b/dev-python/donfig/donfig-0.8.1.ebuild
new file mode 100644
index 000000000..98a6c0bd1
--- /dev/null
+++ b/dev-python/donfig/donfig-0.8.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..13} )
+
+inherit distutils-r1
+
+DESCRIPTION="Configure a package including defaults, env variable loading, and
yaml loading"
+HOMEPAGE=https://donfig.readthedocs.io/en/latest/
+SRC_URI="https://github.com/pytroll/donfig/archive/v${PV}.tar.gz ->
${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+"
+DEPEND="
+ test? (
+ dev-python/cloudpickle[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
diff --git a/dev-python/donfig/metadata.xml b/dev-python/donfig/metadata.xml
new file mode 100644
index 000000000..ca9a4a333
--- /dev/null
+++ b/dev-python/donfig/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>[email protected]</email>
+ <name>Michael Schubert</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>[email protected]</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">pytroll/donfig</remote-id>
+ <remote-id type="pypi">donfig</remote-id>
+ </upstream>
+</pkgmetadata>