15
0
forked from pool/python-clikit

- Add macro %dephell_genspec to generate setup.py

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-clikit?expand=0&rev=11
This commit is contained in:
2020-03-23 18:46:07 +00:00
committed by Git OBS Bridge
parent ccd2b1122a
commit 8606811520
2 changed files with 8 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 23 18:13:43 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Add macro %dephell_genspec to generate setup.py
-------------------------------------------------------------------
Sun Mar 15 10:12:32 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -32,6 +32,7 @@ BuildRequires: %{python_module pytest-mock >= 2.0.0}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module typing >= 3.6}
BuildRequires: fdupes
BuildRequires: python-dephell-rpm-macros
BuildRequires: python-rpm-macros
BuildRequires: python3-dephell
Requires: python-pastel >= 0.2.0
@@ -52,7 +53,8 @@ command line interfaces.
%prep
%setup -q -n clikit-%{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