forked from pool/python-Trololio
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 3f6f9c5269 | |||
| 306ec0fa75 |
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 12 15:03:24 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 7 16:01:22 UTC 2019 - Matej Cepl <mcepl@suse.com>
|
Thu Nov 7 16:01:22 UTC 2019 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-Trololio
|
# spec file for package python-Trololio
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2025 SUSE LLC
|
||||||
# Copyright (c) 2018 Neal Gompa <ngompa13@gmail.com>.
|
# Copyright (c) 2018 Neal Gompa <ngompa13@gmail.com>.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@@ -17,7 +17,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
Name: python-Trololio
|
Name: python-Trololio
|
||||||
Version: 1.0
|
Version: 1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -27,7 +26,9 @@ URL: https://github.com/ThinkChaos/Trololio
|
|||||||
Source: https://files.pythonhosted.org/packages/source/T/Trololio/Trololio-%{version}.zip
|
Source: https://files.pythonhosted.org/packages/source/T/Trololio/Trololio-%{version}.zip
|
||||||
# License file from source repository
|
# License file from source repository
|
||||||
Source1: https://raw.githubusercontent.com/ThinkChaos/Trololio/master/LICENSE
|
Source1: https://raw.githubusercontent.com/ThinkChaos/Trololio/master/LICENSE
|
||||||
|
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
|
||||||
@@ -52,14 +53,16 @@ It addresses the differences listed in Trollius and Tulip:
|
|||||||
cp %{SOURCE1} LICENSE
|
cp %{SOURCE1} LICENSE
|
||||||
|
|
||||||
%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}
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/trololio.py
|
||||||
|
%{python_sitelib}/[Tt]rololio-%{version}*-info
|
||||||
|
%pycache_only %{python_sitelib}/__pycache__/trololio*
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user