Sync from SUSE:SLFO:Main python-zope.proxy revision ba60e0f0d357f4066df414df63e06be3
This commit is contained in:
commit
743de13f73
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
|
3
_multibuild
Normal file
3
_multibuild
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<multibuild>
|
||||||
|
<package>test</package>
|
||||||
|
</multibuild>
|
147
python-zope.proxy.changes
Normal file
147
python-zope.proxy.changes
Normal file
@ -0,0 +1,147 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 5 13:51:39 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||||
|
|
||||||
|
- Update to version 4.6.1
|
||||||
|
* Add support for building arm64 wheels on macOS.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 9 19:58:28 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||||
|
|
||||||
|
- Update to version 4.6.0
|
||||||
|
* Add support for Python 3.11.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Oct 29 18:05:28 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||||
|
|
||||||
|
- Update to version 4.5.1
|
||||||
|
* Disable unsafe math optimizations in C code. See pull request 53.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 11 17:30:56 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||||
|
|
||||||
|
- Update to version 4.5.0 (2021-11-17)
|
||||||
|
* Add support for Python 3.10.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 13 01:05:44 UTC 2021 - Benjamin Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Let the python-rpm-macros automatically figure out the correct
|
||||||
|
provides and obsoletes for the flavor
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 24 14:33:07 UTC 2020 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- version update to 4.3.5
|
||||||
|
- Stop installing C header files on PyPy (which is what zope.proxy before 4.3.4
|
||||||
|
used to do), fixes `issue 39
|
||||||
|
<https://github.com/zopefoundation/zope.proxy/issues/39>`_.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 16 14:00:19 UTC 2020 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- version update to 4.3.4
|
||||||
|
- Fix a compilation warning on Python 3.8. The slot ``tp_print``
|
||||||
|
changed to ``tp_vectorcall_offset`` in 3.8 and must not be set.
|
||||||
|
Prior to 3.8, it was reserved and ignored in all Python 3 versions.
|
||||||
|
See `issue 36
|
||||||
|
<https://github.com/zopefoundation/zope.proxy/issues/36>`_.
|
||||||
|
|
||||||
|
- Remove deprecated use of setuptools features. See `issue 38
|
||||||
|
<https://github.com/zopefoundation/zope.proxy/issues/38>`_.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 21 11:05:09 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
- update to 4.3.3
|
||||||
|
* Add support for Python 3.8.
|
||||||
|
* Drop support for Python 3.4.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 22 11:19:46 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Update to 4.3.2:
|
||||||
|
* Fix error handling in ProxyBase.__setattr__: any the exception raised by
|
||||||
|
PyString_AsString/PyUnicode_AsUTF8 would be silently swallowed up and ignored. See issue 31.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 5 12:14:55 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
- update to version 4.3.1
|
||||||
|
* Add support for Python 3.7.
|
||||||
|
* Simplify the internal C handling of attribute names.
|
||||||
|
* Make building the C extension optional.
|
||||||
|
4.3.0
|
||||||
|
* Fix a potential rare crash when deallocating proxies.
|
||||||
|
* Drop support for Python 3.3.
|
||||||
|
* Drop support for “python setup.py test”.
|
||||||
|
* 100% test coverage.
|
||||||
|
* Fix indexing pure-Python proxies with slices under Python 3,
|
||||||
|
and restore the use of __getslice__ (if implemented by the
|
||||||
|
target’s type) under Python 2.
|
||||||
|
- drop *-doc subpackage, use multibuild instead
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 22 17:38:51 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Still need to conflict with python3-zopy-proxy.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 18 16:48:55 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Provides/Obsoletes should be on the -devel package since
|
||||||
|
python3-zope-proxy has the devel files.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 7 15:52:19 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Fix conflicts with python3-zope-proxy
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 13 20:22:02 UTC 2017 - aloisio@gmx.com
|
||||||
|
|
||||||
|
- Update to version 4.2.1
|
||||||
|
* Make the pure-Python implementation of sameProxiedObjects handle
|
||||||
|
zope.security proxies. See issue 15.
|
||||||
|
* Add support for Python 3.6.
|
||||||
|
4.2.0:
|
||||||
|
* Correctly strip zope.security proxies in removeAllProxies.
|
||||||
|
See issue 13.
|
||||||
|
* Avoid poisoning the user’s global wheel cache when testing
|
||||||
|
PURE_PYTHON environments under tox,
|
||||||
|
* Drop support for Python 2.6 and 3.2.
|
||||||
|
* Add support for Python 3.5.
|
||||||
|
4.1.6:
|
||||||
|
* Make subclasses of ProxyBase properly delegate __module__ to the
|
||||||
|
wrapped object. This fixes some zope.interface lookups under
|
||||||
|
PyPy.
|
||||||
|
* Make the pure-Python implementation of ProxyBase properly report
|
||||||
|
the zope.interface interfaces implemented by builtin types like
|
||||||
|
list. This fixes some zope.interface lookups under PyPy.
|
||||||
|
4.1.5:
|
||||||
|
* Make the C implementation proxy __unicode__ correctly.
|
||||||
|
* Make the C implementation use the standard methods to proxy int
|
||||||
|
and float.
|
||||||
|
* Make the pure Python implementation handle descriptors defined
|
||||||
|
in subclasses like the C version.
|
||||||
|
See https://github.com/zopefoundation/zope.proxy/issues/5.
|
||||||
|
|
||||||
|
- Split docs and tests into separate -doc package since running
|
||||||
|
tests and sometimes building docs had become very messy.
|
||||||
|
Also see (gh#/zopefoundation/zope.proxy#18)
|
||||||
|
|
||||||
|
- Converted to single-spec
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 15 12:25:59 UTC 2015 - benoit.monin@gmx.fr
|
||||||
|
|
||||||
|
- update to version 4.1.4:
|
||||||
|
* Added support for Python 3.4.
|
||||||
|
* Updated bootstrap.py to version 2.2.
|
||||||
|
- point the source URL to pypi
|
||||||
|
- pass -q to test to avoid spamming the build log
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 29 00:55:08 UTC 2013 - hpj@urpla.net
|
||||||
|
|
||||||
|
- version 4.1.3: initial build
|
||||||
|
|
99
python-zope.proxy.spec
Normal file
99
python-zope.proxy.spec
Normal file
@ -0,0 +1,99 @@
|
|||||||
|
#
|
||||||
|
# spec file
|
||||||
|
#
|
||||||
|
# Copyright (c) 2022 SUSE LLC
|
||||||
|
# Copyright (c) 2013 LISA GmbH, Bingen, Germany.
|
||||||
|
#
|
||||||
|
# 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-%{**}}
|
||||||
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
|
%if "%{flavor}" == "test"
|
||||||
|
%define psuffix -test
|
||||||
|
%bcond_without test
|
||||||
|
%else
|
||||||
|
%define psuffix %{nil}
|
||||||
|
%bcond_with test
|
||||||
|
%endif
|
||||||
|
Name: python-zope.proxy%{psuffix}
|
||||||
|
Version: 4.6.1
|
||||||
|
Release: 0
|
||||||
|
Summary: Generic Transparent Proxies
|
||||||
|
License: ZPL-2.1
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
URL: https://github.com/zopefoundation/zope.proxy
|
||||||
|
Source: https://files.pythonhosted.org/packages/source/z/zope.proxy/zope.proxy-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module zope.interface}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-zope.interface
|
||||||
|
%if %{with test}
|
||||||
|
BuildRequires: %{python_module zope.security}
|
||||||
|
BuildRequires: %{python_module zope.testrunner}
|
||||||
|
%endif
|
||||||
|
Conflicts: python-zope-proxy < %{version}
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
Proxies are special objects which serve as mostly-transparent wrappers around
|
||||||
|
another object, intervening in the apparent behavior of the wrapped object only
|
||||||
|
when necessary to apply the policy (e.g., access checking, location brokering,
|
||||||
|
etc.) for which the proxy is responsible.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Generic Transparent Proxies
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
Provides: python-zope-proxy = %{version}
|
||||||
|
Obsoletes: python-zope-proxy < %{version}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
This package contains the files needed for binding the %{name} C module.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n zope.proxy-%{version}
|
||||||
|
rm -rf zope.proxy.egg-info
|
||||||
|
|
||||||
|
%build
|
||||||
|
%python_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%if !%{with test}
|
||||||
|
%python_install
|
||||||
|
%{python_expand rm %{buildroot}%{$python_sitearch}/zope/proxy/_zope_proxy_proxy.c
|
||||||
|
%fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if %{with test}
|
||||||
|
%check
|
||||||
|
%python_expand PYTHONPATH=src %{_bindir}/zope-testrunner-%{$python_bin_suffix} -vvv --test-path src
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if !%{with test}
|
||||||
|
%files %{python_files}
|
||||||
|
%license LICENSE.txt
|
||||||
|
%doc COPYRIGHT.txt CHANGES.rst README.rst
|
||||||
|
%exclude %{python_sitearch}/zope/proxy/proxy.h
|
||||||
|
%{python_sitearch}/*
|
||||||
|
|
||||||
|
%files %{python_files devel}
|
||||||
|
%dir %{python_sysconfig_path include}/zope.proxy
|
||||||
|
%{python_sysconfig_path include}/zope.proxy/*
|
||||||
|
%{python_sitearch}/zope/proxy/proxy.h
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%changelog
|
BIN
zope.proxy-4.6.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
zope.proxy-4.6.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user