forked from pool/python-python-qdatamatrix
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 1b6a145208 | |||
| 47554e9f79 |
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 9 05:15:05 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 25 20:52:01 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
Thu Nov 25 20:52:01 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-python-qdatamatrix
|
# spec file for package python-python-qdatamatrix
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,14 +16,11 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
%define skip_python2 1
|
|
||||||
Name: python-python-qdatamatrix
|
Name: python-python-qdatamatrix
|
||||||
Version: 0.1.31
|
Version: 0.1.31
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A PyQt4/PyQt5 widget for viewing and editing a DataMatrix object
|
Summary: A PyQt4/PyQt5 widget for viewing and editing a DataMatrix object
|
||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/open-cogsci/python-qdatamatrix
|
URL: https://github.com/open-cogsci/python-qdatamatrix
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/python-qdatamatrix/python-qdatamatrix-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/python-qdatamatrix/python-qdatamatrix-%{version}.tar.gz
|
||||||
Source1: https://raw.githubusercontent.com/open-cogsci/python-qdatamatrix/master/copyright
|
Source1: https://raw.githubusercontent.com/open-cogsci/python-qdatamatrix/master/copyright
|
||||||
@@ -32,7 +29,9 @@ BuildRequires: %{python_module QtPy}
|
|||||||
BuildRequires: %{python_module python-datamatrix}
|
BuildRequires: %{python_module python-datamatrix}
|
||||||
# QtPy has a number of possible backends, none of them mandatory, use PyQt5 for the build
|
# QtPy has a number of possible backends, none of them mandatory, use PyQt5 for the build
|
||||||
BuildRequires: %{python_module qt5}
|
BuildRequires: %{python_module qt5}
|
||||||
|
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
|
||||||
# SECTION TEST REQUIREMENTS (recommendations by datamatrix)
|
# SECTION TEST REQUIREMENTS (recommendations by datamatrix)
|
||||||
@@ -57,10 +56,10 @@ cp %{SOURCE1} .
|
|||||||
sed '/app.exec_/ d' %{SOURCE2} > example.py
|
sed '/app.exec_/ d' %{SOURCE2} > example.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -73,6 +72,6 @@ sleep 5
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license copyright
|
%license copyright
|
||||||
%{python_sitelib}/qdatamatrix
|
%{python_sitelib}/qdatamatrix
|
||||||
%{python_sitelib}/python_qdatamatrix-%{version}*-info
|
%{python_sitelib}/python_qdatamatrix-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user