23901d999a
Unfortunately, it no longer has custom toxenv
51 lines
868 B
RPMSpec
51 lines
868 B
RPMSpec
%global pypi_name pluggy
|
|
Name: python-%{pypi_name}
|
|
Version: 0.13.0
|
|
Release: 1%{?dist}
|
|
Summary: The plugin manager stripped of pytest specific details
|
|
|
|
License: MIT
|
|
URL: https://github.com/pytest-dev/pluggy
|
|
Source0: %{pypi_source}
|
|
|
|
BuildArch: noarch
|
|
BuildRequires: pyproject-rpm-macros
|
|
|
|
%description
|
|
%{summary}.
|
|
|
|
|
|
%package -n python3-%{pypi_name}
|
|
Summary: %{summary}
|
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
|
%description -n python3-%{pypi_name}
|
|
%{summary}.
|
|
|
|
|
|
%prep
|
|
%autosetup -p1 -n %{pypi_name}-%{version}
|
|
|
|
|
|
%generate_buildrequires
|
|
%pyproject_buildrequires -t
|
|
|
|
|
|
%build
|
|
%pyproject_wheel
|
|
|
|
|
|
%install
|
|
%pyproject_install
|
|
|
|
|
|
%check
|
|
%tox
|
|
|
|
|
|
%files -n python3-%{pypi_name}
|
|
%doc README.rst
|
|
%license LICENSE
|
|
%{python3_sitelib}/%{pypi_name}/
|
|
%{python3_sitelib}/%{pypi_name}-%{version}.dist-info/
|