forked from pool/python-opencensus
- Update to 0.7.7:
* Minor fixes - Fix dependencies - Enable testsuite OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opencensus?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
7e8e162608
commit
106cbdd7c9
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 18 08:47:16 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 0.7.7:
|
||||
* Minor fixes
|
||||
- Fix dependencies
|
||||
- Enable testsuite
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 29 12:57:16 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
|
||||
@@ -17,21 +17,29 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without python2
|
||||
Name: python-opencensus
|
||||
Version: 0.7.6
|
||||
Version: 0.7.7
|
||||
Release: 0
|
||||
Summary: A stats collection and distributed tracing framework
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/census-instrumentation/opencensus-python
|
||||
Source: https://github.com/census-instrumentation/opencensus-python/archive/v%{version}.tar.gz
|
||||
BuildRequires: %{python_module google-api-core >= 1.0.0}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module opencensus-context >= 0.1.1}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module retrying}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-google-api-core < 2.0.0
|
||||
Requires: python-google-api-core >= 1.0.0
|
||||
Requires: python-opencensus-context >= 0.2
|
||||
Requires: python-opencensus-context >= 0.1.1
|
||||
BuildArch: noarch
|
||||
%if %{with python2}
|
||||
BuildRequires: python-unittest2
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -43,6 +51,8 @@ utilities and supporting software needed by OpenCensus.
|
||||
|
||||
%prep
|
||||
%setup -q -n opencensus-python-%{version}
|
||||
# do not hardcode versions
|
||||
sed -i -e 's:==:>=:g' setup.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -51,6 +61,9 @@ utilities and supporting software needed by OpenCensus.
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest tests/unit
|
||||
|
||||
%files %{python_files}
|
||||
%doc CHANGELOG.md README.rst
|
||||
%license LICENSE
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ea8b7911b1092bb13be37642dfa18cf8fdd49b0f16a986b52acda8ae6545f7a1
|
||||
size 289731
|
||||
3
v0.7.7.tar.gz
Normal file
3
v0.7.7.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7783dcf1ade1b062482817c0ce816b50f96c6cc9a36bf4f1df550e2f22ed0109
|
||||
size 291336
|
||||
Reference in New Issue
Block a user