From d934827bf44b7cfcf6711964418148fa60877668 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 25 Nov 2020 22:39:15 +0000 Subject: gentoo resync : 25.11.2020 --- dev-python/python-swiftclient/Manifest | 6 +-- dev-python/python-swiftclient/metadata.xml | 1 + .../python-swiftclient-3.10.1.ebuild | 47 +++++++++++++++++++++ .../python-swiftclient-3.7.0.ebuild | 48 ---------------------- 4 files changed, 51 insertions(+), 51 deletions(-) create mode 100644 dev-python/python-swiftclient/python-swiftclient-3.10.1.ebuild delete mode 100644 dev-python/python-swiftclient/python-swiftclient-3.7.0.ebuild (limited to 'dev-python/python-swiftclient') diff --git a/dev-python/python-swiftclient/Manifest b/dev-python/python-swiftclient/Manifest index 2de739be157f..42e2b3c555ad 100644 --- a/dev-python/python-swiftclient/Manifest +++ b/dev-python/python-swiftclient/Manifest @@ -1,3 +1,3 @@ -DIST python-swiftclient-3.7.0.tar.gz 190256 BLAKE2B f3e4c462f05a34af8f6b7775b9e238e14a29af0970f4838dbda21c0fe43481a84ad51be1f2f62592109ac6fc5a84931fce154381129fad9e1d7a60333c44c7e9 SHA512 85b762cbc9f5e90c7d4dcbb5f016ee4bdc61fe6c869d24fb9bc5f3a3c3e336b171b0d3f384b51ed7bf0edf38df3936f778be85598e4c6a9bf165f8dde0d3333f -EBUILD python-swiftclient-3.7.0.ebuild 1462 BLAKE2B 4e66be79a4eb449c0e3d15ebb1c425df2365c644a5c9963d06c43e933deb259b9057632c7edd4b6d336bc601e51abfee93688add19433171ac1374c3db17365c SHA512 df1e29186e4c056bf34fb23f1c795220681244a2d431c107483a3328067105f00faae81468d9584f58b56755595f7b370f983cf2600cb48a084138c2ae2c680f -MISC metadata.xml 490 BLAKE2B e7834fe7f35e68048c4c27aa7ae92cb7f29fa9137eef921dd37da74864d4a9286b8b0940b7bf77f34cbaf7ec54f27765f518e62f0c33e2df0bb1829ff41a3a49 SHA512 36cbea7b5462f02da560044d000dcf88561b3a91f002f6ae0792005050e84c596b0b1dbc4d7d4b2bc11dff1a98ed02c173bff737830b26c229fb3e995b49b920 +DIST python-swiftclient-3.10.1.tar.gz 199466 BLAKE2B 4230f0fbff0e61a8172344df1cfc32f07628ac0b3784f5b8456d1b43b962e1d8561eec55c530ea94c615d46cd9454963fe0e21c54d1f4097016459e1460795c9 SHA512 f47444243f1968fdbba0643bcb4f05fc10a201b38ad83522e842bbad2221d0893a72147f9fbdc13e7f56469b049bbf11479fd9f41a9706119287543e0587f696 +EBUILD python-swiftclient-3.10.1.ebuild 1422 BLAKE2B 1a7e859bb0b11543ac4e434d8cb00aebb78bc00c453d0ba16faa06200cca2b567779ffeedec85c192b2118f886ad0029986514d9bc6a02cea38a8bec376eeeb4 SHA512 c555bcc957d96bbf68de706a8c5cc78ac66f2d258c586e5bed46cbaf3e4dd5da9ded8635093a81f6b05c5a62a4d8282789c2233c4e673296c38aef550c5bfe6b +MISC metadata.xml 515 BLAKE2B 9220e835bfe77d3ffcd9a4c4611589ef218811ef58a5cdf083a856b9c09b2bc8413d793930e41faa13948bd4c0215b1e1a13db651a1839046bf7f8fcf8d10d7a SHA512 85950311b3eb35c593d06f5a7069aef19bbebc28bfeaaecb21228bc69c55c77943169f2342abddba0e7f07c7c04ab01d49f3d6498c2b078fa3e826abb19d62b2 diff --git a/dev-python/python-swiftclient/metadata.xml b/dev-python/python-swiftclient/metadata.xml index a010a5af3d53..a1c76340971a 100644 --- a/dev-python/python-swiftclient/metadata.xml +++ b/dev-python/python-swiftclient/metadata.xml @@ -8,6 +8,7 @@ openstack@gentoo.org Openstack + python-swiftclient python-swiftclient 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 000000000000..4fad5be59f53 --- /dev/null +++ b/dev-python/python-swiftclient/python-swiftclient-3.10.1.ebuild @@ -0,0 +1,47 @@ +# 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/python-keystoneclient[${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() { + stestr init + stestr 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" +} diff --git a/dev-python/python-swiftclient/python-swiftclient-3.7.0.ebuild b/dev-python/python-swiftclient/python-swiftclient-3.7.0.ebuild deleted file mode 100644 index 4aee43ee2b1b..000000000000 --- a/dev-python/python-swiftclient/python-swiftclient-3.7.0.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7} ) - -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/setuptools[${PYTHON_USEDEP}] - 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/oslo-sphinx-4.7.0[${PYTHON_USEDEP}] - >=dev-python/sphinx-1.6.2[${PYTHON_USEDEP}] - !~dev-python/sphinx-1.6.6[${PYTHON_USEDEP}] - !~dev-python/sphinx-1.6.7[${PYTHON_USEDEP}] - >=dev-python/stestr-2.0.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 python2_7" - flake8 tests && einfo "run of tests folder by flake8 passed" - flake8 bin/swift && einfo "run of ./bin/swift by flake8 passed" -} -- cgit v1.2.3