forked from pool/python-coveralls-check
Accepting request 1278051 from home:mcalabkova:branches:devel:languages:python
- Convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1278051 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coveralls-check?expand=0&rev=19
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 16 12:21:30 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to pip-based build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 21 07:43:27 UTC 2024 - Max Lin <mlin@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-coveralls-check
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,7 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-coveralls-check
|
||||
Version: 1.2.1
|
||||
@@ -28,14 +27,16 @@ URL: https://github.com/cjw296/coverage-check
|
||||
Source: https://files.pythonhosted.org/packages/source/c/coveralls-check/coveralls-check-%{version}.tar.gz
|
||||
# https://github.com/cjw296/coveralls-check/issues/3
|
||||
Patch0: python-coveralls-check-no-mock.patch
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-backoff
|
||||
Requires: python-requests
|
||||
Requires: python-setuptools
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
Requires(post): alts
|
||||
Requires(postun): alts
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module backoff}
|
||||
@@ -54,10 +55,10 @@ A helper to check https://coveralls.io for a given commit hash.
|
||||
%autopatch -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/coveralls-check
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
@@ -74,6 +75,8 @@ A helper to check https://coveralls.io for a given commit hash.
|
||||
%doc README.rst
|
||||
%license LICENSE.rst
|
||||
%python_alternative %{_bindir}/coveralls-check
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/coveralls[-_]check.py
|
||||
%{python_sitelib}/coveralls[-_]check-%{version}*-info
|
||||
%pycache_only %{python_sitelib}/__pycache__/coveralls[-_]check*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user