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: Fri, 17 Sep 2021 02:37:40
Message-Id: 1631846245.f5e75eab44919f8fb180dc0de45acf43b9fcaa6a.sam@gentoo
1 commit: f5e75eab44919f8fb180dc0de45acf43b9fcaa6a
2 Author: Mickaël Schoentgen <contact <AT> tiger-222 <DOT> fr>
3 AuthorDate: Tue Sep 14 08:42:43 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 17 02:37:25 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5e75eab
7
8 net-misc/httpie: update metadata
9
10 * Remove obsolete `dev-python/mock` dependency.
11 * Simplify tests: skipped tests due to required network access
12 are now handled at the upstream level.
13 * Also take ownership (I am working for the compagny behind HTTPie).
14
15 Signed-off-by: Mickaël Schoentgen <contact <AT> tiger-222.fr>
16 Closes: https://github.com/gentoo/gentoo/pull/22291
17 Signed-off-by: Sam James <sam <AT> gentoo.org>
18
19 net-misc/httpie/httpie-2.5.0.ebuild | 18 +++---------------
20 net-misc/httpie/metadata.xml | 14 ++++++++++++--
21 2 files changed, 15 insertions(+), 17 deletions(-)
22
23 diff --git a/net-misc/httpie/httpie-2.5.0.ebuild b/net-misc/httpie/httpie-2.5.0.ebuild
24 index b2e48e8373f..bc6673f6453 100644
25 --- a/net-misc/httpie/httpie-2.5.0.ebuild
26 +++ b/net-misc/httpie/httpie-2.5.0.ebuild
27 @@ -10,8 +10,8 @@ PYTHON_REQ_USE="ssl(+)"
28 inherit bash-completion-r1 distutils-r1
29
30 DESCRIPTION="Modern command line HTTP client"
31 -HOMEPAGE="https://httpie.org/ https://pypi.org/project/httpie/"
32 -SRC_URI="https://github.com/jakubroztocil/httpie/archive/${PV}.tar.gz -> ${P}.tar.gz"
33 +HOMEPAGE="https://httpie.io/ https://pypi.org/project/httpie/"
34 +SRC_URI="https://github.com/httpie/httpie/archive/${PV}.tar.gz -> ${P}.tar.gz"
35
36 LICENSE="BSD"
37 SLOT="0"
38 @@ -28,7 +28,6 @@ RDEPEND="
39 BDEPEND="
40 test? (
41 ${RDEPEND}
42 - dev-python/mock[${PYTHON_USEDEP}]
43 dev-python/pyopenssl[${PYTHON_USEDEP}]
44 dev-python/pytest-httpbin[${PYTHON_USEDEP}]
45 dev-python/responses[${PYTHON_USEDEP}]
46 @@ -38,18 +37,7 @@ BDEPEND="
47 distutils_enable_tests pytest
48
49 python_test() {
50 - local skipped_tests=()
51 -
52 - skipped_tests+=(
53 - tests/test_uploads.py::test_chunked_json
54 - tests/test_uploads.py::test_chunked_form
55 - tests/test_uploads.py::test_chunked_stdin
56 - tests/test_uploads.py::TestMultipartFormDataFileUpload::test_multipart_chunked
57 - tests/test_uploads.py::TestRequestBodyFromFilePath::test_request_body_from_file_by_path_chunked
58 - tests/test_tokens.py::test_verbose_chunked
59 - )
60 -
61 - pytest -v ${skipped_tests[@]/#/--deselect } || die "Tests failed with ${EPYTHON}"
62 + pytest -v || die "Tests failed with ${EPYTHON}"
63 }
64
65 python_install_all() {
66
67 diff --git a/net-misc/httpie/metadata.xml b/net-misc/httpie/metadata.xml
68 index ee6866684a3..4bfbb6afe5f 100644
69 --- a/net-misc/httpie/metadata.xml
70 +++ b/net-misc/httpie/metadata.xml
71 @@ -1,7 +1,14 @@
72 <?xml version="1.0" encoding="UTF-8"?>
73 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
74 <pkgmetadata>
75 - <!-- maintainer-needed -->
76 + <maintainer type="person" proxied="yes">
77 + <email>mickael@××××××.io</email>
78 + <name>Mickaël Schoentgen</name>
79 + </maintainer>
80 + <maintainer type="project" proxied="proxy">
81 + <email>proxy-maint@g.o</email>
82 + <name>Proxy Maintainers</name>
83 + </maintainer>
84 <longdescription lang="en">
85 HTTPie (pronounced aitch-tee-tee-pie) is a command line HTTP
86 client. Its goal is to make CLI interaction with web services as
87 @@ -12,7 +19,10 @@
88 servers.
89 </longdescription>
90 <upstream>
91 - <remote-id type="github">jakubroztocil/httpie</remote-id>
92 + <bugs-to>https://github.com/httpie/httpie/issues</bugs-to>
93 + <changelog>https://raw.githubusercontent.com/httpie/httpie/master/CHANGELOG.md</changelog>
94 + <doc>https://httpie.io/docs</doc>
95 + <remote-id type="github">httpie/httpie</remote-id>
96 <remote-id type="pypi">httpie</remote-id>
97 </upstream>
98 </pkgmetadata>