- Update to 3.1.2 - Update pkg-plist - pkg-descr: Tab->space for WWW: - Update setup.py patch - Add TEST_DEPENDS and regression-test: target - BUILD_DEPENDS are actually RUN_DEPENDS - Whitespace alignment Changes: https://bitbucket.org/sybren/python-rsa/commits/tag/version-3.1.2 PR: ports/182298 Submitted by: Alexey Degtyarev <alexey@renatasystems.org>
27 lines
602 B
Makefile
27 lines
602 B
Makefile
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= rsa
|
|
PORTVERSION= 3.1.2
|
|
CATEGORIES= security python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= koobs@FreeBSD.org
|
|
COMMENT= Pure-Python RSA implementation
|
|
|
|
LICENSE= AL2
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1>=0.1.3:${PORTSDIR}/devel/py-asn1
|
|
TEST_DEPENDS:= ${PYTHON_PKGNAMEPREFIX}unittest2>0:${PORTSDIR}/devel/py-unittest2 \
|
|
${RUN_DEPENDS}
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= easy_install
|
|
|
|
NO_STAGE= yes
|
|
|
|
regression-test: build
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} run_tests.py
|
|
|
|
.include <bsd.port.mk>
|