Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Aug 2018 03:32:01 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r476858 - head/devel/py-click
Message-ID:  <201808110332.w7B3W1ig016471@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Sat Aug 11 03:32:01 2018
New Revision: 476858
URL: https://svnweb.freebsd.org/changeset/ports/476858

Log:
  devel/py-click: Level up ports compliance
  
  Approved by: portmgr (blanket, framework compliance)

Modified:
  head/devel/py-click/Makefile

Modified: head/devel/py-click/Makefile
==============================================================================
--- head/devel/py-click/Makefile	Fri Aug 10 23:31:24 2018	(r476857)
+++ head/devel/py-click/Makefile	Sat Aug 11 03:32:01 2018	(r476858)
@@ -3,6 +3,7 @@
 
 PORTNAME=	click
 PORTVERSION=	6.7
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,9 +12,16 @@ MAINTAINER=	robak@FreeBSD.org
 COMMENT=	Python package for creating command line interfaces
 
 LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
+
 USES=		python
 USE_PYTHON=	distutils autoplist
+
 NO_ARCH=	yes
+
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -p no:warnings
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808110332.w7B3W1ig016471>