commit:     47372dd155d449bb098612ea3456cb79564a3243
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Apr  6 20:49:21 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Apr  6 21:26:44 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47372dd1

dev-python/hcloud-python: Bump to 1.12.0

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

 dev-python/hcloud-python/Manifest                  |  1 +
 .../hcloud-python/hcloud-python-1.12.0.ebuild      | 41 ++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/dev-python/hcloud-python/Manifest 
b/dev-python/hcloud-python/Manifest
index 8d1b8e5080f..b9753d1ba91 100644
--- a/dev-python/hcloud-python/Manifest
+++ b/dev-python/hcloud-python/Manifest
@@ -1 +1,2 @@
 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

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 00000000000..af7341e93d4
--- /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
+}

Reply via email to