Accepting request 485965 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/485965 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-imagesize?expand=0&rev=3
This commit is contained in:
commit
21e4d33c73
@ -1,8 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 5 05:39:41 UTC 2017 - tbechtold@suse.com
|
||||||
|
|
||||||
|
- Fix python_module macro definition
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Mar 11 17:07:00 UTC 2017 - jengelh@inai.de
|
Sat Mar 11 17:07:00 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
- Typographic corrections to descriptions
|
- Typographic corrections to descriptions
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 19 15:51:22 UTC 2016 - jmatejek@suse.com
|
||||||
|
|
||||||
|
- update for multipython build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun May 29 10:31:23 UTC 2016 - michael@stroeder.com
|
Sun May 29 10:31:23 UTC 2016 - michael@stroeder.com
|
||||||
|
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-imagesize
|
Name: python-imagesize
|
||||||
Version: 0.7.1
|
Version: 0.7.1
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -24,11 +25,14 @@ License: MIT
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/shibukawa/imagesize_py
|
Url: https://github.com/shibukawa/imagesize_py
|
||||||
Source: https://files.pythonhosted.org/packages/source/i/imagesize/imagesize-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/i/imagesize/imagesize-%{version}.tar.gz
|
||||||
BuildRequires: python-devel
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Pure Python library which parses image files' header and returns the image size.
|
Pure Python library which parses image files' header and returns the image size.
|
||||||
|
|
||||||
@ -42,12 +46,12 @@ Supported formats:
|
|||||||
%setup -q -n imagesize-%{version}
|
%setup -q -n imagesize-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%python_install
|
||||||
|
|
||||||
%files
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
|
Loading…
x
Reference in New Issue
Block a user