diff options
author | sbz <sbz@FreeBSD.org> | 2011-06-01 17:03:07 +0800 |
---|---|---|
committer | sbz <sbz@FreeBSD.org> | 2011-06-01 17:03:07 +0800 |
commit | 80665f52161811ccf1f85c0e971e1ce57576cc00 (patch) | |
tree | 06025d52355ad26659797239b3224e4caac81e43 /security/py-paramiko | |
parent | 2fd1cd1d7b0ad3486153214d6fcfa3c16ddbf512 (diff) | |
download | freebsd-ports-gnome-80665f52161811ccf1f85c0e971e1ce57576cc00.tar.gz freebsd-ports-gnome-80665f52161811ccf1f85c0e971e1ce57576cc00.tar.zst freebsd-ports-gnome-80665f52161811ccf1f85c0e971e1ce57576cc00.zip |
- Update to 1.7.7.1
- Add LICENSE
- Add regression-test target
Approved by: miwi@ (mentor)
Diffstat (limited to 'security/py-paramiko')
-rw-r--r-- | security/py-paramiko/Makefile | 12 | ||||
-rw-r--r-- | security/py-paramiko/distinfo | 5 | ||||
-rw-r--r-- | security/py-paramiko/files/patch-setup.py | 6 | ||||
-rw-r--r-- | security/py-paramiko/pkg-plist | 9 |
4 files changed, 14 insertions, 18 deletions
diff --git a/security/py-paramiko/Makefile b/security/py-paramiko/Makefile index ae72679e1ea0..ca8920cea910 100644 --- a/security/py-paramiko/Makefile +++ b/security/py-paramiko/Makefile @@ -6,9 +6,9 @@ # PORTNAME= paramiko -PORTVERSION= 1.7.6 +PORTVERSION= 1.7.7.1 CATEGORIES= security python -MASTER_SITES= http://www.lag.net/paramiko/download/ +MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sbz@FreeBSD.org @@ -16,6 +16,9 @@ COMMENT= A python library for making SSH2 connections RUN_DEPENDS= ${PYTHON_SITELIBDIR}/Crypto/__init__.py:${PORTSDIR}/security/py-pycrypto +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE + USE_PYTHON= yes USE_PYDISTUTILS= yes @@ -24,7 +27,10 @@ EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} .if !defined(NOPORTEXAMPLES) post-install: ${MKDIR} ${EXAMPLESDIR} - ${CP} ${WRKSRC}/demos/* ${EXAMPLESDIR} + @(cd ${WRKSRC}/demos && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) .endif +regression-test: + @(cd ${WRKSRC} && ${PYTHON_CMD} test.py) + .include <bsd.port.mk> diff --git a/security/py-paramiko/distinfo b/security/py-paramiko/distinfo index 08ba67000ab3..108a70de5f97 100644 --- a/security/py-paramiko/distinfo +++ b/security/py-paramiko/distinfo @@ -1,3 +1,2 @@ -MD5 (paramiko-1.7.6.tar.gz) = fa144ab46f1dc639b05ab948c30efac4 -SHA256 (paramiko-1.7.6.tar.gz) = 3059263b016255640151cde1e3e74ffd7234b90e780628865cb3f5a407fd5002 -SIZE (paramiko-1.7.6.tar.gz) = 843748 +SHA256 (paramiko-1.7.7.1.tar.gz) = 101e7642cbb59574539eaef537d0ef0bb54f1f987cc950f0ada0b050ac245eae +SIZE (paramiko-1.7.7.1.tar.gz) = 823017 diff --git a/security/py-paramiko/files/patch-setup.py b/security/py-paramiko/files/patch-setup.py index c01a8db3cafb..e96eebc23bac 100644 --- a/security/py-paramiko/files/patch-setup.py +++ b/security/py-paramiko/files/patch-setup.py @@ -1,5 +1,5 @@ ---- ./setup.py.orig 2010-02-24 21:06:37.000000000 +0100 -+++ ./setup.py 2010-02-24 21:09:55.000000000 +0100 +--- ./setup.py.orig 2011-05-31 12:57:26.000000000 +0200 ++++ ./setup.py 2011-05-31 13:01:30.000000000 +0200 @@ -33,14 +33,9 @@ #ez_setup.use_setuptools() @@ -7,7 +7,7 @@ -try: - from setuptools import setup - kw = { -- 'install_requires': 'pycrypto >= 1.9', +- 'install_requires': 'pycrypto >= 2.1', - } -except ImportError: - from distutils.core import setup diff --git a/security/py-paramiko/pkg-plist b/security/py-paramiko/pkg-plist index e797115abe48..599871e36ed1 100644 --- a/security/py-paramiko/pkg-plist +++ b/security/py-paramiko/pkg-plist @@ -64,15 +64,6 @@ %%PYTHON_SITELIBDIR%%/paramiko/resource.py %%PYTHON_SITELIBDIR%%/paramiko/resource.pyc %%PYTHON_SITELIBDIR%%/paramiko/resource.pyo -%%PYTHON_SITELIBDIR%%/paramiko/rng.py -%%PYTHON_SITELIBDIR%%/paramiko/rng.pyc -%%PYTHON_SITELIBDIR%%/paramiko/rng.pyo -%%PYTHON_SITELIBDIR%%/paramiko/rng_posix.py -%%PYTHON_SITELIBDIR%%/paramiko/rng_posix.pyc -%%PYTHON_SITELIBDIR%%/paramiko/rng_posix.pyo -%%PYTHON_SITELIBDIR%%/paramiko/rng_win32.py -%%PYTHON_SITELIBDIR%%/paramiko/rng_win32.pyc -%%PYTHON_SITELIBDIR%%/paramiko/rng_win32.pyo %%PYTHON_SITELIBDIR%%/paramiko/rsakey.py %%PYTHON_SITELIBDIR%%/paramiko/rsakey.pyc %%PYTHON_SITELIBDIR%%/paramiko/rsakey.pyo |