17
0

2 Commits

2 changed files with 11 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 3 11:19:59 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 21 12:29:17 UTC 2023 - Dirk Müller <dmueller@suse.com> Fri Apr 21 12:29:17 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pickleshare # spec file for package python-pickleshare
# #
# Copyright (c) 2023 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
@@ -24,8 +24,10 @@ Summary: Tiny shelve-like database with concurrency support
License: MIT License: MIT
URL: https://github.com/vivainio/pickleshare URL: https://github.com/vivainio/pickleshare
Source: https://files.pythonhosted.org/packages/source/p/pickleshare/pickleshare-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/pickleshare/pickleshare-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
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
@@ -53,10 +55,10 @@ Installation guide: pip install path pickleshare
sed -i '1{\@^#!%{_bindir}/env python@d}' pickleshare.py sed -i '1{\@^#!%{_bindir}/env python@d}' pickleshare.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
@@ -67,7 +69,7 @@ export LANG=en_US.UTF-8
%doc README.md %doc README.md
%license LICENSE %license LICENSE
%{python_sitelib}/pickleshare.py* %{python_sitelib}/pickleshare.py*
%{python_sitelib}/pickleshare-%{version}-py*.egg-info %{python_sitelib}/pickleshare-%{version}*-info
%pycache_only %{python_sitelib}/__pycache__/pickleshare.*.py* %pycache_only %{python_sitelib}/__pycache__/pickleshare.*.py*
%changelog %changelog