Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-git-url-parse for
openSUSE:Factory checked in at 2024-09-06 17:18:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-git-url-parse (Old)
and /work/SRC/openSUSE:Factory/.python-git-url-parse.new.10096 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-git-url-parse"
Fri Sep 6 17:18:51 2024 rev:4 rq:1199103 version:1.2.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-git-url-parse/python-git-url-parse.changes
2019-03-25 09:48:07.504006501 +0100
+++
/work/SRC/openSUSE:Factory/.python-git-url-parse.new.10096/python-git-url-parse.changes
2024-09-06 17:19:15.281660644 +0200
@@ -1,0 +2,6 @@
+Fri Sep 6 03:41:31 UTC 2024 - Steve Kowalik <[email protected]>
+
+- Switch to pyproject and pytest macros.
+- No more greedy globs in %files.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-git-url-parse.spec ++++++
--- /var/tmp/diff_new_pack.osH2sU/_old 2024-09-06 17:19:15.729679261 +0200
+++ /var/tmp/diff_new_pack.osH2sU/_new 2024-09-06 17:19:15.729679261 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-git-url-parse
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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,20 +16,19 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-git-url-parse
Version: 1.2.2
Release: 0
Summary: A GIT URL parser for Python
License: MIT
-Group: Development/Languages/Python
-Url: https://github.com/retr0h/git-url-parse
+URL: https://github.com/retr0h/git-url-parse
Source:
https://files.pythonhosted.org/packages/source/g/git-url-parse/git-url-parse-%{version}.tar.gz
BuildRequires: %{python_module pbr}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
# SECTION test requirements
-BuildRequires: %{python_module pbr}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest}
# /SECTION
@@ -49,17 +48,18 @@
%build
# Dont let pbr install yapf, which isnt a real test dependency
echo > test-requirements.txt
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-%python_exec -m pytest -v
+%pytest
%files %{python_files}
%doc AUTHORS.rst CHANGELOG.rst README.rst
%license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/giturlparse
+%{python_sitelib}/git_url_parse-%{version}.dist-info