diff options
author | johans <johans@FreeBSD.org> | 2008-12-28 19:27:43 +0800 |
---|---|---|
committer | johans <johans@FreeBSD.org> | 2008-12-28 19:27:43 +0800 |
commit | 6018ed7e6f310a71253a88db5ff818a949db03f2 (patch) | |
tree | 36031c548db76cc182afe509b5e7eb773f8a439c /security | |
parent | 97e7ea08bfa5e1c03c7b830c3e02b38a4ed18815 (diff) | |
download | freebsd-ports-gnome-6018ed7e6f310a71253a88db5ff818a949db03f2.tar.gz freebsd-ports-gnome-6018ed7e6f310a71253a88db5ff818a949db03f2.tar.zst freebsd-ports-gnome-6018ed7e6f310a71253a88db5ff818a949db03f2.zip |
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/
Diffstat (limited to 'security')
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/py-pyme/Makefile | 35 | ||||
-rw-r--r-- | security/py-pyme/distinfo | 3 | ||||
-rw-r--r-- | security/py-pyme/pkg-descr | 8 | ||||
-rw-r--r-- | security/py-pyme/pkg-plist | 72 |
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 |