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 6FEA5138359 for ; Sat, 10 Oct 2020 20:34:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 77705E08AD; Sat, 10 Oct 2020 20:34:06 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 6165AE08AD for ; Sat, 10 Oct 2020 20:34:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 37B7B340A38 for ; Sat, 10 Oct 2020 20:34:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A114039E for ; Sat, 10 Oct 2020 20:34:03 +0000 (UTC) From: "Matthew Thode" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthew Thode" Message-ID: <1602362007.b22ccf5e2675cce8e1cc2f489a14c5e02dc52c86.prometheanfire@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-swiftclient/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/python-swiftclient/Manifest dev-python/python-swiftclient/python-swiftclient-3.10.1.ebuild X-VCS-Directories: dev-python/python-swiftclient/ X-VCS-Committer: prometheanfire X-VCS-Committer-Name: Matthew Thode X-VCS-Revision: b22ccf5e2675cce8e1cc2f489a14c5e02dc52c86 X-VCS-Branch: master Date: Sat, 10 Oct 2020 20:34:03 +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: 6cde82a5-b307-4933-9c73-624d0c4e0f61 X-Archives-Hash: 644784587c778dfe26242acceb0a9962 commit: b22ccf5e2675cce8e1cc2f489a14c5e02dc52c86 Author: Matthew Thode gentoo org> AuthorDate: Sat Oct 10 20:30:42 2020 +0000 Commit: Matthew Thode gentoo org> CommitDate: Sat Oct 10 20:33:27 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b22ccf5e dev-python/python-swiftclient: 3.10.1 bump Closes: https://bugs.gentoo.org/747220 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Matthew Thode gentoo.org> dev-python/python-swiftclient/Manifest | 1 + .../python-swiftclient-3.10.1.ebuild | 46 ++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-python/python-swiftclient/Manifest b/dev-python/python-swiftclient/Manifest index b00c64cd770..44bbdef4b39 100644 --- a/dev-python/python-swiftclient/Manifest +++ b/dev-python/python-swiftclient/Manifest @@ -1 +1,2 @@ +DIST python-swiftclient-3.10.1.tar.gz 199466 BLAKE2B 4230f0fbff0e61a8172344df1cfc32f07628ac0b3784f5b8456d1b43b962e1d8561eec55c530ea94c615d46cd9454963fe0e21c54d1f4097016459e1460795c9 SHA512 f47444243f1968fdbba0643bcb4f05fc10a201b38ad83522e842bbad2221d0893a72147f9fbdc13e7f56469b049bbf11479fd9f41a9706119287543e0587f696 DIST python-swiftclient-3.7.0.tar.gz 190256 BLAKE2B f3e4c462f05a34af8f6b7775b9e238e14a29af0970f4838dbda21c0fe43481a84ad51be1f2f62592109ac6fc5a84931fce154381129fad9e1d7a60333c44c7e9 SHA512 85b762cbc9f5e90c7d4dcbb5f016ee4bdc61fe6c869d24fb9bc5f3a3c3e336b171b0d3f384b51ed7bf0edf38df3936f778be85598e4c6a9bf165f8dde0d3333f diff --git a/dev-python/python-swiftclient/python-swiftclient-3.10.1.ebuild b/dev-python/python-swiftclient/python-swiftclient-3.10.1.ebuild new file mode 100644 index 00000000000..b0f49812340 --- /dev/null +++ b/dev-python/python-swiftclient/python-swiftclient-3.10.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Python bindings to the OpenStack Object Storage API" +HOMEPAGE="https://launchpad.net/python-swiftclient" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND="dev-python/pbr[${PYTHON_USEDEP}] + test? ( + >=dev-python/coverage-4.0[${PYTHON_USEDEP}] + !~dev-python/coverage-4.4[${PYTHON_USEDEP}] + >=dev-python/keystoneauth-3.4.0[${PYTHON_USEDEP}] + >=dev-python/mock-1.2.0[${PYTHON_USEDEP}] + >=dev-python/stestr-2.0.0[${PYTHON_USEDEP}] + !~dev-python/stestr-3.0.0[${PYTHON_USEDEP}] + >=dev-python/openstacksdk-0.11.0[${PYTHON_USEDEP}] + )" +RDEPEND=" + >=dev-python/requests-1.1.0[${PYTHON_USEDEP}] + >=dev-python/six-1.9.0[${PYTHON_USEDEP}]" + +#PATCHES=( "${FILESDIR}/CVE-2013-6396.patch" ) + +python_prepare_all() { + sed -i '/hacking/d' "${S}/test-requirements.txt" || die "sed failed" + distutils-r1_python_prepare_all +} + +python_test() { + testr init + testr run || die "tests failed under ${EPYTHON}" + flake8 tests && einfo "run of tests folder by flake8 passed" + flake8 bin/swift && einfo "run of ./bin/swift by flake8 passed" +}