devel/py-coveralls: New port: Show coverage stats online via coveralls.io

This commit is contained in:
Yuri Victorovich 2022-10-03 20:42:02 -07:00
parent dc8e7cd887
commit 236d980a55
4 changed files with 34 additions and 0 deletions

View File

@ -4400,6 +4400,7 @@
SUBDIR += py-covdefaults
SUBDIR += py-coverage
SUBDIR += py-coverage_enable_subprocess
SUBDIR += py-coveralls
SUBDIR += py-cppheaderparser
SUBDIR += py-cppy
SUBDIR += py-crank

View File

@ -0,0 +1,23 @@
PORTNAME= coveralls
PORTVERSION= 3.3.1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Show coverage stats online via coveralls.io
WWW= https://github.com/TheKevJames/coveralls-python
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=4.1:devel/py-coverage@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}docopt>=0.6.1:devel/py-docopt@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=1.0.0:www/py-requests@${PY_FLAVOR}
USES= python:3.5+
USE_PYTHON= distutils concurrent autoplist
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1664852664
SHA256 (coveralls-3.3.1.tar.gz) = b32a8bb5d2df585207c119d6c01567b81fba690c9c10a753bfe27a335bfc43ea
SIZE (coveralls-3.3.1.tar.gz) = 17964

View File

@ -0,0 +1,7 @@
coveralls.io is a service for publishing your coverage stats online.
This package provides seamless integration with coverage.py (and thus
pytest, nosetests, etc...) in your Python projects:
> pip install coveralls
> coverage run --source=mypkg -m pytest tests/
> coveralls