diff options
author | Piotr Karbowski <slashbeast@gentoo.org> | 2023-02-23 23:30:51 +0100 |
---|---|---|
committer | Piotr Karbowski <slashbeast@gentoo.org> | 2023-02-23 23:31:45 +0100 |
commit | 899a1631754bf85151b4151ffb8afefa963e7a41 (patch) | |
tree | de8ff9727d39dd8c42b5a7891e641e41da53c708 /net-misc/httpie/httpie-3.2.1-r1.ebuild | |
parent | media-gfx/gpicview: 0.2.5-r3 revbump; gif and clang fixes; EAPI bump; jpeg de... (diff) | |
download | gentoo-899a1631754bf85151b4151ffb8afefa963e7a41.tar.gz gentoo-899a1631754bf85151b4151ffb8afefa963e7a41.tar.bz2 gentoo-899a1631754bf85151b4151ffb8afefa963e7a41.zip |
net-misc/httpie: 3.2.1-r1 revbump; missing deps added.
Closes: https://bugs.gentoo.org/895850
Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>
Diffstat (limited to 'net-misc/httpie/httpie-3.2.1-r1.ebuild')
-rw-r--r-- | net-misc/httpie/httpie-3.2.1-r1.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/net-misc/httpie/httpie-3.2.1-r1.ebuild b/net-misc/httpie/httpie-3.2.1-r1.ebuild new file mode 100644 index 000000000000..b24ab5442eee --- /dev/null +++ b/net-misc/httpie/httpie-3.2.1-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_REQ_USE="ssl(+)" +DISTUTILS_USE_PEP517=setuptools + +inherit bash-completion-r1 distutils-r1 + +DESCRIPTION="Modern command line HTTP client" +HOMEPAGE="https://httpie.io/ https://pypi.org/project/httpie/" +SRC_URI="https://github.com/httpie/httpie/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/charset_normalizer[${PYTHON_USEDEP}] + dev-python/defusedxml[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/multidict[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + >=dev-python/requests-2.22.0[${PYTHON_USEDEP}] + >=dev-python/requests-toolbelt-0.9.1[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/pytest-httpbin[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_install_all() { + newbashcomp extras/httpie-completion.bash http + insinto /usr/share/fish/vendor_completions.d + newins extras/httpie-completion.fish http.fish + distutils-r1_python_install_all +} |