From c5771d3e2cc6165742e897c672fd804ce5fb07d91bb0c7180f13c96ea3e49506 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Thu, 9 Jul 2020 16:15:12 +0000 Subject: [PATCH 1/3] - update to 0.9.2 * Update setup.py to include tests in source distribution to PyPi * Update gdal imports to comply with GDAL recommendations. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Glymur?expand=0&rev=11 --- Glymur-0.9.1.tar.gz | 3 --- Glymur-0.9.2.tar.gz | 3 +++ python-Glymur.changes | 7 +++++++ python-Glymur.spec | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) delete mode 100644 Glymur-0.9.1.tar.gz create mode 100644 Glymur-0.9.2.tar.gz diff --git a/Glymur-0.9.1.tar.gz b/Glymur-0.9.1.tar.gz deleted file mode 100644 index 5d4c178..0000000 --- a/Glymur-0.9.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bf7fbe0c223dac4c33cb2a134fb303f64fa30cdd25f6e3e0dd47da316f4fb6c4 -size 3418589 diff --git a/Glymur-0.9.2.tar.gz b/Glymur-0.9.2.tar.gz new file mode 100644 index 0000000..8d66163 --- /dev/null +++ b/Glymur-0.9.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9588a9918fac1b4ccffce0f5ca944ae26a12fc26b5ca68ed3f3fcbcce36477ad +size 3418731 diff --git a/python-Glymur.changes b/python-Glymur.changes index 5be2613..7ccf6d3 100644 --- a/python-Glymur.changes +++ b/python-Glymur.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Jul 9 16:12:50 UTC 2020 - Ondřej Súkup + +- 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 diff --git a/python-Glymur.spec b/python-Glymur.spec index 07653fd..fc94ff2 100644 --- a/python-Glymur.spec +++ b/python-Glymur.spec @@ -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 From 3f2258d4d1c18c263d96f49ea93475a02cfa9f8b2c92c50aa442ca55cc38a902 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 14 Jul 2020 16:55:49 +0000 Subject: [PATCH 2/3] - Don't install tests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Glymur?expand=0&rev=12 --- python-Glymur.changes | 5 +++++ python-Glymur.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/python-Glymur.changes b/python-Glymur.changes index 7ccf6d3..44f9eff 100644 --- a/python-Glymur.changes +++ b/python-Glymur.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jul 14 16:55:39 UTC 2020 - Matej Cepl + +- Don't install tests + ------------------------------------------------------------------- Thu Jul 9 16:12:50 UTC 2020 - Ondřej Súkup diff --git a/python-Glymur.spec b/python-Glymur.spec index fc94ff2..02ea525 100644 --- a/python-Glymur.spec +++ b/python-Glymur.spec @@ -54,6 +54,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 +72,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 From 98c5ec3d4e79511df136aec686be7f2082fc705c2218c6d9235b71f4842e8503 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 14 Jul 2020 19:41:09 +0000 Subject: [PATCH 3/3] Add BR importlib_resources OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Glymur?expand=0&rev=13 --- python-Glymur.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python-Glymur.spec b/python-Glymur.spec index 02ea525..0d24a62 100644 --- a/python-Glymur.spec +++ b/python-Glymur.spec @@ -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