summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAgostino Sarubbo <ago@gentoo.org>2020-01-11 14:56:29 +0100
committerAgostino Sarubbo <ago@gentoo.org>2020-01-11 14:56:29 +0100
commit4b21181dfbdcb599b6293a74daf59ee08491a057 (patch)
tree8ea0a440c52efad0749cd60fc193bc68f8521284 /dev-python/hcloud-python
parentsys-kernel/vanilla-sources: Automated version bump to 3.16.81 - remove old. (diff)
downloadgentoo-4b21181dfbdcb599b6293a74daf59ee08491a057.tar.gz
gentoo-4b21181dfbdcb599b6293a74daf59ee08491a057.tar.bz2
gentoo-4b21181dfbdcb599b6293a74daf59ee08491a057.zip
dev-python/hcloud-python: version bump to 1.6.3
Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
Diffstat (limited to 'dev-python/hcloud-python')
-rw-r--r--dev-python/hcloud-python/Manifest1
-rw-r--r--dev-python/hcloud-python/hcloud-python-1.6.3.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/hcloud-python/Manifest b/dev-python/hcloud-python/Manifest
index 32b4c2880af..4200f6a3ea9 100644
--- a/dev-python/hcloud-python/Manifest
+++ b/dev-python/hcloud-python/Manifest
@@ -1,3 +1,4 @@
DIST hcloud-python-1.2.1.tar.gz 63592 BLAKE2B 9a6d2dae97ff405ebd9b92bc833c9d953c13840e68be4eb43fed375a60e55cf4bf9b4b742b26fb03401f631b7f7127815961861cb673adf4839c829141c8ed00 SHA512 cb70d190350457fc3c6e474bc6c943070102762595dac2f386041956f64255f390a928a2f2411be861645cd65b015ab9e0c931b36aeed0076b06d9f67ac72d1c
DIST hcloud-python-1.6.1.tar.gz 71866 BLAKE2B 0a1d37d4dc8be4e28595385ec7622ec65367c40f9cdd455e03827a5ee2983f43026b1dbb7e9bd20d241ed9a4748015d33bdcb53b15ce148c401984960e158716 SHA512 0b2ecaa311b4dac44b3122a45a38f76f8377bc189b1550f21327ea3f56fefad624ea6809c4abd6bbaf5c8fc23dfa5e6edd352dcbbcfae6c87af897ff376ce2cf
DIST hcloud-python-1.6.2.tar.gz 71887 BLAKE2B 2c423b0b83cc8c7bd5f0d4ef7db59516f125ff975e8cb82f38b340a0f448c20dd374a1edc7a486d18af3d438722b77f32f4ab6191966e3ada13f437f2d8a29a4 SHA512 ae2da263a038add593c7e302057d6e5e34258f180bddf67fc23edcc8c287c67d91aa190efeb1190af2596017b8964f4623d9cc03c4f1788c71c7d251f2a5422d
+DIST hcloud-python-1.6.3.tar.gz 71575 BLAKE2B a6c969d713d1351bba0cebef8752abbbf0805b4a39eedc918767ccf60d590ac8259e1405a25c2c563923146d52ae1318d6362cbaee311bfe04bea5afcc18951b SHA512 dec3f16197de9f02c2707601e1cad40289d3ccbd6256887da50b84fb8fe6b0fb98f708c9ba0cfc2ff1308a53b9997cfda579df3ec79a1d28686a3c43f4124e74
diff --git a/dev-python/hcloud-python/hcloud-python-1.6.3.ebuild b/dev-python/hcloud-python/hcloud-python-1.6.3.ebuild
new file mode 100644
index 00000000000..e1e37a93f17
--- /dev/null
+++ b/dev-python/hcloud-python/hcloud-python-1.6.3.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7} )
+
+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"
+
+COMMON_DEPEND=">=dev-python/python-dateutil-2.7.5[${PYTHON_USEDEP}]
+ <dev-python/python-dateutil-2.9[${PYTHON_USEDEP}]
+ >=dev-python/requests-2.20[${PYTHON_USEDEP}]
+ <dev-python/requests-2.23[${PYTHON_USEDEP}]"
+
+DEPEND="${COMMON_DEPEND}
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
+
+RDEPEND="${COMMON_DEPEND}
+ >=dev-python/future-0.17.1[${PYTHON_USEDEP}]
+ <dev-python/future-0.19[${PYTHON_USEDEP}]"
+
+python_compile_all() {
+ use doc && emake -C docs html
+}
+
+python_install_all() {
+ use examples && dodoc -r examples
+ use doc && local HTML_DOCS=( docs/_build/html/. )
+
+ distutils-r1_python_install_all
+}