python-mkdocs-coverage/python-mkdocs-coverage.spec

49 lines
1.3 KiB
RPMSpec
Raw Permalink Normal View History

%global pypi_name mkdocs-coverage
%global source_name mkdocs_coverage
Name: python-%{pypi_name}
Version: 1.0.0
Release: 1
Summary: MkDocs plugin to integrate your coverage HTML report into your site.
License: ISC
URL: https://pawamoy.github.io/mkdocs-coverage/
Source0: https://files.pythonhosted.org/packages/1a/9f/a959fb10068e0d4e23f07864ee7a4514238738835e9ee04fe92a359b55e4/mkdocs_coverage-1.0.0.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
BuildRequires: python3-pdm-pep517
BuildRequires: python3-pdm-backend
%description
MkDocs plugin to integrate your coverage HTML report into your site.
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
MkDocs plugin to integrate your coverage HTML report into your site.
%prep
%autosetup -n %{source_name}-%{version}
%build
%pyproject_build
%install
%pyproject_install
%files -n python3-%{pypi_name}
%license LICENSE
%doc README.md
%{python3_sitelib}/mkdocs_coverage*
%changelog
* Tue Aug 29 2023 luolu12 <luluoc@isoftstone.com> - 1.0.0-1
- Initial package.