2020-07-08 14:58:10 +00:00
|
|
|
PYODIDE_ROOT=$(abspath ../..)
|
|
|
|
include ../../Makefile.envs
|
2019-08-14 14:16:12 +00:00
|
|
|
|
2020-12-03 18:33:13 +00:00
|
|
|
JEDIVERSION=0.17.2
|
2019-08-14 14:16:12 +00:00
|
|
|
|
|
|
|
ROOT=$(abspath .)
|
|
|
|
|
|
|
|
SRC=$(ROOT)/jedi-$(JEDIVERSION)
|
|
|
|
BUILD=$(SRC)/build/lib/jedi
|
|
|
|
TARBALL=$(ROOT)/downloads/jedi-$(JEDIVERSION).tar.gz
|
2020-12-03 18:33:13 +00:00
|
|
|
URL=https://files.pythonhosted.org/packages/39/67/50d1653038dafe06ca2cc55c4598c5f8318d519c12a7a288d7826280ee22/jedi-$(JEDIVERSION).tar.gz
|
2019-08-14 14:16:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
all: $(SRC)/setup.py
|
|
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
-rm -fr downloads
|
|
|
|
-rm -fr $(SRC)
|
|
|
|
|
|
|
|
|
|
|
|
$(TARBALL):
|
|
|
|
[ -d $(ROOT)/downloads ] || mkdir $(ROOT)/downloads
|
|
|
|
wget -q -O $@ $(URL)
|
|
|
|
sha256sum --quiet --check checksums || (rm $@; false)
|
|
|
|
|
|
|
|
|
|
|
|
$(SRC)/setup.py: $(TARBALL)
|
|
|
|
tar -C . -xf $(TARBALL)
|
|
|
|
touch $(SRC)/setup.py
|