2020-07-08 14:58:10 +00:00
|
|
|
PYODIDE_ROOT=$(abspath ../..)
|
|
|
|
include ../../Makefile.envs
|
2019-08-14 14:16:12 +00:00
|
|
|
|
2020-12-05 12:09:46 +00:00
|
|
|
PARSOVERSION=0.7.1
|
2019-08-14 14:16:12 +00:00
|
|
|
|
|
|
|
ROOT=$(abspath .)
|
|
|
|
|
|
|
|
SRC=$(ROOT)/parso-$(PARSOVERSION)
|
|
|
|
BUILD=$(SRC)/build/lib/parso
|
|
|
|
TARBALL=$(ROOT)/downloads/parso-$(PARSOVERSION).tar.gz
|
2020-12-05 12:09:46 +00:00
|
|
|
URL=https://files.pythonhosted.org/packages/40/01/e0b8d2168fb299af90a78a5919257f821e5c21399bf0906c14c9e573db3f/parso-$(PARSOVERSION).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
|