commit:     36fd2b955ebe9475394443a95b6440a425ef724e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Sep  2 03:11:23 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Sep  2 03:22:25 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36fd2b95

dev-python/pyhcl: Bump to 0.4.5

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pyhcl/Manifest           |  1 +
 dev-python/pyhcl/pyhcl-0.4.5.ebuild | 36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/dev-python/pyhcl/Manifest b/dev-python/pyhcl/Manifest
index 06f3a804c010..ff3f50ef803b 100644
--- a/dev-python/pyhcl/Manifest
+++ b/dev-python/pyhcl/Manifest
@@ -1 +1,2 @@
 DIST pyhcl-0.4.4.gh.tar.gz 58400 BLAKE2B 
89ce8ba1eff577d9b4c7a86931e305f94ad7633b83c27f44352658ec2a12e48fd0cb05619e4afd97e4f2d78a9f4dba5c082a0d5703060b629880a3d193d9b4ee
 SHA512 
7c5e2b611d1198a0e6c667b8fda868231bdd25da822d634a34c076fea655a7ea2999fc827de8484992efcf52b6b843871713a83e3be7787003c90f05e3e7ddf6
+DIST pyhcl-0.4.5.gh.tar.gz 58692 BLAKE2B 
ea08471e3bc0957b19660322e487314ffb795c4df024e54b0ed5979f60f406c7ba08f48825ef9c6a2984fff753a85db696a3877f3409d5773b1789d696164e1b
 SHA512 
094c766e8787142c6369e530102f54c187c25cbc68d0feb89e71230adf3241cd17bd001cabb52a67e4230e1d4ca43eff975c523bd395305a38ca72ef3e604ab8

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..5607b0797e55
--- /dev/null
+++ b/dev-python/pyhcl/pyhcl-0.4.5.ebuild
@@ -0,0 +1,36 @@
+# 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 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
+}

Reply via email to