# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup github 1.0 PortGroup python 1.0 github.setup httpie httpie 3.2.3 github.tarball_from archive revision 0 maintainers {gmail.com:herby.gillot @herbygillot} \ openmaintainer categories net python description HTTPie is a command line HTTP client, a user-friendly cURL replacement. long_description HTTPie (pronounced aych-tee-tee-pie) is a command line HTTP \ client. Its goal is to make CLI interaction with web \ services as human-friendly as possible. It provides a simple \ http command that allows for sending arbitrary HTTP requests \ using a simple and natural syntax, and displays colorized \ responses. HTTPie can be used for testing, debugging, and \ generally interacting with HTTP servers. license BSD platforms {darwin any} supported_archs noarch homepage https://httpie.io/ variant python38 conflicts python39 python310 python311 python312 description "Use Python 3.8" {} variant python39 conflicts python38 python310 python311 python312 description "Use Python 3.9" {} variant python310 conflicts python38 python39 python311 python312 description "Use Python 3.10" {} variant python311 conflicts python38 python39 python310 python312 description "Use Python 3.11" {} variant python312 conflicts python38 python39 python310 python311 description "Use Python 3.12" {} if {[variant_isset python38]} { python.default_version 38 depends_lib-append port:py${python.version}-typing_extensions } elseif {[variant_isset python39]} { python.default_version 39 } elseif {[variant_isset python310]} { python.default_version 310 } elseif {[variant_isset python311]} { python.default_version 311 } else { default_variants +python312 python.default_version 312 } depends_lib-append port:py${python.version}-requests \ port:py${python.version}-requests-toolbelt \ port:py${python.version}-pygments \ port:py${python.version}-socks \ port:py${python.version}-charset-normalizer \ port:py${python.version}-defusedxml \ port:py${python.version}-multidict \ port:py${python.version}-rich \ port:py${python.version}-pip checksums rmd160 49b061e87006b89f57dc2fac9fbd961b703fb73a \ sha256 91cb6cbd1f9e6115ffc13824e87b2a4d903d76c769859e81924913adbf609c1b \ size 1279649 python.link_binaries_suffix post-destroot { xinstall -d ${destroot}${prefix}/share/man/man1 xinstall -m 0444 {*}[glob ${worksrcpath}/extras/man/*.1] \ ${destroot}${prefix}/share/man/man1 }