Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add stsynphot to conda-forge #8498

Merged
merged 2 commits into from Jun 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
52 changes: 52 additions & 0 deletions recipes/stsynphot/meta.yaml
@@ -0,0 +1,52 @@
{% set name = "stsynphot" %}
{% set version = "0.1.1" %}

package:
name: "{{ name|lower }}"
version: "{{ version }}"

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: 473f463550fc8d3e2f4fb0c739ffed13a85d09890685637d28c12ed6cf4fa97c
patches:
- setup.cfg.patch

build:
number: 0
script: "{{ PYTHON }} -m pip install . -vv"

requirements:
host:
- pip
- python
- numpy
run:
- astropy
- beautifulsoup4
- numpy
- python
- scipy
- synphot

test:
imports:
- stsynphot

about:
home: http://www.github.com/spacetelescope/stsynphot_refactor
license: BSD-3-clause
license_family: BSD
license_file: LICENSE
summary: Synthetic photometry for HST/JWST
description: |
This is a replacement for IRAF STSDAS SYNPHOT and ASTROLIB PYSYNPHOT,
utilizing Astropy and covering instrument specific portions of the
old packages for HST (and soon JWST).
doc_url: http://stsynphot.readthedocs.io/en/latest/
dev_url: http://www.github.com/spacetelescope/stsynphot_refactor

extra:
recipe-maintainers:
- pllim
- jhunkeler
- rendinam
10 changes: 10 additions & 0 deletions recipes/stsynphot/setup.cfg.patch
@@ -0,0 +1,10 @@
--- a/setup.cfg
+++ b/setup.cfg
@@ -14,6 +14,7 @@

[ah_bootstrap]
auto_use = True
+auto_upgrade = False

[metadata]
package_name = stsynphot