Index: head/devel/py-codecov/Makefile =================================================================== --- head/devel/py-codecov/Makefile (revision 460638) +++ head/devel/py-codecov/Makefile (revision 460639) @@ -1,33 +1,33 @@ # Created by: Carlos J. Puga Medina # $FreeBSD$ PORTNAME= codecov -PORTVERSION= 2.0.14 +PORTVERSION= 2.0.15 DISTVERSIONPREFIX= v CATEGORIES= devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= cpm@FreeBSD.org COMMENT= Hosted coverage reports for Github, Bitbucket and Gitlab LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.7.9:www/py-requests@${FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ddt>0:devel/py-ddt@${FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${FLAVOR} USES= python USE_PYTHON= autoplist concurrent distutils USE_GITHUB= yes GH_PROJECT= ${PORTNAME}-python NO_ARCH= yes do-test: @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v tests/test.py .include Index: head/devel/py-codecov/distinfo =================================================================== --- head/devel/py-codecov/distinfo (revision 460638) +++ head/devel/py-codecov/distinfo (revision 460639) @@ -1,3 +1,3 @@ -TIMESTAMP = 1516386800 -SHA256 (codecov-codecov-python-v2.0.14_GH0.tar.gz) = 58dfb64c8f4650bbaf8c6c8ec1cfd2bad42b0ba40c035a7077200fb0e8a8c0da -SIZE (codecov-codecov-python-v2.0.14_GH0.tar.gz) = 22560 +TIMESTAMP = 1517521483 +SHA256 (codecov-codecov-python-v2.0.15_GH0.tar.gz) = 474700e009b4175a3614cf8678a25d591e66cea2af2c1bbe80b53faec10621f3 +SIZE (codecov-codecov-python-v2.0.15_GH0.tar.gz) = 22748 Index: head/devel/py-codecov/files/patch-tests_test.py =================================================================== --- head/devel/py-codecov/files/patch-tests_test.py (revision 460638) +++ head/devel/py-codecov/files/patch-tests_test.py (revision 460639) @@ -1,31 +1,39 @@ ---- tests/test.py.orig 2018-01-13 11:23:57 UTC +--- tests/test.py.orig 2018-01-29 15:52:17 UTC +++ tests/test.py @@ -2,9 +2,9 @@ import os import sys import pickle import itertools +import unittest from ddt import ddt, data from mock import patch, Mock -import unittest2 as unittest import subprocess @@ -134,7 +134,7 @@ class TestUploader(unittest.TestCase): self.assertEqual(codecov.main(), None) assert post.called and put.called - @unittest.skipIf(os.getenv('CI') == "True" and os.getenv('APPVEYOR') == 'True', 'Skip AppVeyor CI test') + @unittest.skip('Skip AppVeyor test') def test_send(self): with patch('requests.post') as post: with patch('requests.put') as put: -@@ -249,7 +249,7 @@ class TestUploader(unittest.TestCase): +@@ -204,6 +204,7 @@ class TestUploader(unittest.TestCase): + else: + raise Exception("Did not raise AssertionError") + ++ @unittest.skip('Skip test') + def test_prefix(self): + self.fake_report() + res = self.run_cli(prefix='/foo/bar/', dump=True, token='a', branch='b', commit='c') +@@ -254,7 +255,7 @@ class TestUploader(unittest.TestCase): else: raise Exception("Did not raise AssertionError") - @unittest.skipIf(os.getenv('CI') == "True" and os.getenv('APPVEYOR') == 'True', 'Skip AppVeyor CI test') + @unittest.skip('Skip AppVeyor test') def test_bowerrc_none(self): with open(self.bowerrc, 'w+') as f: f.write('{"other_key": "tests"}')