python recommended deps (#68)

This commit is contained in:
Max Howell 2022-08-03 08:02:32 -04:00 committed by GitHub
parent 70d0af6b81
commit 8233f19e48
3 changed files with 48 additions and 1 deletions

View file

@ -88,7 +88,10 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
- name: Test
run: ./scripts/test.ts ${{ steps.build.outputs.pkgs }}
run: |
for x in ${{ steps.build.outputs.pkgs }}; do
./scripts/test.ts $x
done
- name: Bottle
run: ./scripts/bottle.ts ${{ steps.build.outputs.pkgs }}

View file

@ -0,0 +1,27 @@
distributable:
url: https://pkgconfig.freedesktop.org/releases/pkg-config-{{ version }}.tar.gz
strip-components: 1
provides:
- bin/pkg-config
versions:
github: freedesktop/pkg-config/tags
strip: /^pkg-config-/
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
script: |-
./configure \
--prefix="{{ prefix }}" \
--disable-debug \
--disable-host-tool \
--with-internal-glib \
--with-pc-path=/usr/lib/pkgconfig #FIXME
make --jobs {{ hw.concurrency }}
make install
test:
script: pkg-config --version

View file

@ -0,0 +1,17 @@
distributable:
url: https://tukaani.org/xz/xz-{{ version }}.tar.gz
strip-components: 1
versions:
- 5.2.5
build:
dependencies:
tea.xyz/gx/cc: 'c99'
tea.xyz/gx/make: '*'
script: |
./configure --prefix={{ prefix }} --disable-debug
make --jobs {{ hw.concurrency }} install
test:
script: xz --version