diff options
author | Larry Bradley <larry.bradley@gmail.com> | 2021-09-20 13:08:42 -0400 |
---|---|---|
committer | Larry Bradley <larry.bradley@gmail.com> | 2021-09-20 13:08:42 -0400 |
commit | 2a8e990167d6e899f2f4ad4c7e820a2ad6374df6 (patch) | |
tree | 97342bf1454501133c94df42726e1ed6d9a01ff2 /jwebbinar_prep | |
parent | 6a61c2a3aa72fc6cd3524451cf82293631a7b714 (diff) | |
download | astroconda-contrib-2a8e990167d6e899f2f4ad4c7e820a2ad6374df6.tar.gz |
Add recipe for jwebbinar notebooks
Diffstat (limited to 'jwebbinar_prep')
-rw-r--r-- | jwebbinar_prep/build.sh | 14 | ||||
-rw-r--r-- | jwebbinar_prep/meta.yaml | 19 |
2 files changed, 33 insertions, 0 deletions
diff --git a/jwebbinar_prep/build.sh b/jwebbinar_prep/build.sh new file mode 100644 index 0000000..7ab527c --- /dev/null +++ b/jwebbinar_prep/build.sh @@ -0,0 +1,14 @@ +if [[ -z ${PKG_NAME} ]]; then + echo "Conda build has changed out from under you. PKG_NAME is undefined..." + exit 1 +fi + +dest="${PREFIX}/share/jwebbinar_notebooks" +usedir="$(pwd)" + +if [[ -d ${usedir}/work ]]; then + usedir=${usedir}/work +fi + +mkdir -p "${dest}" +rsync -av --exclude '.git*' --exclude 'README.md' --exclude '.DS_Store' "${usedir}" "${dest}"/ diff --git a/jwebbinar_prep/meta.yaml b/jwebbinar_prep/meta.yaml new file mode 100644 index 0000000..341852e --- /dev/null +++ b/jwebbinar_prep/meta.yaml @@ -0,0 +1,19 @@ +{% set name = 'jwebbinar_prep' %} +{% set version = 'v0.1' %} +{% set number = '0' %} + +about: + home: https://github.com/spacetelscope/{{ name }} + license: BSD + summary: Collection of JWST JWebbinar notebooks + +build: + number: {{ number }} + +package: + name: {{ name }} + version: {{ version }} + +source: + git_tag: {{ version }} + git_url: https://github.com/spacetelescope/{{ name }}.git |