Skip to content

Commit b70b225

Browse files
committedAug 11, 2015
conda: add pygit2+libgit2 recipes + pygit2 dependency in artiq pkg
1 parent 80e8928 commit b70b225

File tree

5 files changed

+58
-0
lines changed

5 files changed

+58
-0
lines changed
 

Diff for: ‎conda/artiq/meta.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ requirements:
4848
- quamash
4949
- pyqtgraph
5050
- flterm # [linux]
51+
- pygit2
5152

5253
test:
5354
imports:

Diff for: ‎conda/libgit2/build.sh

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
mkdir build
4+
cd build
5+
cmake .. -DCMAKE_INSTALL_PREFIX=$PREFIX
6+
make -j2
7+
make install

Diff for: ‎conda/libgit2/meta.yaml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
package:
2+
name: libgit2
3+
version: 0.22.3
4+
5+
source:
6+
git_url: https://github.com/libgit2/libgit2
7+
git_tag: v0.22.3
8+
9+
build:
10+
number: 0
11+
12+
requirements:
13+
build:
14+
- system # [linux]
15+
- cmake # [linux]
16+
17+
about:
18+
home: https://libgit2.github.com/
19+
license: GPLv2 with a special Linking Exception
20+
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.'

Diff for: ‎conda/pygit2/build.sh

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export LIBGIT2=$PREFIX
2+
$PYTHON setup.py install

Diff for: ‎conda/pygit2/meta.yaml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
package:
2+
name: pygit2
3+
version: 0.22.1
4+
5+
source:
6+
git_url: https://github.com/libgit2/pygit2
7+
git_tag: v0.22.1
8+
9+
build:
10+
number: 0
11+
12+
requirements:
13+
build:
14+
- system # [linux]
15+
- python
16+
- libgit2
17+
- cffi >=0.8.1
18+
- pkgconfig # [linux]
19+
run:
20+
- system # [linux]
21+
- python
22+
- libgit2
23+
- cffi >=0.8.1
24+
25+
about:
26+
home: http://www.pygit2.org/
27+
license: GPLv2 with a special Linking Exception
28+
summary: 'Pygit2 is a set of Python bindings to the libgit2 shared library, libgit2 implements the core of Git.'

0 commit comments

Comments
 (0)
Please sign in to comment.