forked from pool/python-avro
Accepting request 820323 from home:bnavigator:branches:devel:languages:python
- Update to version 1.10.0 AVRO-2387 Type checking added to python AVRO-2656 avro-python package is now the preferred python3 library and avro-python3 is prepared to be deprecated - reenable unit tests - remove unnecessary BuildRequires for the linting packages - add untested and not in setup.cfg declared but imported packages into Requires https://issues.apache.org/jira/browse/AVRO-2595 I stumbled upon this because of the isort fiasco. This package does not even require it. OBS-URL: https://build.opensuse.org/request/show/820323 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-avro?expand=0&rev=17
This commit is contained in:
committed by
Git OBS Bridge
parent
9562ba0ac8
commit
c12c0abbab
3
avro-1.10.0.tar.gz
Normal file
3
avro-1.10.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bbf9f89fd20b4cf3156f10ec9fbce83579ece3e0403546c305957f9dac0d2f03
|
||||
size 67793
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4487f0e91d0d44142bd08b3c6da57073b720c3effb02eeb4e2e822804964c56b
|
||||
size 49808
|
@@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 11 09:34:41 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to version 1.10.0
|
||||
AVRO-2387 Type checking added to python
|
||||
AVRO-2656 avro-python package is now the preferred python3 library
|
||||
and avro-python3 is prepared to be deprecated
|
||||
- reenable unit tests
|
||||
- remove unnecessary BuildRequires for the linting packages
|
||||
- add untested and not in setup.cfg declared but imported packages
|
||||
into Requires https://issues.apache.org/jira/browse/AVRO-2595
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 27 09:36:12 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
||||
|
||||
|
@@ -18,30 +18,32 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-avro
|
||||
Version: 1.9.2
|
||||
Version: 1.10.0
|
||||
Release: 0
|
||||
Summary: A serialization and RPC framework for Python
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
URL: https://avro.apache.org/
|
||||
Source: https://files.pythonhosted.org/packages/source/a/avro/avro-%{version}.tar.gz
|
||||
BuildRequires: %{python_module isort}
|
||||
BuildRequires: %{python_module pycodestyle}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Requires: python-Twisted
|
||||
Requires: python-zope.interface
|
||||
Suggests: python-python-snappy
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Avro is a serialization and RPC framework.
|
||||
Apache Avro is a serialization and RPC framework.
|
||||
This package contains the python implementation of Avro.
|
||||
|
||||
%prep
|
||||
%setup -q -n avro-%{version}
|
||||
sed -i '1{\@^#!/usr/bin/env python@d}' avro/*.py avro/tether/*.py avro/test/*.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -52,9 +54,8 @@ Avro is a serialization and RPC framework.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# Dies on which is nowhere even in their VCS
|
||||
# E ImportError: No module named set_avro_test_path
|
||||
#%%pytest
|
||||
# test_server_with_path: tries to connect to apache.org
|
||||
%pytest -k "not test_server_with_path"
|
||||
|
||||
%post
|
||||
%python_install_alternative avro
|
||||
@@ -64,6 +65,7 @@ Avro is a serialization and RPC framework.
|
||||
|
||||
%files %{python_files}
|
||||
%python_alternative %{_bindir}/avro
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/avro
|
||||
%{python_sitelib}/avro-%{version}-py*.egg-info
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user