From 22b5deedc59f641f2ce34aa7a65d6484f4215b78 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Feb 06 2021 08:03:02 +0000 Subject: Update to latest version. --- diff --git a/.gitignore b/.gitignore index 9346b1b..5ff12eb 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ /rasterio-1.1.4.tar.gz /rasterio-1.1.5.tar.gz /rasterio-1.1.8.tar.gz +/rasterio-1.2.0.tar.gz diff --git a/python-rasterio.spec b/python-rasterio.spec index f75af09..219f1b4 100644 --- a/python-rasterio.spec +++ b/python-rasterio.spec @@ -1,9 +1,8 @@ %global srcname rasterio Name: python-%{srcname} -# When upgrading to 1.2.0, re-enable the tests marked FIXME in %%check -Version: 1.1.8 -Release: 3%{?dist} +Version: 1.2.0 +Release: 1%{?dist} Summary: Fast and direct raster I/O for use with Numpy and SciPy License: BSD @@ -38,11 +37,13 @@ BuildRequires: python3-boto3 BuildRequires: python3-packaging BuildRequires: python3-attrs BuildRequires: python3-affine +BuildRequires: python3-certifi BuildRequires: python3-click-plugins BuildRequires: python3-cligj >= 0.5 +BuildRequires: python3-matplotlib BuildRequires: python3-numpy +BuildRequires: python3-shapely BuildRequires: python3-snuggs >= 1.4.1 -BuildRequires: python3-matplotlib Requires: python3-affine Requires: python3-attrs @@ -73,10 +74,8 @@ rm -r %{srcname} # Don't try unbuilt copy. %ifnarch s390x # test_outer_boundless_pixel_fidelity is very flaky, so skip it. # Skip debian tests since we are not on debian -# FIXME These tests are broken with gdal-3.2.0 (https://github.com/mapbox/rasterio/issues/2034): test_shapes, test_shapes_indent, test_shapes_mask -PYTHONPATH="%{buildroot}%{python3_sitearch}" \ - pytest-3 -v -m 'not network and not wheel' \ - -k 'not test_outer_boundless_pixel_fidelity and not debian and not test_shapes and not test_shapes_indent and not test_shapes_mask' +%{pytest} -v -m 'not network and not wheel' \ + -k 'not test_outer_boundless_pixel_fidelity and not debian' %endif @@ -84,8 +83,8 @@ PYTHONPATH="%{buildroot}%{python3_sitearch}" \ %doc README.rst AUTHORS.txt CHANGES.txt CITATION.txt %license LICENSE.txt %{_bindir}/rio -%{python3_sitearch}/%{srcname} -%{python3_sitearch}/%{srcname}-%{version}-py%{python3_version}.egg-info +%{python3_sitearch}/%{srcname}/ +%{python3_sitearch}/%{srcname}-%{version}-py%{python3_version}.egg-info/ %changelog diff --git a/sources b/sources index c158a8c..522eb34 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rasterio-1.1.8.tar.gz) = fbf63fb3ea01a46ed830d0176f39d6a824deb0478d03a63591e7e8c3a872535e5a9d244f576bc4735a9fe21b1ed53684013b4b840d34488cb80ab995d95f705b +SHA512 (rasterio-1.2.0.tar.gz) = faaf74f62c36234f7aef061aeaa04da435b3bafc73ac18a8d247ac56429a2e776627776a5b5748688b322f1219a8bb1a2f6c52fe3c0de01ade804d128ee0a8c2