diff options
Diffstat (limited to 'dev-python/pyhcl')
| -rw-r--r-- | dev-python/pyhcl/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pyhcl/metadata.xml | 14 | ||||
| -rw-r--r-- | dev-python/pyhcl/pyhcl-0.4.5.ebuild | 36 |
3 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/pyhcl/Manifest b/dev-python/pyhcl/Manifest new file mode 100644 index 000000000000..1d5adac20567 --- /dev/null +++ b/dev-python/pyhcl/Manifest @@ -0,0 +1 @@ +DIST pyhcl-0.4.5.gh.tar.gz 58692 BLAKE2B ea08471e3bc0957b19660322e487314ffb795c4df024e54b0ed5979f60f406c7ba08f48825ef9c6a2984fff753a85db696a3877f3409d5773b1789d696164e1b SHA512 094c766e8787142c6369e530102f54c187c25cbc68d0feb89e71230adf3241cd17bd001cabb52a67e4230e1d4ca43eff975c523bd395305a38ca72ef3e604ab8 diff --git a/dev-python/pyhcl/metadata.xml b/dev-python/pyhcl/metadata.xml new file mode 100644 index 000000000000..5d84d99f9448 --- /dev/null +++ b/dev-python/pyhcl/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>williamh@gentoo.org</email> + <name>William Hubbs</name> + </maintainer> + <maintainer type="person"> + <email>chutzpah@gentoo.org</email> + <name>Patrick McLean</name> + </maintainer> + <stabilize-allarches /> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-python/pyhcl/pyhcl-0.4.5.ebuild b/dev-python/pyhcl/pyhcl-0.4.5.ebuild new file mode 100644 index 000000000000..6dfb8683674a --- /dev/null +++ b/dev-python/pyhcl/pyhcl-0.4.5.ebuild @@ -0,0 +1,36 @@ +# 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_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="HCL configuration parser for python" +HOMEPAGE=" + https://github.com/virtuald/pyhcl/ + https://pypi.org/project/pyhcl/ +" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/virtuald/pyhcl.git" +else + SRC_URI=" + https://github.com/virtuald/pyhcl/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm64" +fi + +LICENSE="MPL-2.0" +SLOT="0" + +distutils_enable_tests pytest + +python_prepare_all() { + printf '__version__ = "%s"\n' "${PV}" > src/hcl/version.py || die + distutils-r1_python_prepare_all +} |
