Skip to content

Commit

Permalink
conda: add pygit2+libgit2 recipes + pygit2 dependency in artiq pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
fallen committed Aug 11, 2015
1 parent 80e8928 commit b70b225
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 0 deletions.
1 change: 1 addition & 0 deletions conda/artiq/meta.yaml
Expand Up @@ -48,6 +48,7 @@ requirements:
- quamash
- pyqtgraph
- flterm # [linux]
- pygit2

test:
imports:
Expand Down
7 changes: 7 additions & 0 deletions conda/libgit2/build.sh
@@ -0,0 +1,7 @@
#!/bin/bash

mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=$PREFIX
make -j2
make install
20 changes: 20 additions & 0 deletions conda/libgit2/meta.yaml
@@ -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 changes: 2 additions & 0 deletions conda/pygit2/build.sh
@@ -0,0 +1,2 @@
export LIBGIT2=$PREFIX
$PYTHON setup.py install
28 changes: 28 additions & 0 deletions conda/pygit2/meta.yaml
@@ -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.'

0 comments on commit b70b225

Please sign in to comment.