Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
system:homeautomation:home-assistant
python-jaraco.text
python-jaraco.text.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-jaraco.text.spec of Package python-jaraco.text
# # spec file for package python-jaraco.text # # Copyright (c) 2022 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/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-jaraco.text Version: 3.8.0 Release: 0 Summary: Tools to work with text License: MIT URL: https://github.com/jaraco/jaraco.text Source0: https://files.pythonhosted.org/packages/source/j/jaraco.text/jaraco.text-%{version}.tar.gz BuildRequires: %{python_module importlib_resources} BuildRequires: %{python_module jaraco.context} BuildRequires: %{python_module jaraco.functools} BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest-black} BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-importlib_resources Requires: python-jaraco.context >= 4.1 Requires: python-jaraco.functools Requires: python-six BuildArch: noarch %python_subpackages %description jaraco.text Tools for working with text. %prep %setup -q -n jaraco.text-%{version} %build %pyproject_wheel %install %pyproject_install %python_expand install -Dm 0644 jaraco/text/*.txt %{buildroot}%{$python_sitelib}/jaraco/text/ %{python_expand rm -f %{buildroot}%{$python_sitelib}/jaraco/__init__.py* \ %{buildroot}%{$python_sitelib}/jaraco/__pycache__/__init__.* $python -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/jaraco/ $python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/jaraco/ %fdupes %{buildroot}%{$python_sitelib} } %check %pytest %files %{python_files} %license LICENSE %doc docs/*.rst README.rst CHANGES.rst %{python_sitelib}/jaraco* %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