mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
fix cargo on Sonoma (hopefully) (#3544)
This commit is contained in:
parent
a94cbfc456
commit
630e7163d5
3 changed files with 9 additions and 41 deletions
|
@ -1,5 +1,5 @@
|
|||
dependencies:
|
||||
pkgx.sh/brewkit: ^0.46
|
||||
pkgx.sh/brewkit: ^0
|
||||
env:
|
||||
PKGX_PANTRY_PATH: ${{srcroot}}
|
||||
SRCROOT: ${{srcroot}}
|
||||
|
|
|
@ -29,13 +29,15 @@ build:
|
|||
tukaani.org/xz: '*'
|
||||
freedesktop.org/pkg-config: ^0.29
|
||||
rust-lang.org/cargo: '*'
|
||||
script: cargo $ARGS
|
||||
script:
|
||||
- |
|
||||
sed -i.bak 's/^curl\s*=\s*"(.+)"$/curl = { version = "\\1", features = ["force-system-lib-on-osx"] }/' Cargo.toml
|
||||
- cargo install
|
||||
--root={{ prefix }}
|
||||
--path=.
|
||||
env:
|
||||
ARGS:
|
||||
- install
|
||||
- --root={{ prefix }}
|
||||
- --path=.
|
||||
|
||||
LIBGIT2_SYS_USE_PKG_CONFIG: 1
|
||||
LIBSSH2_SYS_USE_PKG_CONFIG: 1
|
||||
test:
|
||||
env:
|
||||
CC: clang #FIXME
|
||||
|
|
|
@ -1,34 +0,0 @@
|
|||
distributable:
|
||||
url: https://github.com/teaxyz/brewkit/archive/refs/tags/v{{ version }}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
display-name: tea/brewkit
|
||||
|
||||
versions:
|
||||
github: teaxyz/brewkit
|
||||
|
||||
dependencies:
|
||||
deno.land: '>=1.30<1.36.1'
|
||||
gnu.org/bash: '*'
|
||||
tea.xyz: '>=0.24.10'
|
||||
|
||||
build: |
|
||||
mkdir -p {{prefix}}
|
||||
|
||||
rm -rf {{prefix}}/*
|
||||
# ^^ because our build infra uses this pkg to build itself
|
||||
|
||||
for x in bin libexec lib share deno.*; do
|
||||
test -e $x && mv $x "{{prefix}}"
|
||||
done
|
||||
|
||||
provides:
|
||||
- bin/tea-pkg
|
||||
|
||||
test:
|
||||
dependencies:
|
||||
zlib.net: '*'
|
||||
script:
|
||||
pkg test zlib.net
|
||||
# we would like to test builds but we need a `GITHUB_TOKEN` and
|
||||
# (currently) we can’t figure out how to set that up in CI/CD
|
Loading…
Reference in a new issue