Update to 0.21.2

This commit is contained in:
Mathieu Bridon 2014-08-12 13:46:10 +02:00
parent d7cd117083
commit e148289a20
4 changed files with 31 additions and 2 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
/pygit2-0.20.3.tar.gz
/pygit2-0.21.0.tar.gz
/pygit2-0.21.1.tar.gz
/pygit2-0.21.2.tar.gz

View File

@ -0,0 +1,23 @@
From 309a844793a56a7a71f075e841faa75d5b17a192 Mon Sep 17 00:00:00 2001
From: Mathieu Bridon <bochecha@fedoraproject.org>
Date: Tue, 12 Aug 2014 11:24:03 +0200
Subject: [PATCH] Fix syntax error
https://github.com/libgit2/pygit2/pull/401
---
pygit2/py2.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pygit2/py2.py b/pygit2/py2.py
index 3c57fba..a2d2359 100644
--- a/pygit2/py2.py
+++ b/pygit2/py2.py
@@ -54,4 +54,4 @@ def to_str(s):
if type(s) is unicode:
return s.encode()
- raise TypeError, 'unexpected type "%s"' % repr(s)
+ raise TypeError('unexpected type "%s"' % repr(s))
--
1.9.3

View File

@ -6,7 +6,7 @@
%endif
Name: python-%{pkgname}
Version: 0.21.1
Version: 0.21.2
Release: 1%{?dist}
Summary: Python 2.x bindings for libgit2
URL: http://www.pygit2.org
@ -20,6 +20,7 @@ BuildRequires: python-nose
BuildRequires: python-setuptools
Patch0: 0001-Remove-remote-calling-unit-tests.patch
Patch1: 0001-Fix-syntax-error.patch
%description
pygit2 is a set of Python bindings to the libgit2 library, which implements
@ -52,6 +53,7 @@ Documentation for %{name}.
%setup -qn %{pkgname}-%{version}
%patch0 -p1
%patch1 -p1
rm -rf %{py3dir}
cp -a . %{py3dir}
@ -102,6 +104,9 @@ popd
%changelog
* Tue Aug 12 2014 Mathieu Bridon <bochecha@fedoraproject.org> - 0.21.2-1
- Update to 0.21.2
* Tue Jul 29 2014 Mathieu Bridon <bochecha@fedoraproject.org> - 0.21.1-1
- Update to 0.21.1

View File

@ -1 +1 @@
b8ba74d268a3b9c7d2cfa6305f570f92 pygit2-0.21.1.tar.gz
bcb35b873e70628ad1c8f72cb137f310 pygit2-0.21.2.tar.gz