add conda build scripts
authorSebastien Bourdeauducq <sb@m-labs.hk>
Sun, 1 Nov 2015 16:03:10 +0000 (00:03 +0800)
committerSebastien Bourdeauducq <sb@m-labs.hk>
Sun, 1 Nov 2015 16:03:10 +0000 (00:03 +0800)
conda/misoc/bld.bat [new file with mode: 0644]
conda/misoc/meta.yaml [new file with mode: 0644]

diff --git a/conda/misoc/bld.bat b/conda/misoc/bld.bat
new file mode 100644 (file)
index 0000000..39b5e1f
--- /dev/null
@@ -0,0 +1 @@
+%PYTHON% setup.py install
diff --git a/conda/misoc/meta.yaml b/conda/misoc/meta.yaml
new file mode 100644 (file)
index 0000000..74eff02
--- /dev/null
@@ -0,0 +1,25 @@
+package:
+  name: misoc
+  version: {{ environ.get("GIT_DESCRIBE_TAG", "") }}.{{ environ.get("GIT_DESCRIBE_HASH") }}
+
+source:
+  git_url: https://github.com/m-labs/misoc
+  git_tag: new
+
+build:
+  noarch_python: true
+  string: py_{{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}
+  script: $PYTHON setup.py install
+
+requirements:
+  build:
+    - migen
+    - python
+  run:
+    - migen
+    - python
+
+about:
+  home: http://m-labs.hk/gateware.html
+  license: 3-clause BSD
+  summary: 'A high performance and small footprint SoC based on Migen'