Commit 08148098 authored by amystamile-usgs's avatar amystamile-usgs
Browse files

Updated core_recipe

parent 2249b0fb
Loading
Loading
Loading
Loading
+17 −41
Original line number Diff line number Diff line
# When building ISIS for a public release, be sure that these variables are properly set to reflect
# your current build. Keep in mind that these values are how conda build names its .tar.bz2 build
# file, and so must be unique to other builds sitting in the USGS-Astrogeology channel on Anaconda
# Cloud, or they will be overwritten when you upload this current build. It is always a good idea to
# confirm that you will not be overwriting a file that has already been uploaded by checking the
# channel before building.

# Also keep in mind that there must already be a Release or a Tag by the name <version>_<build_number>
# on the USGS-Astrogeology/ISIS3 repo before invoking the conda build system as this will pull the
# tar.gz of that name to build. After pushing changes for a release build (so as to
# include these changes in the release), but before building using the conda build system, be
# sure to create this Release or Tag.

# This is the version of ISIS that you are building. (Please refer to
# RFC2 (https://github.com/USGS-Astrogeology/ISIS3/wiki/RFC2:-Release-Process) if you are not sure
# about what version you are building.)
# Examples:
#       A Public Release for ISIS3.6.1:                        {% set version = "3.6.1" %}
#       A Release Candidate for ISIS3.6.1:                     {% set version = "3.6.1_RC" %}
#       A custom build of ISIS3.6.1 for the CaSSIS mission:    {% set version = "3.6.1_cassis" %}
{% set version = "1.0.0" %}

# This is the build number for the current version you are building. If this is the first build of
# this version, the build number will be 0. It is incremented by 1 with every consecutive build of
# the same version.
{% set version = "8.0.4" %}
{% set build_number = "0" %}

package:
  name: isiscore
  version: {{ version }}
  version: {{ core_version }}

source:
  git_url: 'https://github.com/USGS-Astrogeology/ISIS3.git'
  git_tag: 'pvl_core'

  # url: 'https://github.com/USGS-Astrogeology/ISIS3/archive/{{ version }}.tar.gz'
  # sha256 is the prefered checksum -- you can get it for a file with:
  # `openssl sha256 <file name>`. Simply run this command with the .tar.gz
  # file specified in the "url" tag above.
  # sha256: '62b88bec88471588feb581e28afc2aa9248bd4e165ad83c448a4c5fa7b59a6e1'
  url: https://github.com/DOI-USGS/ISIS3/archive/{{ version }}.tar.gz
  sha256: 47db471e77dffdad2167b51351ed5a3b06d007a1c386899b5ae042946221444e

build:
  number: {{ build_number }}

# Shotgun strat on requirements until we can narrow them down
requirements:
  build:
    - cmake >=3.15
    - python 
    - cmake >=3.27,<3.28
    - cxx-compiler=1.1.2
    - mesalib
    - ninja
  host:
    - mesalib
    - nlohmann_json
    - python
    - qt >=5.9.6,<5.15.0
    - qt-main >=5.15.8, <5.16
    - swig
  run:
    - python 
    - mesalib
    - nlohmann_json
    - {{ pin_compatible('qt', max_pin='x.x') }}
    - {{ pin_compatible('nlohmann_json', min_pin='x.x', max_pin='x.x') }}

tests:
  imports:
@@ -65,9 +37,13 @@ tests:
    - test -e $PREFIX/lib/libcore${SHLIB_EXT}
    - test -e $PREFIX/include/isis/Pvl.h


about:
  home: https://github.com/USGS-Astrogeology/ISIS3
  home: https://github.com/DOI-USGS/ISIS3
  license: CC0-1.0
  license_file: LICENSE.md
  summary: "Integrated Software for Imagers and Spectrometers"

extra:
  recipe-maintainers:
    - amystamile-usgs
    - acpaquette