conda: add pygit2+libgit2 recipes + pygit2 dependency in artiq pkg

This commit is contained in:
Yann Sionneau 2015-08-11 12:55:41 +02:00
parent 80e8928c70
commit b70b2252d5
5 changed files with 58 additions and 0 deletions

View File

@ -48,6 +48,7 @@ requirements:
- quamash
- pyqtgraph
- flterm # [linux]
- pygit2
test:
imports:

7
conda/libgit2/build.sh Normal file
View File

@ -0,0 +1,7 @@
#!/bin/bash
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=$PREFIX
make -j2
make install

20
conda/libgit2/meta.yaml Normal file
View File

@ -0,0 +1,20 @@
package:
name: libgit2
version: 0.22.3
source:
git_url: https://github.com/libgit2/libgit2
git_tag: v0.22.3
build:
number: 0
requirements:
build:
- system # [linux]
- cmake # [linux]
about:
home: https://libgit2.github.com/
license: GPLv2 with a special Linking Exception
summary: 'libgit2 is a portable, pure C implementation of the Git core methods provided as a re-entrant linkable library with a solid API, allowing you to write native speed custom Git applications in any language with bindings.'

2
conda/pygit2/build.sh Normal file
View File

@ -0,0 +1,2 @@
export LIBGIT2=$PREFIX
$PYTHON setup.py install

28
conda/pygit2/meta.yaml Normal file
View File

@ -0,0 +1,28 @@
package:
name: pygit2
version: 0.22.1
source:
git_url: https://github.com/libgit2/pygit2
git_tag: v0.22.1
build:
number: 0
requirements:
build:
- system # [linux]
- python
- libgit2
- cffi >=0.8.1
- pkgconfig # [linux]
run:
- system # [linux]
- python
- libgit2
- cffi >=0.8.1
about:
home: http://www.pygit2.org/
license: GPLv2 with a special Linking Exception
summary: 'Pygit2 is a set of Python bindings to the libgit2 shared library, libgit2 implements the core of Git.'