Compare commits

1 Commits
main ... 1.1

4 changed files with 17 additions and 49 deletions

View File

@@ -1,35 +1,3 @@
-------------------------------------------------------------------
Wed Feb 5 13:01:45 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 5.1
* Add support for Python 3.12, 3.13.
* Drop support for Python 3.7, 3.8.
* Add tests for minimal dependencies.
* Add ``copy`` extra to include the ``zope.copy`` dependency.
- Adjust upstream source name in spec file
- Drop minimal-dependencies.patch, merged upstream
-------------------------------------------------------------------
Thu Jan 30 12:35:12 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Add minimal-dependencies.patch fixing the issue with test.
-------------------------------------------------------------------
Fri Jan 3 10:47:30 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Skip failing test and open an issue upstream
-------------------------------------------------------------------
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 for package python-zope.location
# spec file
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2013 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
@@ -17,6 +17,7 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define psuffix -test
@@ -25,24 +26,22 @@
%define psuffix %{nil}
%bcond_with test
%endif
%{?sle15_python_module_pythons}
Name: python-zope.location%{psuffix}
Version: 5.1
Version: 4.3
Release: 0
Summary: Zope Location
License: ZPL-2.1
Group: Development/Languages/Python
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 pip}
BuildRequires: %{python_module wheel}
URL: http://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 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
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if %{with test}
BuildRequires: %{python_module zope.component >= 4.0.1}
BuildRequires: %{python_module zope.configuration}
@@ -50,21 +49,22 @@ BuildRequires: %{python_module zope.copy >= 4.0}
BuildRequires: %{python_module zope.proxy}
BuildRequires: %{python_module zope.testrunner}
%endif
BuildArch: noarch
%python_subpackages
%description
In Zope3, location are special objects that has a structural location.
%prep
%autosetup -p1 -n zope_location-%{version}
%setup -q -n zope.location-%{version}
rm -rf src/zope.location.egg-info
%build
%pyproject_wheel
%python_build
%install
%if !%{with test}
%pyproject_install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif
@@ -75,8 +75,8 @@ rm -rf src/zope.location.egg-info
%if !%{with test}
%files %{python_files}
%license LICENSE.txt
%doc COPYRIGHT.txt CHANGES.rst README.rst
%defattr(-,root,root,-)
%doc COPYRIGHT.txt LICENSE.txt CHANGES.rst README.rst
%{python_sitelib}/*
%endif

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

Binary file not shown.

BIN
zope_location-5.1.tar.gz (Stored with Git LFS)

Binary file not shown.