aboutsummaryrefslogtreecommitdiff
path: root/gemini_obs_db
diff options
context:
space:
mode:
authorJames E.H. Turner <jturner@gemini.edu>2023-03-30 21:02:53 -0400
committerJames E.H. Turner <jturner@gemini.edu>2023-03-30 21:02:53 -0400
commitf7e28868ea942d2c9f97a05880b7241e55fa2dbe (patch)
tree7883675952662aa7361b24c75211a39aafcbeb7a /gemini_obs_db
parent306d1c1444801a62a3a9e45bd1e3f6ea6a84f437 (diff)
downloadastroconda-iraf-f7e28868ea942d2c9f97a05880b7241e55fa2dbe.tar.gz
Update gemini_calmgr recipe for v1.1.22 (in new repo), to go with DRAGONS 3.1.
Add recipe for new gemini_obs_db package (v1.0.27), similar to gemini_calmgr. Consolidate simple build scripts into meta.yaml & use template for version etc. Convert packages to noarch since they are pure Python (otherwise we'd need 16 builds). Use DRAGONS 3.1 version constraints, limiting sqlalchemy to <2.0 until the code can be ported to the new API.
Diffstat (limited to 'gemini_obs_db')
-rw-r--r--gemini_obs_db/meta.yaml32
1 files changed, 32 insertions, 0 deletions
diff --git a/gemini_obs_db/meta.yaml b/gemini_obs_db/meta.yaml
new file mode 100644
index 0000000..6d46e5d
--- /dev/null
+++ b/gemini_obs_db/meta.yaml
@@ -0,0 +1,32 @@
+{% set version = '1.0.27' %}
+{% set tag = 'v' + version %}
+{% set number = '0' %}
+
+package:
+ name: gemini_obs_db
+ version: {{ version }}
+source:
+ git_url: git@github.com:GeminiDRSoftware/GeminiObsDB.git
+ git_tag: {{ tag }}
+build:
+ number: {{ number }}
+ noarch: python
+ script: {{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir -vv
+about:
+ home: http://www.gemini.edu/sciops/data-and-results/processing-software
+ license: BSD
+ license_file: LICENSE
+ summary: DB-backed classes to parse Gemini FITS metadata into various tables
+requirements:
+ build:
+ - python >=3.7
+ - pip
+ - setuptools
+ run:
+ - python >=3.7
+ - astropy >=4.3
+ - dragons >=3.1.0
+ - numpy >=1.17
+ - python-dateutil >=2.5.3
+ - sqlalchemy >=1.3,<2.0.0a0 # code not yet updated for new v2 API
+