[Midnightbsd-cvs] mports [21149] trunk/security: add py-rsa
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Mar 13 11:12:25 EDT 2016
Revision: 21149
http://svnweb.midnightbsd.org/mports/?rev=21149
Author: laffer1
Date: 2016-03-13 11:12:24 -0400 (Sun, 13 Mar 2016)
Log Message:
-----------
add py-rsa
Modified Paths:
--------------
trunk/security/Makefile
Added Paths:
-----------
trunk/security/py-rsa/
trunk/security/py-rsa/Makefile
trunk/security/py-rsa/distinfo
trunk/security/py-rsa/files/
trunk/security/py-rsa/files/patch-setup.py
trunk/security/py-rsa/pkg-descr
Modified: trunk/security/Makefile
===================================================================
--- trunk/security/Makefile 2016-03-13 14:08:07 UTC (rev 21148)
+++ trunk/security/Makefile 2016-03-13 15:12:24 UTC (rev 21149)
@@ -112,6 +112,7 @@
SUBDIR += py-fail2ban
SUBDIR += py-paramiko
SUBDIR += py-pycrypto
+SUBDIR += py-rsa
SUBDIR += saint
SUBDIR += seahorse
SUBDIR += secpwgen
Added: trunk/security/py-rsa/Makefile
===================================================================
--- trunk/security/py-rsa/Makefile (rev 0)
+++ trunk/security/py-rsa/Makefile 2016-03-13 15:12:24 UTC (rev 21149)
@@ -0,0 +1,28 @@
+# Created by: Kubilay Kocak <koobs at FreeBSD.org>
+# $FreeBSD: head/security/py-rsa/Makefile 408021 2016-02-04 10:39:48Z koobs $
+# $MidnightBSD$
+
+PORTNAME= rsa
+PORTVERSION= 3.3
+CATEGORIES= security python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Pure-Python RSA implementation
+
+LICENSE= apache2
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyasn1>=0.1.3:${PORTSDIR}/devel/py-pyasn1
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}unittest2>0:${PORTSDIR}/devel/py-unittest2
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} run_tests.py
+
+.include <bsd.port.mk>
Property changes on: trunk/security/py-rsa/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/security/py-rsa/distinfo
===================================================================
--- trunk/security/py-rsa/distinfo (rev 0)
+++ trunk/security/py-rsa/distinfo 2016-03-13 15:12:24 UTC (rev 21149)
@@ -0,0 +1,2 @@
+SHA256 (rsa-3.3.tar.gz) = 03f3d9bebad06681771016b8752a40b12f615ff32363c7aa19b3798e73ccd615
+SIZE (rsa-3.3.tar.gz) = 33449
Property changes on: trunk/security/py-rsa/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/security/py-rsa/files/patch-setup.py
===================================================================
--- trunk/security/py-rsa/files/patch-setup.py (rev 0)
+++ trunk/security/py-rsa/files/patch-setup.py 2016-03-13 15:12:24 UTC (rev 21149)
@@ -0,0 +1,12 @@
+--- setup.py.orig 2016-01-13 08:43:51 UTC
++++ setup.py
+@@ -42,6 +42,9 @@ setup(name='rsa',
+ install_requires=[
+ 'pyasn1 >= 0.1.3',
+ ],
++ tests_require=[
++ 'unittest2',
++ ],
+ entry_points={'console_scripts': [
+ 'pyrsa-priv2pub = rsa.util:private_to_public',
+ 'pyrsa-keygen = rsa.cli:keygen',
Property changes on: trunk/security/py-rsa/files/patch-setup.py
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/security/py-rsa/pkg-descr
===================================================================
--- trunk/security/py-rsa/pkg-descr (rev 0)
+++ trunk/security/py-rsa/pkg-descr 2016-03-13 15:12:24 UTC (rev 21149)
@@ -0,0 +1,5 @@
+Python-RSA is a pure-Python RSA implementation. It supports encryption and
+decryption, signing and verifying signatures, and key generation according to
+PKCS#1 version 1.5.
+
+WWW: http://stuvel.eu/rsa
Property changes on: trunk/security/py-rsa/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list