From 4692cdfbbc8b323e945cc1ad0828d43f17d2bd1c Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Sat, 12 Jun 2021 17:12:49 +0200 Subject: [PATCH] update python-http-client-3.3.2 --- CHANGELOG.txt | 1 + dev-python/python-http-client/Manifest | 2 ++ .../python-http-client-3.3.2.ebuild | 36 +++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 dev-python/python-http-client/python-http-client-3.3.2.ebuild diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 90ac362dd..478d3cc66 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -64,6 +64,7 @@ * update pyrituals-0.0.3 * update pysonos-0.0.49 * update pytest-6.2.4 + * update python-http-client-3.3.2 2021-06-04 * cleanup PYTHON_COMPAT, remove unused Ebuilds (https://bugs.gentoo.org/793464) diff --git a/dev-python/python-http-client/Manifest b/dev-python/python-http-client/Manifest index 45333935a..24dd72255 100644 --- a/dev-python/python-http-client/Manifest +++ b/dev-python/python-http-client/Manifest @@ -1,3 +1,5 @@ DIST python-http-client-3.3.1.tar.gz 7186 BLAKE2B 1a2fe2347e4c70deb4fde44ca98691fe08bacac16355079f820b46c105af297460028c5c25d4539d39d0e302c81123b598d2b5df60f63f1bbfd19d684fc4d19e SHA512 a0f681c3744ffa52d431d5d895f25f0411afadd7d0fce59fdb9995fbecacac9a39432aedd4f7f12146dad376c6daa471f92f2abe064edc3b9c8643b54c153e5c +DIST python-http-client-3.3.2.tar.gz 7776 BLAKE2B 1259bc0c191f23aa7bb55c51d60932fd08f6305d8d28cc00fa04ad79fbe17eacb671d1cfa7cccff2644e626b05df675d21f19f9cabe583bfe0c67499ab5166fb SHA512 29baccfb265fcc2cd0748f5777cc64e0cb6b770cb3ab89be5bc44550e16e11f74bf81aa34021b743a570b75e3964468e930d2d4dea117db57ba2556bef7c2ab5 EBUILD python-http-client-3.3.1.ebuild 790 BLAKE2B 685189feccb1fe7a25b99013cd2945731ff66ef607671473cf1ea49e26f8eb11eac06f130479af2bb7eb40ff68ec93a6422cf7b1fba994502a016480bd6fe2df SHA512 a852d8d939bf0afd92061b1a06a588e333105b844ea632fc0deb73d072aa1341975c9d0c3c696ba9b7b64cd1fbd3c3d36859f8ccbdb3db6f9f7eb067bfe8d708 +EBUILD python-http-client-3.3.2.ebuild 846 BLAKE2B 1955ea48a821564b1503a899a4a0c533204e461cb6d117977dc59af7aa9240f1e07467732e2a63cc0b102315a474e56f826ea9ca6dc5085b9a3721b24111ee8f SHA512 96593915e3a219447d1c00dd4c4a0f2878f2958dc83f87854229d3904f23318984bdf55b2bf954115052782bbf041cc4599b10d21641ddb3760b0ffb4e171b41 MISC metadata.xml 458 BLAKE2B 793b3cd30261796c9407122e8b3483a67ca8957880581113ec6b0c7555754556df58ff1ff5abd3640945a722128d3c654b66500718d18f9db644a9b8ced457f9 SHA512 5f5640209bfd7ff1dc871b4184f4d9bfcafc690ff25eac66bb2309bf5b1671576725078dd66c574ae2d59fe2901996b8b9bfbefc63b2421b810bf8cf145e01ca diff --git a/dev-python/python-http-client/python-http-client-3.3.2.ebuild b/dev-python/python-http-client/python-http-client-3.3.2.ebuild new file mode 100644 index 000000000..1a7f13d30 --- /dev/null +++ b/dev-python/python-http-client/python-http-client-3.3.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="HTTP REST client, simplified for Python" +HOMEPAGE="https://github.com/sendgrid/python-http-client https://pypi.org/project/python-http-client/" +MY_PN=${PN//-/_} +MY_P=${MY_PN}-${PV} +SRC_URI="mirror://pypi/${P:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz" +S=${WORKDIR}/${MY_PN}-${PV} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +DOCS="README.rst" + +RDEPEND="" +BDEPEND="${REDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + )" + +python_test() { + nosetests --verbose || die + py.test -v -v || die +}