From 78695aa93a0207fbb1a9bc848824a436a66a1619 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Wed, 7 Jan 2015 12:54:36 +0000 Subject: [PATCH] Change required version to 0.22 --- .travis.sh | 2 +- docs/install.rst | 18 +++++++++--------- src/types.h | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.travis.sh b/.travis.sh index 317d318..54bfd01 100755 --- a/.travis.sh +++ b/.travis.sh @@ -2,7 +2,7 @@ cd ~ -git clone --depth=1 -b v0.21.2 https://github.com/libgit2/libgit2.git +git clone --depth=1 -b maint/v0.22 https://github.com/libgit2/libgit2.git cd libgit2/ mkdir build && cd build diff --git a/docs/install.rst b/docs/install.rst index 621b103..bd13172 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -14,7 +14,7 @@ Requirements ============ - Python 2.7, 3.2+ or pypy (including the development headers) -- Libgit2 v0.21.1+ +- Libgit2 v0.22.x - cffi 0.8.1+ - Libssh2, optional, used for SSH network operations. @@ -34,11 +34,11 @@ while the last number |lq| *.micro* |rq| auto-increments independently. As illustration see this table of compatible releases: -+-----------+---------------------------------------+------------------------------+--------------+ -|**libgit2**|0.21.1, 0.21.2 |0.20.0 |0.19.0 | -+-----------+---------------------------------------+------------------------------+--------------+ -|**pygit2** |0.21.0, 0.21.1, 0.21.2, 0.21.3, 0.21.4 |0.20.0, 0.20.1, 0.20.2, 0.20.3|0.19.0, 0.19.1| -+-----------+---------------------------------------+------------------------------+--------------+ ++-----------+--------+----------------------------------------+-------------------------------+ +|**libgit2**| 0.22.0 | 0.21.1, 0.21.2 |0.20.0 | ++-----------+--------+----------------------------------------+-------------------------------+ +|**pygit2** | 0.22.0 | 0.21.0, 0.21.1, 0.21.2, 0.21.3, 0.21.4 | 0.20.0, 0.20.1, 0.20.2, 0.20.3| ++-----------+--------+----------------------------------------+-------------------------------+ .. warning:: @@ -55,9 +55,9 @@ directory, do: .. code-block:: sh - $ wget https://github.com/libgit2/libgit2/archive/v0.21.2.tar.gz - $ tar xzf v0.21.2.tar.gz - $ cd libgit2-0.21.2/ + $ wget https://github.com/libgit2/libgit2/archive/v0.22.0.tar.gz + $ tar xzf v0.22.0.tar.gz + $ cd libgit2-0.22.0/ $ cmake . $ make $ sudo make install diff --git a/src/types.h b/src/types.h index 3b797b6..e4f9e31 100644 --- a/src/types.h +++ b/src/types.h @@ -32,8 +32,8 @@ #include #include -#if !(LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR == 21) -#error You need a compatible libgit2 version (v0.21.x) +#if !(LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR == 22) +#error You need a compatible libgit2 version (v0.22.x) #endif /*