From cc9edf28fd664da793c0bbacb7172006fb8a8ca3 Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@p37t)" Date: Mon, 24 Aug 2020 23:00:15 +0200 Subject: [PATCH] add python-http-client-3.3.1 --- CHANGELOG.txt | 1 + dev-python/python-http-client/Manifest | 3 ++ dev-python/python-http-client/metadata.xml | 15 +++++++++ .../python-http-client-3.3.1.ebuild | 33 +++++++++++++++++++ 4 files changed, 52 insertions(+) create mode 100644 dev-python/python-http-client/Manifest create mode 100644 dev-python/python-http-client/metadata.xml create mode 100644 dev-python/python-http-client/python-http-client-3.3.1.ebuild diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 1c2684a6e..2afad5e5d 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -23,6 +23,7 @@ * update beautifulsoup4-4.9.1 * bump praw-7.1.0 * bump connect-box-0.2.7 + * add python-http-client-3.3.1 2020-08-16 * update esphome-1.15.0_beta3 (experimental) diff --git a/dev-python/python-http-client/Manifest b/dev-python/python-http-client/Manifest new file mode 100644 index 000000000..3f0024158 --- /dev/null +++ b/dev-python/python-http-client/Manifest @@ -0,0 +1,3 @@ +DIST python-http-client-3.3.1.tar.gz 7186 BLAKE2B 1a2fe2347e4c70deb4fde44ca98691fe08bacac16355079f820b46c105af297460028c5c25d4539d39d0e302c81123b598d2b5df60f63f1bbfd19d684fc4d19e SHA512 a0f681c3744ffa52d431d5d895f25f0411afadd7d0fce59fdb9995fbecacac9a39432aedd4f7f12146dad376c6daa471f92f2abe064edc3b9c8643b54c153e5c +EBUILD python-http-client-3.3.1.ebuild 785 BLAKE2B 0e4932b63b99b34aa8dec3ca0ed25b7572432bb56c77dae2870aca0877c8e9b185bf97cf9df0d306060cb22351a7f8cdb1182dbea8a5edbc5b49d20fff1d2453 SHA512 a3b701097011545609f5f98cec01dddd9af8c89e7d272867ee1188ef6760d5d8d9c0f4b2959dbfc38e969f9736041e1009bca68aa263e4e6a133acbe1affdbf6 +MISC metadata.xml 458 BLAKE2B 793b3cd30261796c9407122e8b3483a67ca8957880581113ec6b0c7555754556df58ff1ff5abd3640945a722128d3c654b66500718d18f9db644a9b8ced457f9 SHA512 5f5640209bfd7ff1dc871b4184f4d9bfcafc690ff25eac66bb2309bf5b1671576725078dd66c574ae2d59fe2901996b8b9bfbefc63b2421b810bf8cf145e01ca diff --git a/dev-python/python-http-client/metadata.xml b/dev-python/python-http-client/metadata.xml new file mode 100644 index 000000000..4f81b3b7b --- /dev/null +++ b/dev-python/python-http-client/metadata.xml @@ -0,0 +1,15 @@ + + + + + b@edevau.net + Andreas Billmeier + + + python-http-client + + help@twilio.com + Elmer Thomas + + + diff --git a/dev-python/python-http-client/python-http-client-3.3.1.ebuild b/dev-python/python-http-client/python-http-client-3.3.1.ebuild new file mode 100644 index 000000000..70ce880bd --- /dev/null +++ b/dev-python/python-http-client/python-http-client-3.3.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6,7,8} ) + +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 ~arm64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND="" +DEPEND="${REDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + )" + +python_test() { + nosetests --verbose || die + py.test -v -v || die +}