14
0

Accepting request 1284424 from devel:languages:python

- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1284424
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyparallel?expand=0&rev=4
This commit is contained in:
2025-06-11 14:22:33 +00:00
committed by Git OBS Bridge
2 changed files with 15 additions and 9 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 10 11:26:31 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 4 12:52:36 UTC 2018 - Matej Cepl <mcepl@suse.com> Tue Dec 4 12:52:36 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pyparallel # spec file for package python-pyparallel
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # 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,23 +16,23 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}} # For license file
%define tag b33995136e433839cb5cd139214d02c7c6dd2008
Name: python-pyparallel Name: python-pyparallel
Version: 0.2.2 Version: 0.2.2
Release: 0 Release: 0
# For license file
%define tag b33995136e433839cb5cd139214d02c7c6dd2008
Summary: Python Parallel Port Extension Summary: Python Parallel Port Extension
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
Url: https://github.com/pyserial/pyparallel URL: https://github.com/pyserial/pyparallel
Source: https://files.pythonhosted.org/packages/source/p/pyparallel/pyparallel-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/pyparallel/pyparallel-%{version}.tar.gz
Source10: https://raw.githubusercontent.com/pyserial/pyparallel/%{tag}/LICENSE.txt Source10: https://raw.githubusercontent.com/pyserial/pyparallel/%{tag}/LICENSE.txt
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
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@@ -45,15 +45,16 @@ sed -i -e '/^#!\//, 1d' parallel/parallelppdev.py
cp %{SOURCE10} . cp %{SOURCE10} .
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files} %files %{python_files}
%doc README.rst %doc README.rst
%license LICENSE.txt %license LICENSE.txt
%{python_sitelib}/* %{python_sitelib}/parallel
%{python_sitelib}/pyparallel-%{version}*-info
%changelog %changelog