From 934613f8b7ac7c4878b5ff224f003b80049fc277335c429da9e1c907db4e6d08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 10 Aug 2020 11:50:40 +0000 Subject: [PATCH] - Do not pull in pytest-runner as it is deprecated OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sat-search?expand=0&rev=2 --- python-sat-search.changes | 5 +++++ python-sat-search.spec | 9 ++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/python-sat-search.changes b/python-sat-search.changes index 69f58a0..4bd116a 100644 --- a/python-sat-search.changes +++ b/python-sat-search.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 10 11:48:05 UTC 2020 - Tomáš Chvátal + +- Do not pull in pytest-runner as it is deprecated + ------------------------------------------------------------------- Sat Aug 1 16:24:24 UTC 2020 - andy great diff --git a/python-sat-search.spec b/python-sat-search.spec index 02e7398..8ed1667 100644 --- a/python-sat-search.spec +++ b/python-sat-search.spec @@ -24,11 +24,9 @@ Version: 0.2.3 Release: 0 Summary: A tool for discovering and downloading publicly available satellite imagery License: MIT -Group: Development/Languages/Python URL: https://github.com/sat-utils/sat-search Source: https://files.pythonhosted.org/packages/26/s/sat-search/sat-search-%{version}.tar.gz BuildRequires: %{python_module pytest >= 2.8.2} -BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module sat-stac} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -46,6 +44,7 @@ API such as sat-api. %prep %setup -q -n %{packagename}-%{version} +sed -i -e '/pytest-runner/d' setup.py %build %python_build @@ -55,7 +54,7 @@ API such as sat-api. for p in %{packagename} ; do %python_clone -a %{buildroot}%{_bindir}/$p done - +%python_expand rm -r %{buildroot}%{$python_sitelib}/test %python_expand %fdupes %{buildroot}%{$python_sitelib} %prepare_alternative %{packagename} @@ -66,7 +65,8 @@ done %python_uninstall_alternative %{packagename} %check -# Require network connection. +# polls server for data for searching +#%%pytest %files %{python_files} %doc README.md @@ -74,6 +74,5 @@ done %python_alternative %{_bindir}/%{packagename} %{python_sitelib}/satsearch %{python_sitelib}/*egg-info -%exclude %{python_sitelib}/test %changelog