From a673a995451d3a5884a61bfe7b4f4968542bcea5 Mon Sep 17 00:00:00 2001 From: Ruslan Makhmatkhanov Date: Wed, 16 Oct 2013 10:17:49 +0000 Subject: [PATCH] This is a pure Python OTR implementation; it does not bind to libotr. WWW: https://github.com/afflux/pure-python-otr/ --- security/Makefile | 1 + security/py-potr/Makefile | 23 ++++++++++++++++++ security/py-potr/distinfo | 2 ++ security/py-potr/files/patch-setup.py | 10 ++++++++ security/py-potr/pkg-descr | 3 +++ security/py-potr/pkg-plist | 34 +++++++++++++++++++++++++++ 6 files changed, 73 insertions(+) create mode 100644 security/py-potr/Makefile create mode 100644 security/py-potr/distinfo create mode 100644 security/py-potr/files/patch-setup.py create mode 100644 security/py-potr/pkg-descr create mode 100644 security/py-potr/pkg-plist diff --git a/security/Makefile b/security/Makefile index 4bca0d841f24..3a9e809330d3 100644 --- a/security/Makefile +++ b/security/Makefile @@ -770,6 +770,7 @@ SUBDIR += py-plone.protect SUBDIR += py-plone.session SUBDIR += py-posix1e + SUBDIR += py-potr SUBDIR += py-pow SUBDIR += py-pyclamd SUBDIR += py-pycrypto diff --git a/security/py-potr/Makefile b/security/py-potr/Makefile new file mode 100644 index 000000000000..93f150dcb6bb --- /dev/null +++ b/security/py-potr/Makefile @@ -0,0 +1,23 @@ +# $FreeBSD$ + +PORTNAME= potr +PORTVERSION= 1.0.0 +CATEGORIES= security python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= python-${PORTNAME}-${PORTVERSION} + +MAINTAINER= rm@FreeBSD.org +COMMENT= Pure Python Off-The-Record encryption + +LICENSE= LGPL3 + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto + +USE_PYTHON= yes +USE_PYDISTUTILS= easy_install +PYDISTUTILS_PKGNAME= python_${PORTNAME} + +NO_STAGE= yes + +.include diff --git a/security/py-potr/distinfo b/security/py-potr/distinfo new file mode 100644 index 000000000000..3225075ad989 --- /dev/null +++ b/security/py-potr/distinfo @@ -0,0 +1,2 @@ +SHA256 (python-potr-1.0.0.tar.gz) = 365a9146e234cd70b8f108e7d49d4a37a1bc3bad95cb544750c95c7f8497e4c0 +SIZE (python-potr-1.0.0.tar.gz) = 20514 diff --git a/security/py-potr/files/patch-setup.py b/security/py-potr/files/patch-setup.py new file mode 100644 index 000000000000..ad117bb5a3de --- /dev/null +++ b/security/py-potr/files/patch-setup.py @@ -0,0 +1,10 @@ +--- ./setup.py.orig 2013-10-14 22:33:04.000000000 +0400 ++++ ./setup.py 2013-10-15 09:17:38.000000000 +0400 +@@ -75,5 +75,7 @@ + 'Topic :: Security :: Cryptography', + ], + ++ zip_safe=False, ++ + **args + ) diff --git a/security/py-potr/pkg-descr b/security/py-potr/pkg-descr new file mode 100644 index 000000000000..b946d975be01 --- /dev/null +++ b/security/py-potr/pkg-descr @@ -0,0 +1,3 @@ +This is a pure Python OTR implementation; it does not bind to libotr. + +WWW: https://github.com/afflux/pure-python-otr/ diff --git a/security/py-potr/pkg-plist b/security/py-potr/pkg-plist new file mode 100644 index 000000000000..ce924c3533f7 --- /dev/null +++ b/security/py-potr/pkg-plist @@ -0,0 +1,34 @@ +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/compatcrypto/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/compatcrypto/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/compatcrypto/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/compatcrypto/common.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/compatcrypto/common.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/compatcrypto/common.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/compatcrypto/pycrypto.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/compatcrypto/pycrypto.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/compatcrypto/pycrypto.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/context.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/context.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/context.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/crypt.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/crypt.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/crypt.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/proto.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/proto.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/proto.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/utils.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/utils.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/utils.pyo +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr/compatcrypto +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/potr +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%