From 4cbcc855382a06088e2f016f62cafdbcb7e40665 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 20 Mar 2022 00:40:44 +0000 Subject: gentoo resync : 20.03.2022 --- dev-python/libcloud/Manifest | 4 +-- dev-python/libcloud/libcloud-3.3.0.ebuild | 55 ---------------------------- dev-python/libcloud/libcloud-3.4.1.ebuild | 59 +++++++++++++++++++++++++++++++ 3 files changed, 61 insertions(+), 57 deletions(-) delete mode 100644 dev-python/libcloud/libcloud-3.3.0.ebuild create mode 100644 dev-python/libcloud/libcloud-3.4.1.ebuild (limited to 'dev-python/libcloud') diff --git a/dev-python/libcloud/Manifest b/dev-python/libcloud/Manifest index e000eb1b0bde..fe9c513a223e 100644 --- a/dev-python/libcloud/Manifest +++ b/dev-python/libcloud/Manifest @@ -1,3 +1,3 @@ -DIST apache-libcloud-3.3.0.tar.bz2 1811722 BLAKE2B bfdacdda6bb39b3782915d71db6d736caa8a1d57c5120dac9020a1c4923ab08bf8983916fcac15723139b073858efdf178aa797dd592d7534a0b6ff35f8fc5ae SHA512 286ddd79b14633ceb59e1a4b015760a1e525b0282f3039f16c2fa4de940005da5fbde1b8262027103ca91c9653baed22d61dd136ddcc2b6886687ad8b27f3ea8 -EBUILD libcloud-3.3.0.ebuild 1241 BLAKE2B 870271718b9b120997d01c4b6255fe8070b2e7a8570a122b041ba6db00a3bfca209ea5a9b40124e634210241b3e00bd818289e6dc099bb1e180d5157c8679768 SHA512 62f8b3cc20dd157d58da7a401ec9074955da5ab774d5f9b0794a6c37ed7d05d1f17f2de4a82b524a30a5dfb5fcf519f97a4202d5605e282eaeecd34598c0bc03 +DIST apache-libcloud-3.4.1.tar.bz2 1851322 BLAKE2B f141b85423babc41c4dc61f4ef27228da10f2d6d7c9a0dfff0a292cc226a36a7626f8398a8e04202417955720ea5eb0b48736b704cc1379ab05a2bc4e3e0c86e SHA512 72a745a689229901277b347a45e86c6b66836b490d177bfa078062f54d28a149da158b8224b7c8ad6c278de18ed87b2d22bcc119f2577159ef5ecc3fa1ec621f +EBUILD libcloud-3.4.1.ebuild 1446 BLAKE2B dbffb60c458059be1e0bce32dedb66b4b6b9ceb49d37e7fe8ed796a4ec330e856f829f7880b6fe037f0fe8b8d5ac1507cf121dd7a3676daeb943e9109dc0575a SHA512 327523f1c7b5dd650053c8a34f9cb25d13efeda0feb8a1423d23190705610f75d417dc0e4526f2c478345fdcaeb2ffde8369dc14908735bd0c7ef8c32eee5879 MISC metadata.xml 325 BLAKE2B 8e7ccf2783bad88105c9409b119c1affb4f963a605571d042026e7ce3c05ecc862156d10a7ff55524560721b3d2a39a3ceeb3cd685faaa24fe3fa9f433e02a56 SHA512 0122a0aa5d238ccbace5e66c47d95e072c74274ee16c32823c81e800288a9eefb7e76dce3c5f887c98ee54c5f9ed83894311fe317f1eea7e9bb97a1efdcf2bd1 diff --git a/dev-python/libcloud/libcloud-3.3.0.ebuild b/dev-python/libcloud/libcloud-3.3.0.ebuild deleted file mode 100644 index 0c5711501b8b..000000000000 --- a/dev-python/libcloud/libcloud-3.3.0.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8..10} ) -PYTHON_REQ_USE="ssl(+)" - -inherit distutils-r1 - -DESCRIPTION="Unified Interface to the Cloud - python support libs" -HOMEPAGE="https://libcloud.apache.org/" -SRC_URI="mirror://apache/${PN}/apache-${P}.tar.bz2" -S="${WORKDIR}/apache-${P}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" -IUSE="examples" - -RDEPEND=" - dev-python/pyopenssl[${PYTHON_USEDEP}] - >=dev-python/requests-2.5.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - >=dev-python/cryptography-2.6.1[${PYTHON_USEDEP}] - dev-python/lockfile[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/requests-mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - if use examples; then - mkdir examples || die - mv example_*.py examples || die - fi - - # needed for tests - cp libcloud/test/secrets.py-dist libcloud/test/secrets.py || die - - # Needs network access - sed -i -e "s/test_list_nodes_invalid_region(self):/_&/" \ - libcloud/test/compute/test_ovh.py || die - - distutils-r1_python_prepare_all -} - -python_install_all() { - use examples && dodoc -r examples - distutils-r1_python_install_all -} diff --git a/dev-python/libcloud/libcloud-3.4.1.ebuild b/dev-python/libcloud/libcloud-3.4.1.ebuild new file mode 100644 index 000000000000..1e964ef32d25 --- /dev/null +++ b/dev-python/libcloud/libcloud-3.4.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_REQ_USE="ssl(+)" + +inherit distutils-r1 + +DESCRIPTION="Unified Interface to the Cloud - python support libs" +HOMEPAGE="https://libcloud.apache.org/" +SRC_URI="mirror://apache/${PN}/apache-${P}.tar.bz2" +S="${WORKDIR}/apache-${P}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 x86" +IUSE="examples" + +RDEPEND=" + dev-python/pyopenssl[${PYTHON_USEDEP}] + >=dev-python/requests-2.5.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/cryptography-2.6.1[${PYTHON_USEDEP}] + dev-python/lockfile[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/requests-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Needs network access + libcloud/test/compute/test_ovh.py::OvhTests::test_list_nodes_invalid_region + libcloud/test/test_connection.py::BaseConnectionClassTestCase::test_connection_timeout_raised + libcloud/test/test_connection.py::ConnectionClassTestCase::test_retry_on_all_default_retry_exception_classes +) + +src_prepare() { + if use examples; then + mkdir examples || die + mv example_*.py examples || die + fi + + # needed for tests + cp libcloud/test/secrets.py-dist libcloud/test/secrets.py || die + + distutils-r1_src_prepare +} + +src_install() { + use examples && dodoc -r examples + distutils-r1_src_install +} -- cgit v1.2.3