Debian Codegraph @

docs/packaging/mac-ports/Portfile

raw
1 # -*- 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
2
3 PortSystem 1.0
4 PortGroup github 1.0
5 PortGroup python 1.0
6
7 github.setup httpie httpie 2.6.0
8
9 maintainers {g5pw @g5pw} openmaintainer
10 categories net
11 description Modern, user-friendly command-line HTTP client for the API era
12 long_description HTTPie (pronounced aych-tee-tee-pie) is a command line HTTP \
13 client. Its goal is to make CLI interaction with web \
14 services as human-friendly as possible. It provides a simple \
15 http command that allows for sending arbitrary HTTP requests \
16 using a simple and natural syntax, and displays colorized \
17 responses. HTTPie can be used for testing, debugging, and \
18 generally interacting with HTTP servers.
19 platforms darwin
20 license BSD
21 homepage https://httpie.io/
22
23 variant python37 conflicts python36 python38 python39 python310 description "Use Python 3.7" {}
24 variant python38 conflicts python36 python37 python39 python310 description "Use Python 3.8" {}
25 variant python39 conflicts python36 python37 python38 python310 description "Use Python 3.9" {}
26 variant python310 conflicts python36 python37 python38 python39 description "Use Python 3.10" {}
27
28 if {[variant_isset python37]} {
29 python.default_version 37
30 } elseif {[variant_isset python39]} {
31 python.default_version 39
32 } elseif {[variant_isset python310]} {
33 python.default_version 310
34 } else {
35 default_variants +python38
36 python.default_version 38
37 }
38
39 depends_lib-append port:py${python.version}-requests \
40 port:py${python.version}-requests-toolbelt \
41 port:py${python.version}-pygments \
42 port:py${python.version}-socks \
43 port:py${python.version}-charset-normalizer \
44 port:py${python.version}-defusedxml
45
46 checksums rmd160 07b1d1592da1c505ed3ee4ef3b6056215e16e9ff \
47 sha256 63cf104bf3552305c68a74f16494a90172b15296610a875e17918e5e36373c0b \
48 size 1133491
49
50 python.link_binaries_suffix