summaryrefslogtreecommitdiff
path: root/dev-python/hcloud-python
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /dev-python/hcloud-python
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'dev-python/hcloud-python')
-rw-r--r--dev-python/hcloud-python/Manifest4
-rw-r--r--dev-python/hcloud-python/hcloud-python-1.12.0.ebuild41
-rw-r--r--dev-python/hcloud-python/metadata.xml4
3 files changed, 48 insertions, 1 deletions
diff --git a/dev-python/hcloud-python/Manifest b/dev-python/hcloud-python/Manifest
index 44b48585ba76..a8305f3f88af 100644
--- a/dev-python/hcloud-python/Manifest
+++ b/dev-python/hcloud-python/Manifest
@@ -1,3 +1,5 @@
DIST hcloud-python-1.10.0.tar.gz 82155 BLAKE2B a22ad24863f416b039a04d9e82675fa7923303d73aff6045a2247fc755db1740cfd98418a84758a15eb96ff666bc6e395a969cf59a234571414087fb03cd533f SHA512 c16e070c39e514faf002f7c78ed8fca6ac762775a75bb1a04f3033f6cd9ca6424b595dbd636ad451bce1eb5b52214373ddd29513937c42c84b4a0a7d2e84fb3f
+DIST hcloud-python-1.12.0.tar.gz 88905 BLAKE2B 1e24cfa208f02a1068b0016ac8948358a3709eb4a2c1f73d75d8e3ee85bee7265b0da6f5cfc58afefee664a024becc57dfa3389f36c4e7ae0c0ae623944e51a3 SHA512 fc431041d2bbae749d5335dda0c8ccf6abcb3fdd8e3a467b50a2ff45e70f9b7a8378bc2b72c00be7c65cc8cf84e01fde7965c6bb731b7252d7da377648bc01eb
EBUILD hcloud-python-1.10.0.ebuild 1274 BLAKE2B 828d850ce72bf1a695ac644e0276a02b0bd5769c173aa84379812521e081d423b5a6f99c84bba42dfbfd4840c6051c992e42efaa2cc03bce6a1d8dfca3fb282e SHA512 5a6f8281e593bf6c271ac6963051491adb048aebc46544cf4c03020191f1a515dfa5537d43c317925c8e865cc22c4bf42314a3d3d707da4b835b7daadfe0f193
-MISC metadata.xml 381 BLAKE2B 704cd7244e080a9bcd1e0acc210b489b65f7ba6a956eddb43f2fed41ff21a5d1dda01a4cd75011caa57e5f6ffb1aa5fc8d9c5b03286a36a2c04bcd4526cba939 SHA512 7197119ff8c7ecb7025b0b9810b447175410e242bc08fc78473b9c25c48611903114f766fdbf9b2a8db50897487c1f971ddbb66fa1f4ff32835de4b307136293
+EBUILD hcloud-python-1.12.0.ebuild 993 BLAKE2B 13ebed1c648e34ebc8a84061056465dc43d0fde196a57b28b246cbe41ab99fd70fb696cfdd28e9498eb03d2b8a39a38b9133c52b1e73e33c52201e0bcd31d867 SHA512 b76c5cba1bfb4a55f8685669c11cf94695b8484ff01cb333233e5a5c5593629a201c153e4346b8f657fb44790e3cf74071dee2d193a264552a5d9f3503599334
+MISC metadata.xml 482 BLAKE2B b58d0b4580285588a5d2078699bcc2bc2fbfdb3c207266ad7f798cee761added5f819341dbddfa27066e7037128065004694e21f043a2590dc54e3e4c6e2c688 SHA512 c3370f871cfcb333f24f293bf1435ef007d4d1d6d38573744e8efeda8910d1bf08685081fb9ef0a869ec134456231a36ca43e398e279d47ada7e4ffb5c645534
diff --git a/dev-python/hcloud-python/hcloud-python-1.12.0.ebuild b/dev-python/hcloud-python/hcloud-python-1.12.0.ebuild
new file mode 100644
index 000000000000..af7341e93d4d
--- /dev/null
+++ b/dev-python/hcloud-python/hcloud-python-1.12.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Official Hetzner Cloud python library"
+HOMEPAGE="https://github.com/hetznercloud/hcloud-python"
+SRC_URI="https://github.com/hetznercloud/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc examples"
+
+RDEPEND="
+ >=dev-python/future-0.17.1[${PYTHON_USEDEP}]
+ >=dev-python/python-dateutil-2.7.5[${PYTHON_USEDEP}]
+ >=dev-python/requests-2.20[${PYTHON_USEDEP}]"
+BDEPEND="
+ test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ )"
+
+distutils_enable_sphinx docs \
+ dev-python/sphinx_rtd_theme
+distutils_enable_tests pytest
+
+python_install_all() {
+ use examples && dodoc -r examples
+ distutils-r1_python_install_all
+}
+
+python_test() {
+ # Integration tests need docker:
+ # https://github.com/hetznercloud/hcloud-python/blob/master/.travis.yml#L16
+ epytest --ignore tests/integration
+}
diff --git a/dev-python/hcloud-python/metadata.xml b/dev-python/hcloud-python/metadata.xml
index 31093cd149cb..62b2eda06d1b 100644
--- a/dev-python/hcloud-python/metadata.xml
+++ b/dev-python/hcloud-python/metadata.xml
@@ -5,6 +5,10 @@
<email>ago@gentoo.org</email>
<name>Agostino Sarubbo</name>
</maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
<upstream>
<remote-id type="github">hetznercloud/hcloud-python</remote-id>
<remote-id type="pypi">hcloud</remote-id>