- Add macro %dephell_genspec to generate setup.py
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flit-core?expand=0&rev=8
This commit is contained in:
parent
6fef4eba08
commit
4eca1ee7b8
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 23 18:13:44 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Add macro %dephell_genspec to generate setup.py
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 15 10:01:34 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
@ -29,6 +29,7 @@ BuildRequires: %{python_module pytoml}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module testpath}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-dephell-rpm-macros
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python3-dephell
|
||||
Requires: python-pytoml
|
||||
@ -40,7 +41,8 @@ Flit is a simple way to put Python packages and modules on PyPI.
|
||||
|
||||
%prep
|
||||
%setup -q -n flit_core-%{version}
|
||||
dephell deps convert --from pyproject.toml --to setup.py
|
||||
%{!?dephell_gensetup:%define dephell_gensetup dephell deps convert --traceback --from pyproject.toml --to setup.py}
|
||||
%dephell_gensetup
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
Loading…
Reference in New Issue
Block a user