commit: d8252a46f78c0acd7a4c6f6855472b41c6bc832d Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Tue Sep 26 04:25:31 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Tue Sep 26 04:42:11 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8252a46
dev-python/hcloud: Bump to 1.29.0 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/hcloud/Manifest | 1 + dev-python/hcloud/hcloud-1.29.0.ebuild | 49 ++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/dev-python/hcloud/Manifest b/dev-python/hcloud/Manifest index 6ee877c018a0..56ec249707a7 100644 --- a/dev-python/hcloud/Manifest +++ b/dev-python/hcloud/Manifest @@ -1 +1,2 @@ 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 diff --git a/dev-python/hcloud/hcloud-1.29.0.ebuild b/dev-python/hcloud/hcloud-1.29.0.ebuild new file mode 100644 index 000000000000..498400383d05 --- /dev/null +++ b/dev-python/hcloud/hcloud-1.29.0.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_{10..12} ) + +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 +}