diff --git a/conda/artiq/meta.yaml b/conda/artiq/meta.yaml index 67991b4b9..3de0d7250 100644 --- a/conda/artiq/meta.yaml +++ b/conda/artiq/meta.yaml @@ -48,6 +48,7 @@ requirements: - quamash - pyqtgraph - flterm # [linux] + - pygit2 test: imports: diff --git a/conda/libgit2/build.sh b/conda/libgit2/build.sh new file mode 100644 index 000000000..210fa20ae --- /dev/null +++ b/conda/libgit2/build.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +mkdir build +cd build +cmake .. -DCMAKE_INSTALL_PREFIX=$PREFIX +make -j2 +make install diff --git a/conda/libgit2/meta.yaml b/conda/libgit2/meta.yaml new file mode 100644 index 000000000..cfad84964 --- /dev/null +++ b/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.' diff --git a/conda/pygit2/build.sh b/conda/pygit2/build.sh new file mode 100644 index 000000000..833768d01 --- /dev/null +++ b/conda/pygit2/build.sh @@ -0,0 +1,2 @@ +export LIBGIT2=$PREFIX +$PYTHON setup.py install diff --git a/conda/pygit2/meta.yaml b/conda/pygit2/meta.yaml new file mode 100644 index 000000000..273c6f444 --- /dev/null +++ b/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.'