21544b8785
- update HOMEPAGE and MASTER_SITES - regen PLIST
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.27 2013/01/08 16:19:02 benoit Exp $
|
|
|
|
COMMENT = Python module that implements the SSH2 protocol
|
|
|
|
MODPY_EGG_VERSION = 1.9.0
|
|
DISTNAME = paramiko-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-${DISTNAME}
|
|
CATEGORIES = security
|
|
|
|
HOMEPAGE = https://github.com/paramiko/paramiko/
|
|
|
|
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
|
|
|
|
# LGPL
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
MASTER_SITES = ${MASTER_SITE_PYPI:=p/paramiko/}
|
|
|
|
MODULES = lang/python
|
|
|
|
MODPY_SETUPTOOLS = Yes
|
|
|
|
RUN_DEPENDS = security/py-crypto
|
|
REGRESS_DEPENDS = ${RUN_DEPENDS}
|
|
|
|
pre-build:
|
|
@perl -pi -e "s,^\#\!/usr/bin/env python,#!${MODPY_BIN}," \
|
|
${WRKSRC}/demos/*.py
|
|
|
|
post-install:
|
|
${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
|
|
|
|
.include <bsd.port.mk>
|