Skip to content

Commit

Permalink
Add astro-datalab and pycurl-requests.
Browse files Browse the repository at this point in the history
  • Loading branch information
davner committed Feb 11, 2025
1 parent 4e0d88e commit 78c8f41
Show file tree
Hide file tree
Showing 2 changed files with 103 additions and 0 deletions.
60 changes: 60 additions & 0 deletions recipes/astro-datalab/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{% set name = "astro-datalab" %}
{% set version = "2.24.0" %}
{% set python_min = "3.10" %}

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

source:
url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/astro_datalab-{{ version }}.tar.gz
sha256: e7dbcf806f1df4df2176f3e56c7f832ed2bec3a6c226a3ef7076bd61ce103fd8

build:
skip: true # [py>=312 or py2k]
noarch: python
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
number: 0

requirements:
host:
- python {{ python_min }}
- pip
- setuptools
run:
- python>={{ python_min }}
- scipy >=1.11.3,<1.12.0 # [py>=310 and py<312]
- specutils >=1.13.0,<1.14.0 # [py>=310 and py<312]
- pyvo >=1.3,<1.4 # [py>=310 and py<312]
- pycurl-requests <0.6.0,>=0.5.0 # [py>=310 and py<312]
- numpy >=1.23.5,<1.26.4 # [py>=310 and py<312]
- matplotlib-base >=3.8.0,<3.9.0 # [py>=310 and py<312]
- httplib2 >=0.22.0,<0.23.0 # [py>=310 and py<312]
- pandas >=2.1.1,<2.2.0 # [py>=310 and py<312]
- astropy >=5.3.4,<5.4.0 # [py>=310 and py<312]
- chardet >=5.2.0,<5.3.0 # [py>=310 and py<312]
- requests >=2.31.0,<2.32.0 # [py>=310 and py<312]
- feedparser >=6.0.11,<6.1.0 # [py>=310 and py<312]
- pillow >=10.3.0,<10.4.0 # [py>=310 and py<312]
- pycurl >=7.45.3,<7.46.0 # [py>=310 and py<312]
- scikit-learn ==1.4.1.post1 # [py>=310 and py<312]
- certifi

test:
imports:
- dl
- vos
commands:
- pip check
requires:
- pip

about:
home: https://github.com/astro-datalab/datalab/
summary: Tools for interacting with NOIRLab's Astro Data Lab.
license: MIT
license_file: LICENSE

extra:
recipe-maintainers:
- davner
43 changes: 43 additions & 0 deletions recipes/pycurl-requests/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{% set name = "pycurl-requests" %}
{% set version = "0.5.0" %}

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

source:
url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/pycurl-requests-{{ version }}.tar.gz
sha256: 46159a07a9d409d9d1088e3f9afeadb8e602df655bc91622bccb21be7d0bb777

build:
noarch: python
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
number: 0

requirements:
host:
- python {{ python_min }}
- pip
- setuptools
run:
- python >={{ python_min }}
- pycurl
- chardet

test:
imports:
- pycurl_requests
commands:
- pip check
requires:
- pip

about:
home: https://github.com/dcoles/pycurl-requests
summary: A Requests-compatible interface for pycURL
license: MIT
license_file: LICENSE

extra:
recipe-maintainers:
- davner

0 comments on commit 78c8f41

Please sign in to comment.