diff --git a/0001-coverage_coveralls.patch b/0001-coverage_coveralls.patch deleted file mode 100644 index 7e49806664c17ec6370d047698b9ba1b5921746d..0000000000000000000000000000000000000000 --- a/0001-coverage_coveralls.patch +++ /dev/null @@ -1,25 +0,0 @@ -From d32051fd522e1db909aac921d042f40ba07f5212 Mon Sep 17 00:00:00 2001 -From: luolu12 -Date: Wed, 28 Jun 2023 11:52:04 +0800 -Subject: [PATCH] patch - ---- - setup.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index 100985f..5fc13e1 100644 ---- a/setup.py -+++ b/setup.py -@@ -34,7 +34,7 @@ setup( - }, - python_requires='>= 3.5', - install_requires=[ -- 'coverage>=4.1,<7.0,!=6.0.*,!=6.1,!=6.1.1', -+ 'coverage>=6.2,<7.0', - 'docopt>=0.6.1', - 'requests>=1.0.0', - ], --- -2.33.0 - diff --git a/0001-fix-coverage-version-range.patch b/0001-fix-coverage-version-range.patch new file mode 100644 index 0000000000000000000000000000000000000000..fadf885a3f985ed33625dc5ca1d316b6c4d2a3b3 --- /dev/null +++ b/0001-fix-coverage-version-range.patch @@ -0,0 +1,25 @@ +From fa35797bd8465ff3ef8446df21560fc75192bfa7 Mon Sep 17 00:00:00 2001 +From: desert-sailor +Date: Fri, 25 Oct 2024 15:41:42 +0800 +Subject: [PATCH] Fix coverage version range + +--- + pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +index 3c4b8ed..06b5d8d 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -32,7 +32,7 @@ python-coveralls = "coveralls.cli:main" + + [tool.poetry.dependencies] + python = ">=3.8,<3.13" +-coverage = { version = ">=5.0,<8.0,!=6.0.*,!=6.1,!=6.1.1", extras = ["toml"] } ++coverage = { version = ">=6.2,<8.0", extras = ["toml"] } + docopt = ">=0.6.1,<0.7.0" + requests = ">=1.0.0,<3.0.0" + +-- +2.43.0 + diff --git a/coveralls-3.3.1.tar.gz b/coveralls-3.3.1.tar.gz deleted file mode 100644 index 14f6eaf383c094466f837a3503897bc3724bbb59..0000000000000000000000000000000000000000 Binary files a/coveralls-3.3.1.tar.gz and /dev/null differ diff --git a/coveralls-4.0.1.tar.gz b/coveralls-4.0.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..8d58150e99e4127e1f90490c972e4e5da64d2902 Binary files /dev/null and b/coveralls-4.0.1.tar.gz differ diff --git a/python-coveralls.spec b/python-coveralls.spec index a9df9842cde886f289fc78efe30f811a204c2cb4..c10bacec0e7485d36a1fc0a62217c61e3ec02337 100644 --- a/python-coveralls.spec +++ b/python-coveralls.spec @@ -1,6 +1,6 @@ # Created by pyp2rpm-3.3.9 %global pypi_name coveralls -%global pypi_version 3.3.1 +%global pypi_version 4.0.1 Name: python-%{pypi_name} Version: %{pypi_version} @@ -9,25 +9,22 @@ Summary: Show coverage stats online via coveralls.io License: MIT URL: http://github.com/TheKevJames/coveralls-python -Source0: https://files.pythonhosted.org/packages/c2/c5/6b8254092117fa366b022fbee9434224483ba38e0bbf36e80836bf10692a/coveralls-3.3.1.tar.gz +Source0: https://files.pythonhosted.org/packages/61/75/a454fb443eb6a053833f61603a432ffbd7dd6ae53a11159bacfadb9d6219/coveralls-4.0.1.tar.gz +Patch1: 0001-fix-coverage-version-range.patch BuildArch: noarch -Patch001:0001-coverage_coveralls.patch - BuildRequires: python3-devel -BuildRequires: python3dist(coverage) -BuildRequires: python3dist(docopt) >= 0.6.1 -BuildRequires: python3dist(mock) -BuildRequires: python3dist(pytest) -BuildRequires: python3dist(pyyaml) >= 3.10 -BuildRequires: python3dist(requests) >= 1 -BuildRequires: python3-responses -BuildRequires: python3dist(setuptools) +BuildRequires: python3-setuptools BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-editables BuildRequires: python3-hatch-vcs BuildRequires: python3-hatchling +BuildRequires: python3-poetry-core +BuildRequires: python3-coverage >= 6.2 +BuildRequires: python3-docopt >= 0.6.1 +BuildRequires: python3-pyyaml >= 3.10 +BuildRequires: python3-requests >= 1 %description coveralls.io is a service for publishing your coverage stats online. @@ -49,12 +46,19 @@ coveralls.io is a service for publishing your coverage stats online. %pyproject_install %files -n python3-%{pypi_name} -%license LICENSE.txt +%license LICENSE.rst %doc README.rst %{_bindir}/coveralls +%{_bindir}/python-coveralls %{python3_sitelib}/coveralls-*.dist-info/ %{python3_sitelib}/coveralls %changelog +* Fri Oct 25 2024 Dongxing Wang - 4.0.1-1 +- Update package to version 4.0.1 + Support pyproject.toml packages by default + Add python-coveralls entrypoint + Support Python 3.11 and 3.12 + * Wed Jun 21 2023 luolu12 - 3.3.1-1 - Initial package.