Группа :: Development/Python3
Пакет: python3-module-avro
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define oname avro
%def_with check
Name: python3-module-%oname
Version: 1.11.3
Release: alt1
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
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
%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
…
Полный changelog можно просмотреть здесь
%define oname avro
%def_with check
Name: python3-module-%oname
Version: 1.11.3
Release: alt1
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
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
%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
…
Полный changelog можно просмотреть здесь