/
Portfile
46 lines (37 loc) · 1.75 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
# -*- 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
github.setup qorelanguage module-python 1.2.0 v
github.tarball_from releases
PortGroup cmake 1.1
name qore-python-module
categories lang
license LGPL-2.1
maintainers {davidnichols @davidnich} openmaintainer
description xmlsec module for Qore
long_description Module providing Python integration with to Qore and vice-versa
homepage http://qore.org
platforms darwin
use_bzip2 yes
distname qore-python-module-${version}
checksums rmd160 2b5ca8d4245af0be54555fb40e416ff69e6758e5 \
sha256 429a2358004b72f8cebfb3dc2b8a24e481bb5bd44dd78ed8702f163d667b9ff7 \
size 66810
variant python38 conflicts python39 python310 python311 description {Enable Python 3.8} {}
variant python39 conflicts python38 python310 python311 description {Enable Python 3.9} {}
variant python310 conflicts python38 python39 python311 description {Enable Python 3.10} {}
variant python311 conflicts python38 python39 python310 description {Enable Python 3.11} {}
if {![variant_isset python38] && ![variant_isset python39] && ![variant_isset python310] && ![variant_isset python311]} {
default_variants +python311
}
if {[variant_isset python38]} {
set python_version "38"
} elseif {[variant_isset python39]} {
set python_version "39"
} elseif {[variant_isset python310]} {
set python_version "310"
} elseif {[variant_isset python311]} {
set python_version "311"
}
depends_lib port:qore \
port:python${python_version}