[prev in list] [next in list] [prev in thread] [next in thread]
List: opensuse-commit
Subject: commit python-pscript for openSUSE:Factory
From: "Source-Sync" <autobuild () suse ! de>
Date: 2023-07-31 13:24:52
Message-ID: 169080989449.2324.18243962689761245619 () mailman3 ! infra ! opensuse ! org
[Download RAW message or body]
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pscript for openSUSE:Factory \
checked in at 2023-07-31 15:24:47 \
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing \
/work/SRC/openSUSE:Factory/python-pscript (Old) and \
/work/SRC/openSUSE:Factory/.python-pscript.new.32662 (New) \
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pscript"
Mon Jul 31 15:24:47 2023 rev:9 rq:1101457 version:0.7.7
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pscript/python-pscript.changes 2022-10-06 \
07:42:24.660714944 +0200
+++ /work/SRC/openSUSE:Factory/.python-pscript.new.32662/python-pscript.changes 2023-07-31 \
15:24:51.435493211 +0200 @@ -1,0 +2,7 @@
+Mon Jul 31 06:13:34 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
+
+- Stop using greedy globs in %files.
+- Switch to %pytest from invoke.
+- Switch to pyproject macros.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pscript.spec ++++++
--- /var/tmp/diff_new_pack.qJZdzb/_old 2023-07-31 15:24:52.007496513 +0200
+++ /var/tmp/diff_new_pack.qJZdzb/_new 2023-07-31 15:24:52.011496536 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-pscript
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define modname pscript
Name: python-pscript
Version: 0.7.7
@@ -25,12 +24,13 @@
License: BSD-2-Clause
URL: https://github.com/flexxui/pscript
Source: https://github.com/flexxui/%{modname}/archive/v%{version}/%{modname}-%{version}.tar.gz
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
# SECTION test requirements
-BuildRequires: %{python_module invoke}
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest}
BuildRequires: nodejs
@@ -42,22 +42,23 @@
of Python that this compiler supports.
%prep
-%setup -q -n %{modname}-%{version}
+%autosetup -p1 -n %{modname}-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-# the tests actually do not invoke themselves
-%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} \
invoke-%{$python_bin_suffix} test --unit +%pytest pscript/tests
%files %{python_files}
%doc README.md
%license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/pscript
+%{python_sitelib}/pscript_legacy
+%{python_sitelib}/pscript-%{version}.dist-info
%changelog
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic