aboutsummaryrefslogtreecommitdiff
path: root/reproduce/software/make/python.mk
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2019-10-28 15:19:34 +0000
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2019-10-28 15:19:34 +0000
commit1d4c587489cbb17c7ae9f6c0d0d5d919690fafde (patch)
treebaa56c0d52a07f0320ecf516f3e4709464dfeed5 /reproduce/software/make/python.mk
parent9a8a397af69225f74bed2daa1bca0ea25f1f1cee (diff)
HEALPix, Autoconf and Automake now in library
The tarball of HEALPix includes multiple languages and doesn't include the ready-to-run GNU Build System by default, we actually have to build the `./configure' script for the C/C++ libraries. So it was necessary to also include GNU Autoconf and GNU Automake as prerequisites of HEALPix. However, the official GNU Autoconf tarball (dating from 2012) doesn't build on modern systems, so I just cloned it from its source and bootstrapped it and built its modern tarball which we are using here.
Diffstat (limited to 'reproduce/software/make/python.mk')
-rw-r--r--reproduce/software/make/python.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/reproduce/software/make/python.mk b/reproduce/software/make/python.mk
index b7cbc9b..14e7b75 100644
--- a/reproduce/software/make/python.mk
+++ b/reproduce/software/make/python.mk
@@ -455,6 +455,16 @@ $(ipydir)/h5py: $(tdir)/h5py-$(h5py-version).tar.gz \
$(call pybuild, tar xf, $<, h5py-$(h5py-version), ,\
h5py $(h5py-version))
+# `healpy' is actually installed as part of the HEALPix package. It will be
+# installed with its C/C++ libraries if any other Python library is
+# requested with HEALPix. So actually calling for `healpix' (when `healpix'
+# is requested) is not necessary. But some users might not know about this
+# and just ask for `healpy'. To avoid confusion in such cases, we'll just
+# set `healpy' to be dependent on `healpix' and not download any tarball
+# for it, or write anything in the final target.
+$(ipydir)/healpy: $(ibidir)/healpix
+ touch $@
+
$(ipydir)/html5lib: $(tdir)/html5lib-$(html5lib-version).tar.gz \
$(ipydir)/webencodings \
$(ipydir)/six