15
0

- Disable one test that expect int to be equal to long on 32bit

- Update to version 1.0.3:
  * Added additional checks to guard against invalid plists. This includes writing and reading plists with recursive collections.
  * Handle OverflowErrors when reading dates outside the range of datetime.datetime

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-biplist?expand=0&rev=14
This commit is contained in:
Tomáš Chvátal
2018-05-22 12:24:45 +00:00
committed by Git OBS Bridge
parent e1408d1b6b
commit cb28cf932c
4 changed files with 24 additions and 20 deletions

View File

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

3
biplist-1.0.3.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue May 22 12:18:24 UTC 2018 - tchvatal@suse.com
- Disable one test that expect int to be equal to long on 32bit
-------------------------------------------------------------------
Tue May 22 12:13:16 UTC 2018 - tchvatal@suse.com
- Update to version 1.0.3:
* Added additional checks to guard against invalid plists. This includes writing and reading plists with recursive collections.
* Handle OverflowErrors when reading dates outside the range of datetime.datetime
-------------------------------------------------------------------
Thu Aug 31 06:07:29 UTC 2017 - toddrme2178@gmail.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-biplist
#
# 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
@@ -15,29 +15,22 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%ifarch x86_64
%bcond_without test
%else
%bcond_with test
%endif
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-biplist
Version: 1.0.2
Version: 1.0.3
Release: 0
Summary: A library for reading/writing binary plists
License: BSD-3-Clause
Group: Development/Languages/Python
Url: https://bitbucket.org/wooster/biplist
URL: https://bitbucket.org/wooster/biplist
Source: https://files.pythonhosted.org/packages/source/b/biplist/biplist-%{version}.tar.gz
BuildRequires: %{python_module coverage}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%if %{with test}
BuildRequires: %{python_module coverage}
BuildRequires: %{python_module nose}
%endif
BuildArch: noarch
%python_subpackages
@@ -58,14 +51,13 @@ plists which can be read by OS X, iOS, or other clients.
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with test}
%check
%python_exec setup.py test
%endif
# Test on 32bit expects long==int which is true only on py3
%python_expand nosetests-%{$python_bin_suffix} -e testIntBoundaries
%files %{python_files}
%defattr(-,root,root,-)
%doc AUTHORS LICENSE README.md
%license LICENSE
%doc AUTHORS README.md
%{python_sitelib}/*
%changelog