Package python3-module-fabio: 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 130 131 | %define oname fabio # [armh] # [00:01:02] File "/usr/src/RPM/BUILD/python3-module-fabio-2023.6/build/lib/python3/site-packages/fabio/test/codecs/test_brukerimage.py", line 155, in test_linear # [00:01:02] self.assertTrue(error < numpy.finfo(numpy.float32).eps, "Error is %s>1e-7" % error) # [00:01:02] AssertionError: False is not true : Error is 1.1920929e-07>1e-7 %ifnarch armh %def_with check %else %def_without check %endif Name: python3-module-%oname Version: 2024.4 Release: alt1 Summary: Image IO for fable License: BSD-3-Clause AND GPL-2.0-or-later AND LGPL-3.0-or-later AND MIT Group: Development/Python3 URL: https://pypi.org/project/fabio VCS: https://github.com/silx-kit/fabio Source: %name-%version.tar BuildRequires(pre): rpm-build-python3 BuildRequires: libnumpy-py3-devel BuildRequires: python3-module-Cython BuildRequires: meson BuildRequires: python3-module-mesonpy %if_with check BuildRequires: python3-module-numpy-testing BuildRequires: python3-module-h5py BuildRequires: python3-module-Pillow BuildRequires: python3-module-glymur %endif %description FabIO is an I/O library for images produced by 2D X-ray detectors and written in Python. FabIO support images detectors from a dozen of companies (including Mar, Dectris, ADSC, Hamamatsu, Oxford), for a total of 30 different file formats (like CBF, EDF, TIFF) and offers an unified interface to their headers (as a Python dictionary) and datasets (as a numpy ndarray of integers or floats) %prep %setup # Hotfix for 2024.4 unmet dependency python3(fabio._version) sed -i "s/\.\._version/\.\.version/" \ src/fabio/app/eiger2crysalis.py src/fabio/app/densify.py # remove some third-party bundled stuff rm -rv src/fabio/third_party/_local %build %pyproject_build %install %pyproject_install %check env PYTHONPATH=%buildroot%python3_sitelibdir \ python3 run_tests.py --installed %files %doc copyright *.rst %_bindir/densify_Bragg %_bindir/eiger2cbf %_bindir/eiger2crysalis %_bindir/fabio-convert %_bindir/fabio_viewer %python3_sitelibdir/%oname %python3_sitelibdir/%oname-%version.0.dist-info %exclude %python3_sitelibdir/%oname/test/* %exclude %python3_sitelibdir/%oname/benchmark/* %changelog * Fri Apr 12 2024 Grigory Ustinov <grenka@altlinux.org> 2024.4-alt1 - Automatically updated to 2024.4. * Mon Jan 01 2024 Alexey Sheplyakov <asheplyakov@altlinux.org> 2023.10-alt2 - NMU: fixed FTBFS during the initial build. * Mon Jan 01 2024 Grigory Ustinov <grenka@altlinux.org> 2023.10-alt1 - Automatically updated to 2023.10. * Tue Sep 26 2023 Grigory Ustinov <grenka@altlinux.org> 2023.6-alt1 - Automatically updated to 2023.6. - Built with check. - Built without tests. * Wed Jul 12 2023 Daniel Zagaynov <kotopesutility@altlinux.org> 2023.4.1-alt1.1 - NMU: + moved %%python3_sitelibdir/%%oname/benchmark to subpackage with tests + ignore requirements to fabio.tests and fabio.benchmark * Sat Apr 29 2023 Grigory Ustinov <grenka@altlinux.org> 2023.4.1-alt1 - Automatically updated to 2023.4.1. * Thu Jan 19 2023 Grigory Ustinov <grenka@altlinux.org> 2022.12.1-alt1 - Automatically updated to 2022.12.1. * Fri Jun 03 2022 Grigory Ustinov <grenka@altlinux.org> 0.14.0-alt1 - Automatically updated to 0.14.0. * Tue Feb 08 2022 Grigory Ustinov <grenka@altlinux.org> 0.13.0-alt1 - Automatically updated to 0.13.0. * Thu Aug 12 2021 Grigory Ustinov <grenka@altlinux.org> 0.12.0-alt1 - Automatically updated to 0.12.0. * Tue Nov 10 2020 Vitaly Lipatov <lav@altlinux.ru> 0.10.2-alt2 - drop BR: libnumpy-devel (it was python2 only package) * Wed Sep 16 2020 Grigory Ustinov <grenka@altlinux.org> 0.10.2-alt1 - Automatically updated to 0.10.2. * Thu Apr 11 2019 Grigory Ustinov <grenka@altlinux.org> 0.9.0-alt2 - Rebuild for python3.7. * Mon Apr 08 2019 Aleksei Nikiforov <darktemplar@altlinux.org> 0.9.0-alt1 - Updated to latest upstream release (Closes: #36539) - Disabled build for python-2. * Thu Mar 22 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 0.5.0-alt1.1 - (NMU) Rebuilt with python-3.6.4. * Fri Dec 01 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 0.5.0-alt1 - Initial build for ALT. |