14
0

Accepting request 606243 from home:apersaud:branches:devel:languages:python

update to latest version

OBS-URL: https://build.opensuse.org/request/show/606243
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sortedcontainers?expand=0&rev=10
This commit is contained in:
Tomáš Chvátal
2018-05-12 05:49:17 +00:00
committed by Git OBS Bridge
parent b7456b713f
commit b2865d4bd4
4 changed files with 23 additions and 16 deletions

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu May 10 15:10:46 UTC 2018 - arun@gmx.de
- specfile:
* update copyright year
- update to version 1.5.10:
* Improved performance of islice(...) methods.
-------------------------------------------------------------------
Sat Dec 9 17:15:38 UTC 2017 - arun@gmx.de

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-sortedcontainers
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,12 +18,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-sortedcontainers
Version: 1.5.9
Version: 1.5.10
Release: 0
Summary: Sorted container data types
License: Apache-2.0
Group: Development/Languages/Python
Url: http://www.grantjenks.com/docs/sortedcontainers
URL: http://www.grantjenks.com/docs/sortedcontainers
Source: https://files.pythonhosted.org/packages/source/s/sortedcontainers/sortedcontainers-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module nose}
@@ -31,7 +31,6 @@ BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python3-Sphinx
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
@@ -53,8 +52,8 @@ has 100% coverage with unit tests and hours of stress.
%package -n %{name}-doc
Summary: Documentation for %{name}
Group: Documentation/HTML
Provides: %{python_module zope.schema-doc = %{version}}
Requires: %{name} = %{version}
Provides: %{python_module zope.schema-doc = %{version}}
%description -n %{name}-doc
This package contains documentation files for %{name}.
@@ -65,26 +64,25 @@ rm -rf sortedcontainers.egg-info
%build
%python_build
%__python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
%install
%python_install
# We need to install docs by hand to be able to run fdupes on it
mkdir -pv %{buildroot}%{_datadir}/doc/packages/%{name}-doc
cp -r build/sphinx/html %{buildroot}%{_datadir}/doc/packages/%{name}-doc
%fdupes -s %{buildroot}%{_datadir}/doc/packages/%{name}-doc
mkdir -pv %{buildroot}%{_docdir}/%{name}-doc
cp -r build/sphinx/html %{buildroot}%{_docdir}/%{name}-doc
%fdupes -s %{buildroot}%{_docdir}/%{name}-doc
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
%check
%python_exec %{_bindir}/nosetests -v
%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE README.rst
%license LICENSE
%doc README.rst
%{python_sitelib}/*
%files -n %{name}-doc
%defattr(-,root,root,-)
%doc %{_datadir}/doc/packages/%{name}-doc
%doc %{_docdir}/%{name}-doc
%changelog

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:566cf5f8dbada3aed99737a19d98f03d15d76bf2a6c27e4fb0f4a718a99be761
size 11989719

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:844daced0f20d75c02ce53f373d048ea2e401ad8a7b3a4c43b2aa544b569efb3
size 11972092