2017-09-08 20:27:46 +02:00
|
|
|
#
|
|
|
|
# spec file for package python-pyrsistent
|
|
|
|
#
|
2020-02-28 23:31:57 +01:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2017-09-08 20:27:46 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
- Update to 0.14.11:
* Fix #152 Don't use __builtin_popcount, this hopefully fixes #147 Error in pvectorc.cp37-win_amd64.pyd file, as well.
Thanks @benrg for this!
* Fix #151 Fix compatibility for hypothesis 4. Thanks @felixonmars for this!
* Fix #148, only require pytest-runner if running tests. Thanks @ccorbacho for this!
* Fix #144, Compile pvectormodule.c on windows. Thanks @ganwell for this!
* Fix #142, Improve type stubs. Thanks @arxanas for this!
* Fix #102, add PEP 561 type annotation stubs for most pyrsistent types. Thanks @nattofriends for this!
* Fix #135, Type classes for Python 3 type annotations of pyrsistent types. Thanks @nattofriends for this!
* Fix #128, Allow PClass and PRecord to ignore input parameters to constructor that are not part of the spec
instead of blowing up with a type error. Thanks @agberk for this!
* Fix #137, deprecation warnings in Python 3.7. Thanks @thombashi for this!
* Fix #129, building via setuptools and setup.py. Thanks @galuszkak for this!
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyrsistent?expand=0&rev=8
2019-03-18 11:52:23 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2018-08-11 07:18:10 +02:00
|
|
|
#
|
2017-09-08 20:27:46 +02:00
|
|
|
|
|
|
|
|
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
|
|
Name: python-pyrsistent
|
2020-07-17 09:41:34 +02:00
|
|
|
Version: 0.16.0
|
2017-09-08 20:27:46 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Persistent, Functional, Immutable data structures
|
2018-08-11 07:18:10 +02:00
|
|
|
License: MIT
|
2017-09-08 20:27:46 +02:00
|
|
|
Group: Development/Languages/Python
|
2018-08-11 07:18:10 +02:00
|
|
|
URL: http://github.com/tobgu/pyrsistent/
|
2017-09-08 20:27:46 +02:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/p/pyrsistent/pyrsistent-%{version}.tar.gz
|
|
|
|
BuildRequires: %{python_module devel}
|
2018-08-11 08:34:55 +02:00
|
|
|
BuildRequires: %{python_module hypothesis}
|
2019-06-05 12:21:53 +02:00
|
|
|
BuildRequires: %{python_module numpy}
|
2019-07-29 10:47:05 +02:00
|
|
|
BuildRequires: %{python_module pytest}
|
2017-09-08 20:27:46 +02:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2018-08-11 08:34:55 +02:00
|
|
|
BuildRequires: %{python_module six}
|
2018-08-11 07:18:10 +02:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
Requires: python-six
|
2017-09-08 20:27:46 +02:00
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
%description
|
|
|
|
Pyrsistent is a number of persistent collections
|
|
|
|
(by some referred to as functional data structures).
|
|
|
|
Persistent in the sense that they are immutable.
|
|
|
|
|
|
|
|
All methods on a data structure that would normally
|
|
|
|
mutate it instead return a new copy of the structure
|
|
|
|
containing the requested updates. The original structure
|
|
|
|
is left untouched.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n pyrsistent-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
export CFLAGS="%{optflags}"
|
|
|
|
%python_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%python_install
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
|
|
|
|
|
|
|
%check
|
2019-07-18 11:44:11 +02:00
|
|
|
export PYTHONDONTWRITEBYTECODE=1
|
- Update to 0.14.11:
* Fix #152 Don't use __builtin_popcount, this hopefully fixes #147 Error in pvectorc.cp37-win_amd64.pyd file, as well.
Thanks @benrg for this!
* Fix #151 Fix compatibility for hypothesis 4. Thanks @felixonmars for this!
* Fix #148, only require pytest-runner if running tests. Thanks @ccorbacho for this!
* Fix #144, Compile pvectormodule.c on windows. Thanks @ganwell for this!
* Fix #142, Improve type stubs. Thanks @arxanas for this!
* Fix #102, add PEP 561 type annotation stubs for most pyrsistent types. Thanks @nattofriends for this!
* Fix #135, Type classes for Python 3 type annotations of pyrsistent types. Thanks @nattofriends for this!
* Fix #128, Allow PClass and PRecord to ignore input parameters to constructor that are not part of the spec
instead of blowing up with a type error. Thanks @agberk for this!
* Fix #137, deprecation warnings in Python 3.7. Thanks @thombashi for this!
* Fix #129, building via setuptools and setup.py. Thanks @galuszkak for this!
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyrsistent?expand=0&rev=8
2019-03-18 11:52:23 +01:00
|
|
|
%pytest_arch
|
2017-09-08 20:27:46 +02:00
|
|
|
|
|
|
|
%files %{python_files}
|
2018-08-11 10:11:44 +02:00
|
|
|
%license LICENCE.mit
|
2018-08-11 08:34:45 +02:00
|
|
|
%doc CHANGES.txt README README.rst
|
2017-09-08 20:27:46 +02:00
|
|
|
%{python_sitearch}/*
|
|
|
|
|
|
|
|
%changelog
|