Files
2020-12-10 20:49:39 -08:00

48 lines
1.8 KiB
Tcl

# -*- 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 python 1.0
PortGroup github 1.0
github.setup pythongssapi python-gssapi 1.6.12 v
github.tarball_from releases
name py-gssapi
platforms darwin
license ISC
maintainers {toby @tobypeterson} openmaintainer
description Python interface to RFC 2743/2744
long_description Python-GSSAPI provides both low-level and high level wrappers \
around the GSSAPI C libraries. While it focuses on the Kerberos \
mechanism, it should also be useable with other GSSAPI mechanisms.
checksums rmd160 c6380a3452d4852ca948cafc319609a1c2ff6eba \
sha256 4fdc53da9832a936da354f79f56623a8862867ee6d0c5b2c5543be99f2b386cd \
size 11520426
python.versions 38 39
patchfiles patch-setup.py.diff
if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools \
port:py${python.version}-cython
depends_lib-append port:py${python.version}-decorator
# Uses GSS.framework on macOS >= 10.9
if {${os.platform} eq "darwin" && ${os.major} < 13} {
depends_lib-append port:kerberos5
}
# setup.py wants to directly read the GSS framework binary; on macOS 11+,
# framework binaries are only in the dyld shared cache.
if {${os.platform} eq "darwin" && ${os.major} >= 20} {
patchfiles-append patch-setup.py-sharedcache.diff
build.env-append GSSAPI_SUPPORT_DETECT=false
destroot.env-append GSSAPI_SUPPORT_DETECT=false
}
livecheck.type none
}