From f7e28868ea942d2c9f97a05880b7241e55fa2dbe Mon Sep 17 00:00:00 2001 From: "James E.H. Turner" Date: Thu, 30 Mar 2023 22:02:53 -0300 Subject: 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. --- gemini_obs_db/meta.yaml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 gemini_obs_db/meta.yaml (limited to 'gemini_obs_db') 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 + -- cgit