2021-10-06 16:45:44 +02:00
|
|
|
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8::et:sw=4:ts=4:sts=4
|
|
|
|
|
|
|
|
PortSystem 1.0
|
|
|
|
PortGroup github 1.0
|
|
|
|
PortGroup python 1.0
|
|
|
|
|
2021-10-19 10:18:35 +02:00
|
|
|
github.setup httpie httpie 2.6.0
|
2021-10-06 16:45:44 +02:00
|
|
|
|
|
|
|
maintainers {g5pw @g5pw} openmaintainer
|
|
|
|
categories net
|
2021-10-19 10:18:35 +02:00
|
|
|
description Modern, user-friendly command-line HTTP client for the API era
|
2021-10-06 16:45:44 +02:00
|
|
|
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.
|
|
|
|
platforms darwin
|
|
|
|
license BSD
|
|
|
|
homepage https://httpie.io/
|
|
|
|
|
2021-10-19 10:18:35 +02:00
|
|
|
variant python37 conflicts python36 python38 python39 python310 description "Use Python 3.7" {}
|
|
|
|
variant python38 conflicts python36 python37 python39 python310 description "Use Python 3.8" {}
|
|
|
|
variant python39 conflicts python36 python37 python38 python310 description "Use Python 3.9" {}
|
|
|
|
variant python310 conflicts python36 python37 python38 python39 description "Use Python 3.10" {}
|
2021-10-06 16:45:44 +02:00
|
|
|
|
2022-01-14 17:49:05 +01:00
|
|
|
if {[variant_isset python37]} {
|
2021-10-06 16:45:44 +02:00
|
|
|
python.default_version 37
|
|
|
|
} elseif {[variant_isset python39]} {
|
|
|
|
python.default_version 39
|
2021-10-19 10:18:35 +02:00
|
|
|
} elseif {[variant_isset python310]} {
|
|
|
|
python.default_version 310
|
2021-10-06 16:45:44 +02:00
|
|
|
} else {
|
|
|
|
default_variants +python38
|
|
|
|
python.default_version 38
|
|
|
|
}
|
|
|
|
|
|
|
|
depends_lib-append port:py${python.version}-requests \
|
|
|
|
port:py${python.version}-requests-toolbelt \
|
|
|
|
port:py${python.version}-pygments \
|
|
|
|
port:py${python.version}-socks \
|
2021-10-19 10:18:35 +02:00
|
|
|
port:py${python.version}-charset-normalizer \
|
2021-10-06 16:45:44 +02:00
|
|
|
port:py${python.version}-defusedxml
|
|
|
|
|
2021-10-19 10:18:35 +02:00
|
|
|
checksums rmd160 07b1d1592da1c505ed3ee4ef3b6056215e16e9ff \
|
|
|
|
sha256 63cf104bf3552305c68a74f16494a90172b15296610a875e17918e5e36373c0b \
|
|
|
|
size 1133491
|
2021-10-06 16:45:44 +02:00
|
|
|
|
|
|
|
python.link_binaries_suffix
|