From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AAD1C138359 for ; Wed, 22 Jul 2020 13:14:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E0770E0880; Wed, 22 Jul 2020 13:14:12 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CA042E0880 for ; Wed, 22 Jul 2020 13:14:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1E7BD34F059 for ; Wed, 22 Jul 2020 13:14:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E123F2D3 for ; Wed, 22 Jul 2020 13:14:06 +0000 (UTC) From: "Agostino Sarubbo" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Agostino Sarubbo" Message-ID: <1595423643.fd402ec588ffcce9db9d9b0f99e1ac37ecc179b7.ago@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/hcloud-python/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/hcloud-python/Manifest dev-python/hcloud-python/hcloud-python-1.8.2.ebuild X-VCS-Directories: dev-python/hcloud-python/ X-VCS-Committer: ago X-VCS-Committer-Name: Agostino Sarubbo X-VCS-Revision: fd402ec588ffcce9db9d9b0f99e1ac37ecc179b7 X-VCS-Branch: master Date: Wed, 22 Jul 2020 13:14:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7ce13818-e52d-4914-a752-db816e2b322f X-Archives-Hash: b972f6e92aa85142b09758ccced3ba47 commit: fd402ec588ffcce9db9d9b0f99e1ac37ecc179b7 Author: Agostino Sarubbo gentoo org> AuthorDate: Wed Jul 22 13:14:03 2020 +0000 Commit: Agostino Sarubbo gentoo org> CommitDate: Wed Jul 22 13:14:03 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd402ec5 dev-python/hcloud-python: version bump to 1.8.2 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Agostino Sarubbo gentoo.org> dev-python/hcloud-python/Manifest | 1 + .../hcloud-python/hcloud-python-1.8.2.ebuild | 55 ++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/dev-python/hcloud-python/Manifest b/dev-python/hcloud-python/Manifest index 2fef7adc80b..a93b770401f 100644 --- a/dev-python/hcloud-python/Manifest +++ b/dev-python/hcloud-python/Manifest @@ -1 +1,2 @@ DIST hcloud-python-1.8.1.tar.gz 87532 BLAKE2B d5e2b5d2aef96508042189d650ef0c6793ca8747a99f20c591c63dbeed497576ef6cf268f75cdc5551b9b3469f1087d5d2ad167af77a93ab321cc9c70d1bb65b SHA512 e26976abe77149db53ea8a35e53de85e0acc3b2021ecbfb1a3a634230d2324e2fb212f54cfcb7a96993b4776d305a247b29aa883053958db881a794f431858bd +DIST hcloud-python-1.8.2.tar.gz 87560 BLAKE2B 836b0422364e50567cfa31e1a77e0b4a28da4419a0991f1635d6d0366368315ae914d238fab974fb1ba2c5e09172e3edfc625d40c6c099d757fa1c7913dba68b SHA512 8436b57e9a0e5b8fb44f9242c9862835a5e027ee2d774e3dd1b55834f5a574c4f21a543ac9c7d0a105048bd184e7278a3bb4f94a7ee5e18bfb419f0ca59183eb diff --git a/dev-python/hcloud-python/hcloud-python-1.8.2.ebuild b/dev-python/hcloud-python/hcloud-python-1.8.2.ebuild new file mode 100644 index 00000000000..38732655eab --- /dev/null +++ b/dev-python/hcloud-python/hcloud-python-1.8.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +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/requests-2.20[${PYTHON_USEDEP}]" + +BDEPEND="${COMMON_DEPEND} + doc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx_rtd_theme + ) + test? ( + dev-python/flake8[${PYTHON_USEDEP}] + dev-python/isort[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/tox[${PYTHON_USEDEP}] + )" + +RDEPEND="${COMMON_DEPEND} + >=dev-python/future-0.17.1[${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 +} + +distutils_enable_tests pytest + +src_test() { + # Integration tests need docker: + # https://github.com/hetznercloud/hcloud-python/blob/master/.travis.yml#L16 + rm -fr tests/integration + default +}