1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/security/py-gssapi/Makefile
Tobias C. Berner 6b66ab85fb security/py-gssapi: Update to 1.6.9
Changelog:
	https://github.com/pythongssapi/python-gssapi/releases/tag/v1.6.9

PR:		248297
Submitted by:	John W. O'Brien <john@saltant.com> (maintainer)
2020-07-27 17:55:20 +00:00

36 lines
869 B
Makefile

# $FreeBSD$
PORTNAME= gssapi
DISTVERSION= 1.6.9
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= john@saltant.com
COMMENT= High-level and low-level Python bindings to GSSAPI C libraries
LICENSE= ISCL
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>1.4.0:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}decorator>0:devel/py-decorator@${PY_FLAVOR} \
${PY_ENUM34}
USES= python:3.6+
USE_PYTHON= distutils autoplist
OPTIONS_RADIO= GSSAPI
OPTIONS_RADIO_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT
OPTIONS_DEFAULT= GSSAPI_BASE
GSSAPI_BASE_USES= gssapi ssl
GSSAPI_HEIMDAL_USES= gssapi:heimdal
GSSAPI_MIT_USES= gssapi:mit
post-patch:
${REINPLACE_CMD} -e 's|%%KRB5CONFIG%%|${KRB5CONFIG}|' ${WRKSRC}/setup.py
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/raw/*.so
.include <bsd.port.mk>