Sync from SUSE:SLFO:Main python-opencensus-ext-threading revision 11fb7bf08597eba429b8dd364d2309da
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
opencensus-0.7.12.tar.gz
(Stored with Git LFS)
Normal file
BIN
opencensus-0.7.12.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
33
python-opencensus-ext-threading.changes
Normal file
33
python-opencensus-ext-threading.changes
Normal file
@@ -0,0 +1,33 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 21 10:37:17 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Replace %patchN with %patch -P N: %patchN is deprecated.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 5 23:05:44 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Switch package to modern Python Stack on SLE-15
|
||||
+ Add %{?sle15_python_module_pythons}
|
||||
+ Drop %{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
+ Drop build support for Python 2.x
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 21 11:57:26 UTC 2021 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
- Update base archive to opencensus-0.7.12 (no code change for
|
||||
ext-threading)
|
||||
- require futures only for python2
|
||||
- Use pyunittest macro
|
||||
- Add remove-mock.patch
|
||||
gh#census-instrumentation/opencensus-python#1002
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 10 12:55:13 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Do not provide generic ext folder init content
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 21 18:40:38 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Initial build
|
||||
+ Version 0.1.2
|
75
python-opencensus-ext-threading.spec
Normal file
75
python-opencensus-ext-threading.spec
Normal file
@@ -0,0 +1,75 @@
|
||||
#
|
||||
# spec file for package python-opencensus-ext-threading
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define repo_version 0.7.12
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-opencensus-ext-threading
|
||||
Version: 0.1.2
|
||||
Release: 0
|
||||
Summary: OpenCensus threading Integration
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/census-instrumentation/opencensus-python
|
||||
Source: https://github.com/census-instrumentation/opencensus-python/archive/v%{repo_version}.tar.gz#/opencensus-%{repo_version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM remove-mock.patch gh#census-instrumentation/opencensus-python#1002
|
||||
Patch0: remove-mock.patch
|
||||
BuildRequires: %{python_module opencensus}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-opencensus
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
OpenCensus threading Integration
|
||||
|
||||
%prep
|
||||
%setup -q -n opencensus-python-%{repo_version}/contrib/opencensus-ext-threading
|
||||
pushd ../..
|
||||
%patch -P 0 -p1
|
||||
popd
|
||||
# for discovery to work
|
||||
touch tests/__init__.py
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%{python_expand # delete common files
|
||||
rm -rf %{buildroot}%{$python_sitelib}/opencensus/__init__.*
|
||||
rm -rf %{buildroot}%{$python_sitelib}/opencensus/__pycache__
|
||||
rm -rf %{buildroot}%{$python_sitelib}/opencensus/common/__init__.*
|
||||
rm -rf %{buildroot}%{$python_sitelib}/opencensus/common/__pycache__
|
||||
rm -rf %{buildroot}%{$python_sitelib}/opencensus/ext/__init__.*
|
||||
rm -rf %{buildroot}%{$python_sitelib}/opencensus/ext/__pycache__
|
||||
}
|
||||
|
||||
%check
|
||||
%pyunittest discover -v
|
||||
|
||||
%files %{python_files}
|
||||
%doc CHANGELOG.md README.rst
|
||||
%license ../../LICENSE
|
||||
%{python_sitelib}/opencensus/ext/threading
|
||||
%{python_sitelib}/opencensus_ext_threading-%{version}*-info
|
||||
|
||||
%changelog
|
1156
remove-mock.patch
Normal file
1156
remove-mock.patch
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user