Change required version to 0.22
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
cd ~
|
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/
|
cd libgit2/
|
||||||
|
|
||||||
mkdir build && cd build
|
mkdir build && cd build
|
||||||
|
@@ -14,7 +14,7 @@ Requirements
|
|||||||
============
|
============
|
||||||
|
|
||||||
- Python 2.7, 3.2+ or pypy (including the development headers)
|
- Python 2.7, 3.2+ or pypy (including the development headers)
|
||||||
- Libgit2 v0.21.1+
|
- Libgit2 v0.22.x
|
||||||
- cffi 0.8.1+
|
- cffi 0.8.1+
|
||||||
- Libssh2, optional, used for SSH network operations.
|
- 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:
|
As illustration see this table of compatible releases:
|
||||||
|
|
||||||
+-----------+---------------------------------------+------------------------------+--------------+
|
+-----------+--------+----------------------------------------+-------------------------------+
|
||||||
|**libgit2**|0.21.1, 0.21.2 |0.20.0 |0.19.0 |
|
|**libgit2**| 0.22.0 | 0.21.1, 0.21.2 |0.20.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|
|
|**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::
|
.. warning::
|
||||||
|
|
||||||
@@ -55,9 +55,9 @@ directory, do:
|
|||||||
|
|
||||||
.. code-block:: sh
|
.. code-block:: sh
|
||||||
|
|
||||||
$ wget https://github.com/libgit2/libgit2/archive/v0.21.2.tar.gz
|
$ wget https://github.com/libgit2/libgit2/archive/v0.22.0.tar.gz
|
||||||
$ tar xzf v0.21.2.tar.gz
|
$ tar xzf v0.22.0.tar.gz
|
||||||
$ cd libgit2-0.21.2/
|
$ cd libgit2-0.22.0/
|
||||||
$ cmake .
|
$ cmake .
|
||||||
$ make
|
$ make
|
||||||
$ sudo make install
|
$ sudo make install
|
||||||
|
@@ -32,8 +32,8 @@
|
|||||||
#include <Python.h>
|
#include <Python.h>
|
||||||
#include <git2.h>
|
#include <git2.h>
|
||||||
|
|
||||||
#if !(LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR == 21)
|
#if !(LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR == 22)
|
||||||
#error You need a compatible libgit2 version (v0.21.x)
|
#error You need a compatible libgit2 version (v0.22.x)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user