From cb5af77b41366a57579cf6a4db715a9ffc82798134c8416e3ae0b4ebdba7556f Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 27 Dec 2023 14:30:18 +0000 Subject: [PATCH] - update to 0.7.6: * #70, #67 : Support M1 Mac - update to 0.7.5: * #50 : Enable passing Py3 bytes as pixels for constructor with StorageType * #51 : Fix screwed parameters - update to 0.7.4: * fix libboost_python filename for macOSX environment with Homebrew. ( 8ad8f917e93ba66c49d01952ba5488cd473a4fc4 ) * `setup.py` now looks for `libboost_python2x`, `libboost_python2x-mt`, `libboost_python3x` and `libboost_python3x-mt` as well. - drop reproducible.patch (upstream) * fix libboost_python filename for macOSX environment with OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pgmagick?expand=0&rev=10 --- pgmagick-0.7.4.tar.gz | 3 --- pgmagick-0.7.6.tar.gz | 3 +++ python-pgmagick.changes | 19 ++++++++++++++++++- python-pgmagick.spec | 12 ++++-------- reproducible.patch | 13 ------------- 5 files changed, 25 insertions(+), 25 deletions(-) delete mode 100644 pgmagick-0.7.4.tar.gz create mode 100644 pgmagick-0.7.6.tar.gz delete mode 100644 reproducible.patch diff --git a/pgmagick-0.7.4.tar.gz b/pgmagick-0.7.4.tar.gz deleted file mode 100644 index c6fd2e7..0000000 --- a/pgmagick-0.7.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4f634d5d8d681ff4e6e1b965ba13484f9450da34e574354f23e3daa988064d8a -size 362981 diff --git a/pgmagick-0.7.6.tar.gz b/pgmagick-0.7.6.tar.gz new file mode 100644 index 0000000..f3bd2cf --- /dev/null +++ b/pgmagick-0.7.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fe7f5fb92ee465ade0955dd810c181b9965334133dad4d4b423a29c1f2ec9d91 +size 363710 diff --git a/python-pgmagick.changes b/python-pgmagick.changes index 9f4a997..1ff7288 100644 --- a/python-pgmagick.changes +++ b/python-pgmagick.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Wed Dec 27 14:29:09 UTC 2023 - Dirk Müller + +- update to 0.7.6: + * #70, #67 : Support M1 Mac +- update to 0.7.5: + * #50 : Enable passing Py3 bytes as pixels for constructor with + StorageType + * #51 : Fix screwed parameters +- update to 0.7.4: + * fix libboost_python filename for macOSX environment with + Homebrew. ( 8ad8f917e93ba66c49d01952ba5488cd473a4fc4 ) + * `setup.py` now looks for `libboost_python2x`, + `libboost_python2x-mt`, `libboost_python3x` and + `libboost_python3x-mt` as well. +- drop reproducible.patch (upstream) + ------------------------------------------------------------------- Thu Apr 23 10:22:11 UTC 2020 - Tomáš Chvátal @@ -17,7 +34,7 @@ Thu May 10 15:58:40 UTC 2018 - toddrme2178@gmail.com Thu May 10 00:05:39 UTC 2018 - toddrme2178@gmail.com - Update to version 0.7.4 - * fix libboost_python filename for macOSX environment with + * fix libboost_python filename for macOSX environment with Homebrew. ( 8ad8f91 ) setup.py now looks for libboost_python2x, libboost_python2x-mt, libboost_python3x and libboost_python3x-mt as well. diff --git a/python-pgmagick.spec b/python-pgmagick.spec index 8e35189..04b919a 100644 --- a/python-pgmagick.spec +++ b/python-pgmagick.spec @@ -1,7 +1,7 @@ # # spec file for package python-pgmagick # -# Copyright (c) 2020 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,18 +16,15 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without python2 +%{?sle15_python_module_pythons} Name: python-pgmagick -Version: 0.7.4 +Version: 0.7.6 Release: 0 Summary: Yet Another Python wrapper for GraphicsMagick License: MIT Group: Development/Languages/Python URL: https://github.com/hhatto/pgmagick/ Source: https://files.pythonhosted.org/packages/source/p/pgmagick/pgmagick-%{version}.tar.gz -# PATCH-FIX-UPSTREAM https://github.com/hhatto/pgmagick/pull/47 -Patch0: reproducible.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -50,8 +47,7 @@ The pgmagick package is a yet another boost.python based wrapper for GraphicsMagick. %prep -%setup -q -n pgmagick-%{version} -%patch0 -p1 +%autosetup -p1 -n pgmagick-%{version} %build export CFLAGS="%{optflags} -fno-strict-aliasing" diff --git a/reproducible.patch b/reproducible.patch deleted file mode 100644 index 677c3eb..0000000 --- a/reproducible.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: pgmagick-0.7.4/setup.py -=================================================================== ---- pgmagick-0.7.4.orig/setup.py -+++ pgmagick-0.7.4/setup.py -@@ -218,7 +218,7 @@ setup(name='pgmagick', - packages=find_packages(), - ext_modules=[ - Extension('pgmagick._pgmagick', -- sources=glob.glob('./src/*.cpp'), -+ sources=sorted(glob.glob('./src/*.cpp')), - include_dirs=include_dirs, - library_dirs=library_dirs, - libraries=libraries,