15
0

Accepting request 927211 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/927211
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-opencensus-context?expand=0&rev=2
This commit is contained in:
2021-10-25 13:17:28 +00:00
committed by Git OBS Bridge
4 changed files with 25 additions and 8 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7783dcf1ade1b062482817c0ce816b50f96c6cc9a36bf4f1df550e2f22ed0109
size 291336

3
opencensus-0.8.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5242f3e64e41f514a2afaac8fa6b6be3225f7145758c753368a2932bf5eaad83
size 307635

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sat Oct 23 11:00:17 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Update to 0.1.2
* Release source distribution
- i.e. they just bumped the version and cleaned up some code syntax
but the new version is specified as minimum by python-opencensus
0.8
- Require contextvars for Python 3.6
-------------------------------------------------------------------
Thu Feb 20 10:54:04 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-opencensus-context
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,10 +16,10 @@
#
%define repo_version 0.7.7
%define repo_version 0.8.0
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-opencensus-context
Version: 0.1.1
Version: 0.1.2
Release: 0
Summary: Python in-process context propogation
License: Apache-2.0
@@ -28,6 +28,10 @@ Source: https://github.com/census-instrumentation/opencensus-python/arch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: %{python_module contextvars if (%python-base >= 3.6 and %python-base < 3.7)}
%if 0%{python_version_nodots} == 36
Requires: python-contextvars
%endif
BuildArch: noarch
%python_subpackages
@@ -55,11 +59,14 @@ rm -rf %{buildroot}%{$python_sitelib}/opencensus/common/__pycache__
}
%check
%python_exec -m unittest discover -v
%pyunittest -v
%files %{python_files}
%doc CHANGELOG.md README.rst
%license ../../LICENSE
%{python_sitelib}/*
%dir %{python_sitelib}/opencensus
%dir %{python_sitelib}/opencensus/common/
%{python_sitelib}/opencensus/common/runtime_context
%{python_sitelib}/opencensus_context-%{version}*-info
%changelog