Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1:Rings:1-MinimalX
python-configparser
python-configparser.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-configparser.spec of Package python-configparser
# # spec file for package python-configparser # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2016, Martin Hauke <mardnh@gmx.de> # # 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-%{**}} %if %{python3_version_nodots} >= 35 %define skip_python3 1 %endif Name: python-configparser Version: 3.7.3 Release: 0 Summary: Backport of the enhanced config parser introduced in Python 3.x License: MIT Group: Development/Languages/Python URL: http://docs.python.org/3/library/configparser.html Source: https://files.pythonhosted.org/packages/source/c/configparser/configparser-%{version}.tar.gz BuildRequires: %{python_module backports} # needed for test import which is python3-testsuite for py3 BuildRequires: %{python_module pytest >= 3.5} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-devel BuildRequires: python-rpm-macros BuildRequires: python-unittest2 BuildRequires: python3-testsuite Requires: python-backports BuildArch: noarch %python_subpackages %description The ancient ConfigParser module available in the standard library 2.x has seen a major update in Python 3.x. This is a backport of those changes so that they can be used directly in Python 2.7. %prep %setup -q -n configparser-%{version} rm pytest.ini %build export LANG=en_US.UTF-8 %python_build %install export LANG=en_US.UTF-8 %python_install %python_expand rm -f %{buildroot}%{$python_sitelib}/backports/__init__.py* %python_expand rm -f %{buildroot}%{$python_sitelib}/backports/__pycache__/__init__* %python_expand %fdupes %{buildroot}%{$python_sitelib}/ %check %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} %files %{python_files} %doc README.rst CHANGES.rst %license LICENSE %python2_only %{python_sitelib}/configparser.py* %{python_sitelib}/backports/configparser/ %{python_sitelib}/configparser-%{version}-py*.egg-info %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