pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-coveralls: update to 3.3.1.



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Tue Aug 23 23:12:24 2022 +0200
Changeset:	e688f2249eb2ea9b90bb76fad652556e2682154c

Modified Files:
	py-coveralls/Makefile
	py-coveralls/PLIST
	py-coveralls/distinfo

Log Message:
py-coveralls: update to 3.3.1.

* correctly support parallel execution on CircleCI (#336) ([2610885a](2610885a))

* exclude a few incompatible `coverage` versions (#337)

`coverage` versions v6.0.0 through v6.1.1 exhibited some incompatibilies with
`coveralls`; we've updated our version compatibility ranges to exclude those
versions.

* **cli:**  add --srcdir option (#306) ([4120c540](4120c540))
* **deps:**  add support for coverage v6.x (#330) ([372443dc](372443dc), closes [#326](326))

Note this implicitly improves support for Python 3.10, as coverage v6.x includes some fixes for v3.10 of Python.

* **env:**  fixup handling of default env service values (#314) ([1a0fd9b3](1a0fd9b3), closes [#303](303))

This solves some edge cases around duplicated / unmerged coverage results in parallel runs.

* **api:**  support officially documented generic CI env vars (#300) ([ca1c6a47](ca1c6a47))

* **cli**:  add `--basedir` and `--submit` options (#287) ([165a5cd1](165a5cd1))
* **github:**  push coverage info from tags (#284) ([0a49bd28](0a49bd28))

* **github:**  send null job_id to fix 422 during resubmission (#269) ([54be7545](54be7545))

* **config:**  reorder configuration precedence (#249) ([f4faa92d](f4faa92d))

We have *reversed* the order in which configurations are parsed. This means we
are now following the following precedence (latest configured value is used):

1. CI Config
2. COVERALLS_* env vars
3. .coveralls.yml file
4. CLI flags

If you have the same fields set in multiple of the above locations, please
double-check them before upgrading to v3.

The motivation for this change is allowing users to selectively fix values
which may be automatically set to the wrong value. For example, Github Actions
users may find that Github Actions expects you to use a different "service name"
in various different cases. Now you can run, for example:

   coveralls --service=github

In places where you need to override the default (which is `github-actions`).

* **github:**  send null job_id to fix 422 ([05b66aa0](05b66aa0))
* **api:**  fixup retries for services without job IDs ([6ebdc5e2](6ebdc5e2))

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e688f2249eb2ea9b90bb76fad652556e2682154c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-coveralls/Makefile | 19 +++++++++++--------
 py-coveralls/PLIST    | 44 +++++++++++++++++++++++++-------------------
 py-coveralls/distinfo |  6 +++---
 3 files changed, 39 insertions(+), 30 deletions(-)

diffs:
diff --git a/py-coveralls/Makefile b/py-coveralls/Makefile
index b311b11e5c..fcffd48437 100644
--- a/py-coveralls/Makefile
+++ b/py-coveralls/Makefile
@@ -1,23 +1,26 @@
 # $NetBSD: Makefile,v 1.3 2014/12/31 13:58:23 thomasklausner Exp $
 
-DISTNAME=	python-coveralls-2.4.2
-PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/python-//}
+DISTNAME=	coveralls-3.3.1
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=	devel python
-MASTER_SITES=	${MASTER_SITE_PYPI:=p/python-coveralls/}
+MASTER_SITES=	${MASTER_SITE_PYPI:=c/coveralls/}
 
 MAINTAINER=	kamel.derouiche%gmail.com@localhost
 HOMEPAGE=	https://github.com/z4r/python-coveralls
 COMMENT=	Python interface to coveralls.io API
 LICENSE=	apache-2.0
 
-DEPENDS+=	${PYPKGPREFIX}-coverage>=3.7.1:../../devel/py-coverage
-DEPENDS+=	${PYPKGPREFIX}-requests>=2.2.0:../../devel/py-requests
-DEPENDS+=	${PYPKGPREFIX}-six>=1.5.2:../../lang/py-six
+DEPENDS+=	${PYPKGPREFIX}-coverage>=4.1:../../devel/py-coverage
+DEPENDS+=	${PYPKGPREFIX}-docopt>=0.6.1:../../devel/py-docopt
+DEPENDS+=	${PYPKGPREFIX}-requests>=1.0.0:../../devel/py-requests
 DEPENDS+=	${PYPKGPREFIX}-yaml>=3.10:../../textproc/py-yaml
-
-WRKSRC=		${WRKDIR}/python-coveralls-2.4.2
+TEST_DEPENDS+=	${PYPKGPREFIX}-mock>=0:../../devel/py-mock
+TEST_DEPENDS+=	${PYPKGPREFIX}-responses>=0:../../net/py-responses
+TEST_DEPENDS+=	${PYPKGPREFIX}-test>=0:../../devel/py-test
 
 USE_LANGUAGES=	# none
 
+PYTHON_VERSIONS_INCOMPATIBLE=	27
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-coveralls/PLIST b/py-coveralls/PLIST
index 2280a2674b..aa32726a02 100644
--- a/py-coveralls/PLIST
+++ b/py-coveralls/PLIST
@@ -1,26 +1,32 @@
-@comment $NetBSD: PLIST,v 1.1 2014/02/03 23:21:45 jihbed Exp $
+@comment $NetBSD$
 bin/coveralls
-${PYSITELIB}/coveralls/__init__.py
-${PYSITELIB}/coveralls/__init__.pyc
-${PYSITELIB}/coveralls/__init__.pyo
-${PYSITELIB}/coveralls/api.py
-${PYSITELIB}/coveralls/api.pyc
-${PYSITELIB}/coveralls/api.pyo
-${PYSITELIB}/coveralls/control.py
-${PYSITELIB}/coveralls/control.pyc
-${PYSITELIB}/coveralls/control.pyo
-${PYSITELIB}/coveralls/report.py
-${PYSITELIB}/coveralls/report.pyc
-${PYSITELIB}/coveralls/report.pyo
-${PYSITELIB}/coveralls/repository.py
-${PYSITELIB}/coveralls/repository.pyc
-${PYSITELIB}/coveralls/repository.pyo
-${PYSITELIB}/coveralls/tests.py
-${PYSITELIB}/coveralls/tests.pyc
-${PYSITELIB}/coveralls/tests.pyo
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
 ${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/coveralls/__init__.py
+${PYSITELIB}/coveralls/__init__.pyc
+${PYSITELIB}/coveralls/__init__.pyo
+${PYSITELIB}/coveralls/__main__.py
+${PYSITELIB}/coveralls/__main__.pyc
+${PYSITELIB}/coveralls/__main__.pyo
+${PYSITELIB}/coveralls/api.py
+${PYSITELIB}/coveralls/api.pyc
+${PYSITELIB}/coveralls/api.pyo
+${PYSITELIB}/coveralls/cli.py
+${PYSITELIB}/coveralls/cli.pyc
+${PYSITELIB}/coveralls/cli.pyo
+${PYSITELIB}/coveralls/exception.py
+${PYSITELIB}/coveralls/exception.pyc
+${PYSITELIB}/coveralls/exception.pyo
+${PYSITELIB}/coveralls/git.py
+${PYSITELIB}/coveralls/git.pyc
+${PYSITELIB}/coveralls/git.pyo
+${PYSITELIB}/coveralls/reporter.py
+${PYSITELIB}/coveralls/reporter.pyc
+${PYSITELIB}/coveralls/reporter.pyo
+${PYSITELIB}/coveralls/version.py
+${PYSITELIB}/coveralls/version.pyc
+${PYSITELIB}/coveralls/version.pyo
diff --git a/py-coveralls/distinfo b/py-coveralls/distinfo
index fdab2cf04f..73a14790c8 100644
--- a/py-coveralls/distinfo
+++ b/py-coveralls/distinfo
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.1 2014/02/03 23:21:45 jihbed Exp $
 
-RMD160 (python-coveralls-2.4.2.tar.gz) = 8a00e342aa5666a8f3200cb8b79e454679b65373
-SHA512 (python-coveralls-2.4.2.tar.gz) = 9fb409983ea05f8a387888b890ae08b3003cd937ed4afcc6048d0e8c6040f824066f52b3ac40dfe495af0f9f972636957f41db408c238736e31bfe37b436eef0
-Size (python-coveralls-2.4.2.tar.gz) = 6766 bytes
+BLAKE2s (coveralls-3.3.1.tar.gz) = 726ef602356572fcc77174f334bf8d261b7ce77f787c261a3985ad48b38e64e0
+SHA512 (coveralls-3.3.1.tar.gz) = e101b50b1b6bfaac188360093ad8e0444412187efa2f8bb118c297ce59ff1f5087a45ceb51334be9042c66c6516903e52068c63937504b93c2ca0b7c1cc7ed4d
+Size (coveralls-3.3.1.tar.gz) = 17964 bytes


Home | Main Index | Thread Index | Old Index