From 0f558761aa2dee1017b4751e4017205e015a9560 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 29 Jun 2022 12:04:12 +0100 Subject: gentoo resync : 29.12.2022 --- dev-python/libcloud/Manifest | 4 +- dev-python/libcloud/libcloud-3.5.1.ebuild | 61 ------------------------------- dev-python/libcloud/libcloud-3.6.0.ebuild | 60 ++++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+), 63 deletions(-) delete mode 100644 dev-python/libcloud/libcloud-3.5.1.ebuild create mode 100644 dev-python/libcloud/libcloud-3.6.0.ebuild (limited to 'dev-python/libcloud') diff --git a/dev-python/libcloud/Manifest b/dev-python/libcloud/Manifest index 1f583169867c..1e7e505f2693 100644 --- a/dev-python/libcloud/Manifest +++ b/dev-python/libcloud/Manifest @@ -1,3 +1,3 @@ -DIST apache-libcloud-3.5.1.tar.bz2 1859270 BLAKE2B c2e49a79ac4feccb5285d9bf55a4a6e8486d32968216b68e8c8f5b049ef5fa8caae853b4e4cc31ec2c323aedf3de275ab79758b1a055d7f20bbde994c58ba882 SHA512 22d6facf344687bfcfd32e53ede12227882f55bf54ffcf75d5584652c4cd257905c56e359d9c6b050635faa2305c344a6dfdc17007eb41143ccff772bd31d91e -EBUILD libcloud-3.5.1.ebuild 1556 BLAKE2B 9387cd43339f7ce4ede8fe0d423a51abef5aceb996064e8326dab6f5fcad1c5e9b5f2c3350121549d16e3cb85e354d248aef7955d523fb36e02b26b222e0ccd9 SHA512 08a9138bbdf960a87c6ee4b5af259b7cadf5988ec652b339c22901c6695a1e9af6132808119b811d515aeb25916854af42084217695ba807b4622f5b8f388da4 +DIST apache-libcloud-3.6.0.tar.bz2 1873596 BLAKE2B 7ca67d0a84d1af9a216882efb35ff48f4a795eacf34132b78429e0158b1093b3eec316541a52673e61edfc5bfcb326052ee874fe59b1e4a65b407bdaccf38774 SHA512 3a4b4ecf35194e70b6cb70f0619238e1c0140891c08438d4b1ef308fffc9dfb973a5c1534b6ee7864797925b7f7be77eb79a2c4d621627d8042da3927b3f2ff4 +EBUILD libcloud-3.6.0.ebuild 1527 BLAKE2B b42b5f55fc210428a08b42afcef047c7da46895ca671c7650719ea450d63571d249a8dd0590c2dfad22691673e1dd5da6cbd6ea50786c6e2b2a5fb62eae2aef5 SHA512 4103a7ba8e147797e6f21b5ae6bac1dcbd8a5b4c1d753b378f20aaac58ba039d7fb7017f3c0acee5477d9bb1d21659bfb592000f59681d494c370e6684d0dec2 MISC metadata.xml 398 BLAKE2B 5623f486a289eea0196b22b2f88ff377589bbcea13e341efd85d31dee07f8638bc985e6a1c03ac7982da08c879b5b09a46e5679fda8666f93366a8561777da7c SHA512 bc6e38c949ed0513f4e562406fd84031cd80f01a881844202e033fe5225490d42b27855413cd7d2fec216b002c38e1832fa8f841112c68628c906189ebf1e937 diff --git a/dev-python/libcloud/libcloud-3.5.1.ebuild b/dev-python/libcloud/libcloud-3.5.1.ebuild deleted file mode 100644 index 914b340c5756..000000000000 --- a/dev-python/libcloud/libcloud-3.5.1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# 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 - # TODO - libcloud/test/compute/test_ssh_client.py::ParamikoSSHClientTests::test_key_file_non_pem_format_error -) - -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 -} diff --git a/dev-python/libcloud/libcloud-3.6.0.ebuild b/dev-python/libcloud/libcloud-3.6.0.ebuild new file mode 100644 index 000000000000..07010b5ebe29 --- /dev/null +++ b/dev-python/libcloud/libcloud-3.6.0.ebuild @@ -0,0 +1,60 @@ +# 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..11} ) +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 ~riscv 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/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 + # TODO + libcloud/test/compute/test_ssh_client.py::ParamikoSSHClientTests::test_key_file_non_pem_format_error +) + +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