From 203065183da6644e26ed048265086906a2b3ef2dbe2720955bbab0c3b0083d72 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 27 Oct 2020 11:27:03 +0000 Subject: [PATCH] Accepting request 844179 from home:bnavigator:branches:devel:languages:python - Kill dephell dependency OBS-URL: https://build.opensuse.org/request/show/844179 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich?expand=0&rev=18 --- python-rich.changes | 5 +++++ python-rich.spec | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/python-rich.changes b/python-rich.changes index 1f7ff1f..f5c8727 100644 --- a/python-rich.changes +++ b/python-rich.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Oct 27 00:12:00 UTC 2020 - Benjamin Greiner + +- Kill dephell dependency + ------------------------------------------------------------------- Sun Oct 25 15:36:02 UTC 2020 - Martin Hauke diff --git a/python-rich.spec b/python-rich.spec index 167ced3..bba89fe 100644 --- a/python-rich.spec +++ b/python-rich.spec @@ -27,8 +27,8 @@ License: MIT Group: Development/Languages/Python URL: https://github.com/willmcgugan/rich Source: https://github.com/willmcgugan/rich/archive/v%{version}.tar.gz#/rich-%{version}.tar.gz -BuildRequires: %{python_module setuptools} -BuildRequires: python-dephell-rpm-macros +BuildRequires: %{python_module pip} +BuildRequires: %{python_module poetry-core} BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module colorama >= 0.4.0} @@ -56,11 +56,10 @@ markdown and more to the terminal. %setup -q -n rich-%{version} %build -%dephell_gensetup -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -69,6 +68,7 @@ markdown and more to the terminal. %files %{python_files} %license LICENSE %doc CHANGELOG.md README.md -%{python_sitelib}/* +%{python_sitelib}/rich +%{python_sitelib}/rich-%{version}*-info %changelog