commit 7ba5b0384a4a9b4f01cebb0e212ce8f3a84cd27f7954dd4fda6b8aef9ab064de Author: Todd R Date: Thu May 10 02:44:54 2018 +0000 Accepting request 606001 from devel:languages:python:misc Python wrapper for GraphicsMagick OBS-URL: https://build.opensuse.org/request/show/606001 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pgmagick?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/pgmagick-0.7.4.tar.gz b/pgmagick-0.7.4.tar.gz new file mode 100644 index 0000000..c6fd2e7 --- /dev/null +++ b/pgmagick-0.7.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4f634d5d8d681ff4e6e1b965ba13484f9450da34e574354f23e3daa988064d8a +size 362981 diff --git a/python-pgmagick.changes b/python-pgmagick.changes new file mode 100644 index 0000000..6aba353 --- /dev/null +++ b/python-pgmagick.changes @@ -0,0 +1,63 @@ +------------------------------------------------------------------- +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 + Homebrew. ( 8ad8f91 ) + setup.py now looks for libboost_python2x, libboost_python2x-mt, + libboost_python3x and libboost_python3x-mt as well. +- Use license tag + +------------------------------------------------------------------- +Tue Feb 13 21:27:28 UTC 2018 - toddrme2178@gmail.com + +- Update to version 0.7.2 + + No changelog available + +------------------------------------------------------------------- +Sun Jan 21 05:03:08 UTC 2018 - toddrme2178@gmail.com + +- Fix dependencies on new versions of openSUSE + +------------------------------------------------------------------- +Mon Aug 28 19:28:36 UTC 2017 - toddrme2178@gmail.com + +- Update to version 0.6.6 + + No changelog available +- Implement single-spec version +- Fix source URL + +------------------------------------------------------------------- +Thu Sep 3 14:20:43 UTC 2015 - toddrme2178@gmail.com + +- Update to version 0.5.11 + + No changelog available + +------------------------------------------------------------------- +Wed Dec 4 20:50:17 UTC 2013 - p.drouand@gmail.com + +- Update to version 0.5.7 + + No changelog available +- Remove SLE11 relative stuff; package doesn't build for it + +------------------------------------------------------------------- +Thu Oct 24 11:10:09 UTC 2013 - speilicke@suse.com + +- Require python-setuptools instead of distribute (upstreams merged) + +------------------------------------------------------------------- +Fri May 25 10:56:26 UTC 2012 - toddrme2178@gmail.com + +- Add python 3 package +- Spec file cleanups +- Update to version 0.5.1 + +------------------------------------------------------------------- +Fri Sep 23 12:16:52 UTC 2011 - saschpe@suse.de + +- Update to version 0.4.2 + +------------------------------------------------------------------- +Sat Jan 29 12:47:32 UTC 2011 - alexandre@exatati.com.br + +- Initial packages (3.2) for openSUSE. diff --git a/python-pgmagick.spec b/python-pgmagick.spec new file mode 100644 index 0000000..6bf0022 --- /dev/null +++ b/python-pgmagick.spec @@ -0,0 +1,79 @@ +# +# spec file for package python-pgmagick +# +# Copyright (c) 2018 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# 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. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without test +Name: python-pgmagick +Version: 0.7.4 +Release: 0 +Url: https://github.com/hhatto/pgmagick/ +Summary: Yet Another Python wrapper for GraphicsMagick +License: MIT +Group: Development/Languages/Python +Source: http://files.pythonhosted.org/packages/source/p/pgmagick/pgmagick-%{version}.tar.gz +BuildRequires: boost-devel +BuildRequires: fdupes +BuildRequires: pkgconfig(GraphicsMagick++) +BuildRequires: python-rpm-macros +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +%if 0%{?suse_version} > 1500 +BuildRequires: libboost_python-devel +BuildRequires: libboost_python3-devel +%endif +%if %{with test} +BuildRequires: ghostscript-fonts-std +%endif + +%python_subpackages + +%description +The pgmagick package is a yet another boost.python based +wrapper for GraphicsMagick. + +%prep +%setup -q -n pgmagick-%{version} + +%build +export CFLAGS="%{optflags} -fno-strict-aliasing" +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} + +%if %{with test} +%check +mkdir tester +pushd tester +cp -r ../test . +%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} +$python -m unittest discover +} +popd +rm -r tester +%endif + +%files %{python_files} +%defattr(-,root,root,-) +%doc README.rst +%license LICENSE +%{python_sitearch}/pgmagick/ +%{python_sitearch}/pgmagick-%{version}-py*.egg-info/ + +%changelog