From d0e8c689001074c155084f0111589742b5b29a0b6c8947cef582675b6923c643 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 23 Mar 2020 18:44:08 +0000 Subject: [PATCH 1/3] - Add macro %dephell_genspec to generate setup.py OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cleo?expand=0&rev=6 --- python-cleo.changes | 5 +++++ python-cleo.spec | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/python-cleo.changes b/python-cleo.changes index 0625a34..3a6bc87 100644 --- a/python-cleo.changes +++ b/python-cleo.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Mar 23 18:13:43 UTC 2020 - Matej Cepl + +- Add macro %dephell_genspec to generate setup.py + ------------------------------------------------------------------- Tue Sep 17 11:15:12 UTC 2019 - Jan Engelhardt diff --git a/python-cleo.spec b/python-cleo.spec index 640e646..1b6c28b 100644 --- a/python-cleo.spec +++ b/python-cleo.spec @@ -1,7 +1,7 @@ # # spec file for package python-cleo # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -33,6 +33,7 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module typing} BuildRequires: fdupes +BuildRequires: python-dephell-rpm-macros BuildRequires: python-rpm-macros BuildRequires: python3-dephell Requires: python-clikit >= 0.2.4 @@ -47,7 +48,8 @@ Cleo allows creating testable command-line interfaces. %prep %setup -q -n cleo-%{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 From dcc3aba40ad651476376b10a7c79001e536fa55077fe1d6cfa08ecc58cb290bf Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 23 Mar 2020 18:49:25 +0000 Subject: [PATCH 2/3] Fix SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cleo?expand=0&rev=7 --- python-cleo.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/python-cleo.spec b/python-cleo.spec index 1b6c28b..c32176a 100644 --- a/python-cleo.spec +++ b/python-cleo.spec @@ -48,7 +48,6 @@ Cleo allows creating testable command-line interfaces. %prep %setup -q -n cleo-%{version} -%{!?dephell_gensetup:%define dephell_gensetup dephell deps convert --traceback --from pyproject.toml --to setup.py} %dephell_gensetup %build From 3cff205f766e6c5d9a96fcd21bc25ac736a0540aed965b13d0e7b8a87dc879b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 24 Mar 2020 10:25:52 +0000 Subject: [PATCH 3/3] Accepting request 787721 from home:pgajdos:python - version update to 0.7.6 * Upgraded `clikit` to fix issues in option parsing. OBS-URL: https://build.opensuse.org/request/show/787721 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cleo?expand=0&rev=8 --- 0.7.5.tar.gz | 3 --- 0.7.6.tar.gz | 3 +++ python-cleo.changes | 6 ++++++ python-cleo.spec | 6 +++--- 4 files changed, 12 insertions(+), 6 deletions(-) delete mode 100644 0.7.5.tar.gz create mode 100644 0.7.6.tar.gz diff --git a/0.7.5.tar.gz b/0.7.5.tar.gz deleted file mode 100644 index f2f4d61..0000000 --- a/0.7.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:936d262102fd04681faa12979bedc57f4dde3191f8d403d8069d4119bc835c5b -size 79084 diff --git a/0.7.6.tar.gz b/0.7.6.tar.gz new file mode 100644 index 0000000..a05979e --- /dev/null +++ b/0.7.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:844d732c3306745cd2ffb2bd79327155a303844e3f9111bd7b578d9dd79ad2f7 +size 79115 diff --git a/python-cleo.changes b/python-cleo.changes index 3a6bc87..b3c84a9 100644 --- a/python-cleo.changes +++ b/python-cleo.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 24 10:19:03 UTC 2020 - pgajdos@suse.com + +- version update to 0.7.6 + * Upgraded `clikit` to fix issues in option parsing. + ------------------------------------------------------------------- Mon Mar 23 18:13:43 UTC 2020 - Matej Cepl diff --git a/python-cleo.spec b/python-cleo.spec index c32176a..da83d95 100644 --- a/python-cleo.spec +++ b/python-cleo.spec @@ -18,14 +18,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-cleo -Version: 0.7.5 +Version: 0.7.6 Release: 0 Summary: Python module for creating testable command-line interfaces License: MIT Group: Development/Languages/Python URL: https://github.com/sdispater/cleo Source: https://github.com/sdispater/cleo/archive/%{version}.tar.gz -BuildRequires: %{python_module clikit >= 0.2.4} +BuildRequires: %{python_module clikit >= 0.4.0} BuildRequires: %{python_module pastel >= 0.1.0} BuildRequires: %{python_module pylev >= 1.3} BuildRequires: %{python_module pytest-mock} @@ -36,7 +36,7 @@ BuildRequires: fdupes BuildRequires: python-dephell-rpm-macros BuildRequires: python-rpm-macros BuildRequires: python3-dephell -Requires: python-clikit >= 0.2.4 +Requires: python-clikit >= 0.4.0 Requires: python-pastel >= 0.1.0 Requires: python-pylev >= 1.3 Requires: python-typing