summaryrefslogtreecommitdiff
path: root/dev-python/hcloud
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-09-27 06:18:53 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-09-27 06:18:53 +0000
commit044ee5d51fc63d6402d3eee2453be5414e353c3d (patch)
treeeef94c312424aa8285b48e99205cd1622842c426 /dev-python/hcloud
parent74c41276dcb68ffc825d6e511025fcce006aedbf (diff)
downloadbaldeagleos-repo-044ee5d51fc63d6402d3eee2453be5414e353c3d.tar.gz
baldeagleos-repo-044ee5d51fc63d6402d3eee2453be5414e353c3d.tar.xz
baldeagleos-repo-044ee5d51fc63d6402d3eee2453be5414e353c3d.zip
Adding metadata
Diffstat (limited to 'dev-python/hcloud')
-rw-r--r--dev-python/hcloud/Manifest1
-rw-r--r--dev-python/hcloud/hcloud-1.29.1.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/hcloud/Manifest b/dev-python/hcloud/Manifest
index 56ec249707a7..38376334ced5 100644
--- a/dev-python/hcloud/Manifest
+++ b/dev-python/hcloud/Manifest
@@ -1,2 +1,3 @@
DIST hcloud-python-1.28.0.gh.tar.gz 106288 BLAKE2B 4ffdb81e82b51b85b0d52a938a24400b477850e3442c2565515c7ebbaa9b425d729d0caa269da502b3c5b24e5e3475d5d6cd60e9a77a97c8e362087a4b11c01c SHA512 fe720cf5b943f9535143f9389dc30e92ef295b7e5769b91e41ef979a5f6bbd059b42551818e7900e37213b530084eda51a54bad84a7ceb6e29f7f03d19bd4bbb
DIST hcloud-python-1.29.0.gh.tar.gz 108189 BLAKE2B 1344211e7d0c30ee3b25cc4b91e2cbd135260b7edab89e25f13259fb282f461c4abafd8ddf623aba5cb01c58b06389ce5fa84600cdeb1557649717339325c09c SHA512 550b7b3703d5ddb6805a82772bd8edc03c4bf28017e7dc8dd06386ef9606a15c328f53bc2887c0800ee8c2f305063c86aa435c05efc7b2b0ba237bba25a8aeeb
+DIST hcloud-python-1.29.1.gh.tar.gz 108389 BLAKE2B edbbbeb0026c44fa2f6fbc4462aea75b1b3ce40922dfde4f66bd39e0cd2cf4cf3a45901e39c05b934cc36d30899e96bbedb9b971d200cf1c12b46cdb36645cdd SHA512 0bec39b035f7c8be236f97d43ab7c28f753025428b52c1df4da13030d07a2e6b493fb068bcae243987b03c0fb9868c83ec6fd650deb76585189f8edd64bc13c1
diff --git a/dev-python/hcloud/hcloud-1.29.1.ebuild b/dev-python/hcloud/hcloud-1.29.1.ebuild
new file mode 100644
index 000000000000..3bcec8e94494
--- /dev/null
+++ b/dev-python/hcloud/hcloud-1.29.1.ebuild
@@ -0,0 +1,49 @@
+# 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_{8,9,10,11} )
+
+inherit distutils-r1
+
+MY_P=hcloud-python-${PV}
+DESCRIPTION="Official Hetzner Cloud python library"
+HOMEPAGE="
+ https://github.com/hetznercloud/hcloud-python/
+ https://pypi.org/project/hcloud/
+"
+# sdist is missing doc assets as of 1.19.0
+# https://github.com/hetznercloud/hcloud-python/pull/183
+SRC_URI="
+ https://github.com/hetznercloud/hcloud-python/archive/v${PV}.tar.gz
+ -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="examples"
+
+RDEPEND="
+ >=dev-python/python-dateutil-2.7.5[${PYTHON_USEDEP}]
+ >=dev-python/requests-2.20[${PYTHON_USEDEP}]
+"
+
+distutils_enable_sphinx docs \
+ dev-python/myst-parser \
+ dev-python/sphinx-rtd-theme
+distutils_enable_tests pytest
+
+EPYTEST_IGNORE=(
+ # Integration tests need docker:
+ # https://github.com/hetznercloud/hcloud-python/blob/master/.travis.yml#L16
+ tests/integration
+)
+
+python_install_all() {
+ use examples && dodoc -r examples
+ distutils-r1_python_install_all
+}