1
0

Compare commits

2 Commits

Author SHA256 Message Date
e43e4118af Accepting request 1224337 from devel:languages:python
- Update to 2.0.0:
  * Drop support for Python < 3.8.
  * legacy-cgi is only a test dependency. Make it an optional dependency.
  * Add support for Python 3.11-3.13.
  * Add support for Python 3.9 and 3.10.
- Switch to pyproject macros.
- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/request/show/1224337
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wadllib?expand=0&rev=9
2024-11-18 19:00:51 +00:00
3e00e05972 - Update to 2.0.0:
* Drop support for Python < 3.8.
  * legacy-cgi is only a test dependency. Make it an optional dependency.
  * Add support for Python 3.11-3.13.
  * Add support for Python 3.9 and 3.10.
- Switch to pyproject macros.
- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wadllib?expand=0&rev=12
2024-11-15 01:36:33 +00:00
4 changed files with 26 additions and 12 deletions

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri Nov 15 01:36:03 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 2.0.0:
* Drop support for Python < 3.8.
* legacy-cgi is only a test dependency. Make it an optional dependency.
* Add support for Python 3.11-3.13.
* Add support for Python 3.9 and 3.10.
- Switch to pyproject macros.
- No more greedy globs in %files.
-------------------------------------------------------------------
Sun Oct 24 21:33:23 UTC 2021 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-wadllib
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,18 +16,18 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-wadllib
Version: 1.3.6
Version: 2.0.0
Release: 0
Summary: Navigate HTTP resources using WADL files as guides
License: LGPL-3.0-or-later
Group: Development/Languages/Python
URL: https://launchpad.net/wadllib
Source: https://files.pythonhosted.org/packages/source/w/wadllib/wadllib-%{version}.tar.gz
BuildRequires: %{python_module importlib-metadata}
BuildRequires: %{python_module lazr.uri}
BuildRequires: %{python_module multipart}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-lazr.uri
@@ -42,10 +42,12 @@ file.
%setup -q -n wadllib-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
# Do not ship docs
%python_expand rm -r %{buildroot}%{$python_sitelib}/wadllib/docs
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -54,7 +56,8 @@ cd src
%files %{python_files}
%license COPYING.txt
%doc README.rst NEWS.rst HACKING.rst
%{python_sitelib}/*
%doc README.rst NEWS.rst
%{python_sitelib}/wadllib
%{python_sitelib}/wadllib-%{version}.dist-info
%changelog

View File

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

3
wadllib-2.0.0.tar.gz Normal file
View File

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