Sync from SUSE:SLFO:Main python-zope.location revision ea2d4260006ca2c13278c5658b60b426

This commit is contained in:
Adrian Schröter 2024-12-13 12:42:27 +01:00
parent 64679cfcf0
commit f6e5d7ad67
4 changed files with 25 additions and 13 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Dec 18 13:28:34 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 5.0:
* Drop support for Python 2.7, 3.5, 3.6.
-------------------------------------------------------------------
Fri Jun 9 13:14:19 UTC 2023 - ecsos <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Wed Dec 7 22:51:19 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2013 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
@ -26,22 +26,24 @@
%define psuffix %{nil}
%bcond_with test
%endif
%{?sle15_python_module_pythons}
Name: python-zope.location%{psuffix}
Version: 4.3
Version: 5.0
Release: 0
Summary: Zope Location
License: ZPL-2.1
Group: Development/Languages/Python
URL: http://www.python.org/pypi/zope.location
URL: https://www.python.org/pypi/zope.location
Source: https://files.pythonhosted.org/packages/source/z/zope.location/zope.location-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module zope.schema >= 4.2.2}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-zope.interface >= 4.0.2
Requires: python-zope.proxy >= 4.0.1
Requires: python-zope.schema >= 4.2.2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module zope.component >= 4.0.1}
BuildRequires: %{python_module zope.configuration}
@ -49,7 +51,6 @@ BuildRequires: %{python_module zope.copy >= 4.0}
BuildRequires: %{python_module zope.proxy}
BuildRequires: %{python_module zope.testrunner}
%endif
BuildArch: noarch
%python_subpackages
%description
@ -60,11 +61,11 @@ In Zope3, location are special objects that has a structural location.
rm -rf src/zope.location.egg-info
%build
%python_build
%pyproject_wheel
%install
%if !%{with test}
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif
@ -75,8 +76,8 @@ rm -rf src/zope.location.egg-info
%if !%{with test}
%files %{python_files}
%defattr(-,root,root,-)
%doc COPYRIGHT.txt LICENSE.txt CHANGES.rst README.rst
%license LICENSE.txt
%doc COPYRIGHT.txt CHANGES.rst README.rst
%{python_sitelib}/*
%endif

BIN
zope.location-4.3.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
zope.location-5.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.