-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuildenv
More file actions
32 lines (28 loc) · 779 Bytes
/
buildenv
File metadata and controls
32 lines (28 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash
# buildenv - zopen port definition for notispf
# https://github.com/mrthock/notispf
NOTISPF_VERSION="1.0.2"
export ZOPEN_BUILD_LINE="STABLE"
export ZOPEN_CATEGORIES="editor"
export ZOPEN_STABLE_TAG="v${NOTISPF_VERSION}"
export ZOPEN_STABLE_URL="https://github.com/mrthock/notispf/archive/refs/tags/v${NOTISPF_VERSION}.tar.gz"
export ZOPEN_STABLE_DEPS="python_312"
export ZOPEN_BOOTSTRAP="skip"
export ZOPEN_CONFIGURE="skip"
export ZOPEN_MAKE="skip"
export ZOPEN_INSTALL="skip"
zopen_build() {
pip install . --prefix="${ZOPEN_INSTALL_DIR}"
}
zopen_check_results() {
dir="$1"
pfx="$2"
cat <<ZZ
actualFailures:0
totalTests:1
expectedFailures:0
ZZ
}
zopen_get_version() {
python -c "import notispf; print(notispf.__version__)" 2>/dev/null || echo "1.0.2"
}