From b7ebc951da8800f711142f69d9d958bde67a112d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 28 Apr 2019 09:54:45 +0100 Subject: gentoo resync : 28.04.2019 --- dev-python/python-swiftclient/Manifest | 12 ++-- .../python-swiftclient-3.0.0.ebuild | 4 +- .../python-swiftclient-3.1.0.ebuild | 4 +- .../python-swiftclient-3.3.0.ebuild | 4 +- .../python-swiftclient-3.4.0.ebuild | 4 +- .../python-swiftclient-3.5.0.ebuild | 4 +- .../python-swiftclient-3.7.0.ebuild | 64 ++++++++++++++++++++++ 7 files changed, 81 insertions(+), 15 deletions(-) create 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 9403eeafaa7d..7d16f9681ce9 100644 --- a/dev-python/python-swiftclient/Manifest +++ b/dev-python/python-swiftclient/Manifest @@ -3,9 +3,11 @@ DIST python-swiftclient-3.1.0.tar.gz 155598 BLAKE2B af7ac24df6ca0b199deb52d48e91 DIST python-swiftclient-3.3.0.tar.gz 166092 BLAKE2B b23f1dbf9d2d0cbdac143250a7ad2458c0d170d858e90823ca9e014eea40017247d550755e05ecac2754d98b575fd9dc2910fc3b36a8b65cd8c8317075b86c96 SHA512 03e00e9b1f0f7b71c07e845cd9636031c15beb21a66495ab96be05df7e453160840948696ecb0d65d08c32e318d16425444aaa4ea16ede8268a2cf2b171a3987 DIST python-swiftclient-3.4.0.tar.gz 175823 BLAKE2B 59ccd0bd3bb0b732804a6d94005a36a342eddea3847e63527544cba110b2a4355060871547a5808465ad12c90b2fb0956e4816be363b9692af99cb48c7ba849c SHA512 c7def24f22ced03316ccb74fcd7426b071597a3c7576c14f98fd6d864d6ee3e8a7666966ca2d07b6d996546bfcc2497ab654a67ab0228705f078985a35b97457 DIST python-swiftclient-3.5.0.tar.gz 182598 BLAKE2B ad899edfcb7f1044f6ee40110e61cde090f0f2bd26f9666d698a8f0fc74ea105e70689994990c902a09961bb8464cd8dfc8e0ffcb403db4104e35cff13a227df SHA512 0132d13e325e83f4ef0150fd66bbf4f6e7400c065e4410481b41d33da1c086726e6eb9c61a8063f32bd9103e5dd2071c1f1c28232a6300cbfe80bd57bac04c0a -EBUILD python-swiftclient-3.0.0.ebuild 1889 BLAKE2B 2c81d296ce64089e36006e927573f701f09f759bdb24265636a7a6692852db004595a2e1750c21f61e0fad37bcf8fbab5c706a9e036e4c95835a80a4d78a741f SHA512 557e270ae06c4d0242c3242f94db262043c7b13ae0a824145a6f496496570ed0f7c5e87317c9484ab697e46ba2f54a082a982359ce16d5ef7d4f5d0d9b16ebf3 -EBUILD python-swiftclient-3.1.0.ebuild 1765 BLAKE2B c95f639d9c10bb7ab6086a412b90672434a2e633402aa7b00111979e8472408d3e9f31eebd78bf11c2bfb9a81d3d00c53e500518ea66d415293c1285fda3e20b SHA512 a191106f8358c92a20601d9bec8ffefb0f4743a66860f83fe6cf0cbcc4b6ab7e52a6c97faa7798c9882afea1cf96590bcae3be1210c166cdbeae2b5428a6b725 -EBUILD python-swiftclient-3.3.0.ebuild 1781 BLAKE2B 1eedd613cd6d8cf615aee87deb6bb8d1b16e0a75e5cac014a49996d86c5a69f72e9fc9fb80953d7fa7d01104da2629d48836786fbb066d1a518b16b9b30d4da3 SHA512 dcaac24333ef96ea4a9c4c680d6b8cf588ce8b42b5887ae69c15a08e48c66d5c806697365d7a43d81705bd48c959067387f68fc3eb5558b886c5eaed3c063b0d -EBUILD python-swiftclient-3.4.0.ebuild 1781 BLAKE2B 1eedd613cd6d8cf615aee87deb6bb8d1b16e0a75e5cac014a49996d86c5a69f72e9fc9fb80953d7fa7d01104da2629d48836786fbb066d1a518b16b9b30d4da3 SHA512 dcaac24333ef96ea4a9c4c680d6b8cf588ce8b42b5887ae69c15a08e48c66d5c806697365d7a43d81705bd48c959067387f68fc3eb5558b886c5eaed3c063b0d -EBUILD python-swiftclient-3.5.0.ebuild 1880 BLAKE2B 8b658f5ee5099d62bdf1aef6c07c53f912ec8adba3acfc5b32d4aeb28abace41e84faaed3ec6b809cae371411e84f893925431619d54695f3afc497f9bd0c107 SHA512 419660ba4c3240878f8df7da659e1ae08662e5108a2fe1c80f9422c76da8db2f7a3986d50bdf82943b2d051e00e30a2e0b8f8e0878d453bb1d73deab963a4c2b +DIST python-swiftclient-3.7.0.tar.gz 190256 BLAKE2B f3e4c462f05a34af8f6b7775b9e238e14a29af0970f4838dbda21c0fe43481a84ad51be1f2f62592109ac6fc5a84931fce154381129fad9e1d7a60333c44c7e9 SHA512 85b762cbc9f5e90c7d4dcbb5f016ee4bdc61fe6c869d24fb9bc5f3a3c3e336b171b0d3f384b51ed7bf0edf38df3936f778be85598e4c6a9bf165f8dde0d3333f +EBUILD python-swiftclient-3.0.0.ebuild 1876 BLAKE2B 8fda5a23f2eb9ecc6886f014e0df4535b04f5fe52233a30cf78a50915c14a50191a40202f75187237fd395844e191a350ce42c27216f8bc2078ddd68370d4ea6 SHA512 9493f8391257d6c5b4799b5dad0d25173e6d8b0bc55baa24f55e9bbe381506ab9d6f92192cd824372e03b2c496452870fe0c78c6d53d7267f1910f01fc0d5bfb +EBUILD python-swiftclient-3.1.0.ebuild 1752 BLAKE2B 70f4db3b9b16d63b503427b84a0aeb8c02792f9adda088f4b188e6ac39ab237abf99010dd1b275cc20b7e41e2bd2cf9f5eb0f1c3054405babe5304a11ef41670 SHA512 379fe24083f1ada34059d1cfdd8a635fe360de1544e4940b16dfbc3c1c330cf771bbc83fd68d7c91d59a09d021c658ecf4f84d41c3dbc12e3b9c1610affa7279 +EBUILD python-swiftclient-3.3.0.ebuild 1768 BLAKE2B aa8e841d22ff678628d39d47fd520eaf0b9e674d20f8bde87f18b8f5a41e15cbe431e481bf9075dc4a346285dc315b1afcfd4896eed7347bc37c3ab344f92f62 SHA512 f4d55b6961e8f9a2020d3447e6ff9cce95efe58501fec11024675a50bbd5875ff79718729d7d328c5f495090d657159d8d269ca97f25ecbc8fd32c2b6914479b +EBUILD python-swiftclient-3.4.0.ebuild 1768 BLAKE2B aa8e841d22ff678628d39d47fd520eaf0b9e674d20f8bde87f18b8f5a41e15cbe431e481bf9075dc4a346285dc315b1afcfd4896eed7347bc37c3ab344f92f62 SHA512 f4d55b6961e8f9a2020d3447e6ff9cce95efe58501fec11024675a50bbd5875ff79718729d7d328c5f495090d657159d8d269ca97f25ecbc8fd32c2b6914479b +EBUILD python-swiftclient-3.5.0.ebuild 1875 BLAKE2B 148d54392bef92b700b678399a10c4f7dc206f525db1945a02de635ae05749f5f6600fef781acd041cad1af2493c12311a8dba8302150c64b830752be85f6eef SHA512 cbe860fd2e699b8c76403f055c39a5d587f61f6f483012883b9b8a0cf3ca33b970a1f73c18ddae502f434f0ca4795ab6e5001a1a3d11b84ee651f1fb46a2f353 +EBUILD python-swiftclient-3.7.0.ebuild 1978 BLAKE2B 962b95f82ecc09c0c26ff61b64e09c5803f518c96d8a474e418d2de3d193f936f255de0aaaa7c998c0256d15259b2352ef50925b6cb9eac1bee94ccba77f2ffa SHA512 d85f9db46a3347611ff38de4c6557ee2427a83bf81d05513b2d372bf4bbad67d26ada391241dd3ac8d3d050756dae08f3cc8e3feb84d11ed8a17cca99321ea19 MISC metadata.xml 597 BLAKE2B c32e50a6b0ff995f2c237c4a6e7ca80636487a9ca4d412c74e6032a32230141f36949fa42cd39ad293a456d8961cbe14e86d6df3a772f88c76283956c46830a5 SHA512 fdcb820e96b82093910b251aff11fd5831253b86972435fe6456bdbfbeba4cc0c9d0dcfe10078103d5e7b7f29cb84e5f379293be94c30ea54fe4af741e097435 diff --git a/dev-python/python-swiftclient/python-swiftclient-3.0.0.ebuild b/dev-python/python-swiftclient/python-swiftclient-3.0.0.ebuild index 6aa5b9982a9d..9d9d887688f3 100644 --- a/dev-python/python-swiftclient/python-swiftclient-3.0.0.ebuild +++ b/dev-python/python-swiftclient/python-swiftclient-3.0.0.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 -PYTHON_COMPAT=( python2_7 python3_4 python3_5 ) +PYTHON_COMPAT=( python2_7 python3_5 ) inherit distutils-r1 diff --git a/dev-python/python-swiftclient/python-swiftclient-3.1.0.ebuild b/dev-python/python-swiftclient/python-swiftclient-3.1.0.ebuild index 1f4546996a90..fa3eb79fa9a4 100644 --- a/dev-python/python-swiftclient/python-swiftclient-3.1.0.ebuild +++ b/dev-python/python-swiftclient/python-swiftclient-3.1.0.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python2_7 python3_4 python3_5 ) +PYTHON_COMPAT=( python2_7 python3_5 ) inherit distutils-r1 diff --git a/dev-python/python-swiftclient/python-swiftclient-3.3.0.ebuild b/dev-python/python-swiftclient/python-swiftclient-3.3.0.ebuild index c4cb6240c2ce..4ac4b7a8959c 100644 --- a/dev-python/python-swiftclient/python-swiftclient-3.3.0.ebuild +++ b/dev-python/python-swiftclient/python-swiftclient-3.3.0.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python2_7 python3_4 python3_5 ) +PYTHON_COMPAT=( python2_7 python3_5 ) inherit distutils-r1 diff --git a/dev-python/python-swiftclient/python-swiftclient-3.4.0.ebuild b/dev-python/python-swiftclient/python-swiftclient-3.4.0.ebuild index c4cb6240c2ce..4ac4b7a8959c 100644 --- a/dev-python/python-swiftclient/python-swiftclient-3.4.0.ebuild +++ b/dev-python/python-swiftclient/python-swiftclient-3.4.0.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python2_7 python3_4 python3_5 ) +PYTHON_COMPAT=( python2_7 python3_5 ) inherit distutils-r1 diff --git a/dev-python/python-swiftclient/python-swiftclient-3.5.0.ebuild b/dev-python/python-swiftclient/python-swiftclient-3.5.0.ebuild index fdd68bc5b3bb..e0bfa341ae68 100644 --- a/dev-python/python-swiftclient/python-swiftclient-3.5.0.ebuild +++ b/dev-python/python-swiftclient/python-swiftclient-3.5.0.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) +PYTHON_COMPAT=( python2_7 python3_{5,6} ) inherit distutils-r1 diff --git a/dev-python/python-swiftclient/python-swiftclient-3.7.0.ebuild b/dev-python/python-swiftclient/python-swiftclient-3.7.0.ebuild new file mode 100644 index 000000000000..738017430dcb --- /dev/null +++ b/dev-python/python-swiftclient/python-swiftclient-3.7.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python2_7 python3_{5,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="doc 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}] + ) + doc? ( + >=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/reno-2.5.0[${PYTHON_USEDEP}] + >=dev-python/openstackdocstheme-1.18.1[${PYTHON_USEDEP}] + )" +RDEPEND="virtual/python-futures[${PYTHON_USEDEP}] + >=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_compile_all() { + use doc && emake -C doc html +} + +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" +} + +python_install_all() { + use doc && local HTML_DOCS=( ../${P}-python2_7/doc/build/html/. ) + distutils-r1_python_install_all +} -- cgit v1.2.3