8000 assorted: fix linter errors by twitchyliquid64 · Pull Request #39 · gominimal/pkgs · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8000
12 changes: 10 additions & 2 deletions packages/actions-runner/build.ncl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
let { standaloneTest, Attrs, BuildSpec, Local, OutputBin, OutputData, Source, Test, .. } = import "minimal.ncl" in
let { Attrs, BuildSpec, Local, OutputBin, OutputData, Source, Test, .. } = import "minimal.ncl" in
let { target, .. } = import "config.ncl" in
let base = import "../base/build.ncl" in
let glibc = import "../glibc/build.ncl" in
Expand Down Expand Up @@ -51,7 +51,15 @@ in
},

tests = {
smoketest = standaloneTest "/usr/bin/actions-runner --version",
smoketest =
{
class = 'Standalone,
test_deps = [base],
cmds = [
["/bin/bash", "-c", "test -x /usr/bin/actions-runner"],
["/bin/bash", "-c", "RUNNER_HOME=/tmp/runner /usr/bin/actions-runner --help || true"],
],
} | Test,
},

attrs =
Expand Down
2 changes: 0 additions & 2 deletions packages/build/build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/sh
set -ex

export PYTHONHASHSEED=0

pip3 wheel -w dist --no-build-isolation --no-deps --no-cache-dir $(pwd)
pip3 install --no-index --find-links dist --no-user --root $OUTPUT_DIR build
2 changes: 0 additions & 2 deletions packages/cython/build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/sh
set -ex

export PYTHONHASHSEED=0

pip3 wheel -w dist --no-build-isolation --no-deps --no-cache-dir $(pwd)
pip3 install --no-index --find-links dist --no-user --root $OUTPUT_DIR cython
6 changes: 3 additions & 3 deletions packages/emacs/build.ncl
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
let { standaloneTest, subsetOf, Attrs, BuildSpec, Local, OutputBin, OutputData, Source, Test, .. } = import "minimal.ncl" in
let autoconf = import "../autoconf/build.ncl" in
let base = import "../base/build.ncl" in
let bash = import "../bash/build.ncl" in
let gcc = import "../gcc/build.ncl" in
let glibc = import "../glibc/build.ncl" in
let gmp = import "../gmp/build.ncl" in
Expand Down Expand Up @@ -32,6 +33,7 @@ let version = "30.2" in
toolchain,
],
runtime_deps = [
bash,
glibc,
gmp,
gnutls,
Expand Down Expand Up @@ -73,9 +75,7 @@ let version = "30.2" in
class = 'Standalone,
test_deps = [base],
cmds = [
["/bin/bash", "-c", "echo '(defun test-fn () 42)' > /tmp/test.el"],
["/bin/bash", "-c", "emacs --batch -f batch-byte-compile /tmp/test.el"],
["/bin/bash", "-c", "test -f /tmp/test.elc"],
["/bin/bash", "-c", "echo '(defun test-fn () 42)' > /tmp/test.el && emacs --batch -f batch-byte-compile /tmp/test.el && test -f /tmp/test.elc"],
],
} | Test,

Expand Down
2 changes: 0 additions & 2 deletions packages/flit-core/build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/sh
set -ex

export PYTHONHASHSEED=0

pip3 wheel -w dist --no-build-isolation --no-deps --no-cache-dir $(pwd)
pip3 install --no-index --find-links dist --no-user --root $OUTPUT_DIR flit_core
2 changes: 1 addition & 1 deletion packages/gcloud/build.ncl
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ in
test_deps = [base],
cmds = [
["/bin/bash", "-c", "gcloud config set project test-project 2>&1"],
["/bin/bash", "-c", "gcloud config get project 2>/dev/null | grep -q 'test-project'"],
["/bin/bash", "-c", "gcloud config get project 2>&1 | grep -q 'test-project'"],
],
} | Test,
},
Expand Down
1 change: 0 additions & 1 deletion packages/libcap-ng/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ case $(uname -m) in
aarch64) MARCH="-march=armv8-a" ;;
*) MARCH="" ;;
esac
export SOURCE_DATE_EPOCH=0
export CFLAGS="$MARCH -O2 -pipe -gno-record-gcc-switches -ffile-prefix-map=$(pwd)=/builddir"
export LDFLAGS="-Wl,--build-id=none"
export CXXFLAGS="${CFLAGS}"
Expand Down
1 change: 0 additions & 1 deletion packages/libseccomp/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ case $(uname -m) in
aarch64) MARCH="-march=armv8-a" ;;
*) MARCH="" ;;
esac
export SOURCE_DATE_EPOCH=0
export CFLAGS="$MARCH -O2 -pipe -gno-record-gcc-switches -ffile-prefix-map=$(pwd)=/builddir"
export LDFLAGS="-Wl,--build-id=none"
export CXXFLAGS="${CFLAGS}"
Expand Down
2 changes: 0 additions & 2 deletions packages/meson-python/build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/sh
set -ex

export PYTHONHASHSEED=0

pip3 wheel -w dist --no-build-isolation --no-deps --no-cache-dir $(pwd)
pip3 install --no-index --find-links dist --no-user --root $OUTPUT_DIR meson_python
2 changes: 0 additions & 2 deletions packages/numpy/build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/sh
set -ex

export PYTHONHASHSEED=0

pip3 wheel -w dist --no-build-isolation --no-deps --no-cache-dir $(pwd)
pip3 install --no-index --find-links dist --no-user --root $OUTPUT_DIR numpy
2 changes: 0 additions & 2 deletions packages/pyproject-hooks/build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/sh
set -ex

export PYTHONHASHSEED=0

pip3 wheel -w dist --no-build-isolation --no-deps --no-cache-dir $(pwd)
pip3 install --no-index --find-links dist --no-user --root $OUTPUT_DIR pyproject_hooks
2 changes: 0 additions & 2 deletions packages/pyproject-metadata/build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/sh
set -ex

export PYTHONHASHSEED=0

pip3 wheel -w dist --no-build-isolation --no-deps --no-cache-dir $(pwd)
pip3 install --no-index --find-links dist --no-user --root $OUTPUT_DIR pyproject_metadata
1 change: 0 additions & 1 deletion packages/python/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ case $(uname -m) in
aarch64) MARCH="-march=armv8-a" ;;
*) MARCH="" ;;
esac
export PYTHONHASHSEED=0
export CFLAGS="$MARCH -O3 -pipe -gno-record-gcc-switches -ffile-prefix-map=$(pwd)=/builddir"
export LDFLAGS="-Wl,--build-id=none"
export CXXFLAGS="${CFLAGS}"
Expand Down
2 changes: 0 additions & 2 deletions packages/setuptools/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,5 @@ set -e
tar -xof setuptools-80.9.0.tar.gz
cd setuptools-80.9.0

export PYTHONHASHSEED=0

pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD
pip3 install --root $OUTPUT_DIR --no-index --find-links dist setuptools
2 changes: 0 additions & 2 deletions packages/xcb-proto/build.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#!/bin/sh
set -e

export PYTHONHASHSEED=0

./configure --prefix=/usr
make -j$(nproc)
make DESTDIR=$OUTPUT_DIR install
0