|
|
4c03922 |
%global srcname rasterio
|
|
|
4c03922 |
|
|
|
4c03922 |
Name: python-%{srcname}
|
|
|
f52f0a0 |
Version: 1.1.4
|
|
|
b266a29 |
Release: 2%{?dist}
|
|
|
4c03922 |
Summary: Fast and direct raster I/O for use with Numpy and SciPy
|
|
|
4c03922 |
|
|
|
4c03922 |
License: BSD
|
|
|
4c03922 |
URL: https://github.com/mapbox/rasterio
|
|
|
4c03922 |
# PyPI tarball doesn't include test data.
|
|
|
4c03922 |
Source0: https://github.com/mapbox/rasterio/archive/%{version}/%{srcname}-%{version}.tar.gz
|
|
|
f52f0a0 |
# https://github.com/mapbox/rasterio/pull/1923
|
|
|
f52f0a0 |
Patch0001: 0001-Mark-test_rio_env_no_credentials-as-needing-network.patch
|
|
|
34bf454 |
# Adapt tests for GDAL-3.1.0
|
|
|
34bf454 |
Patch0002: rasterio_tests.patch
|
|
|
4c03922 |
|
|
|
72abdaa |
BuildRequires: gcc-c++
|
|
|
6711b52 |
BuildRequires: gdal >= 1.11
|
|
|
6711b52 |
BuildRequires: gdal-devel >= 1.11
|
|
|
4c03922 |
|
|
|
4c03922 |
%global _description \
|
|
|
4c03922 |
Rasterio reads and writes geospatial raster data. Geographic information \
|
|
|
4c03922 |
systems use GeoTIFF and other formats to organize and store gridded, or raster, \
|
|
|
4c03922 |
datasets. Rasterio reads and writes these formats and provides a Python API \
|
|
|
4c03922 |
based on ND arrays.
|
|
|
4c03922 |
|
|
|
4c03922 |
%description %{_description}
|
|
|
4c03922 |
|
|
|
4c03922 |
|
|
|
4c03922 |
%package -n python3-%{srcname}
|
|
|
4c03922 |
Summary: %{summary}
|
|
|
4c03922 |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
4c03922 |
|
|
|
4c03922 |
BuildRequires: python3-devel
|
|
|
4c03922 |
BuildRequires: python3-setuptools
|
|
|
4c03922 |
BuildRequires: python3-Cython
|
|
|
4c03922 |
BuildRequires: python3-numpy
|
|
|
4c03922 |
BuildRequires: python3-pytest
|
|
|
4c03922 |
BuildRequires: python3-hypothesis
|
|
|
4c03922 |
BuildRequires: python3-boto3
|
|
|
4c03922 |
BuildRequires: python3-packaging
|
|
|
4c03922 |
BuildRequires: python3-attrs
|
|
|
4c03922 |
BuildRequires: python3-affine
|
|
|
4c03922 |
BuildRequires: python3-click-plugins
|
|
|
5a2f3d2 |
BuildRequires: python3-cligj >= 0.5
|
|
|
4c03922 |
BuildRequires: python3-numpy
|
|
|
4c03922 |
BuildRequires: python3-snuggs >= 1.4.1
|
|
|
4c03922 |
|
|
|
4c03922 |
Requires: python3-affine
|
|
|
4c03922 |
Requires: python3-attrs
|
|
|
4c03922 |
Requires: python3-click-plugins
|
|
|
5a2f3d2 |
Requires: python3-cligj >= 0.5
|
|
|
4c03922 |
Requires: python3-numpy
|
|
|
4c03922 |
Requires: python3-snuggs >= 1.4.1
|
|
|
4c03922 |
|
|
|
4c03922 |
%description -n python3-%{srcname} %{_description}
|
|
|
4c03922 |
|
|
|
4c03922 |
|
|
|
4c03922 |
%prep
|
|
|
5aacca8 |
%autosetup -n %{srcname}-%{version} -p1
|
|
|
4c03922 |
|
|
|
4c03922 |
|
|
|
4c03922 |
%build
|
|
|
4c03922 |
%py3_build
|
|
|
4c03922 |
|
|
|
4c03922 |
|
|
|
4c03922 |
%install
|
|
|
4c03922 |
%py3_install
|
|
|
4c03922 |
|
|
|
4c03922 |
|
|
|
4c03922 |
%check
|
|
|
4c03922 |
rm -r %{srcname} # Don't try unbuilt copy.
|
|
|
4c03922 |
|
|
|
42be38e |
# Skip tests on s390x, GEOS is broken on that arch and results in test failures
|
|
|
42be38e |
%ifnarch s390x
|
|
|
f6c6ace |
# test_outer_boundless_pixel_fidelity is very flaky, so skip it.
|
|
|
34bf454 |
# Skip debian tests since we are not on debian
|
|
|
4c03922 |
PYTHONPATH="%{buildroot}%{python3_sitearch}" \
|
|
|
34bf454 |
pytest-3 -v -m 'not network and not wheel' \
|
|
|
34bf454 |
-k 'not test_outer_boundless_pixel_fidelity and not debian'
|
|
|
42be38e |
%endif
|
|
|
4c03922 |
|
|
|
4c03922 |
|
|
|
4c03922 |
%files -n python3-%{srcname}
|
|
|
4c03922 |
%doc README.rst AUTHORS.txt CHANGES.txt CITATION.txt
|
|
|
4c03922 |
%license LICENSE.txt
|
|
|
4c03922 |
%{_bindir}/rio
|
|
|
4c03922 |
%{python3_sitearch}/%{srcname}
|
|
|
f52f0a0 |
%{python3_sitearch}/%{srcname}-%{version}-py*.egg-info
|
|
|
4c03922 |
|
|
|
4c03922 |
|
|
|
4c03922 |
%changelog
|
|
|
b266a29 |
* Thu May 21 2020 Sandro Mani <manisandro@gmail.com> - 1.1.4-2
|
|
|
b266a29 |
- Rebuild (gdal)
|
|
|
b266a29 |
|
|
|
f52f0a0 |
* Sun May 10 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.4-1
|
|
|
f52f0a0 |
- Update to latest version
|
|
|
f52f0a0 |
|
|
|
159414d |
* Tue Mar 03 2020 Sandro Mani <manisandro@gmail.com> - 1.1.3-2
|
|
|
159414d |
- Rebuild (gdal)
|
|
|
159414d |
|
|
|
c2d089f |
* Wed Feb 26 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.3-1
|
|
|
c2d089f |
- Update to latest version
|
|
|
c2d089f |
|
|
|
2b408a6 |
* Tue Jan 28 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.2-1
|
|
|
2b408a6 |
- Update to latest version
|
|
|
2b408a6 |
|
|
|
e836992 |
* Mon Oct 07 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.0-2
|
|
|
e836992 |
- rebuilt
|
|
|
e836992 |
|
|
|
39b57af |
* Mon Oct 07 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.0-1
|
|
|
39b57af |
- Update to latest version
|
|
|
39b57af |
|
|
|
a940a8c |
* Mon Sep 09 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.28-1
|
|
|
a940a8c |
- Update to latest version
|
|
|
a940a8c |
|
|
|
110da7c |
* Sun Sep 08 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.27-1
|
|
|
110da7c |
- Update to latest version
|
|
|
110da7c |
|
|
|
b5739d8 |
* Fri Aug 30 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.26-1
|
|
|
b5739d8 |
- Update to latest version
|
|
|
b5739d8 |
|
|
|
1283ba9 |
* Fri Aug 23 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.25-1
|
|
|
1283ba9 |
- Update to latest version
|
|
|
1283ba9 |
|
|
|
6c42089 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.24-3
|
|
|
6c42089 |
- Rebuilt for Python 3.8
|
|
|
6c42089 |
|
|
|
786218a |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.24-2
|
|
|
786218a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
786218a |
|
|
|
63c7756 |
* Thu Jun 06 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.24-1
|
|
|
63c7756 |
- Update to latest version
|
|
|
63c7756 |
|
|
|
f969c25 |
* Thu May 16 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.23-1
|
|
|
f969c25 |
- Update to latest version
|
|
|
f969c25 |
|
|
|
158e36c |
* Thu Mar 21 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.22-1
|
|
|
158e36c |
- Update to latest version
|
|
|
158e36c |
|
|
|
a808f53 |
* Sun Mar 03 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.21-1
|
|
|
a808f53 |
- Update to latest version
|
|
|
a808f53 |
|
|
|
b28cb3f |
* Thu Feb 28 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.20-1
|
|
|
b28cb3f |
- Update to latest version
|
|
|
b28cb3f |
|
|
|
8c59a5d |
* Tue Feb 12 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.18-1
|
|
|
8c59a5d |
- Update to latest version
|
|
|
8c59a5d |
|
|
|
0b13c6d |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.13-2
|
|
|
0b13c6d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
0b13c6d |
|
|
|
9554fd5 |
* Thu Jan 17 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.13-1
|
|
|
9554fd5 |
- Update to latest version
|
|
|
9554fd5 |
|
|
|
687c615 |
* Wed Dec 12 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.12-1
|
|
|
687c615 |
- Update to latest version
|
|
|
687c615 |
|
|
|
5aacca8 |
* Mon Nov 05 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.9-1
|
|
|
5aacca8 |
- Update to latest version
|
|
|
5aacca8 |
|
|
|
b262efe |
* Fri Sep 21 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.2-3
|
|
|
5d21fc5 |
- Drop Python 2 subpackage
|
|
|
5d21fc5 |
|
|
|
38f4863 |
* Tue Jul 31 2018 Florian Weimer <fweimer@redhat.com> - 1.0.2-2
|
|
|
38f4863 |
- Rebuild with fixed binutils
|
|
|
38f4863 |
|
|
|
94a4857 |
* Sun Jul 29 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.2-1
|
|
|
94a4857 |
- Update to latest version
|
|
|
94a4857 |
|
|
|
3cc6952 |
* Tue Jul 24 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.1-1
|
|
|
3cc6952 |
- Update to latest version
|
|
|
3cc6952 |
|
|
|
5cb1459 |
* Fri Jul 13 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.0-1
|
|
|
5cb1459 |
- Update to latest version.
|
|
|
5cb1459 |
|
|
|
60c1748 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0b1-2
|
|
|
60c1748 |
- Rebuilt for Python 3.7
|
|
|
60c1748 |
|
|
|
6711b52 |
* Sun May 27 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0b1-1
|
|
|
6711b52 |
- Update to latest version.
|
|
|
6711b52 |
|
|
|
4c03922 |
* Sat Jan 06 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0a12-1
|
|
|
4c03922 |
- Initial package.
|