From 82ec93100317af93e7764150b38b63824b42713b Mon Sep 17 00:00:00 2001 From: Yann Sionneau Date: Fri, 22 May 2015 15:23:45 +0200 Subject: [PATCH] conda: add pyqtgraph+quamash dependencies/recipes and remove gbulb and cairoplot3 --- conda/artiq/meta.yaml | 6 +++--- conda/pyqtgraph/bld.bat | 2 ++ conda/pyqtgraph/build.sh | 3 +++ conda/pyqtgraph/meta.yaml | 28 ++++++++++++++++++++++++++++ conda/quamash/bld.bat | 1 + conda/quamash/build.sh | 3 +++ conda/quamash/meta.yaml | 29 +++++++++++++++++++++++++++++ 7 files changed, 69 insertions(+), 3 deletions(-) create mode 100644 conda/pyqtgraph/bld.bat create mode 100644 conda/pyqtgraph/build.sh create mode 100644 conda/pyqtgraph/meta.yaml create mode 100644 conda/quamash/bld.bat create mode 100644 conda/quamash/build.sh create mode 100644 conda/quamash/meta.yaml diff --git a/conda/artiq/meta.yaml b/conda/artiq/meta.yaml index 8c6530eb8..8322af1af 100644 --- a/conda/artiq/meta.yaml +++ b/conda/artiq/meta.yaml @@ -21,7 +21,7 @@ build: - pdq2_controller = artiq.frontend.pdq2_controller:main - pxi6733_controller = artiq.frontend.pxi6733_controller:main - thorlabs_tcube_controller = artiq.frontend.thorlabs_tcube_controller:main - - artiq_gui = artiq.frontend.artiq_gui:main # [not win] + - artiq_gui = artiq.frontend.artiq_gui:main requirements: build: @@ -43,8 +43,8 @@ requirements: - dateutil - pydaqmx - pyelftools - - gbulb-artiq # [not win] - - cairoplot3-artiq # [not win] + - quamash + - pyqtgraph test: imports: diff --git a/conda/pyqtgraph/bld.bat b/conda/pyqtgraph/bld.bat new file mode 100644 index 000000000..c40a9bbef --- /dev/null +++ b/conda/pyqtgraph/bld.bat @@ -0,0 +1,2 @@ +"%PYTHON%" setup.py install +if errorlevel 1 exit 1 diff --git a/conda/pyqtgraph/build.sh b/conda/pyqtgraph/build.sh new file mode 100644 index 000000000..8e25a1455 --- /dev/null +++ b/conda/pyqtgraph/build.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +$PYTHON setup.py install diff --git a/conda/pyqtgraph/meta.yaml b/conda/pyqtgraph/meta.yaml new file mode 100644 index 000000000..4f9939dfe --- /dev/null +++ b/conda/pyqtgraph/meta.yaml @@ -0,0 +1,28 @@ +package: + name: pyqtgraph + version: "0.9.10" + +source: + fn: pyqtgraph-0.9.10.tar.gz + url: https://pypi.python.org/packages/source/p/pyqtgraph/pyqtgraph-0.9.10.tar.gz + md5: bd84bf7537c43cf38db81cc1ad4f743a + +requirements: + build: + - python + - setuptools + - numpy + + run: + - python + - numpy + - pyqt >=4.7 + +test: + imports: + - pyqtgraph + +about: + home: http://www.pyqtgraph.org + license: MIT License + summary: 'Scientific Graphics and GUI Library for Python' diff --git a/conda/quamash/bld.bat b/conda/quamash/bld.bat new file mode 100644 index 000000000..39b5e1fee --- /dev/null +++ b/conda/quamash/bld.bat @@ -0,0 +1 @@ +%PYTHON% setup.py install diff --git a/conda/quamash/build.sh b/conda/quamash/build.sh new file mode 100644 index 000000000..8e25a1455 --- /dev/null +++ b/conda/quamash/build.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +$PYTHON setup.py install diff --git a/conda/quamash/meta.yaml b/conda/quamash/meta.yaml new file mode 100644 index 000000000..724e9b674 --- /dev/null +++ b/conda/quamash/meta.yaml @@ -0,0 +1,29 @@ +package: + name: quamash + version: 0.5.1 + +source: + fn: Quamash-0.5.1.tar.gz + url: https://pypi.python.org/packages/source/Q/Quamash/Quamash-0.5.1.tar.gz#md5=c5fa317f615eafd492560771bc2caeca + md5: c5fa317f615eafd492560771bc2caeca + +build: + number: 0 + +requirements: + build: + - python + - setuptools + - pyqt 4.* + run: + - python + - pyqt 4.* + +test: + imports: + - quamash + +about: + home: https://github.com/harvimt/quamash + license: BSD + summary: 'Implementation of the PEP 3156 Event-Loop with Qt'