forked from pool/python-srcinfo
rollback to setuptools, poetry didn't generate the binary
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-srcinfo?expand=0&rev=13
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jun 13 10:13:37 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
Fri Jun 13 10:13:37 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
- Convert to pip-based build and libalternatives
|
- Convert to libalternatives
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 8 16:06:46 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Fri Dec 8 16:06:46 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
@@ -26,7 +26,7 @@ Group: Development/Languages/Python
|
|||||||
URL: https://github.com/kyrias/python-srcinfo
|
URL: https://github.com/kyrias/python-srcinfo
|
||||||
Source: https://files.pythonhosted.org/packages/source/s/srcinfo/srcinfo-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/s/srcinfo/srcinfo-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module poetry-core}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: alts
|
BuildRequires: alts
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@@ -48,10 +48,10 @@ Python library to parse Arch .SRCINFO files.
|
|||||||
mv test/__init__.py test_srcinfo.py
|
mv test/__init__.py test_srcinfo.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%python_install
|
||||||
%python_clone -a %{buildroot}%{_bindir}/parse_srcinfo
|
%python_clone -a %{buildroot}%{_bindir}/parse_srcinfo
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user