Accepting request 701294 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/701294
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-imagesize?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2019-05-09 12:27:30 +00:00 committed by Git OBS Bridge
commit 7db3e931bf
4 changed files with 18 additions and 5 deletions

View File

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

3
imagesize-1.1.0.tar.gz Normal file
View File

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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue May 7 11:30:09 UTC 2019 - pgajdos@suse.com
- version update to 1.1.0
* add TIFF support (experimental)
- enable testsuite
-------------------------------------------------------------------
Tue Dec 4 12:49:15 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-imagesize
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 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
@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-imagesize
Version: 1.0.0
Version: 1.1.0
Release: 0
Summary: Getting image size from PNG/JPEG/JPEG2000/GIF files
License: MIT
@ -27,6 +27,9 @@ Url: https://github.com/shibukawa/imagesize_py
Source: https://files.pythonhosted.org/packages/source/i/imagesize/imagesize-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module pytest}
# /SECTION
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
@ -50,6 +53,9 @@ Supported formats:
%install
%python_install
%check
%pytest
%files %{python_files}
%defattr(-,root,root,-)
%{python_sitelib}/*