[packages/python-pytest] require package containing pdb

glen glen at pld-linux.org
Mon Apr 30 17:46:00 CEST 2018


commit 2084a849d692e65dd1eed1a7d7eb816ab3996786
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Mon Apr 30 16:17:47 2018 +0300

    require package containing pdb
    
      File "/usr/share/python3.6/site-packages/_pytest/debugging.py", line 3, in <module>
        import pdb
    ModuleNotFoundError: No module named 'pdb'

 python-pytest.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/python-pytest.spec b/python-pytest.spec
index 0ee16ba..1eed023 100644
--- a/python-pytest.spec
+++ b/python-pytest.spec
@@ -10,7 +10,7 @@ Summary:	Simple and popular testing tool for Python
 Summary(pl.UTF-8):	Proste i popularne narzędzie testujące dla Pythona
 Name:		python-%{module}
 Version:	3.0.7
-Release:	1
+Release:	2
 License:	MIT
 Group:		Development/Languages/Python
 #Source0Download: https://pypi.python.org/simple/pytest
@@ -35,6 +35,7 @@ BuildRequires:	sed >= 4.0
 %if %{with doc}
 BuildRequires:	sphinx-pdg >= 1.0
 %endif
+Requires:	python-modules
 Requires:	python-setuptools
 Obsoletes:	python-pytest-cache
 BuildArch:	noarch
@@ -50,6 +51,7 @@ py.test to proste i popularne narzędzie testujące dla Pythona.
 Summary:	Simple powerful testing with Python
 Summary(pl.UTF-8):	Proste, ale funkcjonalne narzędzie testujące dla Pythona
 Group:		Development/Languages
+Requires:	python3-devel-tools
 Requires:	python3-setuptools
 Obsoletes:	python3-pytest-cache
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pytest.git/commitdiff/2084a849d692e65dd1eed1a7d7eb816ab3996786



More information about the pld-cvs-commit mailing list