[packages/python-pygit2] - updated to 0.20.3 - disable tests which require remote repository access

qboosh qboosh at pld-linux.org
Thu Apr 3 19:24:57 CEST 2014


commit be2c376415a3ca43ec8baa395a5c7f7d33fc8a6c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Apr 3 19:26:14 2014 +0200

    - updated to 0.20.3
    - disable tests which require remote repository access

 python-pygit2.spec | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/python-pygit2.spec b/python-pygit2.spec
index 7126626..9d38fe8 100644
--- a/python-pygit2.spec
+++ b/python-pygit2.spec
@@ -8,12 +8,12 @@
 Summary:	Python 2.x bindings for libgit2 library
 Summary(pl.UTF-8):	Wiązania Pythona 2.x do biblioteki libgit2
 Name:		python-%{module}
-Version:	0.20.2
+Version:	0.20.3
 Release:	1
 License:	GPL v2 with linking exception
 Group:		Libraries/Python
-Source0:	http://pypi.python.org/packages/source/p/pygit2/%{module}-%{version}.tar.gz
-# Source0-md5:	ddfe43076a45418a1122ca668b7b0247
+Source0:	https://pypi.python.org/packages/source/p/pygit2/%{module}-%{version}.tar.gz
+# Source0-md5:	1efcc58383fd2e558a8d3cba4dcc4754
 Patch0:		%{name}-docbuild.patch
 URL:		https://pypi.python.org/pypi/pygit2
 BuildRequires:	libgit2-devel >= 0.20.0
@@ -63,6 +63,9 @@ Dokumentacja API %{module}.
 %setup -q -n %{module}-%{version}
 %patch0 -p0
 
+# these tests use network
+%{__rm} test/test_{credentials,repository}.py
+
 %build
 %{__python} setup.py build --build-base build-2
 %if %{with python3}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pygit2.git/commitdiff/be2c376415a3ca43ec8baa395a5c7f7d33fc8a6c



More information about the pld-cvs-commit mailing list