Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
6ca6aa1003
!17 Update package to version 1.4.1
From: @wubijie123 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
2023-12-15 02:04:33 +00:00
wubijie
a74aea591b Update package to version 1.4.1 2023-02-15 16:14:24 +08:00
openeuler-ci-bot
152aab3261
!13 【轻量级 PR】:Rebuild for next release
From: @zhangruifang2020 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
2022-10-31 01:17:41 +00:00
张瑞方
5f752f6f18
Rebuild for next release
Signed-off-by: 张瑞方 <xdzhangruifang@163.com>
2022-10-25 07:32:52 +00:00
openeuler-ci-bot
f47f256582
!11 upgrade version to 1.3.0
From: @duyiwei7w 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
2022-03-30 02:24:19 +00:00
duyiwei
5872028d38 upgrade version to 1.3.0 2022-03-07 17:10:11 +08:00
openeuler-ci-bot
3b68edae92 !4 delete python2.
From: @weiwei_150212
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-10-31 09:59:01 +08:00
s17723959267
89fd80b14a delete python2 2020-10-29 11:08:14 +08:00
openeuler-ci-bot
d476c066ac !2 update to 1.2.0
Merge pull request !2 from phanddy/master
2020-07-28 19:35:26 +08:00
yeah_wang
5aecc18a75 update to 1.2.0 2020-07-28 11:15:58 +08:00
3 changed files with 18 additions and 18 deletions

Binary file not shown.

BIN
imagesize-1.4.1.tar.gz Normal file

Binary file not shown.

View File

@ -1,24 +1,17 @@
Name: python-imagesize
Version: 1.0.0
Release: 4
Version: 1.4.1
Release: 1
Summary: This module analyzes image headers and returns image size.
License: MIT
URL: https://github.com/shibukawa/imagesize_py
Source0: https://files.pythonhosted.org/packages/source/i/imagesize/imagesize-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python2-setuptools python2-devel python2-pytest python3-setuptools
BuildRequires: python3-setuptools
BuildRequires: python3-devel python3-pytest
%description
This module analyzes JPEG/JPEG 2000/PNG/GIF/TIFF image headers and returns image size.
%package -n python2-imagesize
Summary: This module analyzes image headers and returns image size.
%{?python_provide:%python_provide python2-imagesize}
%description -n python2-imagesize
This module analyzes JPEG/JPEG 2000/PNG/GIF/TIFF image headers and returns image size.
%package -n python3-imagesize
Summary: This module analyzes image headers and returns image size.
%{?python_provide:%python_provide python3-imagesize}
@ -30,23 +23,30 @@ This module analyzes JPEG/JPEG 2000/PNG/GIF/TIFF image headers and returns image
%autosetup -n imagesize-%{version}
rm -rf imagesize.egg-info
%build
%py2_build
%py3_build
%install
%py3_install
%py2_install
%check
py.test-2
py.test-3
%files -n python2-imagesize
%doc README.rst LICENSE.rst
%{python2_sitelib}/*
py.test-3 --ignore=./test/test_get_filelike.py
%files -n python3-imagesize
%doc README.rst LICENSE.rst
%{python3_sitelib}/*
%changelog
* Wed Feb 15 2023 wubijie <wubijie@kylinos.cn> - 1.4.1-1
- Update package to version 1.4.1
* Tue Oct 25 2022 zhangruifang <zhangruifang1@h-partners.com> - 1.3.0-3
- Rebuild for next release
* Mon Mar 7 2022 duyiwei <duyiwei@kylinos.cn> - 1.3.0-1
- update package to 1.3.0
* Thu Oct 29 2020 tianwei <tianwei@huawei.com> - 1.2.0-2
- delete python2 require
* Thu Jul 23 2020 dingyue <dingyue5@huawei.com> - 1.2.0-1
- Package update
* Mon Nov 25 2019 Ling Yang <lingyang2@huawei.com> - 1.0.0-4
- Package init