15
0
forked from pool/python-Wand

Accepting request 1061526 from devel:languages:python

- Disable broken test in i586, test_histogram
- Update to 0.6.11
  * Fixed format issue when calling Image.convert(), and Image.make_blob()
    methods. [#594]
  * Fixed storage type size for “long” & “quantum” values in
    Image.export_pixels() and Image.import_pixels() methods. [#596]
  * Added filter parameter to Image.distort() method.
  * [TEST] Added Python 3.11 to regression tests for github actions.
  * [TEST] Replaced py.path fixtures with pythlib. [!607 & #608 by Louis
    Sautier]
  * [TEST] Retired Python2 support from regression testing.
  * [TEST] Upgraded Travis CI <https://travis-ci.org/github/emcconville/wand>
    build environments.

OBS-URL: https://build.opensuse.org/request/show/1061526
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Wand?expand=0&rev=5
This commit is contained in:
2023-01-28 17:43:57 +00:00
committed by Git OBS Bridge
4 changed files with 26 additions and 9 deletions

View File

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

3
Wand-0.6.11.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Fri Jan 27 09:20:08 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
- Disable broken test in i586, test_histogram
- Update to 0.6.11
* Fixed format issue when calling Image.convert(), and Image.make_blob()
methods. [#594]
* Fixed storage type size for “long” & “quantum” values in
Image.export_pixels() and Image.import_pixels() methods. [#596]
* Added filter parameter to Image.distort() method.
* [TEST] Added Python 3.11 to regression tests for github actions.
* [TEST] Replaced py.path fixtures with pythlib. [!607 & #608 by Louis
Sautier]
* [TEST] Retired Python2 support from regression testing.
* [TEST] Upgraded Travis CI <https://travis-ci.org/github/emcconville/wand>
build environments.
-------------------------------------------------------------------
Mon Aug 29 16:01:33 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Wand
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,8 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-Wand
Version: 0.6.10
Version: 0.6.11
Release: 0
Summary: Ctypes-based simple MagickWand API binding for Python
License: MIT
@@ -34,7 +33,7 @@ BuildRequires: python-rpm-macros
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module psutil >= 1.0.1}
BuildRequires: %{python_module pytest >= 2.3.0}
BuildRequires: %{python_module pytest >= 7.2.0}
BuildRequires: %{python_module numpy if (%python-base without python36-base)}
# /SECTION
%python_subpackages
@@ -59,11 +58,12 @@ export PYTEST_ADDOPTS="--skip-fft"
# Three tests failing with
# wand.exceptions.PolicyError: attempt to perform an operation not allowed by the security policy `PDF'
# due to https://build.opensuse.org/package/view_file/graphics/ImageMagick/ImageMagick-configuration-SUSE.patch
%pytest -rs -k 'not (test_resolution_set_03 or test_resolution_set_04 or test_read_with_colorspace)'
%pytest -rs -k 'not (test_resolution_set_03 or test_resolution_set_04 or test_read_with_colorspace or test_histogram)'
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/wand
%{python_sitelib}/Wand-%{version}*-info
%changelog