Summary: | net-misc/httpie: Missing dependency with Python 3.x | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christian Ruppert (idl0r) <idl0r> |
Component: | Current packages | Assignee: | Vikraman (RETIRED) <vikraman> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Christian Ruppert (idl0r)
2014-08-26 15:04:17 UTC
"The SimpleHTTPServer module has been merged into http.server" It doesn't even work with PYTHON_TARGETS="python2_7" emerge net-misc/httpie The same error. 3.x is set as default but the wrapper of 2.x should actually be used here instead. Works fine for me. % eix -e httpie [I] net-misc/httpie Available versions: (~)0.6.0 (~)0.7.2 (~)0.8.0 {PYTHON_TARGETS="python2_7 python3_2 python3_3"} Installed versions: 0.8.0(11:47:54 AM 04/17/2014)(PYTHON_TARGETS="python2_7 python3_3 -python2_6 -python3_2") Homepage: http://httpie.org/ http://pypi.python.org/pypi/httpie Description: A CLI, cURL-like tool for humans % eselect python list Available Python interpreters: [1] python2.7 [2] python3.3 [3] python3.4 * % http -h usage: http [--json] [--form] [--pretty {all,colors,format,none}] [--style STYLE] [--print WHAT] [--verbose] [--headers] [--body] [--stream] [--output FILE] [--download] [--continue] [--session SESSION_NAME_OR_PATH | --session-read-only SESSION_NAME_OR_PATH] [--auth USER[:PASS]] [--auth-type {basic,digest}] [--proxy PROTOCOL:PROXY_URL] [--follow] [--verify VERIFY] [--timeout SECONDS] [--check-status] [--ignore-stdin] [--help] [--version] [--traceback] [--debug] [METHOD] URL [REQUEST_ITEM [REQUEST_ITEM ...]] http: error: too few arguments % sudo eselect python set 2 % eselect python list Available Python interpreters: [1] python2.7 [2] python3.3 * [3] python3.4 % http -h usage: http [--json] [--form] [--pretty {all,colors,format,none}] [--style STYLE] [--print WHAT] [--verbose] [--headers] [--body] [--stream] [--output FILE] [--download] [--continue] [--session SESSION_NAME_OR_PATH | --session-read-only SESSION_NAME_OR_PATH] [--auth USER[:PASS]] [--auth-type {basic,digest}] [--proxy PROTOCOL:PROXY_URL] [--follow] [--verify VERIFY] [--timeout SECONDS] [--check-status] [--ignore-stdin] [--help] [--version] [--traceback] [--debug] [METHOD] URL [REQUEST_ITEM [REQUEST_ITEM ...]] http: error: the following arguments are required: URL, REQUEST_ITEM httpie doesn't even use SimpleHTTPServer. % qlist -e httpie | xargs ag -i simplehttp Sorry, my fault. For some reason I had a "http" alias ($USER only). |