Sync from SUSE:SLFO:Main python-zope.deferredimport revision df226f1c8272e4b6e88562e9ad0575ab

This commit is contained in:
Adrian Schröter 2024-05-03 23:38:17 +02:00
commit bcd9b678f2
4 changed files with 118 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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

View File

@ -0,0 +1,27 @@
-------------------------------------------------------------------
Thu Oct 13 07:22:15 UTC 2022 - Dirk Müller <dmueller@suse.com>
- use https for urls
-------------------------------------------------------------------
Fri Sep 16 19:50:42 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to 4.4:
* Add support for Python 3.8, 3.9 and 3.10.
* Drop support for Python 3.4.
-------------------------------------------------------------------
Mon Aug 12 15:55:51 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 4.3.1:
* Avoid race condition in deferredmodule.ModuleProxy.__getattr__
-------------------------------------------------------------------
Wed Apr 10 08:03:22 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Use noun phrase in summary.
-------------------------------------------------------------------
Mon Apr 8 14:48:40 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
- Initial packaging.

View File

@ -0,0 +1,65 @@
#
# spec file for package python-zope.deferredimport
#
# 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-zope.deferredimport
Version: 4.4
Release: 0
Summary: On-demand import name resolver
License: ZPL-2.1
Group: Development/Languages/Python
URL: https://github.com/zopefoundation/zope.deferredimport
Source: https://files.pythonhosted.org/packages/source/z/zope.deferredimport/zope.deferredimport-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module zope.proxy}
BuildRequires: %{python_module zope.testrunner}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-zope.proxy
BuildArch: noarch
%python_subpackages
%description
Often, especially for package modules, you want to import names for
convenience, but not actually perform the imports until necessary.
The zope.deferredimport package provided facilities for defining names
in modules that will be imported from somewhere else when used. You
can also cause deprecation warnings to be issued when a variable is
used.
Documentation is hosted at https://zopedeferredimport.readthedocs.io/
%prep
%setup -q -n zope.deferredimport-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_expand PYTHONPATH=src %{_bindir}/zope-testrunner-%{$python_bin_suffix} -vvv --test-path src
%files %{python_files}
%license LICENSE.txt
%doc README.rst
%{python_sitelib}/*
%changelog

BIN
zope.deferredimport-4.4.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.