[packages/python-send2trash] test deps

glen glen at pld-linux.org
Sun Apr 10 10:07:06 CEST 2016


commit 76a1497fa31ec430b7ffec4f420e60433ffec160
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Apr 10 11:07:01 2016 +0300

    test deps

 python-send2trash.spec | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/python-send2trash.spec b/python-send2trash.spec
index 6510a90..039a910 100644
--- a/python-send2trash.spec
+++ b/python-send2trash.spec
@@ -1,6 +1,3 @@
-# TODO:
-# - check py3 binding:
-# AttributeError: /usr/bin/python3: undefined symbol: GetMacOSStatusCommentString
 #
 # Conditional build:
 %bcond_without	doc	# don't build doc
@@ -12,7 +9,7 @@
 Summary:	Send file to trash natively under Mac OS X, Windows and Linux
 Name:		python-%{module}
 Version:	1.3.0
-Release:	0.1
+Release:	1
 License:	BSD
 Group:		Libraries/Python
 Source0:	https://pypi.python.org/packages/source/S/Send2Trash/Send2Trash-%{version}.tar.gz
@@ -22,9 +19,15 @@ BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
 %if %{with python2}
 BuildRequires:	python-setuptools
+%if %{with tests}
+BuildRequires:	python-pygobject3
+%endif
 %endif
 %if %{with python3}
 BuildRequires:	python3-setuptools
+%if %{with tests}
+BuildRequires:	python3-pygobject3
+%endif
 %endif
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-send2trash.git/commitdiff/76a1497fa31ec430b7ffec4f420e60433ffec160



More information about the pld-cvs-commit mailing list