SHA256
1
0
forked from pool/python-pyosf

Compare commits

2 Commits

2 changed files with 12 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 10 09:14:23 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 15 08:50:55 UTC 2022 - Dirk Müller <dmueller@suse.com> Tue Mar 15 08:50:55 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pyosf # spec file for package python-pyosf
# #
# Copyright (c) 2022 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,7 +16,6 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pyosf Name: python-pyosf
Version: 1.0.5 Version: 1.0.5
Release: 0 Release: 0
@@ -27,7 +26,9 @@ URL: https://github.com/psychopy/pyosf
Source: https://files.pythonhosted.org/packages/source/p/pyosf/pyosf-%{version}.zip Source: https://files.pythonhosted.org/packages/source/p/pyosf/pyosf-%{version}.zip
Source10: https://raw.githubusercontent.com/psychopy/pyosf/v%{version}/README.md Source10: https://raw.githubusercontent.com/psychopy/pyosf/v%{version}/README.md
Source11: https://raw.githubusercontent.com/psychopy/pyosf/v%{version}/The%20MIT%20License%20%28MIT%29.md Source11: https://raw.githubusercontent.com/psychopy/pyosf/v%{version}/The%20MIT%20License%20%28MIT%29.md
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
BuildRequires: unzip BuildRequires: unzip
@@ -64,10 +65,10 @@ cp "%{SOURCE11}" LICENSE.md
sed -Ei 's:.pytest-runner.,?::' setup.py sed -Ei 's:.pytest-runner.,?::' setup.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
@@ -76,6 +77,7 @@ sed -Ei 's:.pytest-runner.,?::' setup.py
%files %{python_files} %files %{python_files}
%doc README.md %doc README.md
%license LICENSE.md %license LICENSE.md
%{python_sitelib}/* %{python_sitelib}/pyosf
%{python_sitelib}/pyosf-%{version}*-info
%changelog %changelog