2010-11-20 12:22:40 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.23 2010/11/20 17:22:45 espie Exp $
|
2004-08-02 04:41:15 -04:00
|
|
|
|
2009-08-31 21:29:02 -04:00
|
|
|
COMMENT = Python module that implements the SSH2 protocol
|
2004-08-02 04:41:15 -04:00
|
|
|
|
2009-11-05 02:19:21 -05:00
|
|
|
MODPY_EGG_VERSION = 1.7.6
|
2009-08-31 21:29:02 -04:00
|
|
|
DISTNAME = paramiko-${MODPY_EGG_VERSION}
|
|
|
|
PKGNAME = py-${DISTNAME}
|
2010-08-30 17:16:17 -04:00
|
|
|
REVISION= 0
|
2009-08-31 21:29:02 -04:00
|
|
|
CATEGORIES = security
|
2004-08-02 04:41:15 -04:00
|
|
|
|
2009-08-31 21:29:02 -04:00
|
|
|
HOMEPAGE = http://www.lag.net/paramiko/
|
2009-05-22 08:29:19 -04:00
|
|
|
|
2009-08-31 21:29:02 -04:00
|
|
|
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
|
2004-08-02 04:41:15 -04:00
|
|
|
|
|
|
|
# LGPL
|
2009-08-31 21:29:02 -04:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
2004-08-02 04:41:15 -04:00
|
|
|
|
2009-08-31 21:29:02 -04:00
|
|
|
MASTER_SITES = ${HOMEPAGE}download/
|
2004-08-02 04:41:15 -04:00
|
|
|
|
2009-08-31 21:29:02 -04:00
|
|
|
MODULES = lang/python
|
2004-08-02 04:41:15 -04:00
|
|
|
|
2009-08-31 21:29:02 -04:00
|
|
|
MODPY_SETUPTOOLS = Yes
|
2006-10-27 02:05:00 -04:00
|
|
|
|
2010-11-20 12:22:40 -05:00
|
|
|
RUN_DEPENDS = security/py-crypto
|
2009-09-14 11:35:08 -04:00
|
|
|
REGRESS_DEPENDS = ${RUN_DEPENDS}
|
2004-08-02 04:41:15 -04:00
|
|
|
|
2009-05-22 08:29:19 -04:00
|
|
|
pre-build:
|
2009-08-31 21:29:02 -04:00
|
|
|
@perl -pi -e "s,^\#\!/usr/bin/env python,#!${MODPY_BIN}," \
|
|
|
|
${WRKSRC}/demos/*.py
|
2009-05-22 08:29:19 -04:00
|
|
|
|
2004-08-02 04:41:15 -04:00
|
|
|
post-install:
|
2009-08-31 21:29:02 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-paramiko
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-paramiko
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/* ${PREFIX}/share/doc/py-paramiko
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/demos/* \
|
|
|
|
${PREFIX}/share/examples/py-paramiko
|
|
|
|
|
|
|
|
do-regress:
|
|
|
|
cd ${WRKSRC} && ${MODPY_BIN} test.py --verbose
|
2004-08-02 04:41:15 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|