aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/Makefile1
-rw-r--r--security/py-pyme/Makefile35
-rw-r--r--security/py-pyme/distinfo3
-rw-r--r--security/py-pyme/pkg-descr8
-rw-r--r--security/py-pyme/pkg-plist72
5 files changed, 119 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index d2fea7f7883b..51e644709c32 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -650,6 +650,7 @@
SUBDIR += py-pow
SUBDIR += py-pycrypto
SUBDIR += py-pycryptopp
+ SUBDIR += py-pyme
SUBDIR += py-rijndael
SUBDIR += py-tlslite
SUBDIR += py-trustedpickle
diff --git a/security/py-pyme/Makefile b/security/py-pyme/Makefile
new file mode 100644
index 000000000000..47947f8ff73c
--- /dev/null
+++ b/security/py-pyme/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: security/py-pyme
+# Date created: 28 December 2008
+# Whom: Johan van Selst <johans@stack.nl>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pyme
+PORTVERSION= 0.8.1
+CATEGORIES= security python
+MASTER_SITES= SF
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= johans@stack.nl
+COMMENT= Python interface to GPGME library
+
+BUILD_DEPENDS= swig1.3:${PORTSDIR}/devel/swig13
+LIB_DEPENDS= gpgme:${PORTSDIR}/security/gpgme
+
+USE_GMAKE= yes
+USE_PYTHON= 2.3+
+USE_PYDISTUTILS=yes
+PYDISTUTILS_PKGNAME=pygpgme
+
+.include <bsd.port.pre.mk>
+
+post-patch:
+ @${REINPLACE_CMD} -e 's,gpgme-config,${PREFIX}/bin/&,' \
+ ${WRKSRC}/Makefile ${WRKSRC}/setup.py
+ @${REINPLACE_CMD} -e 's,include/,&gpgme/,' ${WRKSRC}/Makefile
+
+pre-build:
+ @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} build)
+
+.include <bsd.port.post.mk>
diff --git a/security/py-pyme/distinfo b/security/py-pyme/distinfo
new file mode 100644
index 000000000000..7828a6b38a6c
--- /dev/null
+++ b/security/py-pyme/distinfo
@@ -0,0 +1,3 @@
+MD5 (pyme-0.8.1.tar.gz) = 97d744f7a4a95700e9edeee84384e8aa
+SHA256 (pyme-0.8.1.tar.gz) = 79b7cc111786c60a50bfd49216e418e045cbc8995d22f041785750577ae4a92d
+SIZE (pyme-0.8.1.tar.gz) = 78438
diff --git a/security/py-pyme/pkg-descr b/security/py-pyme/pkg-descr
new file mode 100644
index 000000000000..fa11a4e803f0
--- /dev/null
+++ b/security/py-pyme/pkg-descr
@@ -0,0 +1,8 @@
+PyMe is a Python interface to GPGME library.
+
+PyMe's development model is GPGME + Python + SWIG (just like m2crypto is
+an OpenSSL + Python + SWIG) combination which means that most of the
+functions and types are converted from C into Python automatically by SWIG.
+In short, to be able to use PyMe you need to be familiar with GPGME.
+
+WWW: http://pyme.sourceforge.net/
diff --git a/security/py-pyme/pkg-plist b/security/py-pyme/pkg-plist
new file mode 100644
index 000000000000..0fa3ef39858d
--- /dev/null
+++ b/security/py-pyme/pkg-plist
@@ -0,0 +1,72 @@
+%%PYTHON_SITELIBDIR%%/pyme/__init__.py
+%%PYTHON_SITELIBDIR%%/pyme/__init__.pyc
+%%PYTHON_SITELIBDIR%%/pyme/__init__.pyo
+%%PYTHON_SITELIBDIR%%/pyme/_pygpgme.so
+%%PYTHON_SITELIBDIR%%/pyme/callbacks.py
+%%PYTHON_SITELIBDIR%%/pyme/callbacks.pyc
+%%PYTHON_SITELIBDIR%%/pyme/callbacks.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/pygpgme.py
+%%PYTHON_SITELIBDIR%%/pyme/pygpgme.pyc
+%%PYTHON_SITELIBDIR%%/pyme/pygpgme.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%%/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
+@dirrm %%PYTHON_SITELIBDIR%%/pyme/constants/data
+@dirrm %%PYTHON_SITELIBDIR%%/pyme/constants/keylist
+@dirrm %%PYTHON_SITELIBDIR%%/pyme/constants/sig
+@dirrm %%PYTHON_SITELIBDIR%%/pyme/constants
+@dirrm %%PYTHON_SITELIBDIR%%/pyme