!1 Initial package(python-pytest-ruff V0.1)

From: @mengzhaoa 
Reviewed-by: @desert-sailor 
Signed-off-by: @desert-sailor
This commit is contained in:
openeuler-ci-bot 2023-08-29 04:07:14 +00:00 committed by Gitee
commit 61e7ca7cf6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 47 additions and 0 deletions

BIN
pytest_ruff-0.1.tar.gz Normal file

Binary file not shown.

47
python-pytest-ruff.spec Normal file
View File

@ -0,0 +1,47 @@
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