47 lines
1.1 KiB
RPMSpec
47 lines
1.1 KiB
RPMSpec
|
|
Name: python-pytest-ruff
|
||
|
|
Version: 0.1
|
||
|
|
Release: 1
|
||
|
|
Summary: pytest plugin to check ruff requirements.
|
||
|
|
|
||
|
|
License: MIT
|
||
|
|
URL: https://codeload.github.com/shopkeep/pytest-ruff
|
||
|
|
Source0: https://codeload.github.com/shopkeep/pytest_ruff/archive/%{version}.tar.gz#/pytest_ruff-%{version}.tar.gz
|
||
|
|
BuildArch: noarch
|
||
|
|
|
||
|
|
%description
|
||
|
|
%{summary}
|
||
|
|
|
||
|
|
%package -n python3-pytest-ruff
|
||
|
|
Summary: %{summary}
|
||
|
|
|
||
|
|
# Base build requires
|
||
|
|
BuildRequires: python3-devel
|
||
|
|
BuildRequires: python3-setuptools
|
||
|
|
BuildRequires: python3-setuptools_scm
|
||
|
|
BuildRequires: python3-pip
|
||
|
|
BuildRequires: python3-wheel
|
||
|
|
BuildRequires: python3-poetry-dynamic-versioning
|
||
|
|
BuildRequires: python3-poetry-core
|
||
|
|
|
||
|
|
%description -n python3-pytest-ruff
|
||
|
|
%{summary}
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%autosetup -n pytest_ruff-%{version}
|
||
|
|
|
||
|
|
%build
|
||
|
|
%pyproject_build
|
||
|
|
|
||
|
|
%install
|
||
|
|
%pyproject_install
|
||
|
|
|
||
|
|
%files -n python3-pytest-ruff
|
||
|
|
%license LICENSE
|
||
|
|
%doc README.md
|
||
|
|
%{python3_sitelib}/pytest_ruff-*dist-info/
|
||
|
|
%{python3_sitelib}/pytest_ruff.py
|
||
|
|
%{python3_sitelib}/__pycache__/
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Thu Jul 27 2023 mengzhaoa <mengzhaoa@isoftstone.com> - 0.1-1
|
||
|
|
- Init package
|