Changeset View
Changeset View
Standalone View
Standalone View
head/devel/py-natsort/Makefile
# Created by: Yuri Victorovich <yuri@rawbw.com> | |||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= natsort | PORTNAME= natsort | ||||
PORTVERSION= 5.0.3 | DISTVERSION= 5.1.0 | ||||
CATEGORIES= devel python | CATEGORIES= devel python | ||||
MASTER_SITES= CHEESESHOP | MASTER_SITES= CHEESESHOP | ||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | ||||
MAINTAINER= yuri@rawbw.com | MAINTAINER= yuri@FreeBSD.org | ||||
COMMENT= Natural sorting for python | COMMENT= Natural sorting for python | ||||
LICENSE= MIT | LICENSE= MIT | ||||
LICENSE_FILE= ${WRKSRC}/LICENSE | LICENSE_FILE= ${WRKSRC}/LICENSE | ||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest | RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fastnumbers>0:devel/py-fastnumbers \ | ||||
${PYTHON_PKGNAMEPREFIX}pyicu>0:devel/py-pyicu | |||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest \ | |||||
${PYTHON_PKGNAMEPREFIX}hypothesis>=3.8.0:devel/py-hypothesis \ | |||||
${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock \ | |||||
${PYTHON_PKGNAMEPREFIX}pathlib>0:devel/py-pathlib \ | |||||
${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage \ | |||||
${RUN_DEPENDS} | |||||
mat: The test phase is ran after the port is installed, so RUN_DEPENDS are always there, no need to… | |||||
yuriAuthorUnsubmitted Done Inline ActionsCan I just commit the correction, or I need to create a differential for approval? yuri: Can I just commit the correction, or I need to create a differential for approval? | |||||
USES= python | USES= python | ||||
USE_PYTHON= autoplist distutils | USE_PYTHON= autoplist distutils | ||||
NO_ARCH= yes | NO_ARCH= yes | ||||
do-test: | do-test: | ||||
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test | @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |
The test phase is ran after the port is installed, so RUN_DEPENDS are always there, no need to add them to TEST_DEPENDS.