Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP3:Update
python-jaraco.stream
python-jaraco.stream.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-jaraco.stream.spec of Package python-jaraco.stream
# # spec file for package python-jaraco.stream # # Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define _name jaraco.stream %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-jaraco.stream Version: 3.0.0 Release: 0 Summary: Routines for dealing with data streams License: MIT URL: https://github.com/jaraco/jaraco.stream Source: https://files.pythonhosted.org/packages/source/j/%{_name}/%{_name}-%{version}.tar.gz BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-jaraco.base >= 6.1 Requires: python-more-itertools BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module more-itertools} BuildRequires: %{python_module pytest} # /SECTION # SECTION documentation requirements BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module jaraco.packaging >= 6.1} BuildRequires: %{python_module pylons-sphinx-themes} BuildRequires: %{python_module rst.linker >= 1.9} # /SECTION %python_subpackages %description Routines for handling streaming data, including a set of generators for loading gzip data on the fly. %package -n %{name}-doc Summary: Documentation files for %{name} Provides: %{python_module jaraco.stream-doc = %{version}} %description -n %{name}-doc This package contains documentation files for %{name}. %prep %setup -q -n %{_name}-%{version} sed -i 's/--flake8//' pytest.ini sed -i 's/--black --cov//' pytest.ini rm -rf jaraco.stream.egg-info %build %python_build python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo %install %python_install # We will package the namespace __init__.py separately %{python_expand rm %{buildroot}%{$python_sitelib}/jaraco/__init__.py* rm -rf %{buildroot}%{$python_sitelib}/jaraco/__pycache__/ %fdupes %{buildroot}%{$python_sitelib} } %check %pytest %files %{python_files} %license LICENSE %doc CHANGES.rst README.rst %{python_sitelib}/jaraco.stream-%{version}-py*.egg-info %{python_sitelib}/jaraco/stream/ %files -n %{name}-doc %doc build/sphinx/html %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