diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-08-20 17:51:45 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-08-20 17:51:45 +0000 |
| commit | 76c438a64176b987d26f88ca7012c3f751839f1e (patch) | |
| tree | 6bc58c0f36b2ca093d2573cbdf422cd0982a63a2 /dev-python/hcloud | |
| parent | a084429e3da2c40a2c913cd6cbe74f812f3c9f4e (diff) | |
| download | baldeagleos-repo-76c438a64176b987d26f88ca7012c3f751839f1e.tar.gz baldeagleos-repo-76c438a64176b987d26f88ca7012c3f751839f1e.tar.xz baldeagleos-repo-76c438a64176b987d26f88ca7012c3f751839f1e.zip | |
Adding metadata
Diffstat (limited to 'dev-python/hcloud')
| -rw-r--r-- | dev-python/hcloud/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/hcloud/hcloud-2.2.1.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/hcloud/Manifest b/dev-python/hcloud/Manifest index 289b837cd4d7..d8a089b5698b 100644 --- a/dev-python/hcloud/Manifest +++ b/dev-python/hcloud/Manifest @@ -1,2 +1,3 @@ DIST hcloud-python-2.1.1.gh.tar.gz 118633 BLAKE2B 0072f8a6615ea917336429ef2b56840f1be8906bed9bd0793b47c4faa557e10bda368f8c3edcbc1b8ede6c39b384062038f665ae3e6beb589c747f1238a94572 SHA512 b98b62c99ffa31537baad35d0de0bee99a90dce95ecabfec8500e2172d520a3d819b870f001924cebeee7475905452ec2d5cc0bad15f763d16a423ddbe0171f8 DIST hcloud-python-2.2.0.gh.tar.gz 119610 BLAKE2B 2b2bdc7416bc08464a7d6456cd935002f43b84d3728fb54ca3b132ac50959151a5c9c4ed75e256ca1dfa40a225cd8e4b0d54a4885497925e5222b00e5ccd5e1f SHA512 88b3ac155d7ee64ba41c1dced6546061287f2cd576c1f4bd95f46d1337c25efb4e25d0856a0c92cec1e97a133aafda8c024a79ef04df90bd29a1cd1318319166 +DIST hcloud-python-2.2.1.gh.tar.gz 119705 BLAKE2B 585602989a834696354257cd26ad135b78d9cb4fbb9362948c8349eabb5a8a78158ae5d750d0ecabfc2dadbcb7f23a49f3ac41a67a7c91a55f4a9495435be5c5 SHA512 32ac9da7e88817ee16bfa31eef51404c7e973511f00950c575a857722418a29641d852dffec9554185a39999dd3951c7c7fddc3f4df2d3f9b5b614426c9d7e78 diff --git a/dev-python/hcloud/hcloud-2.2.1.ebuild b/dev-python/hcloud/hcloud-2.2.1.ebuild new file mode 100644 index 000000000000..31e0f64be85a --- /dev/null +++ b/dev-python/hcloud/hcloud-2.2.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,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 +} |
