cf118ccf87
Reported by: lwhsu
25 lines
700 B
Makefile
25 lines
700 B
Makefile
PORTNAME= bencode.py
|
|
PORTVERSION= 4.0.0
|
|
CATEGORIES= converters devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= antoine@FreeBSD.org
|
|
COMMENT= Bencoding and bdecoding implementation
|
|
|
|
LICENSE= BTOSL
|
|
LICENSE_NAME= BitTorrent Open Source License
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=1.9:devel/py-pbr@${PY_FLAVOR}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
|
|
|
|
NO_ARCH= yes
|
|
USES= python:3.6+
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
do-test:
|
|
@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYTHON_VER})
|
|
|
|
.include <bsd.port.mk>
|