Accepting request 628634 from devel:languages:python
- Remove argparse dependency - Remove argparse dependency OBS-URL: https://build.opensuse.org/request/show/628634 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-six?expand=0&rev=28
This commit is contained in:
commit
c7636e1a17
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 10 13:07:30 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Remove argparse dependency
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 28 07:47:18 UTC 2017 - tbechtold@suse.com
|
Thu Sep 28 07:47:18 UTC 2017 - tbechtold@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-six-doc
|
# spec file for package python-six-doc
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -20,23 +20,20 @@
|
|||||||
Name: python-six-doc
|
Name: python-six-doc
|
||||||
Version: 1.11.0
|
Version: 1.11.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://pypi.python.org/pypi/six/
|
|
||||||
Summary: Python 2 and 3 compatibility utilities
|
Summary: Python 2 and 3 compatibility utilities
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
|
URL: http://pypi.python.org/pypi/six/
|
||||||
Source: https://files.pythonhosted.org/packages/source/s/six/six-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/s/six/six-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: %{python_module six}
|
|
||||||
# require old python 2 explicitly to get the ssl module
|
|
||||||
BuildRequires: python
|
|
||||||
# require only one version of Sphinx for now
|
|
||||||
BuildRequires: python3-Sphinx
|
|
||||||
# Test requirements:
|
# Test requirements:
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module py}
|
BuildRequires: %{python_module py}
|
||||||
|
BuildRequires: %{python_module six}
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
# require only one version of Sphinx
|
||||||
|
BuildRequires: python3-Sphinx
|
||||||
Provides: %{python_module six-doc = %{version}}
|
Provides: %{python_module six-doc = %{version}}
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Six is a Python 2 and 3 compatibility library. It provides utility
|
Six is a Python 2 and 3 compatibility library. It provides utility
|
||||||
@ -54,7 +51,7 @@ what is provided.
|
|||||||
cd documentation && make html && rm _build/html/.buildinfo
|
cd documentation && make html && rm _build/html/.buildinfo
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# only build documentation
|
:
|
||||||
|
|
||||||
# Run tests here to avoid dependency loop
|
# Run tests here to avoid dependency loop
|
||||||
%check
|
%check
|
||||||
@ -66,7 +63,7 @@ popd
|
|||||||
rm -rf test
|
rm -rf test
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%license LICENSE
|
||||||
%doc LICENSE README.rst CHANGES documentation/_build/html
|
%doc README.rst CHANGES documentation/_build/html
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 10 13:07:30 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Remove argparse dependency
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Oct 16 16:49:50 UTC 2017 - jmatejek@suse.com
|
Mon Oct 16 16:49:50 UTC 2017 - jmatejek@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-six
|
# spec file for package python-six
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -20,21 +20,14 @@
|
|||||||
Name: python-six
|
Name: python-six
|
||||||
Version: 1.11.0
|
Version: 1.11.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://pypi.python.org/pypi/six/
|
|
||||||
Summary: Python 2 and 3 compatibility utilities
|
Summary: Python 2 and 3 compatibility utilities
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
|
URL: http://pypi.python.org/pypi/six/
|
||||||
Source: https://files.pythonhosted.org/packages/source/s/six/six-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/s/six/six-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module base}
|
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
%if 0%{?suse_version} > 1110
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%else
|
|
||||||
BuildRequires: python-argparse
|
|
||||||
Requires: python-argparse
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -62,12 +55,12 @@ what is provided.
|
|||||||
%pre
|
%pre
|
||||||
# bsc#1057496 - egg-info changed from directory to file
|
# bsc#1057496 - egg-info changed from directory to file
|
||||||
if [ -d %{python_sitelib}/six-%{version}-py%{python_version}.egg-info ]; then
|
if [ -d %{python_sitelib}/six-%{version}-py%{python_version}.egg-info ]; then
|
||||||
rm -r %{python_sitelib}/six-%{version}-%{python_version}.egg-info
|
rm -rf %{python_sitelib}/six-%{version}-%{python_version}.egg-info
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%files %python_files
|
%files %{python_files}
|
||||||
%defattr(-,root,root)
|
%license LICENSE
|
||||||
%doc LICENSE README.rst CHANGES
|
%doc README.rst CHANGES
|
||||||
%{python_sitelib}/six.py*
|
%{python_sitelib}/six.py*
|
||||||
%pycache_only %{python3_sitelib}/__pycache__/*
|
%pycache_only %{python3_sitelib}/__pycache__/*
|
||||||
%{python_sitelib}/six-%{version}-py*.egg-info
|
%{python_sitelib}/six-%{version}-py*.egg-info
|
||||||
|
Loading…
x
Reference in New Issue
Block a user