Accepting request 477096 from home:alois:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/477096 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-traceback2?expand=0&rev=5
This commit is contained in:
parent
391c4e8846
commit
637bd8e342
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 1 20:44:21 UTC 2017 - aloisio@gmx.com
|
||||||
|
|
||||||
|
- Converted to single-spec
|
||||||
|
- Replaced the source URL with pypi.io link
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 14 19:16:33 UTC 2015 - toddrme2178@gmail.com
|
Wed Oct 14 19:16:33 UTC 2015 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-traceback2
|
# spec file for package python-traceback2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 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
|
||||||
@ -16,24 +16,26 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-traceback2
|
Name: python-traceback2
|
||||||
Version: 1.4.0
|
Version: 1.4.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Backports of the traceback module
|
Summary: Backports of the traceback module
|
||||||
# This is a backport of code taken from the Python codebase,
|
|
||||||
# and such is under the same license as Python as a whole.
|
|
||||||
License: Python-2.0
|
License: Python-2.0
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
|
# This is a backport of code taken from the Python codebase,
|
||||||
|
# and such is under the same license as Python as a whole.
|
||||||
Url: https://github.com/bitprophet/traceback2
|
Url: https://github.com/bitprophet/traceback2
|
||||||
Source: https://pypi.python.org/packages/source/t/traceback2/traceback2-%{version}.tar.gz
|
Source: https://pypi.io/packages/source/t/traceback2/traceback2-%{version}.tar.gz
|
||||||
BuildRequires: python-devel
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: %{python_module pbr}
|
||||||
BuildRequires: python-pbr
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-pbr
|
Requires: python-pbr
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} > 1110
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A backport of traceback to older supported Pythons.
|
A backport of traceback to older supported Pythons.
|
||||||
@ -42,16 +44,18 @@ A backport of traceback to older supported Pythons.
|
|||||||
%setup -q -n traceback2-%{version}
|
%setup -q -n traceback2-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --optimize=2 --root=%{buildroot}
|
%python_install
|
||||||
|
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%files
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README.rst AUTHORS ChangeLog
|
%doc README.rst AUTHORS ChangeLog
|
||||||
# Contains the license
|
# Contains the license
|
||||||
%doc setup.cfg
|
%doc setup.cfg
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/traceback2
|
||||||
|
%{python_sitelib}/traceback2-%{version}-py*.egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user