Skip to content

Commit 9fecd70

Browse files
committed
3.1.72.3bi
1 parent f7ca93e commit 9fecd70

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

sources.plus/mypy.sh

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#!/bin/bash
2+
3+
. ${CONFIG:-config}
4+
5+
if [ -d src/mypy ]
6+
then
7+
pushd src/mypy
8+
git pull
9+
else
10+
pushd src
11+
git clone --no-tags --depth 1 --single-branch --branch master https://github.com/python/mypy
12+
fi
13+
popd
14+
15+
16+
pushd src/mypy
17+
if ${SDKROOT}/python3-wasm -m build .
18+
then
19+
${SDKROOT}/python3-wasm -m pip install dist/mypy-*.whl
20+
else
21+
echo failed to build mypyc wheel
22+
exit 21
23+
fi
24+
popd
25+

0 commit comments

Comments
 (0)