cleanup all empty dependencies: nodes

This commit is contained in:
Jacob Heider 2023-10-01 20:41:57 -04:00
parent e28afdb4de
commit 48b12e5aa9
No known key found for this signature in database
GPG key ID: 59D15ADC7DCD39BB
260 changed files with 563 additions and 1014 deletions

View file

@ -32,7 +32,7 @@ build:
sed -i '' 's/-Xarch_x86_64 -Xarch_x86_64 -Xarch_arm64 //g' {{ prefix }}/lib/pkgconfig/absl_random_internal_randen_hwaes{_impl,}.pc
if: darwin
- working-directory: "{{prefix}}/lib/cmake/absl"
- working-directory: '{{prefix}}/lib/cmake/absl'
run: |
sed -i.bak \
-e "s:{{ tea.prefix }}:\$\{CMAKE_CURRENT_LIST_DIR\}/../../../../..:g" \
@ -40,8 +40,6 @@ build:
rm abslTargets{,-release}.cmake.bak
test:
dependencies:
script: |
ls -l
c++ -std=c++17 -I{{ prefix }}/include -L{{ prefix }}/lib -labsl_strings test.cc
test "$(./a.out)" = "Joined string: foo-bar-baz\n"

View file

@ -18,22 +18,19 @@ dependencies:
tea.xyz: ^0
build:
dependencies:
script:
# `pip install` seems to miss some vital .json files, so we must manually copy
# we copy everything as we're not 100% sure which files are missing
# we do this first so any file movements from `pip install` takes precedence
- run:
cp -R $SRCROOT/autogpt .
working-directory:
${{prefix}}/venv/lib/python{{deps.python.org.version.marketing}}/site-packages
- run: cp -R $SRCROOT/autogpt .
working-directory: ${{prefix}}/venv/lib/python{{deps.python.org.version.marketing}}/site-packages
- python-venv.py {{prefix}}/bin/auto-gpt --requirements-txt
# still pretty new and thus provides no executable, so we made one
- cp props/auto-gpt {{prefix}}/venv/bin
- working-directory: "{{prefix}}/share"
- working-directory: '{{prefix}}/share'
run: |
cp $SRCROOT/.env.template env.template
cp $SRCROOT/prompt_settings.yaml .

View file

@ -13,12 +13,9 @@ platforms:
- linux
build:
dependencies:
script:
- ./configure $ARGS
- make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix="{{prefix}}"
@ -30,7 +27,6 @@ provides:
- bin/aserver
test:
dependencies:
script:
- cc test.c -lasound -o test
- ./test

View file

@ -6,7 +6,6 @@ versions:
github: apache/apr/tags
build:
dependencies:
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }}
@ -34,7 +33,6 @@ build:
- --disable-debug
test:
dependencies:
fixture: |
#include <stdio.h>
#include <apr-1/apr_version.h>

View file

@ -36,7 +36,6 @@ build:
provides:
- bin/assimp
test:
dependencies:
script:
- cc -std=c++11 test.cpp -lassimp -o test
- ./test

View file

@ -8,10 +8,7 @@ versions:
dependencies:
zlib.net: '*'
build:
dependencies:
script: |
make LDFLAGS=-lz PREFIX={{prefix}} install
build: make LDFLAGS=-lz PREFIX={{prefix}} install
provides:
- bin/bcrypt
@ -23,4 +20,3 @@ test:
mv test.txt.bfe test.out.txt.bfe
printf '12345678\n' | bcrypt -r test.out.txt.bfe
cat test.out.txt

View file

@ -10,7 +10,6 @@ dependencies:
facebook.com/zstd: ^1
build:
dependencies:
script:
- ./bootstrap.sh --prefix={{ prefix }}
- ./b2 $ARGS
@ -36,7 +35,6 @@ build:
- linkflags=-fPIC
test:
dependencies:
script: |
c++ test.cpp -std=c++14 -lboost_iostreams -lzstd
./a.out

View file

@ -10,7 +10,6 @@ versions:
- /.tar.gz/
build:
dependencies:
script: |
./configure --prefix={{ prefix }}
make --jobs {{hw.concurrency}}
@ -22,7 +21,6 @@ build:
LDFLAGS: -headerpad_max_install_names $LDFLAGS
LDXXFLAGS: -headerpad_max_install_names $LDXXFLAGS
test:
dependencies:
script: |
cc test.c -o test -lmpdec
./test

View file

@ -18,7 +18,6 @@ build:
make --jobs {{hw.concurrency}} install
test:
dependencies:
fixture: |
#include <stdio.h>
#include <ares.h>

View file

@ -55,7 +55,6 @@ build:
working-directory: ${{ prefix }}/lib
test:
dependencies:
script:
- cc test.c -lcairo
- ./a.out

View file

@ -10,7 +10,6 @@ provides:
- bin/cstool
build:
dependencies:
script: |
./make.sh
make install PREFIX={{ prefix }}
@ -25,7 +24,6 @@ build:
rm capstone.pc.bak
test:
dependencies:
script: |
mv $FIXTURE test.c
gcc test.c -lcapstone -o test

View file

@ -10,9 +10,6 @@ provides:
- bin/superhack
build:
dependencies:
#pagure.io/xmlto: '*'
script: |
make wumpus superhack
# When xmlto is packaged then switch the to `make ... install`

View file

@ -27,7 +27,6 @@ provides:
- bin/ctest
build:
dependencies:
script: |-
./bootstrap $ARGS
make --jobs {{ hw.concurrency }} install
@ -63,9 +62,6 @@ build:
- -DBZIP2_LIBRARIES={{deps.sourceware.org/bzip2.prefix}}/lib/libbz2.so
- -DBZIP2_INCLUDE_DIR={{deps.sourceware.org/bzip2.prefix}}/include
error-log:
Bootstrap.cmk/cmake_bootstrap.log
error-log: Bootstrap.cmk/cmake_bootstrap.log
test:
script:
cmake --version
test: cmake --version

View file

@ -12,7 +12,6 @@ dependencies:
git-scm.org: ^2
build:
dependencies:
env:
GEM_HOME: ${{prefix}}
GEM_PATH: ${{prefix}}
@ -26,8 +25,7 @@ build:
- run: |
mv {{prefix}}/bin/* .
cp $SRCROOT/props/proxy {{prefix}}/bin/pod
working-directory:
${{prefix}}/gems/bin
working-directory: ${{prefix}}/gems/bin
provides:
- bin/pod
@ -36,5 +34,4 @@ test:
env:
# some of our test containers are raw and thus run as root
COCOAPODS_ALLOW_ROOT: 1
script:
pod --version
script: pod --version

View file

@ -27,7 +27,6 @@ build:
- --prefix="{{prefix}}"
test:
dependencies:
script: |
cc -o test test.c -laribb24
./test

View file

@ -12,8 +12,7 @@ build:
# FIXME: >=0.49<1
mesonbuild.com: '>=0.49'
ninja-build.org: 1
working-directory:
build
working-directory: build
script: |
meson .. --prefix={{prefix}} --libdir={{prefix}}/lib --buildtype=release
ninja -v

View file

@ -18,14 +18,10 @@ provides:
- bin/cpanm
build:
dependencies:
script: |
perl Makefile.PL INSTALL_BASE={{prefix}}
make install
fix-shebangs.ts {{prefix}}/bin/cpanm
test:
dependencies:
script:
cpanm --verbose --local-lib=./out Test::More
test: cpanm --verbose --local-lib=./out Test::More

View file

@ -17,7 +17,6 @@ dependencies:
invisible-island.net/ncurses: '*'
build:
dependencies:
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
@ -32,5 +31,4 @@ provides:
- bin/cscope
- bin/ocs
test:
cscope -V 2>&1 | grep {{version.marketing}}
test: cscope -V 2>&1 | grep {{version.marketing}}

View file

@ -16,7 +16,6 @@ dependencies:
invisible-island.net/ncurses: '*'
build:
dependencies:
script: |
./configure $ARGS
make -j {{ hw.concurrency }} install

View file

@ -32,7 +32,6 @@ provides:
- bin/fido2-token
test:
dependencies:
script:
- mv $FIXTURE test.c
- cc test.c -o test -lfido2

View file

@ -10,13 +10,11 @@ build:
dependencies:
linux:
gnu.org/gcc: '*'
darwin:
script: |
./configure --prefix="{{prefix}}"
make --jobs {{ hw.concurrency }} install
test:
dependencies:
script: |
cc fixture.c -ljansson
./a.out

View file

@ -7,7 +7,6 @@ versions:
strip: /^v/
build:
dependencies:
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
@ -16,6 +15,5 @@ build:
- --prefix="{{prefix}}"
test:
dependencies:
script: |
cc -o testlibaec fixture.cpp -laec

View file

@ -7,12 +7,9 @@ versions:
strip: /v/
dependencies:
erlang.org: "*"
erlang.org: '*'
build:
dependencies:
script: |
make install
build: make install
provides:
- bin/elixir

View file

@ -33,7 +33,6 @@ build:
- -DBUILD_TESTING=OFF
test:
dependencies:
script: |
g++ -std=c++17 test.cc -o test -ledencommon_utils -lfolly
./test | grep test

View file

@ -80,7 +80,6 @@ build:
- -DCMAKE_EXE_LINKER_FLAGS=-pie
test:
dependencies:
fixture: |
#include <folly/FBVector.h>
int main() {

View file

@ -8,8 +8,7 @@ versions:
build:
dependencies:
cmake.org: ^3
working-directory:
build
working-directory: build
script: |
cmake .. $ARGS
make --jobs {{ hw.concurrency }} install
@ -24,7 +23,6 @@ build:
- -DCMAKE_EXE_LINKER_FLAGS=-pie
test:
dependencies:
fixture: |
#include <iostream>
#include <string>

View file

@ -10,7 +10,6 @@ versions:
- /\.tar\.gz$/
build:
dependencies:
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
@ -25,5 +24,4 @@ provides:
- bin/cppunit-config
- bin/DllPlugInTester
test:
cppunit-config --version | grep {{version}}
test: cppunit-config --version | grep {{version}}

View file

@ -10,7 +10,6 @@ versions:
- /.tar.xz/
build:
dependencies:
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
@ -18,5 +17,4 @@ build:
ARGS:
- --prefix="{{prefix}}"
test:
test -e "{{prefix}}/share/icons/hicolor/index.theme" && exit 0 || exit 1
test: test -e "{{prefix}}/share/icons/hicolor/index.theme" && exit 0 || exit 1

View file

@ -17,7 +17,6 @@ versions:
strip: /^pkg-config-/
build:
dependencies:
script: |-
./configure $ARGS
make --jobs {{ hw.concurrency }} install

View file

@ -25,7 +25,6 @@ build:
- --wrap-mode=nofallback
test:
dependencies:
script: |
mv $FIXTURE test.c
gcc test.c -lslirp -o test

View file

@ -26,7 +26,6 @@ build:
- -DWITHOUT_GAVL=ON
test:
dependencies:
script: |
cc test.c -o test
./test

View file

@ -39,7 +39,6 @@ test:
printf("%s", freexl_version());
return 0;
}
dependencies:
script: |
mv $FIXTURE test.c
cc test.c -lfreexl

View file

@ -27,7 +27,6 @@ build:
- -Wno-dev
- -DBUILD_TESTING=OFF
test:
dependencies:
script:
- run: cc -lgl2ps -framework OpenGL -framework GLUT -framework Cocoa test_darwin.c -o testfile
if: darwin

View file

@ -1,4 +1,3 @@
distributable:
url: https://github.com/gflags/gflags/archive/refs/tags/v{{version}}.tar.gz
strip-components: 1
@ -7,7 +6,6 @@ versions:
github: gflags/gflags/tags
strip: /^v/
build:
dependencies:
cmake.org: '*'
@ -24,7 +22,6 @@ build:
- -DCMAKE_POSITION_INDEPENDENT_CODE=ON
test:
dependencies:
fixture: |
#include <iostream>
#include "gflags/gflags.h"

View file

@ -17,7 +17,6 @@ dependencies:
github.com/util-linux/util-linux: '*'
build:
dependencies:
script: make PREFIX={{prefix}} install
test: make test

View file

@ -19,7 +19,6 @@ runtime:
GIT_SSL_CAINFO: ${{deps.curl.se/ca-certs.prefix}}/ssl/cert.pem
build:
dependencies:
script: |
mv props/config.mak .

View file

@ -28,7 +28,6 @@ build:
make install
test:
dependencies:
fixture: |
#include <librttopo.h>

View file

@ -31,7 +31,6 @@ provides:
- bin/avifdec
test:
dependencies:
script: |
avifenc fixture.png test.avif
test -f test.avif

View file

@ -6,7 +6,6 @@ versions:
github: Cyan4973/xxHash
build:
dependencies:
script: |
make --jobs {{ hw.concurrency }}
make --jobs {{ hw.concurrency }} install $ARGS
@ -24,5 +23,4 @@ provides:
test:
dependencies:
freedesktop.org/pkg-config: '*'
script:
pkg-config --modversion libxxhash | grep {{version}}
script: pkg-config --modversion libxxhash | grep {{version}}

View file

@ -19,7 +19,6 @@ build:
- make --jobs {{hw.concurrency}} install
test:
dependencies:
script:
- fixture: |
#include <reproc/run.h>

View file

@ -21,7 +21,6 @@ build:
- -DCMAKE_BUILD_TYPE=Release
test:
dependencies:
script: |
mv $FIXTURE $FIXTURE.c
cc $FIXTURE.c -lcjson

View file

@ -5,13 +5,9 @@ distributable:
versions:
github: JuliaStrings/utf8proc
build:
dependencies:
script:
make install prefix={{prefix}}
build: make install prefix={{prefix}}
test:
dependencies:
script: |
mv $FIXTURE fixture.c
cc fixture.c -lutf8proc

View file

@ -16,7 +16,6 @@ build:
- -DCMAKE_INSTALL_PREFIX="{{prefix}}"
test:
dependencies:
fixture: |
#include <stdio.h>
#include <vulkan/vulkan_core.h>

View file

@ -32,7 +32,6 @@ build:
- -Wno-dev
- -DBUILD_TESTING=OFF
test:
dependencies:
script:
- cc test.c -o test -lvulkan
- ./test

View file

@ -62,7 +62,6 @@ build:
- -DGEN_FILES=OFF
test:
dependencies:
script:
- printf '%s' 'This is a test file' > testfile.txt
- test "$(generic_sum SHA256 testfile.txt)" = "$SUM"

View file

@ -11,13 +11,10 @@ dependencies:
proj.org: '*'
build:
dependencies:
script:
- ./configure $ARGS
- make --jobs {{ hw.concurrency }}
- make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix="{{prefix}}"
@ -32,7 +29,6 @@ provides:
- bin/listgeo
test:
dependencies:
script:
- cc test.c -ltiff -lgeotiff -o test
- ./test test.tiff

View file

@ -1,5 +1,6 @@
distributable:
url: https://github.com/P-H-C/phc-winner-argon2/archive/refs/tags/{{version.raw}}.tar.gz
strip-components: 1
versions:
github: P-H-C/phc-winner-argon2
@ -8,8 +9,6 @@ provides:
- bin/argon2
build:
dependencies:
working-directory: phc-winner-argon2-{{version.raw}}
script: |
make $ARGS
make test
@ -27,7 +26,6 @@ build:
ARGS:
- OPTTARGET=core2
test: |
printf '%s' 'password' | argon2 somesalt -t 2 -m 16 -p 4
output=$(printf '%s' 'password' | argon2 somesalt -t 2 -m 16 -p 4)

View file

@ -22,7 +22,6 @@ build:
- -DBUILD_SHARED_LIBS=ON
test:
dependencies:
fixture: |
#include "cbor.h"
#include <stdio.h>

View file

@ -7,7 +7,6 @@ versions:
aka: tl-expected
build:
dependencies:
cmake.org: ^3
@ -20,7 +19,6 @@ build:
- make --jobs {{ hw.concurrency }} install
test:
dependencies:
fixture: |
#include <iostream>
#include <tl/expected.hpp>

View file

@ -15,7 +15,7 @@ provides:
- bin/xcodes
build:
dependencies:
# dependencies:
# swift.org: 5
# apple.com/xcode: >=13.3
script: |
@ -23,5 +23,4 @@ build:
mkdir -p {{prefix}}/bin
mv $(swift build --configuration release --show-bin-path)/xcodes {{prefix}}/bin
test:
xcodes version | grep {{version}}
test: xcodes version | grep {{version}}

View file

@ -7,7 +7,6 @@ versions:
strip: /^libunibreak /
build:
dependencies:
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
@ -19,5 +18,4 @@ build:
test:
dependencies:
freedesktop.org/pkg-config: '*'
script:
pkg-config --modversion libunibreak | grep {{version.marketing}}
script: pkg-config --modversion libunibreak | grep {{version.marketing}}

View file

@ -20,5 +20,4 @@ provides:
- bin/gost3411-2012
test:
script:
test "$(gost3411-2012 -q -s tea)" = "d13f0f2f8958457d295209625ecc6efca774f2e079948d1fe0330dfee8d6eb2ff3f961ba3ba8ec71e8227e8e590eb1b128dc53fc4724c037c1b7e481d45d9c31"
script: test "$(gost3411-2012 -q -s tea)" = "d13f0f2f8958457d295209625ecc6efca774f2e079948d1fe0330dfee8d6eb2ff3f961ba3ba8ec71e8227e8e590eb1b128dc53fc4724c037c1b7e481d45d9c31"

View file

@ -16,7 +16,6 @@ build:
ninja-build.org: '*'
freedesktop.org/pkg-config: '*'
python.org: ^3.1
working-directory: build
script:
- run: "sed -i'' -e 's|auto|no|g' $HOME/../meson_options.txt"

View file

@ -35,7 +35,6 @@ build:
- -DENABLE_TESTING=OFF
test:
dependencies:
fixture: |
#include <aws/core/Version.h>
#include <iostream>

View file

@ -20,9 +20,6 @@ build:
linux:
openssl.org: '*'
freedesktop.org/pkg-config: '*'
script:
cargo install --locked --path . --root {{prefix}}
script: cargo install --locked --path . --root {{prefix}}
test:
script:
- test "$(dy --version)" = "dynein {{version}}"
test: test "$(dy --version)" = "dynein {{version}}"

View file

@ -20,7 +20,6 @@ build:
- --disable-failure-tokens
test:
dependencies:
script: |
cc -L{{prefix}}/lib -lcrypt fixture.c
./a.out

View file

@ -11,9 +11,7 @@ platforms: darwin
provides:
- bin/create-dmg
build:
dependencies:
script: make prefix={{prefix}} install
build: make prefix={{prefix}} install
test: |
create-dmg --version
touch Brew-Eula.txt

View file

@ -19,7 +19,6 @@ build:
- -DENABLE_DOUBLE_PRECISION=ON
test:
dependencies:
script: |
cc -o test test.c -lccd
./test

View file

@ -10,9 +10,7 @@ dependencies:
github.com/jhford/screenresolution: '*'
build:
dependencies:
script:
make --jobs {{ hw.concurrency }} install
script: make --jobs {{ hw.concurrency }} install
env:
ARGS:
- PREFIX="{{prefix}}"
@ -20,5 +18,4 @@ build:
provides:
- bin/neofetch
test:
neofetch | grep $(uname -m)
test: neofetch | grep $(uname -m)

View file

@ -6,7 +6,7 @@ versions:
strip: /^release_v/
runtime:
env:
PYTHONPATH: "{{prefix}}/lib/python{{deps.python.org.version.major}}/site-packages:$PYTHONPATH"
PYTHONPATH: '{{prefix}}/lib/python{{deps.python.org.version.major}}/site-packages:$PYTHONPATH'
dependencies:
python.org: ^3.11
build:
@ -15,8 +15,5 @@ build:
- mkdir -p {{prefix}}/pkgshare
- cp -r examples {{prefix}}/pkgshare/
- run: ln -s python{{deps.python.org.version.marketing}} python{{deps.python.org.version.major}}
working-directory: "{{prefix}}/lib"
test:
dependencies:
script:
- python {{prefix}}/pkgshare/examples/c-to-c.py {{prefix}}/pkgshare/examples/c_files/basic.c
working-directory: '{{prefix}}/lib'
test: python {{prefix}}/pkgshare/examples/c-to-c.py {{prefix}}/pkgshare/examples/c_files/basic.c

View file

@ -50,7 +50,6 @@ build:
- -DCMAKE_EXE_LINKER_FLAGS=-pie
test:
dependencies:
fixture: |
#include <fizz/client/AsyncFizzClient.h>
#include <iostream>

View file

@ -26,7 +26,6 @@ build:
- make --jobs {{ hw.concurrency }} install
test:
dependencies:
fixture: |
#include "spdlog/sinks/basic_file_sink.h"
#include <iostream>

View file

@ -6,20 +6,15 @@ versions:
github: gofireflyio/aiac
strip: /^v /
dependencies:
# __DEP__: __DEP_VERSION__
build:
dependencies:
go.dev: ^1.18
# __DEP__: __DEP_VERSION__
script: |
go build -v -ldflags="$LDFLAGS"
mkdir -p "{{ prefix }}"/bin
mv aiac "{{ prefix }}"/bin
env:
LDFLAGS:
[-s, -w, "-X=main.Version={{version}}"]
LDFLAGS: [-s, -w, '-X=main.Version={{version}}']
linux:
# or segmentation fault
# fix found here https://github.com/docker-library/golang/issues/402#issuecomment-982204575

View file

@ -28,7 +28,6 @@ build:
- -DRE2_BUILD_TESTING=OFF
test:
dependencies:
fixture: |
#include <re2/re2.h>
#include <assert.h>

View file

@ -6,8 +6,6 @@ versions:
github: ivmai/libatomic_ops
build:
dependencies:
script:
- ./configure $ARGS
- make --jobs {{ hw.concurrency }}

View file

@ -7,7 +7,6 @@ versions:
strip: /^v/
build:
dependencies:
script: |
make --jobs {{ hw.concurrency }} lolcat
mkdir -p {{prefix}}/bin

View file

@ -22,7 +22,6 @@ build:
- make --jobs {{hw.concurrency}} install
test:
dependencies:
fixture: |
#include <yaml-cpp/yaml.h>
int main() {

View file

@ -11,7 +11,6 @@ platforms:
- darwin
build:
dependencies:
script: |
curl $PATCH | patch -p1 || true
make
@ -23,5 +22,4 @@ build:
provides:
- bin/screenresolution
test:
screenresolution get
test: screenresolution get

View file

@ -17,7 +17,6 @@ build:
make --jobs {{ hw.concurrency }} install
test:
dependencies:
script: |
cc fixture.c -ljson-c
./a.out

View file

@ -12,7 +12,7 @@ provides:
- bin/swift-outdated
build:
dependencies:
# dependencies:
# swift.org: ^5.8
# apple.com/xcode: >=14
script:
@ -20,5 +20,4 @@ build:
- mkdir -p {{prefix}}/bin
- mv $(swift build --configuration release --show-bin-path)/swift-outdated {{prefix}}/bin
test:
swift-outdated --version | grep {{version}}
test: swift-outdated --version | grep {{version}}

View file

@ -10,7 +10,6 @@ provides:
- bin/onig-config
build:
dependencies:
script: |
./configure --disable-dependency-tracking --prefix={{prefix}}
make install

View file

@ -34,7 +34,6 @@ build:
- --disable-fontconfig # libass uses coretext on macOS, fontconfig on Linux
test:
dependencies:
script: |
c++ test.cpp -lass -o test
./test

View file

@ -25,7 +25,6 @@ build:
- -DBUILD_TESTING=OFF
test:
dependencies:
fixture: |
#include <assert.h>
#include <samplerate.h>

View file

@ -9,7 +9,6 @@ dependencies:
go.dev: '*'
build:
dependencies:
script: go build $ARGS
env:
ARGS:
@ -21,7 +20,7 @@ provides:
test:
env:
GO111MODULE: "auto"
GO111MODULE: 'auto'
dependencies:
gnu.org/wget: '*'
go.dev: '*'

View file

@ -1,21 +1,18 @@
distributable:
url: "https://github.com/mxcl/swift-sh/archive/{{version}}.tar.gz"
# this obscure option dictates how many components are removed from the
# extracted tarball.
url: 'https://github.com/mxcl/swift-sh/archive/{{version}}.tar.gz'
strip-components: 1
versions:
github: mxcl/swift-sh # reads github release tags
github: mxcl/swift-sh
platforms:
- darwin
# - linux/x86-64
dependencies:
# swift.org: 5
# dependencies:
# swift.org: 5
build:
dependencies:
# dependencies:
# swift.org: 5
# apple.com/xcode: >=11
script:

View file

@ -12,7 +12,7 @@ provides:
- bin/swiftformat
build:
dependencies:
# dependencies:
# swift.org: 5
# apple.com/xcode: >=13.3
script: |
@ -20,5 +20,4 @@ build:
mkdir -p {{prefix}}/bin
mv $(swift build --configuration release --show-bin-path)/swiftformat {{prefix}}/bin
test:
swiftformat --version | grep {{version}}
test: swiftformat --version | grep {{version}}

View file

@ -9,7 +9,6 @@ provides:
- bin/gpt4all
build:
dependencies:
script: |
mkdir -p {{prefix}}/bin {{prefix}}/tbin
@ -22,5 +21,4 @@ build:
test: |
{{prefix}}/tbin/gpt4all --help
# testing more than this requires downloading the models 😬
entrypoint: gpt4all

View file

@ -5,6 +5,8 @@ distributable:
versions:
github: numactl/numactl
platforms: linux
build:
dependencies:
gnu.org/autoconf: 2
@ -12,14 +14,6 @@ build:
gnu.org/libtool: 2
gnu.org/m4: 1
script: |
# numa is linux only
if test {{ hw.platform }} != "linux"
then
mkdir -p "{{ prefix }}/bin"
touch {{ prefix }}/not-used-on-darwin
exit
fi
./autogen.sh
./configure --prefix={{ prefix }}
make --jobs {{ hw.concurrency }} install
@ -27,9 +21,6 @@ build:
ACLOCAL_PATH: ${{ deps.gnu.org/libtool.prefix }}/share/aclocal
test:
dependencies:
script: |
if test {{ hw.platform }} != "linux"; then exit; fi
cc -lnuma mynode.c
./a.out

View file

@ -21,7 +21,6 @@ build:
- --wrap-mode=nofallback
test:
dependencies:
script: |
g++ -std=c++11 ./test.cpp -o test -ljsoncpp
./test

View file

@ -7,11 +7,10 @@ versions:
strip: /^p7zip /
build:
dependencies:
script: |
if test {{ hw.platform }} = darwin; then
mv makefile.macosx_llvm_64bits makefile.machine
else
script:
- run: mv makefile.macosx_llvm_64bits makefile.machine
if: darwin
- run: |
mv makefile.linux_any_cpu makefile.machine
sed -i.bak -e 's/-std=gnu/-fPIC -std=gnu/' \
C/makefile.glb \
@ -20,18 +19,19 @@ build:
rm C/makefile.glb.bak \
CPP/7zip/CMAKE/CMakeLists.txt.bak \
makefile.glb.bak
fi
if: linux
make --jobs {{ hw.concurrency }} all3
make DEST_HOME={{prefix}} DEST_MAN={{prefix}}/man install
- make --jobs {{ hw.concurrency }} all3
- make DEST_HOME={{prefix}} DEST_MAN={{prefix}}/man install
# relocatability
cd "{{prefix}}/bin"
- run: |
for x in *; do
echo "#!/bin/sh" > $x
echo 'd="$(cd "$(dirname "$0")/.." && pwd)"' >> $x
echo "exec \"\$d\"/lib/p7zip/$x \"\$@\"" >> $x
done
working-directory: ${{prefix}}/bin
provides:
- bin/7z
@ -43,5 +43,4 @@ test:
7z a -t7z foo.7z $FIXTURE
7z e foo.7z -oout
test "hello world!" = "$(cat out/*)"
fixture:
hello world!
fixture: hello world!

View file

@ -5,12 +5,9 @@ distributable:
versions:
github: postmodern/chruby
build:
dependencies:
script:
make --jobs {{ hw.concurrency }} install
build: make --jobs {{ hw.concurrency }} install
provides:
- bin/chruby-exec
test:
chruby-exec --version | grep {{version}}
test: chruby-exec --version | grep {{version}}

View file

@ -9,8 +9,6 @@ dependencies:
tukaani.org/xz: '*'
build:
dependencies:
script: make --jobs {{ hw.concurrency }} install PREFIX="{{prefix}}"
provides:

View file

@ -6,7 +6,6 @@ versions:
dependencies:
ruby-lang.org: '*'
build:
dependencies:
script:
- src/configure
- make -C src

View file

@ -8,10 +8,8 @@ versions:
github: redis/hiredis
build:
dependencies:
script: |
make install $ARGS
env:
ARGS:
- PREFIX="{{prefix}}"
@ -22,5 +20,4 @@ build:
test:
dependencies:
freedesktop.org/pkg-config: '*'
script:
pkg-config --modversion hiredis | grep {{version}}
script: pkg-config --modversion hiredis | grep {{version}}

View file

@ -20,7 +20,6 @@ build:
provides:
- bin/paper
test:
dependencies:
script:
- paper --version | grep {{version}}
- cc test.c -lpaper -o test

View file

@ -7,7 +7,6 @@ dependencies:
python.org: ^3.11
github.com/rrthomas/libpaper: '*'
build:
dependencies:
script:
- rm -r props
- python-venv.sh {{prefix}}/bin/psbook

View file

@ -19,7 +19,4 @@ build:
ARGS:
- --prefix="{{prefix}}"
test:
dependencies:
script:
cc test.c -lzimg -o test
test: cc test.c -lzimg -o test

View file

@ -14,14 +14,13 @@ build:
cmake --build build
cmake --install build
env:
LD_LIBRARY_PATH: "{{deps.gnu.org/gcc.prefix}}"
LD_LIBRARY_PATH: '{{deps.gnu.org/gcc.prefix}}'
ARGS:
- -DCMAKE_INSTALL_PREFIX="{{prefix}}"
- -DENABLE_LIBCXX="ON"
- -DCPPTOML_BUILD_EXAMPLES=OFF
test:
dependencies:
script: |
g++ -std=c++11 -I {{prefix}}/include test.cc -o test
./test | grep "Hello, Tea"

View file

@ -30,12 +30,11 @@ build:
- --disable-silent-rules
test:
dependencies:
script:
- gcc ./fixture.c -lnl-3 -lnl-route-3 -o test
- (./test 2>&1 || true) | grep "$OUT"
- nl-route-list | grep "$OUT2"
env:
OUT: "Unable to delete link: Operation not permitted"
OUT: 'Unable to delete link: Operation not permitted'
OUT2: inet 127.0.0.1

View file

@ -11,7 +11,6 @@ dependencies:
gnu.org/m4: ^1
build:
dependencies:
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
@ -28,7 +27,6 @@ build:
CPPFLAGS: -D_GNU_SOURCE
test:
dependencies:
script: |
flex test.flex
cc lex.yy.c -lfl

View file

@ -6,8 +6,6 @@ versions:
github: zsh-users/zsh-syntax-highlighting/tags
build:
dependencies:
#charm.sh/gum: '*'
script:
- make --jobs {{ hw.concurrency }} install
# Users need to source this in their zsh configs

View file

@ -8,11 +8,7 @@ versions:
build:
dependencies:
linux:
gnu.org/gcc: "*"
darwin:
gnu.org/gcc: '*'
script: |
make
make $ARGS install
@ -30,20 +26,20 @@ build:
CC: cc
CFLAGS: -O2 -Wall -fomit-frame-pointer -no-cpp-precomp
test:
script: |
script:
# prepare for tests
mkdir -p foo/bar
mkdir -p foo/buzz
touch foo/buzz/lupus.txt
- mkdir -p foo/bar
- mkdir -p foo/buzz
- touch foo/buzz/lupus.txt
# run tests
tree --version | grep 'tree v{{version}}'
out="$(tree . )"
echo $out | grep lupus.txt # test for files found
echo $out | grep bar # test for level 2 dirs found
echo $out | grep buzz # ^
echo $out | grep '4 directories, 2 files'
tree .
- tree --version | grep 'tree v{{version}}'
- out="$(tree . )"
- echo $out | grep lupus.txt # test for files found
- echo $out | grep bar # test for level 2 dirs found
- echo $out | grep buzz # ^
- echo $out | grep '4 directories, 2 files'
- tree .
provides:
- bin/tree

View file

@ -43,7 +43,6 @@ build:
# CPATH: /usr/include/c++
test:
dependencies:
fixture: |
#include <glm/vec2.hpp>// glm::vec2
int main() {

View file

@ -32,7 +32,6 @@ build:
- --without-plugins # doesnt build and we couldnt debug
test:
dependencies:
script: |
cc `xslt-config --cflags --libs` test.c
./a.out

View file

@ -10,7 +10,6 @@ versions:
- /.tar.xz/
build:
dependencies:
script:
- ./configure --prefix="{{ prefix }}"
- make --jobs {{ hw.concurrency }} install

View file

@ -48,7 +48,6 @@ build:
perl -pi -e 's|{{prefix}}|\$PREFIX|' share/autoconf/autom4te.cfg
test:
dependencies:
script: |
autoconf --verbose --debug
./configure

View file

@ -36,12 +36,11 @@ build:
fix-shebangs.ts bin/*
env:
PERL5LIB: "{{prefix}}/share/automake-{{version.marketing}}"
PERL5LIB: '{{prefix}}/share/automake-{{version.marketing}}'
# TODO to prove automake doesn't require autoconf we should
# use “depend” on the autoconf test to generate our `configure` separately
test:
dependencies:
script: |
aclocal
automake --add-missing --foreign

View file

@ -18,7 +18,6 @@ interprets:
args: [bash, -e]
build:
dependencies:
script: |
./configure --prefix={{ prefix }}
make --jobs {{ hw.concurrency }} install
@ -27,6 +26,4 @@ build:
# non-interactively from sshd. macOSs bash does this so users expect it.
CFLAGS: $CFLAGS -DSSH_SOURCE_BASHRC
test:
script: |
bash -c "set -o pipefail"
test: bash -c "set -o pipefail"

View file

@ -10,7 +10,6 @@ dependencies:
gnu.org/m4: 1
build:
dependencies:
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
@ -21,7 +20,6 @@ build:
- --enable-relocatable
test:
dependencies:
script: |
bison test.y
c++ test.tab.c

View file

@ -10,115 +10,114 @@ versions:
- /.tar.gz/
provides:
- bin/[
- bin/b2sum
- bin/base32
- bin/base64
- bin/basename
- bin/basenc
- bin/cat
- bin/chcon
- bin/chgrp
- bin/chmod
- bin/chown
- bin/chroot
- bin/cksum
- bin/comm
- bin/cp
- bin/csplit
- bin/cut
- bin/date
- bin/dd
- bin/df
- bin/dir
- bin/dircolors
- bin/dirname
- bin/du
- bin/echo
- bin/env
- bin/expand
- bin/expr
- bin/factor
- bin/false
- bin/fmt
- bin/fold
- bin/groups
- bin/head
- bin/hostid
- bin/id
- bin/install
- bin/join
- bin/kill
- bin/link
- bin/ln
- bin/logname
- bin/ls
- bin/md5sum
- bin/mkdir
- bin/mkfifo
- bin/mknod
- bin/mktemp
- bin/mv
- bin/nice
- bin/nl
- bin/nohup
- bin/nproc
- bin/numfmt
- bin/od
- bin/paste
- bin/pathchk
- bin/pinky
- bin/pr
- bin/printenv
- bin/printf
- bin/ptx
- bin/pwd
- bin/readlink
- bin/realpath
- bin/rm
- bin/rmdir
- bin/runcon
- bin/seq
- bin/sha1sum
- bin/sha224sum
- bin/sha256sum
- bin/sha384sum
- bin/sha512sum
- bin/shred
- bin/shuf
- bin/sleep
- bin/sort
- bin/split
- bin/stat
- bin/stdbuf
- bin/stty
- bin/sum
- bin/sync
- bin/tac
- bin/tail
- bin/tee
- bin/test
- bin/timeout
- bin/touch
- bin/tr
- bin/true
- bin/truncate
- bin/tsort
- bin/tty
- bin/uname
- bin/unexpand
- bin/uniq
- bin/unlink
- bin/uptime
- bin/users
- bin/vdir
- bin/wc
- bin/who
- bin/whoami
- bin/yes
- bin/[
- bin/b2sum
- bin/base32
- bin/base64
- bin/basename
- bin/basenc
- bin/cat
- bin/chcon
- bin/chgrp
- bin/chmod
- bin/chown
- bin/chroot
- bin/cksum
- bin/comm
- bin/cp
- bin/csplit
- bin/cut
- bin/date
- bin/dd
- bin/df
- bin/dir
- bin/dircolors
- bin/dirname
- bin/du
- bin/echo
- bin/env
- bin/expand
- bin/expr
- bin/factor
- bin/false
- bin/fmt
- bin/fold
- bin/groups
- bin/head
- bin/hostid
- bin/id
- bin/install
- bin/join
- bin/kill
- bin/link
- bin/ln
- bin/logname
- bin/ls
- bin/md5sum
- bin/mkdir
- bin/mkfifo
- bin/mknod
- bin/mktemp
- bin/mv
- bin/nice
- bin/nl
- bin/nohup
- bin/nproc
- bin/numfmt
- bin/od
- bin/paste
- bin/pathchk
- bin/pinky
- bin/pr
- bin/printenv
- bin/printf
- bin/ptx
- bin/pwd
- bin/readlink
- bin/realpath
- bin/rm
- bin/rmdir
- bin/runcon
- bin/seq
- bin/sha1sum
- bin/sha224sum
- bin/sha256sum
- bin/sha384sum
- bin/sha512sum
- bin/shred
- bin/shuf
- bin/sleep
- bin/sort
- bin/split
- bin/stat
- bin/stdbuf
- bin/stty
- bin/sum
- bin/sync
- bin/tac
- bin/tail
- bin/tee
- bin/test
- bin/timeout
- bin/touch
- bin/tr
- bin/true
- bin/truncate
- bin/tsort
- bin/tty
- bin/uname
- bin/unexpand
- bin/uniq
- bin/unlink
- bin/uptime
- bin/users
- bin/vdir
- bin/wc
- bin/who
- bin/whoami
- bin/yes
build:
dependencies:
script: |
./configure --prefix={{ prefix }}
make --jobs {{ hw.concurrency }} install

Some files were not shown because too many files have changed in this diff Show more