From 04359c6558770a041460b6b8f58f539557f54521b5a0362d4fe890080e5c8f56 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 27 Oct 2020 11:28:47 +0000 Subject: [PATCH] Accepting request 844167 from home:bnavigator:branches:devel:languages:python - Kill dephell dependency OBS-URL: https://build.opensuse.org/request/show/844167 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-crashtest?expand=0&rev=5 --- python-crashtest.changes | 5 +++++ python-crashtest.spec | 14 +++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/python-crashtest.changes b/python-crashtest.changes index 3047d08..22566f6 100644 --- a/python-crashtest.changes +++ b/python-crashtest.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 26 21:50:13 UTC 2020 - Benjamin Greiner + +- Kill dephell dependency + ------------------------------------------------------------------- Thu Sep 17 06:49:16 UTC 2020 - Dirk Mueller diff --git a/python-crashtest.spec b/python-crashtest.spec index 77f74ac..ca18200 100644 --- a/python-crashtest.spec +++ b/python-crashtest.spec @@ -26,26 +26,25 @@ License: MIT Group: Development/Languages/Python URL: https://pypi.org/project/crashtest Source: https://github.com/sdispater/crashtest/archive/%{version}.tar.gz#/crashtest-%{version}.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module poetry-core} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools} BuildRequires: fdupes -BuildRequires: python-dephell-rpm-macros BuildRequires: python-rpm-macros BuildArch: noarch %python_subpackages %description -Manage Python errors with ease. +A Python library that makes exceptions handling and inspection easier %prep %setup -q -n crashtest-%{version} -%dephell_gensetup %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -54,6 +53,7 @@ Manage Python errors with ease. %files %{python_files} %doc README.md %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/crashtest +%{python_sitelib}/crashtest-%{version}*-info %changelog