Package python3-module-rasterio: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 | %define oname rasterio %def_with check Name: python3-module-%oname Version: 1.3.10 Release: alt1 License: BSD-3-Clause Group: Development/Python3 Url: https://pypi.python.org/pypi/rasterio/ Summary: Fast and direct raster I/O for use with Numpy and SciPy # Source-url: %__pypi_url %oname Packager: Vitaly Lipatov <lav@altlinux.ru> Source: %name-%version.tar BuildRequires(pre): rpm-build-python3 BuildRequires: python3-module-setuptools BuildRequires: python3-module-wheel BuildRequires: python3-module-Cython BuildRequires: libnumpy-py3-devel BuildRequires: libgdal-devel BuildRequires: gcc-c++ %if_with check BuildRequires: python3-module-pytest BuildRequires: python3-module-affine BuildRequires: python3-module-boto3 BuildRequires: python3-module-click BuildRequires: python3-module-click-plugins BuildRequires: python3-module-cligj BuildRequires: python3-module-numpy-testing BuildRequires: python3-module-snuggs BuildRequires: python3-module-pyparsing BuildRequires: python3-module-attrs BuildRequires: gdal BuildRequires: /proc BuildRequires: python3-module-hypothesis %endif %py3_provides %oname %py3_requires numpy IPython %description Rasterio reads and writes geospatial raster datasets. Rasterio employs GDAL under the hood for file I/O and raster formatting. Its functions typically accept and return Numpy ndarrays. Rasterio is designed to make working with geospatial raster data more productive and more fun. %prep %setup subst "s|/usr/local/share/proj|/usr/share/proj|" setup.py # Drop dependency on distutils sed -i '/from distutils.version/d' rasterio/rio/calc.py %build %pyproject_build %install %pyproject_install %check rm -rf %oname # Don't try unbuilt copy. # Ignore some tests using network access %pyproject_run_pytest -ra \ -m 'not network and not wheel' \ -k 'not test_rio_env_no_credentials and not test_datasetreader_ctor_url and not test_read_boundless and not test_resampling_rms and not test_merge_precision[precision0] and not test_merge_precision[precision1] and not test_create_sidecar_mask and not test_update_tags' \ -W ignore::pytest.PytestRemovedIn9Warning %files %doc *.txt *.rst docs/ examples/ %_bindir/rio %python3_sitelibdir/%oname %python3_sitelibdir/%{pyproject_distinfo %oname} %changelog * Sat Jun 01 2024 Andrey Cherepanov <cas@altlinux.org> 1.3.10-alt1 - New version 1.3.10 * Wed May 29 2024 Stanislav Levin <slev@altlinux.org> 1.3.9-alt3 - Fixed FTBFS (Pytest 8.2.0). * Thu Feb 08 2024 Anton Vyatkin <toni@altlinux.org> 1.3.9-alt2 - Fixed FTBFS. * Mon Oct 23 2023 Andrey Cherepanov <cas@altlinux.org> 1.3.9-alt1 - new version 1.3.9 - use /proc build requirement to prevent segafault on tests * Tue Oct 17 2023 Anton Vyatkin <toni@altlinux.org> 1.3.8.post2-alt1 - new version 1.3.8.post2 * Wed Jan 26 2022 Grigory Ustinov <grenka@altlinux.org> 1.3-alt0.a2.0 - new version 1.3.a2 for python3.10 * Sun Sep 12 2021 Vitaly Lipatov <lav@altlinux.ru> 1.2.7-alt1 - new version 1.2.7 (with rpmrb script) * Sun Aug 15 2021 Vitaly Lipatov <lav@altlinux.ru> 1.2.6-alt1 - new version 1.2.6 (with rpmrb script) * Tue Jul 06 2021 Vitaly Lipatov <lav@altlinux.ru> 1.2.4-alt1 - new version 1.2.4 (with rpmrb script) * Tue Jun 08 2021 Vitaly Lipatov <lav@altlinux.ru> 1.2.3-alt1 - new version 1.2.3 (with rpmrb script) * Tue Apr 06 2021 Vitaly Lipatov <lav@altlinux.ru> 1.2.1-alt1 - new version 1.2.1 (with rpmrb script) * Tue Nov 10 2020 Vitaly Lipatov <lav@altlinux.ru> 1.1.8-alt3 - s/libnumpy-devel/libnumpy-py3-devel * Thu Nov 05 2020 Vitaly Lipatov <lav@altlinux.ru> 1.1.8-alt2 - s/click-tests/click * Wed Nov 04 2020 Vitaly Lipatov <lav@altlinux.ru> 1.1.8-alt1 - new version 1.1.8 (with rpmrb script) * Fri Oct 23 2020 Stanislav Levin <slev@altlinux.org> 1.1.2-alt2 - Dropped dependency on coveralls. * Wed Feb 05 2020 Vitaly Lipatov <lav@altlinux.ru> 1.1.2-alt1 - separate build python3 module |