Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/httpie/
Date: Mon, 03 Aug 2020 15:30:37
Message-Id: 1596443823.8cd5f363c9eb38cf40b71fd2b8efd505f759fe6f.sam@gentoo
1 commit: 8cd5f363c9eb38cf40b71fd2b8efd505f759fe6f
2 Author: Ralph Seichter <github <AT> seichter <DOT> de>
3 AuthorDate: Tue Jul 21 19:16:16 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 3 08:37:03 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cd5f363
7
8 net-misc/httpie: Bump to version 2.2.0
9
10 Package-Manager: Portage-2.3.103, Repoman-2.3.23
11 Signed-off-by: Ralph Seichter <gentoo <AT> seichter.de>
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 net-misc/httpie/Manifest | 1 +
15 net-misc/httpie/httpie-2.2.0.ebuild | 39 +++++++++++++++++++++++++++++++++++++
16 2 files changed, 40 insertions(+)
17
18 diff --git a/net-misc/httpie/Manifest b/net-misc/httpie/Manifest
19 index ff3b4039a86..aa02bf4cbda 100644
20 --- a/net-misc/httpie/Manifest
21 +++ b/net-misc/httpie/Manifest
22 @@ -1,3 +1,4 @@
23 DIST httpie-1.0.3.tar.gz 1745537 BLAKE2B 82279804bf10c1882a163f7b361917c9013a5d4ec9ace934f4d89a8c42d18575863cec57768bb4ccfed3b9913a7f2cba593f398a36f87d045a68f21c7237e381 SHA512 80e540dcb92a55fb8b3c5dd56f380cb1795e4296827591853070a5b775c1f87cd881758d9dd0bdfeff383d06ce8ffafe68ec0269e3d269473e528952a769ecb7
24 DIST httpie-2.0.0.tar.gz 1752529 BLAKE2B 212e7a142f3efdf1bf238d6eb7e472579a8a8248950caf19ec584eba4f903de09b08433805105a61714046857d32b662f54cde927d20db2a2a1ab81bc99bc753 SHA512 ddac5206107241c9fdc2d2697a31fc7a123c3a01c2ccbd0aad8d52e1472f093b201e422522972cce992bfb2fc7d32ffc6380d457112c83ab643008086f9a7f2d
25 DIST httpie-2.1.0.tar.gz 1754801 BLAKE2B dabb6a1ce0cc4ecebbc7e933ed3084d7b75e0fac1fbf6968f41d37ee95cef684ee3603ddb5361e072328d13c9c98332b23bfdd0454da3399038307b124ea2e98 SHA512 39d56c9b9aad4871ce439a235377a930ad7c78b833f9bad568142efc9fd8af9123ac931e434c6ddb7fa6e0deb0acf8f5fd1ddf79f3b7a65467267cbf4629555b
26 +DIST httpie-2.2.0.tar.gz 1761927 BLAKE2B 3ce8acf4abf9cb189315e07e7f9c8dfc1b0a537696a2c9fd795e8e944c85c1df8e7e13fbaee68d3b93115296ba048e664d31245fe2c6b832123818292b4fac8d SHA512 00c1f34041854319816d7d643a79358723c27a3744f405d629b5361685745bfdd8ce0a0f127cb3d6746e46405d24562625ca37733a5955809d7bfc077ae5c533
27
28 diff --git a/net-misc/httpie/httpie-2.2.0.ebuild b/net-misc/httpie/httpie-2.2.0.ebuild
29 new file mode 100644
30 index 00000000000..e3773e796fb
31 --- /dev/null
32 +++ b/net-misc/httpie/httpie-2.2.0.ebuild
33 @@ -0,0 +1,39 @@
34 +# Copyright 1999-2020 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +
39 +DISTUTILS_USE_SETUPTOOLS=rdepend
40 +PYTHON_COMPAT=( python3_{6,7,8} )
41 +PYTHON_REQ_USE="ssl(+)"
42 +
43 +inherit bash-completion-r1 distutils-r1
44 +
45 +DESCRIPTION="Modern command line HTTP client"
46 +HOMEPAGE="https://httpie.org/ https://pypi.org/project/httpie/"
47 +SRC_URI="https://github.com/jakubroztocil/httpie/archive/${PV}.tar.gz -> ${P}.tar.gz"
48 +
49 +LICENSE="BSD"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~x86"
52 +IUSE="test"
53 +RESTRICT="!test? ( test )"
54 +
55 +RDEPEND="dev-python/pygments[${PYTHON_USEDEP}]
56 + >=dev-python/requests-2.22.0[${PYTHON_USEDEP}]"
57 +DEPEND="test? (
58 + ${RDEPEND}
59 + dev-python/mock[${PYTHON_USEDEP}]
60 + dev-python/pyopenssl[${PYTHON_USEDEP}]
61 + dev-python/pytest-httpbin[${PYTHON_USEDEP}]
62 + dev-python/pytest[${PYTHON_USEDEP}]
63 + )"
64 +
65 +distutils_enable_tests pytest
66 +
67 +python_install_all() {
68 + newbashcomp extras/httpie-completion.bash http
69 + insinto /usr/share/fish/vendor_completions.d
70 + newins extras/httpie-completion.fish http.fish
71 + distutils-r1_python_install_all
72 +}