Accepting request 787818 from devel:languages:python

- Add macro %dephell_genspec to generate setup.py

OBS-URL: https://build.opensuse.org/request/show/787818
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flit-core?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2020-03-26 22:32:03 +00:00 committed by Git OBS Bridge
commit 0746e012a1
2 changed files with 7 additions and 1 deletions

View File

@ -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>

View File

@ -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,7 @@ 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
%build
%python_build