as built-in - Remove depending on unittest2, it is only required for Pythons lesser than 2.7 PR: 213882 Submitted by: lwhsu Approved by: cpm (maintainer)
27 lines
602 B
Makefile
27 lines
602 B
Makefile
# Created by: Carlos J. Puga Medina <cpm@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= codecov
|
|
PORTVERSION= 2.0.5
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= cpm@FreeBSD.org
|
|
COMMENT= Hosted coverage reports for Github, Bitbucket and Gitlab
|
|
|
|
LICENSE= APACHE20
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage \
|
|
${PYTHON_PKGNAMEPREFIX}requests>=2.0.0:www/py-requests
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
|
|
|
|
.include <bsd.port.mk>
|