Compare commits
9 Commits
Author | SHA256 | Date | |
---|---|---|---|
4c50aacf79 | |||
c4a4ffa31f | |||
86bcf34463 | |||
ce6c718c01 | |||
93c789ac2b | |||
515f31b918 | |||
ad79c561f8 | |||
8d5a70536a | |||
fcc252f719 |
@@ -1,3 +1,28 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 1 16:05:04 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Make it compatible with older setuptools
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 27 00:40:09 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Normalize metadata directory name.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 24 09:08:54 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- switch to PEP517 build
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 16 10:02:43 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Rearrange requirements, run only basic testsuite in SLE-based projects
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 1 20:36:20 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- use python3 module python for sle15
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 5 14:22:43 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Fri May 5 14:22:43 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
@@ -45,7 +70,7 @@ Mon Apr 8 15:05:42 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
|
|||||||
* Drop support for Python 3.3.
|
* Drop support for Python 3.3.
|
||||||
* Drop support for “setup.py test”.
|
* Drop support for “setup.py test”.
|
||||||
* Always install zope.hookable as a dependency.
|
* Always install zope.hookable as a dependency.
|
||||||
* Make accessing names that have been moved to zope.interface
|
* Make accessing names that have been moved to zope.interface
|
||||||
produce a DeprecationWarning.
|
produce a DeprecationWarning.
|
||||||
- Drop the *-doc subpackage, use multibuild instead.
|
- Drop the *-doc subpackage, use multibuild instead.
|
||||||
* Drop pre-checkin.sh as it is no longer needed.
|
* Drop pre-checkin.sh as it is no longer needed.
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file
|
# spec file for package python-zope.component
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
# Copyright (c) 2013 LISA GmbH, Bingen, Germany.
|
# Copyright (c) 2013 LISA GmbH, Bingen, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@@ -17,7 +17,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
%global flavor @BUILD_FLAVOR@%{nil}
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
%if "%{flavor}" == "test"
|
%if "%{flavor}" == "test"
|
||||||
%define psuffix -test
|
%define psuffix -test
|
||||||
@@ -26,6 +25,7 @@
|
|||||||
%define psuffix %{nil}
|
%define psuffix %{nil}
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-zope.component%{psuffix}
|
Name: python-zope.component%{psuffix}
|
||||||
Version: 6.0
|
Version: 6.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -34,7 +34,9 @@ License: ZPL-2.1
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/zopefoundation/zope.component
|
URL: https://github.com/zopefoundation/zope.component
|
||||||
Source: https://files.pythonhosted.org/packages/source/z/zope.component/zope.component-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/z/zope.component/zope.component-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-zope.event
|
Requires: python-zope.event
|
||||||
@@ -42,15 +44,17 @@ Requires: python-zope.hookable >= 4.2.0
|
|||||||
Requires: python-zope.interface >= 5.3.0a1
|
Requires: python-zope.interface >= 5.3.0a1
|
||||||
#test requirements
|
#test requirements
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
|
BuildRequires: %{python_module zope.component = %{version}}
|
||||||
|
BuildRequires: %{python_module zope.configuration}
|
||||||
|
BuildRequires: %{python_module zope.testing}
|
||||||
|
BuildRequires: %{python_module zope.testrunner}
|
||||||
|
%if 0%{?suse_version} >= 1600
|
||||||
|
# run complete testsuite on Tumbleweed
|
||||||
BuildRequires: %{python_module persistent}
|
BuildRequires: %{python_module persistent}
|
||||||
BuildRequires: %{python_module zope.deferredimport}
|
|
||||||
BuildRequires: %{python_module zope.hookable}
|
|
||||||
BuildRequires: %{python_module zope.interface}
|
|
||||||
BuildRequires: %{python_module zope.location}
|
BuildRequires: %{python_module zope.location}
|
||||||
BuildRequires: %{python_module zope.proxy}
|
BuildRequires: %{python_module zope.proxy}
|
||||||
BuildRequires: %{python_module zope.security}
|
BuildRequires: %{python_module zope.security}
|
||||||
BuildRequires: %{python_module zope.testing}
|
%endif
|
||||||
BuildRequires: %{python_module zope.testrunner}
|
|
||||||
%endif
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -70,11 +74,11 @@ documentation.
|
|||||||
rm -rf src/zope.component.egg-info
|
rm -rf src/zope.component.egg-info
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@@ -88,7 +92,10 @@ rm -rf src/zope.component.egg-info
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%license LICENSE.txt COPYRIGHT.txt
|
%license LICENSE.txt COPYRIGHT.txt
|
||||||
%doc CHANGES.rst README.rst
|
%doc CHANGES.rst README.rst
|
||||||
%{python_sitelib}/*
|
%dir %{python_sitelib}/zope
|
||||||
|
%{python_sitelib}/zope/component
|
||||||
|
%{python_sitelib}/zope.component-%{version}-py*-nspkg.pth
|
||||||
|
%{python_sitelib}/zope[_.]component-%{version}.dist-info
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user