OILS / deps / source.medo / pyflakes / WEDGE View on Github | oilshell.org

36 lines, 28 significant
1# Wedge definition for pyflakes
2#
3# Loaded by deps/wedge.sh.
4
5set -o nounset
6set -o pipefail
7set -o errexit
8
9# sourced
10WEDGE_NAME='pyflakes'
11WEDGE_VERSION='2.4.0'
12
13wedge-make() {
14 local src_dir=$1
15 local build_dir=$2
16 local install_dir=$3
17
18 # TODO: shouldn't have to do this?
19 mkdir -p $install_dir
20
21 cp --verbose --recursive --no-target-directory \
22 $src_dir/ $install_dir/
23}
24
25wedge-install() {
26 # nothing to do
27 true
28}
29
30wedge-smoke-test() {
31 local install_dir=$1
32
33 # TODO: It would be nice to run python2 -c 'import pyflakes', but we don't
34 # have a way to refer to python2 here.
35 ls -l $install_dir
36}