diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-13 11:43:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-13 11:43:14 +0100 |
commit | 128025db16ea525715d1f5170c635c4f42ce4881 (patch) | |
tree | 07a1048840d97aefa9778386f8a8abc27940c708 /dev-python/hcloud-python | |
parent | 37cf2a8dbadd546a550aac7c8079c3f77427cb63 (diff) |
gentoo auto-resync : 13:04:2023 - 11:43:14
Diffstat (limited to 'dev-python/hcloud-python')
-rw-r--r-- | dev-python/hcloud-python/Manifest | 2 | ||||
-rw-r--r-- | dev-python/hcloud-python/hcloud-python-1.19.0.ebuild | 45 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/hcloud-python/Manifest b/dev-python/hcloud-python/Manifest index 5a8b17ac939d..69dcae107d8e 100644 --- a/dev-python/hcloud-python/Manifest +++ b/dev-python/hcloud-python/Manifest @@ -1,3 +1,5 @@ DIST hcloud-python-1.18.2.gh.tar.gz 98998 BLAKE2B b4f8d3335c4589c8e5f453ed60299b222f002de1d8ae5ba95dcc35c6d4c4c4f649e6924037ed935651976fce06aa4ff61b893e3dcbdf745c6c1d9ff678b04dcd SHA512 da71f5590514d45b630662b1bedf7907e5ba33a48617131615377724e1377a2776f979c00e50521c513052b4f540224439e048e2e1215973b76c55a8a20e1a45 +DIST hcloud-python-1.19.0.gh.tar.gz 99679 BLAKE2B 4b0e13e48f7f91a7cb123df22dcdb9a61685daa8ab51eaf893e6a5badfc2b5f5f5c6f963fa43a33ef01ca1914a222d51140383f55389235fd6ad26dbb096c3e3 SHA512 f3c7613f22f18048066ed32354b6b7fcfc7f1bfd0b8fc4c95add1824f9f403369dcc2a57bb7754d75e83ff6f6a4f9e65cafaa626fb39fce0a12cc1c9167f59fd EBUILD hcloud-python-1.18.2.ebuild 908 BLAKE2B de76f2bfc4d79f7c09a376bbbc8eded38661109589a72e1e00c56de33c80dc254141bfb55d95eb29874961e1ff69b46c4694198ddae064893f3a014e5bbbb27f SHA512 7801e5416b2bc79f6de7f4ab9e8f3c4447b737dadcf4d6cc029d45416d5611f232410304ac27744f8eb53e5df28803cb105b38cb5c1c6db57cd532b72bd61582 +EBUILD hcloud-python-1.19.0.ebuild 1047 BLAKE2B 5d6c26922ff7365cb9cd58ff394977c9d6a437b2ed1373e79eb66cd186735129fd231d9bd978d5af24ba83efcf3bd018b420466a7ffe4b40a58af8eaae8ce455 SHA512 d67b80c5b7a0f711a5df4690298e1d234d586b77f2eb21b4f7b7cef25d720363a388ada1da8ce42bd189c7a0223bbae3918fd1542ecc56fa1cb6935ef9ab761c MISC metadata.xml 483 BLAKE2B c945a22b776b5bf73deabf93718a1dea3a9b98f7257467e845106f71910347a803f96ef969227d7c10a119f1e35b904bcb7501b9672bf3ce5a2bef112d903e56 SHA512 4a6540a06d57eb3bc8c455d982531427157fbf1a85abf4b909032b0880c9e2847b295b3c9b02378be35e88f74876357503dd04bbe544ff9a9612df2b1c321b1c diff --git a/dev-python/hcloud-python/hcloud-python-1.19.0.ebuild b/dev-python/hcloud-python/hcloud-python-1.19.0.ebuild new file mode 100644 index 000000000000..714a87b98be1 --- /dev/null +++ b/dev-python/hcloud-python/hcloud-python-1.19.0.ebuild @@ -0,0 +1,45 @@ +# 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_{9..11} ) +inherit distutils-r1 + +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/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +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/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 +} |