2013-03-11 07:35:43 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.29 2013/03/11 11:41:28 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
|
|
|
|
2013-03-04 02:37:46 -05:00
|
|
|
MODPY_EGG_VERSION = 1.10.0
|
2009-08-31 21:29:02 -04:00
|
|
|
DISTNAME = paramiko-${MODPY_EGG_VERSION}
|
|
|
|
PKGNAME = py-${DISTNAME}
|
|
|
|
CATEGORIES = security
|
2004-08-02 04:41:15 -04:00
|
|
|
|
2013-01-08 11:19:02 -05:00
|
|
|
HOMEPAGE = https://github.com/paramiko/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
|
2004-08-02 04:41:15 -04:00
|
|
|
|
2013-01-08 11:19:02 -05:00
|
|
|
MASTER_SITES = ${MASTER_SITE_PYPI:=p/paramiko/}
|
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
|
2013-03-11 07:35:43 -04:00
|
|
|
TEST_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
|
|
|
|
|
2013-03-11 07:35:43 -04:00
|
|
|
do-test:
|
2009-08-31 21:29:02 -04:00
|
|
|
cd ${WRKSRC} && ${MODPY_BIN} test.py --verbose
|
2004-08-02 04:41:15 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|