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:
@@ -26,7 +26,7 @@ Group: Development/Languages/Python
|
||||
URL: https://github.com/kyrias/python-srcinfo
|
||||
Source: https://files.pythonhosted.org/packages/source/s/srcinfo/srcinfo-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module poetry-core}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: alts
|
||||
BuildRequires: fdupes
|
||||
@@ -48,10 +48,10 @@ Python library to parse Arch .SRCINFO files.
|
||||
mv test/__init__.py test_srcinfo.py
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/parse_srcinfo
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
|
Reference in New Issue
Block a user