Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Rotkraut
python-distutils-pytest
python-distutils-pytest.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-distutils-pytest.spec of Package python-distutils-pytest
%bcond_without tests %global distname distutils-pytest %if 0%{?sle_version} >= 150500 %global pythons python3 python311 %else %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 %endif Name: python-%{distname} Version: 0.2.1 Release: 0 Summary: Call pytest from a setup.py script License: Apache-2.0 URL: https://github.com/RKrahl/distutils-pytest Group: Development/Languages/Python Source: https://github.com/RKrahl/distutils-pytest/releases/download/%{version}/%{distname}-%{version}.tar.gz BuildRequires: %{python_module base >= 3.4} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros %if %{with tests} BuildRequires: %{python_module pytest >= 3.0} %endif Requires: python-pytest BuildArch: noarch %python_subpackages %description This Python module implements a `test` command for a `setup.py` script. The command will call `pytest` to run your package's test suite. %prep %setup -q -n %{distname}-%{version} %build %python_build %install %python_install %fdupes %{buildroot}%{python_sitelib} %if %{with tests} %check %python_expand $python setup.py test %endif %files %{python_files} %license LICENSE.txt %doc README.rst CHANGES.rst %{python_sitelib}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor