Accepting request 628726 from devel:languages:python

- Drop the test conditional
- Use %license macro

- Version jump to 0.14.4
  * Fix PClass double-factory-ing in a few situations.
  * Fix #121, regression in PClass.set() 
  * Fix regression where type names break sequence fields
  * Allowing 'set' as a valid container for multiple fields.
  * Fix #131 Clarify that dot-notation can be used for element access on PMaps
  * Fix #133 Python 3.7 compatibility

OBS-URL: https://build.opensuse.org/request/show/628726
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyrsistent?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2018-08-12 18:55:48 +00:00 committed by Git OBS Bridge
commit d6a9c628b1
4 changed files with 30 additions and 18 deletions

View File

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

3
pyrsistent-0.14.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4024f838472cba9ea1ccbc638e0bcafec2efda28594a9905177ec365f1a95fea
size 98660

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Sat Aug 11 06:34:31 UTC 2018 - tchvatal@suse.com
- Drop the test conditional
- Use %license macro
-------------------------------------------------------------------
Fri Aug 10 23:33:25 UTC 2018 - jsikes@suse.de
- Version jump to 0.14.4
* Fix PClass double-factory-ing in a few situations.
* Fix #121, regression in PClass.set()
* Fix regression where type names break sequence fields
* Allowing 'set' as a valid container for multiple fields.
* Fix #131 Clarify that dot-notation can be used for element access on PMaps
* Fix #133 Python 3.7 compatibility
-------------------------------------------------------------------
Thu Sep 7 22:41:57 UTC 2017 - toddrme2178@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pyrsistent
#
# 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
@ -13,29 +13,26 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without test
Name: python-pyrsistent
Version: 0.13.0
Version: 0.14.4
Release: 0
License: MIT
Summary: Persistent, Functional, Immutable data structures
Url: http://github.com/tobgu/pyrsistent/
License: MIT
Group: Development/Languages/Python
URL: http://github.com/tobgu/pyrsistent/
Source: https://files.pythonhosted.org/packages/source/p/pyrsistent/pyrsistent-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
%if %{with test}
BuildRequires: %{python_module hypothesis}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
%endif
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-six
%python_subpackages
%description
@ -59,16 +56,14 @@ export CFLAGS="%{optflags}"
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%if %{with test}
%check
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
py.test-%{$python_bin_suffix}
}
%endif
%files %{python_files}
%defattr(-,root,root,-)
%doc CHANGES.txt LICENCE.mit README README.rst
%license LICENCE.mit
%doc CHANGES.txt README README.rst
%{python_sitearch}/*
%changelog