2022-01-09 17:40:21 +00:00
|
|
|
package:
|
|
|
|
name: pyerfa
|
|
|
|
version: 2.0.0.1
|
|
|
|
source:
|
|
|
|
url: https://files.pythonhosted.org/packages/78/fd/0148f0e54f0c6f48a141409df65d74a5f1dae2e139f23d50a43c58c16098/pyerfa-2.0.0.1.tar.gz
|
|
|
|
sha256: 2fd4637ffe2c1e6ede7482c13f583ba7c73119d78bef90175448ce506a0ede30
|
2022-08-30 01:57:05 +00:00
|
|
|
patches:
|
|
|
|
# Patch fixes error:
|
|
|
|
#
|
|
|
|
# erfa/ufunc.c:9916:54: error: incompatible function pointer types
|
|
|
|
# initializing 'PyUFuncGenericFunction' ... with an expression of type ...
|
|
|
|
#
|
|
|
|
# It has been upstreamed: https://github.com/liberfa/pyerfa/pull/89
|
|
|
|
# Make sure to remove python3.10 erfa_generator.py below when we remove the
|
|
|
|
# patch.
|
|
|
|
- patches/0001-Fix-compilation-with-Wincompatible-function-pointer-.patch
|
|
|
|
build:
|
|
|
|
script: |
|
|
|
|
# regenerate erfa/ufunc.c from our patched erfa/ufunc.c.templ.
|
|
|
|
python3.10 erfa_generator.py
|
2022-01-09 17:40:21 +00:00
|
|
|
requirements:
|
2022-08-22 04:35:27 +00:00
|
|
|
host:
|
|
|
|
- numpy
|
2022-01-09 17:40:21 +00:00
|
|
|
run:
|
|
|
|
- numpy
|
|
|
|
test:
|
|
|
|
imports:
|
|
|
|
- erfa
|
|
|
|
about:
|
|
|
|
home: https://github.com/liberfa/pyerfa
|
|
|
|
PyPI: https://pypi.org/project/pyerfa
|
|
|
|
summary: Python bindings for ERFA
|
|
|
|
license: BSD 3-Clause License
|