Accepting request 820974 from devel:languages:python
- Update to 0.9.2: * Update setup.py to include tests in source distribution to PyPi * Update gdal imports to comply with GDAL recommendations. * Don't install tests OBS-URL: https://build.opensuse.org/request/show/820974 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Glymur?expand=0&rev=6
This commit is contained in:
commit
8a384c3df1
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bf7fbe0c223dac4c33cb2a134fb303f64fa30cdd25f6e3e0dd47da316f4fb6c4
|
||||
size 3418589
|
3
Glymur-0.9.2.tar.gz
Normal file
3
Glymur-0.9.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9588a9918fac1b4ccffce0f5ca944ae26a12fc26b5ca68ed3f3fcbcce36477ad
|
||||
size 3418731
|
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 14 16:55:39 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Don't install tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 9 16:12:50 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
- update to 0.9.2
|
||||
* Update setup.py to include tests in source distribution to PyPi
|
||||
* Update gdal imports to comply with GDAL recommendations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 26 06:34:26 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-Glymur
|
||||
Version: 0.9.1
|
||||
Version: 0.9.2
|
||||
Release: 0
|
||||
Summary: Tools for accessing JPEG2000 files
|
||||
License: MIT
|
||||
@ -40,6 +40,9 @@ BuildRequires: %{python_module lxml}
|
||||
BuildRequires: %{python_module numpy >= 1.7.1}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module scikit-image}
|
||||
%if 0%{?suse_version} <= 1500
|
||||
BuildRequires: %{python_module importlib_resources}
|
||||
%endif
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
@ -54,6 +57,8 @@ Python interface to the OpenJPEG library
|
||||
|
||||
%install
|
||||
%python_install
|
||||
# don't install tests
|
||||
rm -rf %{buildroot}%{python_sitelib}/tests
|
||||
%python_clone -a %{buildroot}%{_bindir}/jp2dump
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
@ -70,6 +75,7 @@ Python interface to the OpenJPEG library
|
||||
%doc README.md CHANGES.txt
|
||||
%license LICENSE.txt
|
||||
%python_alternative %{_bindir}/jp2dump
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/glymur*
|
||||
%{python_sitelib}/Glymur*
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user