From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EFE2C13835A for ; Fri, 22 Jan 2021 19:36:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 32FE0E0B7B; Fri, 22 Jan 2021 19:36:21 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 03509E0B7B for ; Fri, 22 Jan 2021 19:36:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9715B340E55 for ; Fri, 22 Jan 2021 19:36:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DAECD476 for ; Fri, 22 Jan 2021 19:36:17 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1611344174.143bb4cb09bb03b85cf82058234372ce73dc17bd.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/libcloud/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/libcloud/Manifest dev-python/libcloud/libcloud-3.3.0.ebuild X-VCS-Directories: dev-python/libcloud/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 143bb4cb09bb03b85cf82058234372ce73dc17bd X-VCS-Branch: master Date: Fri, 22 Jan 2021 19:36:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3c260073-2ddf-46d3-a0a1-3fd652f6fedc X-Archives-Hash: 9118aa15641307e617d6de35dbc4e4bb commit: 143bb4cb09bb03b85cf82058234372ce73dc17bd Author: Sam James gentoo org> AuthorDate: Fri Jan 22 19:33:37 2021 +0000 Commit: Sam James gentoo org> CommitDate: Fri Jan 22 19:36:14 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=143bb4cb dev-python/libcloud: bump to 3.3.0 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> dev-python/libcloud/Manifest | 1 + dev-python/libcloud/libcloud-3.3.0.ebuild | 53 +++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-python/libcloud/Manifest b/dev-python/libcloud/Manifest index 3211df6fc1b..6b9df7a9af4 100644 --- a/dev-python/libcloud/Manifest +++ b/dev-python/libcloud/Manifest @@ -1 +1,2 @@ DIST apache-libcloud-3.1.0.tar.bz2 1613381 BLAKE2B afc607a76ff3cd24961cfaf916b5813cd59e84d523f9a642bb8222d889abb44d6357d230b001ae03a0b021160384d6c6d8420e85825aa8d84f7619e900c4c9b0 SHA512 ef2fc4754281adc336d656d3a707710feae0f6c22f33156830dd0b299d06fbf9b890817f68192106320944f851265c39f175b5fae5f85053706ec2f0ccd04bf1 +DIST apache-libcloud-3.3.0.tar.bz2 1811722 BLAKE2B bfdacdda6bb39b3782915d71db6d736caa8a1d57c5120dac9020a1c4923ab08bf8983916fcac15723139b073858efdf178aa797dd592d7534a0b6ff35f8fc5ae SHA512 286ddd79b14633ceb59e1a4b015760a1e525b0282f3039f16c2fa4de940005da5fbde1b8262027103ca91c9653baed22d61dd136ddcc2b6886687ad8b27f3ea8 diff --git a/dev-python/libcloud/libcloud-3.3.0.ebuild b/dev-python/libcloud/libcloud-3.3.0.ebuild new file mode 100644 index 00000000000..d1580f8c943 --- /dev/null +++ b/dev-python/libcloud/libcloud-3.3.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) +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 ~x86" +IUSE="examples" + +RDEPEND=">=dev-python/requests-2.5.0[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +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}] + ) +" + +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 +}