14
0

Compare commits

4 Commits

4 changed files with 24 additions and 12 deletions

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon May 5 11:23:05 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Mon Jan 20 09:49:50 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.
-------------------------------------------------------------------
Tue Jul 25 08:11:55 UTC 2023 - Bernhard Wiedemann <bwiedemann@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-zope.deprecation
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2013 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
@@ -19,12 +19,13 @@
%{?sle15_python_module_pythons}
Name: python-zope.deprecation
Version: 5.0
Version: 5.1
Release: 0
Summary: Zope Deprecation Infrastructure
License: ZPL-2.1
URL: https://pypi.python.org/pypi/zope.deprecation
Source: https://files.pythonhosted.org/packages/source/z/zope.deprecation/zope.deprecation-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/z/zope.deprecation/zope_deprecation-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -49,26 +50,25 @@ Provides: %{python_module zope.deprecation-doc = %{version}}
This package contains documentation files for %{name}.
%prep
%setup -q -n zope.deprecation-%{version}
rm -rf zope.deprecation.egg-info
%setup -q -n zope_deprecation-%{version}
rm -rf zope_deprecation.egg-info
%build
%python_build
%pyproject_wheel
sphinx-build -b html docs build/sphinx/html && rm -r build/sphinx/html/.{buildinfo,doctrees}
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
pushd build/lib
%pyunittest -v zope.deprecation.tests
%files %{python_files}
%license LICENSE.txt
%doc CHANGES.rst COPYRIGHT.txt README.rst
%dir %{python_sitelib}/zope
%{python_sitelib}/zope.deprecation-%{version}*-info
%{python_sitelib}/zope[_.]deprecation-%{version}*info
%{python_sitelib}/zope.deprecation-%{version}*-nspkg.pth
%{python_sitelib}/zope/deprecation

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b7c32d3392036b2145c40b3103e7322db68662ab09b7267afe1532a9d93f640f
size 23353

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:46bed4611fb53edc731aadeb64b28308bcb848f4cc150c60c948d078f7108721
size 24453