# # spec file for package python3-contextvars # # Copyright (c) 2022 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/ # Name: python3-contextvars Version: 2.4 Release: 0 License: Apache-2.0 Summary: PEP 567 (context variables) backport URL: http://github.com/MagicStack/contextvars Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/c/contextvars/contextvars-%{version}.tar.gz BuildRequires: fdupes BuildRequires: python3-devel BuildRequires: python3-immutables >= 0.9 BuildRequires: python3-setuptools Requires: python3-immutables >= 0.9 BuildArch: noarch %description PEP 567 (Context Variables) backport. %prep %setup -q -n contextvars-%{version} %build export CFLAGS="%{optflags}" %py3_build %install %py3_install %fdupes %{buildroot}%{$python3_sitelib} %check %{__python3} setup.py test %files %doc README.rst %license LICENSE %{python3_sitelib}/* %changelog