From b03295789c14d4748ff756d503d50f9d5eb0cfd1 Mon Sep 17 00:00:00 2001 From: "James E.H. Turner" Date: Mon, 3 Apr 2023 18:57:12 -0400 Subject: Convert pyraf-all to a generic package (v1.1) that will support Python 3.7+ (while the previous builds stop at 3.7). Remove kepler package that only works on Py 2 & required python-version-specific builds; Py 2 envs are now deprecated but can continue using the previous pyraf-all 1.0 build. This version of pyraf-all now only installs pyraf + iraf, for backward/forward compatibility. Remove unnecessary build deps, since they are really run-time deps, which conda-build now checks anyway. --- pyraf-all/meta.yaml | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/pyraf-all/meta.yaml b/pyraf-all/meta.yaml index 14ce986..07007cb 100644 --- a/pyraf-all/meta.yaml +++ b/pyraf-all/meta.yaml @@ -1,26 +1,24 @@ # A meta-package including PyRAF and any external IRAF-style packages that # require it (and therefore don't belong in iraf-all). # -# Currently this is not really useful, since the kepler package is broken. +# Since the kepler package has not been ported to Python 3, this currently only +# installs pyraf, but remains here for backwards compatibility and just in case +# any pyraf packages are added later. It also ensures that iraf gets installed, +# without which pyraf is fairly useless. +package: + name: pyraf-all + version: "1.1" +build: + number: '0' + noarch: generic about: home: http://www.stsci.edu/institute/software_hardware/pyraf license: various (see individual packages) summary: PyRAF and the external IRAF-style packages that require it -build: - number: '0' -package: - name: pyraf-all - version: "1.0" requirements: - build: - - iraf !=2.16.1,>=2.16.UR # external pkgs here need the ".UR" build - - python # needed just to get py2/3-specific builds - - pyraf - - pyraf.kepler # [py2k] run: - iraf !=2.16.1,>=2.16.UR # should this be iraf-all, to get everything? - - python - - pyraf - - pyraf.kepler # [py2k] # the authors only support Py 2, as of May 2017 + - python >=3.7 # py 2 should continue using v1.0 with kepler + - pyraf >=2.2.1 -- cgit