You've already forked httpie-cli
							
							
				mirror of
				https://github.com/httpie/cli.git
				synced 2025-10-30 23:47:52 +02:00 
			
		
		
		
	* Update Alpine package * Add charset-normalizer deps for Alpine It currently does not exist. We will need to add it ourselves. * Update Gentoo package * Update Brew formula * Update MacPorts port * Fix Gentoo deps * Update examples * Update Void Linux package * Update Void Linux commands * Update Chocolateur package * Review DEbian packaging details * Simplify Void Linux package * Update more packages * Update summary everywhere * Remove temporary file * Update Chocolatey package URL * Updates * Update Spack
		
			
				
	
	
		
			44 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Bash
		
	
	
	
	
	
| # Copyright 1999-2021 Gentoo Authors
 | |
| # Distributed under the terms of the GNU General Public License v2
 | |
| 
 | |
| EAPI=7
 | |
| 
 | |
| DISTUTILS_USE_SETUPTOOLS=rdepend
 | |
| PYTHON_COMPAT=( python3_{8,9,10} )
 | |
| PYTHON_REQ_USE="ssl(+)"
 | |
| 
 | |
| inherit bash-completion-r1 distutils-r1
 | |
| 
 | |
| DESCRIPTION="Modern, user-friendly command-line HTTP client for the API era"
 | |
| HOMEPAGE="https://httpie.io/ https://pypi.org/project/httpie/"
 | |
| SRC_URI="https://github.com/httpie/httpie/archive/${PV}.tar.gz -> ${P}.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/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
 | |
| }
 |