Sophie

Sophie

distrib > Mageia > cauldron > x86_64 > media > core-release-src > by-pkgid > 27bfd16bb7b1457cc34849b503580859 > files > 2

python-prometheus-client-0.19.0-1.mga10.src.rpm

# Created by pyp2rpm-3.3.2
%global pypi_name prometheus-client
%global srcname prometheus_client

%bcond_with tests

Name:           python-%{pypi_name}
Version:        0.19.0
Release:        %mkrel 1
Summary:        Python client for the Prometheus monitoring system
Group:          Development/Python
License:        ASL 2.0
URL:            https://github.com/prometheus/client_python
Source0:        %{pypi_source}
BuildArch:      noarch
BuildRequires:  pyproject-rpm-macros
BuildRequires:  python3-devel

%description
The official Python client for Prometheus.

%package -n     python3-%{pypi_name}
Summary:        %{summary}
Group:          Development/Python
%{?python_provide:%python_provide python3-%{pypi_name}}

%description -n python3-%{pypi_name}
The official Python client for Prometheus.

%prep
%autosetup -n %{srcname}-%{version}

%generate_buildrequires
%pyproject_buildrequires

%build
%pyproject_wheel

%install
%pyproject_install
%pyproject_save_files %{srcname}

%if %{with tests}
%check
%{__python3} setup.py test
%endif

%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc README.md


%changelog
* Tue Dec 26 2023 wally <wally> 0.19.0-1.mga10
+ Revision: 2021883
- new version 0.19.0
- use pyproject rpm macros

* Fri Mar 25 2022 umeabot <umeabot> 0.9.0-3.mga9
+ Revision: 1825690
- Mageia 9 Mass Rebuild

* Tue Feb 22 2022 tv <tv> 0.9.0-2.mga9
+ Revision: 1783039
- Fix filelist for python-3.10
- Rebuild for python-3.10

* Tue Mar 23 2021 daviddavid <daviddavid> 0.9.0-1.mga9
+ Revision: 1708166
- new version: 0.9.0

* Tue Mar 23 2021 daviddavid <daviddavid> 0.7.1-3.mga9
+ Revision: 1708164
- rebuild for python 3.9

* Tue Feb 18 2020 umeabot <umeabot> 0.7.1-2.mga8
+ Revision: 1537900
- Mageia 8 Mass Rebuild

* Tue Nov 12 2019 wally <wally> 0.7.1-1.mga8
+ Revision: 1459437
- new version 0.7.1

* Mon Sep 16 2019 daviddavid <daviddavid> 0.6.0-2.mga8
+ Revision: 1442350
- rebuild for python3.8

* Sun Mar 17 2019 wally <wally> 0.6.0-1.mga7
+ Revision: 1378237
- new version 0.6.0

* Thu Jan 17 2019 wally <wally> 0.5.0-1.mga7
+ Revision: 1357680
- imported package python-prometheus-client