Projects
Eulaceura:Factory
python-pytest-black
_service:obs_scm:pytest-black.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:pytest-black.spec of Package python-pytest-black
%global _empty_manifest_terminate_build 0 %global pypi_name pytest-black Name: python-%{pypi_name} Version: 0.3.12 Release: 1 Summary: A pytest plugin to enable format checking with black License: MIT URL: https://pypi.org/project/pytest-black/ Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(pytest) BuildRequires: python3-setuptools BuildRequires: python3-setuptools_scm BuildRequires: python3-pip BuildRequires: python3-toml Requires: python3-black %description A pytest plugin to enable format checking with black. %package -n python3-%{pypi_name} Summary: %{summary} %description -n python3-%{pypi_name} A pytest plugin to enable format checking with black. %prep %autosetup -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install %check CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS}}" LDFLAGS="${LDFLAGS:-${RPM_LD_FLAGS}}" \ PATH="%{buildroot}%{_bindir}:$PATH" \ PYTHONPATH="${PYTHONPATH:-%{buildroot}%{python3_sitearch}:%{buildroot}%{python3_sitelib}}" \ PYTHONDONTWRITEBYTECODE=1 \ %{?__pytest_addopts:PYTEST_ADDOPTS="${PYTEST_ADDOPTS:-} %{__pytest_addopts}"} \ PYTEST_XDIST_AUTO_NUM_WORKERS=%{_smp_build_ncpus} \ %{_bindir}/pytest %files -n python3-%{pypi_name} %doc README.md %{python3_sitelib}/pytest_black-*.egg-info/ %{python3_sitelib}/pytest_black.py %{python3_sitelib}/__pycache__/ %changelog * Wed Jul 5 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 0.3.12-1 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2