Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Oct 2016 19:45:23 +0000 (UTC)
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r424209 - in head/security: . gpgme gpgme-cpp gpgme-qt5 gpgme/files py-gpgme
Message-ID:  <201610181945.u9IJjNRQ051717@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhale
Date: Tue Oct 18 19:45:23 2016
New Revision: 424209
URL: https://svnweb.freebsd.org/changeset/ports/424209

Log:
  - Update security/gpgme to 1.7.0
  - Convert to master port and add several slave ports for the newly added
    c++, Qt5, and python bindings (security/gpgme-cpp, security/gpgme-qt5,
    and security/py-gpgme, respectively)
  - The Qt bindings currently provided by deskutils/kdepimlibs4
    cannot currently coexist with these new bindings, but will be phased out
    in the future
  - The python bindings are an updated version of the ones provided by
    security/py-pyme and are now being maintained as part of the gpgme project.
    They work with both python 2.x and 3.x.
  
  PR:		212886

Added:
  head/security/gpgme-cpp/
     - copied from r422465, head/security/gpgme/
  head/security/gpgme-qt5/
     - copied from r422465, head/security/gpgme/
  head/security/gpgme/files/
  head/security/gpgme/files/patch-lang_python_Makefile.in   (contents, props changed)
  head/security/py-gpgme/
     - copied from r422465, head/security/gpgme/
Deleted:
  head/security/gpgme-cpp/distinfo
  head/security/gpgme-cpp/pkg-descr
  head/security/gpgme-qt5/distinfo
  head/security/gpgme-qt5/pkg-descr
  head/security/py-gpgme/distinfo
  head/security/py-gpgme/pkg-descr
Modified:
  head/security/Makefile
  head/security/gpgme-cpp/Makefile
  head/security/gpgme-cpp/pkg-plist
  head/security/gpgme-qt5/Makefile
  head/security/gpgme-qt5/pkg-plist
  head/security/gpgme/Makefile
  head/security/gpgme/distinfo
  head/security/gpgme/pkg-plist
  head/security/py-gpgme/Makefile
  head/security/py-gpgme/pkg-plist

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Tue Oct 18 19:41:45 2016	(r424208)
+++ head/security/Makefile	Tue Oct 18 19:45:23 2016	(r424209)
@@ -180,6 +180,8 @@
     SUBDIR += gpass
     SUBDIR += gpgdir
     SUBDIR += gpgme
+    SUBDIR += gpgme-cpp
+    SUBDIR += gpgme-qt5
     SUBDIR += gputty
     SUBDIR += greenbone-security-assistant
     SUBDIR += gringotts
@@ -848,6 +850,7 @@
     SUBDIR += py-flask-httpauth
     SUBDIR += py-gnupg
     SUBDIR += py-gnutls
+    SUBDIR += py-gpgme
     SUBDIR += py-gpsoauth
     SUBDIR += py-halberd
     SUBDIR += py-hkdf

Modified: head/security/gpgme-cpp/Makefile
==============================================================================
--- head/security/gpgme/Makefile	Mon Sep 19 21:58:53 2016	(r422465)
+++ head/security/gpgme-cpp/Makefile	Tue Oct 18 19:45:23 2016	(r424209)
@@ -1,59 +1,14 @@
-# Created by: teramoto@comm.eng.osaka-u.ac.jp
 # $FreeBSD$
 
-PORTNAME=	gpgme
-PORTVERSION=	1.6.0
-PORTREVISION=	1
-CATEGORIES=	security
-MASTER_SITES=	GNUPG/gpgme
+PORTREVISION=	0
+PKGNAMESUFFIX=	-${SLAVEPORT}
 
 MAINTAINER=	jhale@FreeBSD.org
-COMMENT=	Library to make access to GnuPG easier
+COMMENT=	Gpgme C++ bindings
 
-LICENSE=	LGPL21
+MASTERDIR=	${.CURDIR}/../../security/gpgme
+SLAVEPORT=	cpp
+BINDING_NAME=	cpp
+PLIST=		${.CURDIR}/pkg-plist
 
-LIB_DEPENDS=	libassuan.so:security/libassuan \
-		libgpg-error.so:security/libgpg-error
-
-GNU_CONFIGURE=	yes
-USES=		cpe gmake libtool tar:bzip2
-USE_LDCONFIG=	yes
-
-INSTALL_TARGET=	install-strip
-
-CPE_VENDOR=	gnu
-
-INFO=		gpgme
-PORTDOCS=	AUTHORS ChangeLog INSTALL NEWS README THANKS TODO
-
-OPTIONS_DEFINE=		DOCS UISERVER
-OPTIONS_SINGLE=		GNUPG
-OPTIONS_SINGLE_GNUPG=	GNUPG1 GNUPG2
-OPTIONS_DEFAULT=	GNUPG2 UISERVER
-
-GNUPG1_DESC=		Build gpgme library for GnuPG 1.x
-GNUPG1_BUILD_DEPENDS=	gpgv:security/gnupg1
-GNUPG1_RUN_DEPENDS=	gpgv:security/gnupg1
-
-GNUPG2_DESC=		Build gpgme library for GnuPG 2.x
-GNUPG2_BUILD_DEPENDS=	gpg2:security/gnupg
-GNUPG2_RUN_DEPENDS=	gpg2:security/gnupg
-
-UISERVER_DESC=			GnuPG UI server support
-UISERVER_CONFIGURE_ENABLE=	fd-passing
-
-.include <bsd.port.options.mk>
-
-.if !exists(${LOCALBASE}/bin/gpgsm)
-CONFIGURE_ARGS+=	--disable-gpgsm-test
-.endif
-
-post-patch:
-	@${REINPLACE_CMD} -e 's|^clfilesdir.*|clfilesdir=$$\(libdir\)/common-lisp/gpgme|g' \
-					${WRKSRC}/lang/cl/Makefile.in
-
-post-install:
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
-
-.include <bsd.port.mk>
+.include "${MASTERDIR}/Makefile"

Modified: head/security/gpgme-cpp/pkg-plist
==============================================================================
--- head/security/gpgme/pkg-plist	Mon Sep 19 21:58:53 2016	(r422465)
+++ head/security/gpgme-cpp/pkg-plist	Tue Oct 18 19:45:23 2016	(r424209)
@@ -1,13 +1,41 @@
-bin/gpgme-config
-bin/gpgme-tool
-include/gpgme.h
-lib/common-lisp/gpgme/gpgme-package.lisp
-lib/common-lisp/gpgme/gpgme.asd
-lib/common-lisp/gpgme/gpgme.lisp
-lib/libgpgme-pthread.so
-lib/libgpgme-pthread.so.11
-lib/libgpgme-pthread.so.11.14.0
-lib/libgpgme.so
-lib/libgpgme.so.11
-lib/libgpgme.so.11.14.0
-share/aclocal/gpgme.m4
+include/gpgme++/configuration.h
+include/gpgme++/context.h
+include/gpgme++/data.h
+include/gpgme++/decryptionresult.h
+include/gpgme++/defaultassuantransaction.h
+include/gpgme++/editinteractor.h
+include/gpgme++/encryptionresult.h
+include/gpgme++/engineinfo.h
+include/gpgme++/error.h
+include/gpgme++/eventloopinteractor.h
+include/gpgme++/exception.h
+include/gpgme++/global.h
+include/gpgme++/gpgadduserideditinteractor.h
+include/gpgme++/gpgagentgetinfoassuantransaction.h
+include/gpgme++/gpgmefw.h
+include/gpgme++/gpgmepp_export.h
+include/gpgme++/gpgsetexpirytimeeditinteractor.h
+include/gpgme++/gpgsetownertrusteditinteractor.h
+include/gpgme++/gpgsignkeyeditinteractor.h
+include/gpgme++/importresult.h
+include/gpgme++/interfaces/assuantransaction.h
+include/gpgme++/interfaces/dataprovider.h
+include/gpgme++/interfaces/passphraseprovider.h
+include/gpgme++/interfaces/progressprovider.h
+include/gpgme++/key.h
+include/gpgme++/keygenerationresult.h
+include/gpgme++/keylistresult.h
+include/gpgme++/notation.h
+include/gpgme++/result.h
+include/gpgme++/scdgetinfoassuantransaction.h
+include/gpgme++/signingresult.h
+include/gpgme++/tofuinfo.h
+include/gpgme++/trustitem.h
+include/gpgme++/verificationresult.h
+include/gpgme++/vfsmountresult.h
+include/gpgmepp_version.h
+lib/cmake/Gpgmepp/GpgmeppConfig.cmake
+lib/cmake/Gpgmepp/GpgmeppConfigVersion.cmake
+lib/libgpgmepp.so
+lib/libgpgmepp.so.6
+lib/libgpgmepp.so.6.0.1

Modified: head/security/gpgme-qt5/Makefile
==============================================================================
--- head/security/gpgme/Makefile	Mon Sep 19 21:58:53 2016	(r422465)
+++ head/security/gpgme-qt5/Makefile	Tue Oct 18 19:45:23 2016	(r424209)
@@ -1,59 +1,17 @@
-# Created by: teramoto@comm.eng.osaka-u.ac.jp
 # $FreeBSD$
 
-PORTNAME=	gpgme
-PORTVERSION=	1.6.0
-PORTREVISION=	1
-CATEGORIES=	security
-MASTER_SITES=	GNUPG/gpgme
+PORTREVISION=	0
+PKGNAMESUFFIX=	-${SLAVEPORT}
 
 MAINTAINER=	jhale@FreeBSD.org
-COMMENT=	Library to make access to GnuPG easier
+COMMENT=	Gpgme Qt5 bindings
 
-LICENSE=	LGPL21
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
 
-LIB_DEPENDS=	libassuan.so:security/libassuan \
-		libgpg-error.so:security/libgpg-error
+MASTERDIR=	${.CURDIR}/../../security/gpgme
+SLAVEPORT=	qt5
+BINDING_NAME=	qt
+PLIST=		${.CURDIR}/pkg-plist
 
-GNU_CONFIGURE=	yes
-USES=		cpe gmake libtool tar:bzip2
-USE_LDCONFIG=	yes
-
-INSTALL_TARGET=	install-strip
-
-CPE_VENDOR=	gnu
-
-INFO=		gpgme
-PORTDOCS=	AUTHORS ChangeLog INSTALL NEWS README THANKS TODO
-
-OPTIONS_DEFINE=		DOCS UISERVER
-OPTIONS_SINGLE=		GNUPG
-OPTIONS_SINGLE_GNUPG=	GNUPG1 GNUPG2
-OPTIONS_DEFAULT=	GNUPG2 UISERVER
-
-GNUPG1_DESC=		Build gpgme library for GnuPG 1.x
-GNUPG1_BUILD_DEPENDS=	gpgv:security/gnupg1
-GNUPG1_RUN_DEPENDS=	gpgv:security/gnupg1
-
-GNUPG2_DESC=		Build gpgme library for GnuPG 2.x
-GNUPG2_BUILD_DEPENDS=	gpg2:security/gnupg
-GNUPG2_RUN_DEPENDS=	gpg2:security/gnupg
-
-UISERVER_DESC=			GnuPG UI server support
-UISERVER_CONFIGURE_ENABLE=	fd-passing
-
-.include <bsd.port.options.mk>
-
-.if !exists(${LOCALBASE}/bin/gpgsm)
-CONFIGURE_ARGS+=	--disable-gpgsm-test
-.endif
-
-post-patch:
-	@${REINPLACE_CMD} -e 's|^clfilesdir.*|clfilesdir=$$\(libdir\)/common-lisp/gpgme|g' \
-					${WRKSRC}/lang/cl/Makefile.in
-
-post-install:
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
-
-.include <bsd.port.mk>
+.include "${MASTERDIR}/Makefile"

Modified: head/security/gpgme-qt5/pkg-plist
==============================================================================
--- head/security/gpgme/pkg-plist	Mon Sep 19 21:58:53 2016	(r422465)
+++ head/security/gpgme-qt5/pkg-plist	Tue Oct 18 19:45:23 2016	(r424209)
@@ -1,13 +1,71 @@
-bin/gpgme-config
-bin/gpgme-tool
-include/gpgme.h
-lib/common-lisp/gpgme/gpgme-package.lisp
-lib/common-lisp/gpgme/gpgme.asd
-lib/common-lisp/gpgme/gpgme.lisp
-lib/libgpgme-pthread.so
-lib/libgpgme-pthread.so.11
-lib/libgpgme-pthread.so.11.14.0
-lib/libgpgme.so
-lib/libgpgme.so.11
-lib/libgpgme.so.11.14.0
-share/aclocal/gpgme.m4
+include/QGpgME/AddUserIDJob
+include/QGpgME/ChangeExpiryJob
+include/QGpgME/ChangeOwnerTrustJob
+include/QGpgME/ChangePasswdJob
+include/QGpgME/CryptoConfig
+include/QGpgME/DataProvider
+include/QGpgME/DecryptJob
+include/QGpgME/DecryptVerifyJob
+include/QGpgME/DefaultKeyGenerationJob
+include/QGpgME/DeleteJob
+include/QGpgME/DownloadJob
+include/QGpgME/EncryptJob
+include/QGpgME/ExportJob
+include/QGpgME/HierarchicalKeyKistJob
+include/QGpgME/ImportFromKeyserverJob
+include/QGpgME/ImportJob
+include/QGpgME/Job
+include/QGpgME/KeyForMailboxJob
+include/QGpgME/KeyGenerationJob
+include/QGpgME/KeyListJob
+include/QGpgME/ListAllKeysJob
+include/QGpgME/MultiDeleteJob
+include/QGpgME/Protocol
+include/QGpgME/QGpgMENewCryptoConfig
+include/QGpgME/RefreshKeysJob
+include/QGpgME/SignEncryptJob
+include/QGpgME/SignJob
+include/QGpgME/SignKeyJob
+include/QGpgME/TofuPolicyJob
+include/QGpgME/VerifyDetachedJob
+include/QGpgME/VerifyOpaqueJob
+include/QGpgME/WKSPublishJob
+include/qgpgme/adduseridjob.h
+include/qgpgme/changeexpiryjob.h
+include/qgpgme/changeownertrustjob.h
+include/qgpgme/changepasswdjob.h
+include/qgpgme/cryptoconfig.h
+include/qgpgme/dataprovider.h
+include/qgpgme/decryptjob.h
+include/qgpgme/decryptverifyjob.h
+include/qgpgme/defaultkeygenerationjob.h
+include/qgpgme/deletejob.h
+include/qgpgme/downloadjob.h
+include/qgpgme/encryptjob.h
+include/qgpgme/exportjob.h
+include/qgpgme/hierarchicalkeylistjob.h
+include/qgpgme/importfromkeyserverjob.h
+include/qgpgme/importjob.h
+include/qgpgme/job.h
+include/qgpgme/keyformailboxjob.h
+include/qgpgme/keygenerationjob.h
+include/qgpgme/keylistjob.h
+include/qgpgme/listallkeysjob.h
+include/qgpgme/multideletejob.h
+include/qgpgme/protocol.h
+include/qgpgme/qgpgme_export.h
+include/qgpgme/qgpgmenewcryptoconfig.h
+include/qgpgme/refreshkeysjob.h
+include/qgpgme/signencryptjob.h
+include/qgpgme/signjob.h
+include/qgpgme/signkeyjob.h
+include/qgpgme/tofupolicyjob.h
+include/qgpgme/verifydetachedjob.h
+include/qgpgme/verifyopaquejob.h
+include/qgpgme/wkspublishjob.h
+include/qgpgme_version.h
+lib/cmake/Gpgmepp/QGpgmeConfig.cmake
+lib/cmake/Gpgmepp/QGpgmeConfigVersion.cmake
+lib/libqgpgme.so
+lib/libqgpgme.so.6
+lib/libqgpgme.so.6.0.1

Modified: head/security/gpgme/Makefile
==============================================================================
--- head/security/gpgme/Makefile	Tue Oct 18 19:41:45 2016	(r424208)
+++ head/security/gpgme/Makefile	Tue Oct 18 19:45:23 2016	(r424209)
@@ -2,27 +2,31 @@
 # $FreeBSD$
 
 PORTNAME=	gpgme
-PORTVERSION=	1.6.0
-PORTREVISION=	1
-CATEGORIES=	security
+PORTVERSION=	1.7.0
+PORTREVISION?=	0
+CATEGORIES?=	security
 MASTER_SITES=	GNUPG/gpgme
 
 MAINTAINER=	jhale@FreeBSD.org
-COMMENT=	Library to make access to GnuPG easier
+COMMENT?=	Library to make access to GnuPG easier
 
-LICENSE=	LGPL21
+LICENSE?=	LGPL21
+LICENSE_FILE?=	${WRKSRC}/COPYING.LESSER
 
 LIB_DEPENDS=	libassuan.so:security/libassuan \
 		libgpg-error.so:security/libgpg-error
 
 GNU_CONFIGURE=	yes
-USES=		cpe gmake libtool tar:bzip2
+USES=		cpe gmake libtool localbase:ldflags tar:bzip2
 USE_LDCONFIG=	yes
 
 INSTALL_TARGET=	install-strip
 
 CPE_VENDOR=	gnu
 
+.if !defined(SLAVEPORT)
+CONFIGURE_ARGS+=--enable-languages="cl"
+
 INFO=		gpgme
 PORTDOCS=	AUTHORS ChangeLog INSTALL NEWS README THANKS TODO
 
@@ -41,6 +45,7 @@ GNUPG2_RUN_DEPENDS=	gpg2:security/gnupg
 
 UISERVER_DESC=			GnuPG UI server support
 UISERVER_CONFIGURE_ENABLE=	fd-passing
+.endif
 
 .include <bsd.port.options.mk>
 
@@ -48,12 +53,59 @@ UISERVER_CONFIGURE_ENABLE=	fd-passing
 CONFIGURE_ARGS+=	--disable-gpgsm-test
 .endif
 
+.if defined(SLAVEPORT)
+LIB_DEPENDS+=	libgpgme.so:security/gpgme
+BUILD_WRKSRC=	${WRKSRC}/lang
+INSTALL_WRKSRC=	${WRKSRC}/lang/${BINDING_NAME}
+
+.  if ${SLAVEPORT} == "cpp"
+CONFIGURE_ARGS+=--enable-languages="cpp"
+.  endif
+
+.  if ${SLAVEPORT} == "qt5"
+LIB_DEPENDS+=	libgpgmepp.so:security/gpgme-cpp
+CONFIGURE_ARGS+=--enable-languages="cpp qt"
+USES+=		pkgconfig
+USE_QT5=	buildtools_build core testlib
+CONFLICTS_INSTALL=	kdepimlibs-4.*
+.  endif
+
+.  if ${SLAVEPORT} == "python"
+BUILD_DEPENDS+=	swig3.0:devel/swig30 \
+		${PYTHON_PKGNAMEPREFIX}setuptools${PYTHON_SUFFIX}>0:devel/py-setuptools${PYTHON_SUFFIX}
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}setuptools${PYTHON_SUFFIX}>0:devel/py-setuptools${PYTHON_SUFFIX}
+USES+=		python
+USE_PYTHON=	py3kplist
+BUILD_WRKSRC=	${WRKSRC}/lang/${BINDING_NAME}
+CONFIGURE_ENV+=	SWIG=${LOCALBASE}/bin/swig3.0
+PLIST_SUB+=	VERSION=${PORTVERSION}
+CONFLICTS_INSTALL=	py*-pyme-[0-9]*
+.  endif
+.endif
+
+.include <bsd.port.pre.mk>
+
+.if defined(SLAVEPORT)
+.  if ${SLAVEPORT} == "python"
+.    if ${PYTHON_REL} >= 3000
+CONFIGURE_ARGS+=--enable-languages="python3"
+.    else
+CONFIGURE_ARGS+=--enable-languages="python2"
+.    endif
+.  endif
+.endif
+
 post-patch:
+.if defined(SLAVEPORT)
+	@${FIND} ${BUILD_WRKSRC} -name "Makefile.in" -type f | ${XARGS} \
+	${REINPLACE_CMD} -e 's|../../../src/libgpgme.la|-lgpgme|g'
+.endif
 	@${REINPLACE_CMD} -e 's|^clfilesdir.*|clfilesdir=$$\(libdir\)/common-lisp/gpgme|g' \
 					${WRKSRC}/lang/cl/Makefile.in
-
-post-install:
+.if !defined(SLAVEPORT)
+post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+.endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>

Modified: head/security/gpgme/distinfo
==============================================================================
--- head/security/gpgme/distinfo	Tue Oct 18 19:41:45 2016	(r424208)
+++ head/security/gpgme/distinfo	Tue Oct 18 19:45:23 2016	(r424209)
@@ -1,2 +1,3 @@
-SHA256 (gpgme-1.6.0.tar.bz2) = b09de4197ac280b102080e09eaec6211d081efff1963bf7821cf8f4f9916099d
-SIZE (gpgme-1.6.0.tar.bz2) = 983573
+TIMESTAMP = 1474521991
+SHA256 (gpgme-1.7.0.tar.bz2) = 71f55fed0f2b3eaf7a606e59772aa645ce3ffff322d361ce359951b3f755cc48
+SIZE (gpgme-1.7.0.tar.bz2) = 1281708

Added: head/security/gpgme/files/patch-lang_python_Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/gpgme/files/patch-lang_python_Makefile.in	Tue Oct 18 19:45:23 2016	(r424209)
@@ -0,0 +1,21 @@
+--- lang/python/Makefile.in.orig	2016-10-16 12:54:58 UTC
++++ lang/python/Makefile.in
+@@ -747,7 +747,7 @@ copystamp: $(COPY_FILES) $(COPY_FILES_PY
+ all-local: copystamp
+ 	for PYTHON in $(PYTHONS); do \
+ 	  CFLAGS="$(CFLAGS) -I$(top_srcdir)" \
+-	    $$PYTHON setup.py build --verbose ; \
++	    $$PYTHON setup.py build --verbose build_ext --swig=$(SWIG) ; \
+ 	done
+ 
+ dist/pyme3-$(VERSION).tar.gz dist/pyme3-$(VERSION).tar.gz.asc: copystamp
+@@ -780,7 +780,8 @@ install-exec-local:
+ 	rm -f install_files.txt
+ 	for PYTHON in $(PYTHONS); do \
+ 	  $$PYTHON setup.py install \
+-	  --prefix $(DESTDIR)$(prefix) \
++	  -c -O1 --prefix=$(prefix) \
++	  --root=$(DESTDIR) \
+ 	  --record files.txt \
+ 	  --verbose ; \
+ 	  cat files.txt >> install_files.txt ; \

Modified: head/security/gpgme/pkg-plist
==============================================================================
--- head/security/gpgme/pkg-plist	Tue Oct 18 19:41:45 2016	(r424208)
+++ head/security/gpgme/pkg-plist	Tue Oct 18 19:45:23 2016	(r424209)
@@ -6,8 +6,8 @@ lib/common-lisp/gpgme/gpgme.asd
 lib/common-lisp/gpgme/gpgme.lisp
 lib/libgpgme-pthread.so
 lib/libgpgme-pthread.so.11
-lib/libgpgme-pthread.so.11.14.0
+lib/libgpgme-pthread.so.11.15.0
 lib/libgpgme.so
 lib/libgpgme.so.11
-lib/libgpgme.so.11.14.0
+lib/libgpgme.so.11.15.0
 share/aclocal/gpgme.m4

Modified: head/security/py-gpgme/Makefile
==============================================================================
--- head/security/gpgme/Makefile	Mon Sep 19 21:58:53 2016	(r422465)
+++ head/security/py-gpgme/Makefile	Tue Oct 18 19:45:23 2016	(r424209)
@@ -1,59 +1,18 @@
-# Created by: teramoto@comm.eng.osaka-u.ac.jp
 # $FreeBSD$
 
-PORTNAME=	gpgme
-PORTVERSION=	1.6.0
-PORTREVISION=	1
-CATEGORIES=	security
-MASTER_SITES=	GNUPG/gpgme
+PORTREVISION=	0
+CATEGORIES=	security python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	jhale@FreeBSD.org
-COMMENT=	Library to make access to GnuPG easier
+COMMENT=	Gpgme Python bindings
 
-LICENSE=	LGPL21
-
-LIB_DEPENDS=	libassuan.so:security/libassuan \
-		libgpg-error.so:security/libgpg-error
-
-GNU_CONFIGURE=	yes
-USES=		cpe gmake libtool tar:bzip2
-USE_LDCONFIG=	yes
-
-INSTALL_TARGET=	install-strip
-
-CPE_VENDOR=	gnu
-
-INFO=		gpgme
-PORTDOCS=	AUTHORS ChangeLog INSTALL NEWS README THANKS TODO
-
-OPTIONS_DEFINE=		DOCS UISERVER
-OPTIONS_SINGLE=		GNUPG
-OPTIONS_SINGLE_GNUPG=	GNUPG1 GNUPG2
-OPTIONS_DEFAULT=	GNUPG2 UISERVER
-
-GNUPG1_DESC=		Build gpgme library for GnuPG 1.x
-GNUPG1_BUILD_DEPENDS=	gpgv:security/gnupg1
-GNUPG1_RUN_DEPENDS=	gpgv:security/gnupg1
-
-GNUPG2_DESC=		Build gpgme library for GnuPG 2.x
-GNUPG2_BUILD_DEPENDS=	gpg2:security/gnupg
-GNUPG2_RUN_DEPENDS=	gpg2:security/gnupg
-
-UISERVER_DESC=			GnuPG UI server support
-UISERVER_CONFIGURE_ENABLE=	fd-passing
-
-.include <bsd.port.options.mk>
-
-.if !exists(${LOCALBASE}/bin/gpgsm)
-CONFIGURE_ARGS+=	--disable-gpgsm-test
-.endif
-
-post-patch:
-	@${REINPLACE_CMD} -e 's|^clfilesdir.*|clfilesdir=$$\(libdir\)/common-lisp/gpgme|g' \
-					${WRKSRC}/lang/cl/Makefile.in
+MASTERDIR=	${.CURDIR}/../../security/gpgme
+SLAVEPORT=	python
+BINDING_NAME=	python
+PLIST=		${.CURDIR}/pkg-plist
 
 post-install:
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PYTHON_VERSION}/site-packages/pyme/_gpgme.so
 
-.include <bsd.port.mk>
+.include "${MASTERDIR}/Makefile"

Modified: head/security/py-gpgme/pkg-plist
==============================================================================
--- head/security/gpgme/pkg-plist	Mon Sep 19 21:58:53 2016	(r422465)
+++ head/security/py-gpgme/pkg-plist	Tue Oct 18 19:45:23 2016	(r424209)
@@ -1,13 +1,72 @@
-bin/gpgme-config
-bin/gpgme-tool
-include/gpgme.h
-lib/common-lisp/gpgme/gpgme-package.lisp
-lib/common-lisp/gpgme/gpgme.asd
-lib/common-lisp/gpgme/gpgme.lisp
-lib/libgpgme-pthread.so
-lib/libgpgme-pthread.so.11
-lib/libgpgme-pthread.so.11.14.0
-lib/libgpgme.so
-lib/libgpgme.so.11
-lib/libgpgme.so.11.14.0
-share/aclocal/gpgme.m4
+%%PYTHON_SITELIBDIR%%/pyme/__init__.py
+%%PYTHON_SITELIBDIR%%/pyme/__init__.pyc
+%%PYTHON_SITELIBDIR%%/pyme/__init__.pyo
+%%PYTHON_SITELIBDIR%%/pyme/_gpgme.so
+%%PYTHON_SITELIBDIR%%/pyme/callbacks.py
+%%PYTHON_SITELIBDIR%%/pyme/callbacks.pyc
+%%PYTHON_SITELIBDIR%%/pyme/callbacks.pyo
+%%PYTHON_SITELIBDIR%%/pyme/constants/__init__.py
+%%PYTHON_SITELIBDIR%%/pyme/constants/__init__.pyc
+%%PYTHON_SITELIBDIR%%/pyme/constants/__init__.pyo
+%%PYTHON_SITELIBDIR%%/pyme/constants/data/__init__.py
+%%PYTHON_SITELIBDIR%%/pyme/constants/data/__init__.pyc
+%%PYTHON_SITELIBDIR%%/pyme/constants/data/__init__.pyo
+%%PYTHON_SITELIBDIR%%/pyme/constants/data/encoding.py
+%%PYTHON_SITELIBDIR%%/pyme/constants/data/encoding.pyc
+%%PYTHON_SITELIBDIR%%/pyme/constants/data/encoding.pyo
+%%PYTHON_SITELIBDIR%%/pyme/constants/event.py
+%%PYTHON_SITELIBDIR%%/pyme/constants/event.pyc
+%%PYTHON_SITELIBDIR%%/pyme/constants/event.pyo
+%%PYTHON_SITELIBDIR%%/pyme/constants/import.py
+%%PYTHON_SITELIBDIR%%/pyme/constants/import.pyc
+%%PYTHON_SITELIBDIR%%/pyme/constants/import.pyo
+%%PYTHON_SITELIBDIR%%/pyme/constants/keylist/__init__.py
+%%PYTHON_SITELIBDIR%%/pyme/constants/keylist/__init__.pyc
+%%PYTHON_SITELIBDIR%%/pyme/constants/keylist/__init__.pyo
+%%PYTHON_SITELIBDIR%%/pyme/constants/keylist/mode.py
+%%PYTHON_SITELIBDIR%%/pyme/constants/keylist/mode.pyc
+%%PYTHON_SITELIBDIR%%/pyme/constants/keylist/mode.pyo
+%%PYTHON_SITELIBDIR%%/pyme/constants/md.py
+%%PYTHON_SITELIBDIR%%/pyme/constants/md.pyc
+%%PYTHON_SITELIBDIR%%/pyme/constants/md.pyo
+%%PYTHON_SITELIBDIR%%/pyme/constants/pk.py
+%%PYTHON_SITELIBDIR%%/pyme/constants/pk.pyc
+%%PYTHON_SITELIBDIR%%/pyme/constants/pk.pyo
+%%PYTHON_SITELIBDIR%%/pyme/constants/protocol.py
+%%PYTHON_SITELIBDIR%%/pyme/constants/protocol.pyc
+%%PYTHON_SITELIBDIR%%/pyme/constants/protocol.pyo
+%%PYTHON_SITELIBDIR%%/pyme/constants/sig/__init__.py
+%%PYTHON_SITELIBDIR%%/pyme/constants/sig/__init__.pyc
+%%PYTHON_SITELIBDIR%%/pyme/constants/sig/__init__.pyo
+%%PYTHON_SITELIBDIR%%/pyme/constants/sig/mode.py
+%%PYTHON_SITELIBDIR%%/pyme/constants/sig/mode.pyc
+%%PYTHON_SITELIBDIR%%/pyme/constants/sig/mode.pyo
+%%PYTHON_SITELIBDIR%%/pyme/constants/sigsum.py
+%%PYTHON_SITELIBDIR%%/pyme/constants/sigsum.pyc
+%%PYTHON_SITELIBDIR%%/pyme/constants/sigsum.pyo
+%%PYTHON_SITELIBDIR%%/pyme/constants/status.py
+%%PYTHON_SITELIBDIR%%/pyme/constants/status.pyc
+%%PYTHON_SITELIBDIR%%/pyme/constants/status.pyo
+%%PYTHON_SITELIBDIR%%/pyme/constants/validity.py
+%%PYTHON_SITELIBDIR%%/pyme/constants/validity.pyc
+%%PYTHON_SITELIBDIR%%/pyme/constants/validity.pyo
+%%PYTHON_SITELIBDIR%%/pyme/core.py
+%%PYTHON_SITELIBDIR%%/pyme/core.pyc
+%%PYTHON_SITELIBDIR%%/pyme/core.pyo
+%%PYTHON_SITELIBDIR%%/pyme/errors.py
+%%PYTHON_SITELIBDIR%%/pyme/errors.pyc
+%%PYTHON_SITELIBDIR%%/pyme/errors.pyo
+%%PYTHON_SITELIBDIR%%/pyme/gpgme.py
+%%PYTHON_SITELIBDIR%%/pyme/gpgme.pyc
+%%PYTHON_SITELIBDIR%%/pyme/gpgme.pyo
+%%PYTHON_SITELIBDIR%%/pyme/install_files.txt
+%%PYTHON_SITELIBDIR%%/pyme/results.py
+%%PYTHON_SITELIBDIR%%/pyme/results.pyc
+%%PYTHON_SITELIBDIR%%/pyme/results.pyo
+%%PYTHON_SITELIBDIR%%/pyme/util.py
+%%PYTHON_SITELIBDIR%%/pyme/util.pyc
+%%PYTHON_SITELIBDIR%%/pyme/util.pyo
+%%PYTHON_SITELIBDIR%%/pyme/version.py
+%%PYTHON_SITELIBDIR%%/pyme/version.pyc
+%%PYTHON_SITELIBDIR%%/pyme/version.pyo
+%%PYTHON_SITELIBDIR%%/pyme3-%%VERSION%%-py%%PYTHON_VER%%.egg-info



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610181945.u9IJjNRQ051717>