代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/python-imagesize 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%bcond_with tests
Name: python-imagesize
Version: 1.3.0
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: python3-setuptools
BuildRequires: python3-devel
%if %{with tests}
BuildRequires: python3-pytest
%endif
%description
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}
%description -n python3-imagesize
This module analyzes JPEG/JPEG 2000/PNG/GIF/TIFF image headers and returns image size.
%prep
%autosetup -n imagesize-%{version}
rm -rf imagesize.egg-info
%build
%py3_build
%install
%py3_install
%check
%if %{with tests}
py.test-3 --ignore=./test/test_get_filelike.py
%endif
%files -n python3-imagesize
%doc README.rst LICENSE.rst
%{python3_sitelib}/*
%changelog
* 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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。