{% set name = "astropy-iers-data" %}
{% set version = "0.2025.1.13.0.34.51" %}

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

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name.replace('-', '_') }}-{{ version }}.tar.gz
  sha256: de6fafd52088f589e2ef5bf797242965f3dfd77b667ea066f941fc98ddeda604

build:
  skip: True  # [py<38]
  script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
  number: 0

requirements:
  host:
    - python
    - setuptools
    - setuptools-scm
    - wheel
    - pip
  run:
    - python

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

about:
  home: https://github.com/astropy/astropy-iers-data/
  summary: IERS Earth Rotation and Leap Second tables for the astropy core package
  description: |
    The iers package provides access to the tables provided by the International Earth Rotation
    and Reference Systems (IERS) service, in particular the Earth Orientation data allowing
    interpolation of published UT1-UTC and polar motion values for given times.
  license: BSD-3-Clause
  license_file: LICENSE.rst
  license_family: BSD
  doc_url: https://docs.astropy.org/en/latest/utils/iers.html
  dev_url: https://github.com/astropy/astropy-iers-data/

extra:
  recipe-maintainers:
    - astrofrog
    - mwcraig
