forked from macports/macports-ports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Portfile
59 lines (49 loc) · 2.43 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# -*- 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 active_variants 1.1
PortGroup github 1.0
PortGroup python 1.0
set realname certbot_dns_namecheap
set gittag 591508b
github.setup ediboko1980 ${realname} ${gittag}
name certbot-dns-namecheap
version 0.27.0.dev0
revision 1
categories security
license Apache-2
maintainers {mps @Schamschula} openmaintainer
description The certbot namecheap.com plugin for dns-01 challenges
long_description The namecheap.com plugin automates the process of completing a \
dns-01 challenge (DNS01) by creating, and subsequently removing, \
TXT records using the (XML-RPC-based) namecheap.com API.
platforms darwin
variant python37 conflicts python38 python39 python310 description {Use Python 3.7} {}
variant python38 conflicts python37 python39 python310 description {Use Python 3.8} {}
variant python39 conflicts python37 python38 python310 description {Use Python 3.9} {}
variant python310 conflicts python37 python38 python39 description {Use Python 3.10} {}
if { ![variant_isset python37] && ![variant_isset python38] && ![variant_isset python310]} {
default_variants +python39
}
foreach pv {310 39 38 37} {
if {[variant_isset python${pv}]} {
python.default_version ${pv}
set python_variant python${pv}
break
}
}
checksums rmd160 5f37ba0c922adcb575511cd334c6a285bba5a54e \
sha256 3ec8ab8de8ad41af22699c3bc7baf266582552d4765c168631112d55ca564aaf \
size 12012
build.dir ${workpath}/${realname}-${gittag}
depends_build-append \
port:py${python.version}-setuptools
depends_lib-append port:certbot \
port:py${python.version}-acme \
port:py${python.version}-dns-lexicon \
port:py${python.version}-mock \
port:py${python.version}-ndg_httpsclient \
port:py${python.version}-pynamecheap \
port:py${python.version}-python-augeas \
port:py${python.version}-zope-component \
port:py${python.version}-zopeinterface
require_active_variants certbot ${python_variant}