You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-03-31 14:42:53 -07:00
47 lines
1.9 KiB
Tcl
47 lines
1.9 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.11.1 v
|
|
github.tarball_from releases
|
|
|
|
name py-gssapi
|
|
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 usable with other GSSAPI mechanisms.
|
|
|
|
checksums rmd160 06b3dd880ccfdf5083e2b9bebc55da4ad1b9eb77 \
|
|
sha256 c5b0495b133510b618d12c14e9caa832d731ae6a5e4f0c4ccc50d6ced841a68f \
|
|
size 113666
|
|
|
|
patchfiles patch-c99.diff \
|
|
patch-cython-version.diff
|
|
|
|
python.versions 310 311 312 313 314
|
|
|
|
# Support for MIT Kerberos has been brought up upstream before, in
|
|
# https://github.com/pythongssapi/python-gssapi/issues/347
|
|
# In that GitHub issue, this is how the devs say to use MIT Kerberos.
|
|
pre-build {
|
|
set gssapi_cflags [exec ${prefix}/bin/krb5-config --cflags gssapi]
|
|
set gssapi_libs [exec ${prefix}/bin/krb5-config --libs gssapi]
|
|
build.env-append GSSAPI_MAIN_LIB=${prefix}/lib/libgssapi_krb5.dylib \
|
|
GSSAPI_COMPILER_ARGS=${gssapi_cflags} \
|
|
GSSAPI_LINKER_ARGS=${gssapi_libs}
|
|
}
|
|
|
|
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 \
|
|
port:kerberos5
|
|
|
|
livecheck.type none
|
|
}
|