[packages/python-pytest-mock] - disable python3 here

qboosh qboosh at pld-linux.org
Wed Feb 17 07:15:32 CET 2021


commit 44f2056d2cc57d47940e8efd797c5f67cb3a16d6
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Feb 17 07:15:52 2021 +0100

    - disable python3 here

 python-pytest-mock.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/python-pytest-mock.spec b/python-pytest-mock.spec
index 508b533..319745c 100644
--- a/python-pytest-mock.spec
+++ b/python-pytest-mock.spec
@@ -1,8 +1,9 @@
+# NOTE: for versions >= 3 see python3-pytest-mock.spec
 #
 # Conditional build:
 %bcond_without	tests	# py.test tests
 %bcond_without	python2 # CPython 2.x module
-%bcond_without	python3 # CPython 3.x module
+%bcond_with	python3 # CPython 3.x module (built from python3-pytest-mock.spec)
 
 Summary:	Thin-wrapper around the mock package for easier use with py.test
 Summary(pl.UTF-8):	Cienka warstwa obudowująca pakiet mock, ułatwiająca używanie wraz z py.test
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pytest-mock.git/commitdiff/44f2056d2cc57d47940e8efd797c5f67cb3a16d6



More information about the pld-cvs-commit mailing list