summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan D'Avella <ddavella@stsci.edu>2018-03-07 00:57:54 -0500
committerJoseph Hunkeler <jhunkeler@users.noreply.github.com>2018-03-07 00:57:54 -0500
commit92677c089d1a5b0ae5b44feb8f5c19a96d27980c (patch)
tree8a1d2f5239be1b15647505d8947278823439d62c
parent20bdd76a3cbcef18c0f947a67a3760d07cfc8b6a (diff)
downloadastroconda-dev-92677c089d1a5b0ae5b44feb8f5c19a96d27980c.tar.gz
Build glue-core from latest source (#114)
* Fix glue-core recipe to build from latest source * Fix glue-core dependency in cubeviz * Add recipe for mpl-scatter-density (dependency of glue-core) * Add recipe for fast-histogram (dependency of mpl-scatter-density) * AstroCondaify fast-histogram * AstroCondaify mpl-scatter-density * AstroCondaify glue-core * glue-core: add mpl-scatter-density
-rw-r--r--cubeviz/meta.yaml2
-rw-r--r--fast-histogram/LICENSE13
-rw-r--r--fast-histogram/bld.bat1
-rw-r--r--fast-histogram/build.sh5
-rw-r--r--fast-histogram/meta.yaml43
-rw-r--r--glue-core/meta.yaml12
-rw-r--r--mpl-scatter-density/LICENSE13
-rw-r--r--mpl-scatter-density/bld.bat1
-rw-r--r--mpl-scatter-density/build.sh1
-rw-r--r--mpl-scatter-density/meta.yaml47
10 files changed, 133 insertions, 5 deletions
diff --git a/cubeviz/meta.yaml b/cubeviz/meta.yaml
index 894fc5a..4a06aed 100644
--- a/cubeviz/meta.yaml
+++ b/cubeviz/meta.yaml
@@ -22,7 +22,7 @@ requirements:
- asdf
- asteval
- astropy
- - glue-core >=0.12
+ - glue-core
- specviz
- spectral-cube
- pytest >=3.1*
diff --git a/fast-histogram/LICENSE b/fast-histogram/LICENSE
new file mode 100644
index 0000000..7f5c363
--- /dev/null
+++ b/fast-histogram/LICENSE
@@ -0,0 +1,13 @@
+BSD 3-clause license
+Copyright (c) 2015-2017, conda-forge
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+
+3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/fast-histogram/bld.bat b/fast-histogram/bld.bat
new file mode 100644
index 0000000..39b5e1f
--- /dev/null
+++ b/fast-histogram/bld.bat
@@ -0,0 +1 @@
+%PYTHON% setup.py install
diff --git a/fast-histogram/build.sh b/fast-histogram/build.sh
new file mode 100644
index 0000000..0e3a902
--- /dev/null
+++ b/fast-histogram/build.sh
@@ -0,0 +1,5 @@
+# conda-build does not guarantee LANG will be defined.
+# This avoids a UnicodeDecodeError while ingesting README.rst during setup
+export LANG=UTF-8
+
+$PYTHON setup.py install
diff --git a/fast-histogram/meta.yaml b/fast-histogram/meta.yaml
new file mode 100644
index 0000000..4a42f1b
--- /dev/null
+++ b/fast-histogram/meta.yaml
@@ -0,0 +1,43 @@
+{% set name = "fast-histogram" %}
+{% set version = "0.3" %}
+{% set number = '0' %}
+{% set sha256 = "fdfab401aed9ba2bf96cac2f41679dbb26e0da520e7fd0428e8b1aa20b47ac0d" %}
+
+about:
+ home: http://github.com/astrofrog/fast-histogram
+ license: BSD
+ license_family: BSD
+ license_file: LICENSE
+ summary: 'Fast 1D and 2D histogram functions in Python'
+ description: Fast 1D and 2D histogram functions in Python
+ doc_url: http://github.com/astrofrog/fast-histogram
+ dev_url: http://github.com/astrofrog/fast-histogram
+
+package:
+ name: {{ name|lower }}
+ version: {{ version }}
+
+build:
+ number: {{ number }}
+
+requirements:
+ build:
+ - setuptools
+ - numpy {{ numpy }}
+ - python {{ python }}
+ run:
+ - numpy
+ - python
+
+source:
+ fn: {{ name }}-{{ version }}.tar.gz
+ url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
+ sha256: {{ sha256 }}
+
+test:
+ imports:
+ - fast_histogram
+
+extra:
+ recipe-maintainers:
+ - astrofrog-conda-forge
diff --git a/glue-core/meta.yaml b/glue-core/meta.yaml
index e4344e0..30ba4bc 100644
--- a/glue-core/meta.yaml
+++ b/glue-core/meta.yaml
@@ -1,5 +1,10 @@
+# Version has been faked!
+# Replace with GIT_DESCRIBE_TAG when >=0.13.0 exists in the repository
{% set name = 'glue-core' %}
-{% set version = '0.12.0' %}
+{% set version = "0.13.0" ~ ".dev" ~ GIT_DESCRIBE_NUMBER ~ "+" ~ GIT_DESCRIBE_HASH %}
+{% if version[0] == 'v' %}
+{% set version = version[1:] %}
+{% endif %}
{% set number = '1' %}
package:
@@ -7,9 +12,7 @@ package:
version: {{ version }}
source:
- fn: {{ name }}-{{ version }}.tar.gz
- url: https://pypi.io/packages/source/g/{{ name }}/{{ name }}-{{ version }}.tar.gz
- sha256: db871285e9fe4ff0092d6803d573daa953ec9864b9128cd027cee97b2573e557
+ git_url: https://github.com/glue-viz/glue.git
build:
number: {{ number }}
@@ -40,6 +43,7 @@ requirements:
- pandas >=0.14
- astropy >=1.3
- matplotlib >=1.4
+ - mpl-scatter-density >=0.3
- qtpy >=1.2
- ipython >=4.0
- ipykernel
diff --git a/mpl-scatter-density/LICENSE b/mpl-scatter-density/LICENSE
new file mode 100644
index 0000000..7f5c363
--- /dev/null
+++ b/mpl-scatter-density/LICENSE
@@ -0,0 +1,13 @@
+BSD 3-clause license
+Copyright (c) 2015-2017, conda-forge
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+
+3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/mpl-scatter-density/bld.bat b/mpl-scatter-density/bld.bat
new file mode 100644
index 0000000..39b5e1f
--- /dev/null
+++ b/mpl-scatter-density/bld.bat
@@ -0,0 +1 @@
+%PYTHON% setup.py install
diff --git a/mpl-scatter-density/build.sh b/mpl-scatter-density/build.sh
new file mode 100644
index 0000000..5a5aeeb
--- /dev/null
+++ b/mpl-scatter-density/build.sh
@@ -0,0 +1 @@
+$PYTHON setup.py install
diff --git a/mpl-scatter-density/meta.yaml b/mpl-scatter-density/meta.yaml
new file mode 100644
index 0000000..0ca7ad7
--- /dev/null
+++ b/mpl-scatter-density/meta.yaml
@@ -0,0 +1,47 @@
+{% set name = "mpl-scatter-density" %}
+{% set version = "0.3" %}
+{% set number = "0" %}
+{% set sha256 = "98953172aea8c652570dcc6238bccd20afb69e6ae9594d4679c08e810b658651" %}
+
+about:
+ home: http://github.com/astrofrog/mpl-scatter-density
+ license: BSD
+ license_family: BSD
+ license_file: LICENSE
+ summary: Matplotlib helpers to make density scatter plots
+ description: Matplotlib helpers to make density scatter plots
+ doc_url: http://github.com/astrofrog/mpl-scatter-density
+ dev_url: http://github.com/astrofrog/mpl-scatter-density
+
+package:
+ name: {{ name|lower }}
+ version: {{ version }}
+
+build:
+ number: {{ number }}
+
+requirements:
+ build:
+ - fast-histogram >=0.3
+ - matplotlib >=1.5
+ - numpy {{ numpy }}
+ - python {{ python }}
+ - setuptools
+ run:
+ - fast-histogram >=0.3
+ - matplotlib >=1.5
+ - numpy
+ - python
+
+source:
+ fn: {{ name }}-{{ version }}.tar.gz
+ url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
+ sha256: {{ sha256 }}
+
+test:
+ imports:
+ - mpl_scatter_density
+
+extra:
+ recipe-maintainers:
+ - astrofrog-conda-forge