pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/py-gssapi py-gssapi: enable all Python versio...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/28154d94ed5a
branches:  trunk
changeset: 370993:28154d94ed5a
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Oct 30 18:17:13 2017 +0000

description:
py-gssapi: enable all Python versions; fixed PLIST for different KRB5_TYPE

diffstat:

 security/py-gssapi/Makefile |  20 ++++++++++++++------
 security/py-gssapi/PLIST    |  17 +++++++++++------
 2 files changed, 25 insertions(+), 12 deletions(-)

diffs (75 lines):

diff -r 7a781aea20b8 -r 28154d94ed5a security/py-gssapi/Makefile
--- a/security/py-gssapi/Makefile       Mon Oct 30 16:09:00 2017 +0000
+++ b/security/py-gssapi/Makefile       Mon Oct 30 18:17:13 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2017/01/01 14:43:55 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2017/10/30 18:17:13 adam Exp $
 
 DISTNAME=      gssapi-1.2.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -13,15 +13,23 @@
 DEPENDS+=      ${PYPKGPREFIX}-decorator-[0-9]*:../../devel/py-decorator
 DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
 
-AUTO_MKDIRS=   yes
-
-PYTHON_VERSIONS_INCOMPATIBLE=  34 35 36 # as of 1.2.0, self tests don't run
-
 .include "../../lang/python/distutils.mk"
 
 .if ${PYVERSSUFFIX} == "2.7"
 DEPENDS+=      ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34
 .endif
 
-.include "../../mk/krb5.buildlink3.mk"
+.include "../../mk/bsd.prefs.mk"
+
+PLIST_VARS+=   mitkrb posix
+
+# On Darwin, py-gssapi uses -framework GSS
+.if ${OPSYS} != "Darwin"
+PLIST.posix=   yes
+.  include "../../mk/krb5.buildlink3.mk"
+.  if ${KRB5_TYPE} == "mit-krb5"
+PLIST.mitkrb=  yes
+.  endif
+.endif
+
 .include "../../mk/bsd.pkg.mk"
diff -r 7a781aea20b8 -r 28154d94ed5a security/py-gssapi/PLIST
--- a/security/py-gssapi/PLIST  Mon Oct 30 16:09:00 2017 +0000
+++ b/security/py-gssapi/PLIST  Mon Oct 30 18:17:13 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2016/07/24 18:49:35 agc Exp $
+@comment $NetBSD: PLIST,v 1.2 2017/10/30 18:17:13 adam Exp $
 ${PYSITELIB}/${EGG_FILE}/PKG-INFO
 ${PYSITELIB}/${EGG_FILE}/SOURCES.txt
 ${PYSITELIB}/${EGG_FILE}/dependency_links.txt
@@ -25,17 +25,22 @@
 ${PYSITELIB}/gssapi/raw/_enum_extensions/__init__.py
 ${PYSITELIB}/gssapi/raw/_enum_extensions/__init__.pyc
 ${PYSITELIB}/gssapi/raw/_enum_extensions/__init__.pyo
-${PYSITELIB}/gssapi/raw/_enum_extensions/ext_dce.so
+${PLIST.posix}${PYSITELIB}/gssapi/raw/_enum_extensions/ext_dce.so
+${PLIST.mitkrb}${PYSITELIB}/gssapi/raw/_enum_extensions/ext_iov_mic.so
 ${PYSITELIB}/gssapi/raw/chan_bindings.so
 ${PYSITELIB}/gssapi/raw/creds.so
 ${PYSITELIB}/gssapi/raw/cython_converters.so
 ${PYSITELIB}/gssapi/raw/exceptions.so
 ${PYSITELIB}/gssapi/raw/ext_cred_imp_exp.so
-${PYSITELIB}/gssapi/raw/ext_dce.so
+${PLIST.mitkrb}${PYSITELIB}/gssapi/raw/ext_cred_store.so
+${PLIST.posix}${PYSITELIB}/gssapi/raw/ext_dce.so
+${PLIST.mitkrb}${PYSITELIB}/gssapi/raw/ext_iov_mic.so
 ${PYSITELIB}/gssapi/raw/ext_password.so
-${PYSITELIB}/gssapi/raw/ext_password_add.so
-${PYSITELIB}/gssapi/raw/ext_rfc5588.so
-${PYSITELIB}/gssapi/raw/ext_rfc6680.so
+${PLIST.posix}${PYSITELIB}/gssapi/raw/ext_password_add.so
+${PLIST.posix}${PYSITELIB}/gssapi/raw/ext_rfc5588.so
+${PLIST.posix}${PYSITELIB}/gssapi/raw/ext_rfc6680.so
+${PLIST.mitkrb}${PYSITELIB}/gssapi/raw/ext_rfc6680_comp_oid.so
+${PLIST.mitkrb}${PYSITELIB}/gssapi/raw/ext_s4u.so
 ${PYSITELIB}/gssapi/raw/mech_krb5.so
 ${PYSITELIB}/gssapi/raw/message.so
 ${PYSITELIB}/gssapi/raw/misc.so



Home | Main Index | Thread Index | Old Index