Package python3-module-avro: 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 | %define _unpackaged_files_terminate_build 1 %define oname avro %def_with check Name: python3-module-%oname Version: 1.11.3 Release: alt2 Summary: Avro is a serialization and RPC framework License: Apache-2.0 Group: Development/Python3 Url: https://pypi.python.org/pypi/avro/ Source: %name-%version.tar Patch: avro-alt-test-timeout.patch Patch1: drop-distutils.patch BuildArch: noarch BuildRequires(pre): rpm-build-python3 BuildRequires: python3-module-setuptools BuildRequires: python3-module-wheel %if_with check BuildRequires: python3-module-pytest %endif %py_provides %oname %description Apache Avro(tm) is a data serialization system. Avro provides: * Rich data structures. * A compact, fast, binary data format. * A container file, to store persistent data. * Remote procedure call (RPC). * Simple integration with dynamic languages. Code generation is not required to read or write data files nor to use or implement RPC protocols. Code generation as an optional optimization, only worth implementing for statically typed languages. %package tests Summary: Tests for %oname Group: Development/Python3 Requires: %name = %EVR %description tests Apache Avro(tm) is a data serialization system. Avro provides: * Rich data structures. * A compact, fast, binary data format. * A container file, to store persistent data. * Remote procedure call (RPC). * Simple integration with dynamic languages. Code generation is not required to read or write data files nor to use or implement RPC protocols. Code generation as an optional optimization, only worth implementing for statically typed languages. This package contains tests for %oname. %prep %setup %patch -p1 %patch1 -p1 %build %pyproject_build %install %pyproject_install %check # test_server_with_path: tries to connect to apache.org %pyproject_run_pytest -v -k 'not test_server_with_path' %files %doc PKG-INFO %_bindir/%oname %python3_sitelibdir/%oname %python3_sitelibdir/%{pyproject_distinfo %oname} %exclude %python3_sitelibdir/%oname/test %files tests %python3_sitelibdir/%oname/test %doc PKG-INFO %changelog * Thu Oct 12 2023 Anton Vyatkin <toni@altlinux.org> 1.11.3-alt2 - drop distutils dependency * Tue Sep 26 2023 Anton Vyatkin <toni@altlinux.org> 1.11.3-alt1 - new version 1.11.3 * Sat Aug 26 2023 Anton Vyatkin <toni@altlinux.org> 1.11.2-alt1 - new version 1.11.2 * Mon Mar 13 2023 Dmitriy Voropaev <voropaevdmtr@altlinux.org> 1.11.1-alt2 - Increase tests timeout * Wed Mar 01 2023 Anton Vyatkin <toni@altlinux.org> 1.11.1-alt1 - new version 1.11.1 * Mon Oct 28 2019 Andrey Bychkov <mrdrew@altlinux.org> 1.7.7-alt2 - python2 -> python3 * Fri Feb 02 2018 Stanislav Levin <slev@altlinux.org> 1.7.7-alt1.1.1 - (NMU) Fix Requires and BuildRequires to python-setuptools * Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 1.7.7-alt1.1 - (NMU) rebuild with rpm-build-python3-0.1.9 (for common python3/site-packages/ and auto python3.3-ABI dep when needed) * Tue Mar 10 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.7.7-alt1 - Initial build for Sisyphus |