Date: Wed, 1 Jan 2025 12:38:51 GMT From: Rene Ladan <rene@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 639df0f71ac0 - main - devel/py-codecov: Remove expired port Message-ID: <202501011238.501Ccpip010473@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by rene: URL: https://cgit.FreeBSD.org/ports/commit/?id=639df0f71ac0022f068cf905ad704a67ed065da8 commit 639df0f71ac0022f068cf905ad704a67ed065da8 Author: Rene Ladan <rene@FreeBSD.org> AuthorDate: 2025-01-01 12:38:46 +0000 Commit: Rene Ladan <rene@FreeBSD.org> CommitDate: 2025-01-01 12:38:46 +0000 devel/py-codecov: Remove expired port 2024-09-30 devel/py-codecov: Deprecated by upstream. On February 1, 2022 this uploader will be completely deprecated and will no longer be able to upload coverage to Codecov --- MOVED | 1 + devel/Makefile | 1 - devel/py-codecov/Makefile | 34 -------- devel/py-codecov/distinfo | 3 - devel/py-codecov/files/patch-tests_test.py | 121 ----------------------------- devel/py-codecov/pkg-descr | 1 - 6 files changed, 1 insertion(+), 160 deletions(-) diff --git a/MOVED b/MOVED index f87b3b26bbc4..a1549c68d83b 100644 --- a/MOVED +++ b/MOVED @@ -3853,3 +3853,4 @@ devel/electron30||2025-01-01|Has expired: EOLed upstream, switch to newer versio comms/libconcord||2025-01-01|Has expired: Logitech Harmony were officially discontinued in 2021, last major product in 2019 japanese/onew||2025-01-01|Has expired: Unfetchabled and listed BROKEN for over year lang/twelf||2025-01-01|Has expired: Dead upstream and fails to build +devel/py-codecov||2025-01-01|Has expired: Deprecated by upstream. On February 1, 2022 this uploader will be completely deprecated and will no longer be able to upload coverage to Codecov diff --git a/devel/Makefile b/devel/Makefile index 3a2f4ce4f020..d588d164261e 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4670,7 +4670,6 @@ SUBDIR += py-cmd2 SUBDIR += py-cmdtest SUBDIR += py-cobble - SUBDIR += py-codecov SUBDIR += py-codegen SUBDIR += py-cog SUBDIR += py-collective.monkeypatcher diff --git a/devel/py-codecov/Makefile b/devel/py-codecov/Makefile deleted file mode 100644 index 27fe61060c03..000000000000 --- a/devel/py-codecov/Makefile +++ /dev/null @@ -1,34 +0,0 @@ -PORTNAME= codecov -PORTVERSION= 2.1.13 -DISTVERSIONPREFIX= v -CATEGORIES= devel python -PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} - -MAINTAINER= sunpoet@FreeBSD.org -COMMENT= Hosted coverage reports for Github, Bitbucket and Gitlab -WWW= https://github.com/codecov/codecov-python - -LICENSE= APACHE20 -LICENSE_FILE= ${WRKSRC}/LICENSE - -DEPRECATED= Deprecated by upstream. On February 1, 2022 this uploader will be completely deprecated and will no longer be able to upload coverage to Codecov -EXPIRATION_DATE=2024-09-30 - -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}requests>=2.7.9:www/py-requests@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ddt>0:devel/py-ddt@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_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 <bsd.port.mk> diff --git a/devel/py-codecov/distinfo b/devel/py-codecov/distinfo deleted file mode 100644 index e3ade2b4d130..000000000000 --- a/devel/py-codecov/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1683354627 -SHA256 (codecov-codecov-python-v2.1.13_GH0.tar.gz) = b777d2a24f1a417481f158e172f60b3326799ffc121e6f762ef809d3cfffa0c9 -SIZE (codecov-codecov-python-v2.1.13_GH0.tar.gz) = 27672 diff --git a/devel/py-codecov/files/patch-tests_test.py b/devel/py-codecov/files/patch-tests_test.py deleted file mode 100644 index 99556348d1f3..000000000000 --- a/devel/py-codecov/files/patch-tests_test.py +++ /dev/null @@ -1,121 +0,0 @@ ---- tests/test.py.orig 2020-11-25 20:02:03.000000000 +0800 -+++ tests/test.py 2020-11-25 20:04:45.000000000 +0800 -@@ -231,10 +231,7 @@ - else: - raise Exception("did not exit") - -- @unittest.skipIf( -- os.getenv("CI") == "True" and os.getenv("APPVEYOR") == "True", -- "Skip AppVeyor CI test", -- ) -+ @unittest.skip("Skip tests dependent on .git directory") - def test_returns_none(self): - with patch("requests.post") as post: - with patch("requests.put") as put: -@@ -251,10 +248,7 @@ - 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 tests dependent on .git directory") - def test_send(self): - with patch("requests.post") as post: - with patch("requests.put") as put: -@@ -294,10 +288,7 @@ - else: - raise Exception("400 never raised") - -- @unittest.skipIf( -- os.getenv("CI") == "True" and os.getenv("APPVEYOR") == "True", -- "Skip AppVeyor CI test", -- ) -+ @unittest.skip("Skip tests dependent on .git directory") - def test_read_token_file(self): - with open(self.token, "w+") as f: - f.write("a") -@@ -306,6 +297,7 @@ - res = self.run_cli(token="@" + self.token, commit="a", branch="b") - self.assertIn("token=a", res["urlargs"]) - -+ @unittest.skip("Skip tests dependent on .git directory") - def test_bowerrc(self): - with open(self.bowerrc, "w+") as f: - f.write('{"directory": "tests"}') -@@ -318,6 +310,7 @@ - else: - raise Exception("Did not raise AssertionError") - -+ @unittest.skip("Skip tests dependent on .git directory") - def test_disable_search(self): - self.fake_report() - try: -@@ -327,10 +320,7 @@ - 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 tests dependent on .git directory") - def test_prefix(self): - self.fake_report() - res = self.run_cli( -@@ -400,10 +390,7 @@ - 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 tests dependent on .git directory") - def test_bowerrc_none(self): - with open(self.bowerrc, "w+") as f: - f.write('{"other_key": "tests"}') -@@ -412,10 +399,7 @@ - res = self.run_cli(**self.defaults) - self.assertIn("tests/test.py", res["reports"]) - -- @unittest.skipIf( -- os.getenv("CI") == "True" and os.getenv("APPVEYOR") == "True", -- "Skip AppVeyor CI test", -- ) -+ @unittest.skip("Skip tests dependent on .git directory") - def test_discovers(self): - with open(self.jacoco, "w+") as f: - f.write("<jacoco></jacoco>") -@@ -427,6 +411,7 @@ - self.assertIn("jacoco.xml", res["reports"]) - self.assertIn("<jacoco></jacoco>", res["reports"]) - -+ @unittest.skip("Skip tests dependent on .git directory") - def test_not_jacoco(self): - with open(self.filepath, "w+") as f: - f.write("<data>") -@@ -442,6 +427,7 @@ - res = self.run_cli(**self.defaults) - self.assertIn('<?xml version="1.0" ?>', res["reports"]) - -+ @unittest.skip("Skip tests dependent on .git directory") - def test_run_coverage_fails(self): - with open(self.coverage, "w+") as f: - f.write("bad data") -@@ -452,12 +438,14 @@ - else: - raise Exception("Did not raise AssertionError") - -+ @unittest.skip("Skip tests dependent on .git directory") - def test_include_env(self): - self.set_env(HELLO="WORLD") - self.fake_report() - res = self.run_cli(env="HELLO", file=self.filepath, **self.defaults) - self.assertIn("HELLO=WORLD", res["reports"]) - -+ @unittest.skip("Skip tests dependent on .git directory") - def test_none_found(self): - try: - self.run_cli(**self.defaults) diff --git a/devel/py-codecov/pkg-descr b/devel/py-codecov/pkg-descr deleted file mode 100644 index 204a53b80e84..000000000000 --- a/devel/py-codecov/pkg-descr +++ /dev/null @@ -1 +0,0 @@ -Python report uploader for Codecov.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501011238.501Ccpip010473>