commit 92b0f070c11230cdc906e03763d18c9129043516178e1be4e87210e331dc70e1 Author: Tomáš Chvátal Date: Tue May 12 05:53:39 2020 +0000 Accepting request 802736 from home:alois:branches:devel:languages:python new package (3rd attempt) OBS-URL: https://build.opensuse.org/request/show/802736 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyvips?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/python-pyvips.changes b/python-pyvips.changes new file mode 100644 index 0000000..df73756 --- /dev/null +++ b/python-pyvips.changes @@ -0,0 +1,16 @@ +------------------------------------------------------------------- +Thu May 7 17:52:59 UTC 2020 - aloisio@gmx.com + +- Update to version 2.1.12 + * update enums.py [tony612] + * add gen-enums.py [jcupitt] + * improve custom source/target types [jcupitt] + * revise types for set_blob to fix exception with old libvips [jcupitt] + * fix 32-bit support [dqxpb] + * remove pytest-runner from pipy deps [lgbaldoni] + * add watermark with image example [jcupitt] + +------------------------------------------------------------------- +Mon May 4 13:35:24 UTC 2020 - Luigi Baldoni + +- Initial package (v2.1.11) diff --git a/python-pyvips.spec b/python-pyvips.spec new file mode 100644 index 0000000..2905e01 --- /dev/null +++ b/python-pyvips.spec @@ -0,0 +1,56 @@ +# +# spec file for package python-pyvips +# +# Copyright (c) 2020 SUSE LLC +# +# 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 https://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-pyvips +Version: 2.1.12 +Release: 0 +Summary: Python bindings for VIPS image processing library +License: MIT +URL: https://github.com/libvips/pyvips +Source0: https://pypi.io/packages/source/p/pyvips/pyvips-%{version}.tar.gz +BuildRequires: %{python_module cffi >= 1.0.0} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-cffi >= 1.0.0 +BuildArch: noarch +%python_subpackages + +%description +This package contains the Python bindings for the VIPS library. + +%prep +%autosetup -n pyvips-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +# NOTE: tests are not present in the pypi tarball + +%files %{python_files} +%doc README.rst +%license LICENSE.txt +%{python_sitelib}/pyvips +%{python_sitelib}/pyvips-%{version}-py%{python_version}.egg-info + +%changelog diff --git a/pyvips-2.1.12.tar.gz b/pyvips-2.1.12.tar.gz new file mode 100644 index 0000000..a7c22a9 --- /dev/null +++ b/pyvips-2.1.12.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:84c2f7e31525c2d56813dcfc15344771d90753bfbcc455d63a55c4d7616fe05d +size 43722