commit:     7b179e713705d0609bf23547c00e81208d1d7cb8
Author:     Michael Schubert <mschu.dev <AT> gmail <DOT> com>
AuthorDate: Mon Jan 29 21:45:12 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Jan 30 14:01:31 2024 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=7b179e71

dev-python/pyaml-env: add ebuild

Signed-off-by: Michael Schubert <mschu.dev <AT> gmail.com>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-python/pyaml-env/metadata.xml           | 12 ++++++++++++
 dev-python/pyaml-env/pyaml-env-1.2.1.ebuild | 22 ++++++++++++++++++++++
 2 files changed, 34 insertions(+)

diff --git a/dev-python/pyaml-env/metadata.xml 
b/dev-python/pyaml-env/metadata.xml
new file mode 100644
index 000000000..44769bf23
--- /dev/null
+++ b/dev-python/pyaml-env/metadata.xml
@@ -0,0 +1,12 @@
+<?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>
+       <upstream>
+               <remote-id type="github">mkaranasou/pyaml_env</remote-id>
+               <remote-id type="pypi">pyaml-env</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/dev-python/pyaml-env/pyaml-env-1.2.1.ebuild 
b/dev-python/pyaml-env/pyaml-env-1.2.1.ebuild
new file mode 100644
index 000000000..a5169040a
--- /dev/null
+++ b/dev-python/pyaml-env/pyaml-env-1.2.1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit pypi distutils-r1
+
+DESCRIPTION="Parse YAML configuration with environment variables in Python"
+HOMEPAGE="https://pypi.org/project/pyaml-env/";
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~amd64-linux"
+
+RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
+
+# tests not included in pypi tarball
+RESTRICT="test"
+#distutils_enable_tests pytest

Reply via email to