mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
pkgx
This commit is contained in:
parent
94f5037112
commit
81e7a5e16f
589 changed files with 160 additions and 1355 deletions
|
@ -1,3 +1,3 @@
|
|||
{
|
||||
"postAttachCommand": "sh <(curl https://tea.xyz) --yes && exec bash -i"
|
||||
"postAttachCommand": "sh <(curl https://pkgx.sh) --yes && exec bash -i"
|
||||
}
|
||||
|
|
2
.github/actions/complain/action.yml
vendored
2
.github/actions/complain/action.yml
vendored
|
@ -1,4 +1,4 @@
|
|||
name: tea/pantry/complain
|
||||
name: pkgx/pantry/complain
|
||||
description: creates an issue for failure conditions
|
||||
|
||||
inputs:
|
||||
|
|
2
.github/actions/request-qa/action.yml
vendored
2
.github/actions/request-qa/action.yml
vendored
|
@ -1,4 +1,4 @@
|
|||
name: tea/pantry/request-qa
|
||||
name: pkgx/pantry/request-qa
|
||||
description: Requests QA for a new version of a project
|
||||
|
||||
inputs:
|
||||
|
|
4
.github/deno.jsonc
vendored
4
.github/deno.jsonc
vendored
|
@ -3,12 +3,12 @@
|
|||
"allowJs": false,
|
||||
"strict": true
|
||||
},
|
||||
"tea": {
|
||||
"pkgx": {
|
||||
"dependencies": {
|
||||
"deno.land": "^1.30"
|
||||
}
|
||||
},
|
||||
"imports": {
|
||||
"tea": "https://deno.land/x/libtea@v0.6.2/mod.ts"
|
||||
"pkgx": "https://deno.land/x/libpkgx@v0.14.1/mod.ts"
|
||||
}
|
||||
}
|
||||
|
|
2
.github/scripts/utils/args.ts
vendored
2
.github/scripts/utils/args.ts
vendored
|
@ -1,4 +1,4 @@
|
|||
import { Installation, Package, PackageRequirement, hooks, utils } from "tea"
|
||||
import { Installation, Package, PackageRequirement, hooks, utils } from "pkgx"
|
||||
const { useCellar } = hooks
|
||||
|
||||
/// processes Deno.args unless STDIN is not a TTY and has input
|
||||
|
|
45
.github/workflows/bottle.yml
vendored
45
.github/workflows/bottle.yml
vendored
|
@ -29,7 +29,7 @@ jobs:
|
|||
cache-set: ${{ steps.platform.outputs.cache-set }}
|
||||
available: ${{ steps.platform.outputs.available }}
|
||||
steps:
|
||||
- uses: teaxyz/brewkit/actions/get-platform@v0
|
||||
- uses: pkgxdev/brewkit/actions/get-platform@v0
|
||||
id: platform
|
||||
with:
|
||||
platform: ${{ inputs.platform }}
|
||||
|
@ -44,16 +44,18 @@ jobs:
|
|||
built: ${{ env.built }}
|
||||
pr: ${{ env.PR }}
|
||||
steps:
|
||||
- uses: teaxyz/brewkit/actions/setup-brewkit@v0
|
||||
id: tea
|
||||
- uses: pkgxdev/brewkit/actions/setup-brewkit@v0
|
||||
id: pkgx
|
||||
timeout-minutes: 10
|
||||
with:
|
||||
prefix: ${{ github.workspace }}/.pkgx
|
||||
|
||||
- uses: actions/download-artifact@v3
|
||||
if: ${{ inputs.new-version }}
|
||||
with:
|
||||
name: ${{ inputs.platform }}
|
||||
|
||||
- uses: teaxyz/brewkit/actions/fetch-pr-artifacts@v0
|
||||
- uses: pkgxdev/brewkit/actions/fetch-pr-artifacts@v0
|
||||
if: ${{ !inputs.new-version }}
|
||||
with:
|
||||
platform: ${{ inputs.platform }}
|
||||
|
@ -64,59 +66,60 @@ jobs:
|
|||
|
||||
- name: clean destination
|
||||
# Note: needed when changing a directory to a symlink, for example in
|
||||
# https://github.com/teaxyz/pantry/pull/435
|
||||
# https://github.com/pkgxdev/pantry/pull/435
|
||||
run: |
|
||||
tar tzf $GITHUB_WORKSPACE/artifacts.tgz | \
|
||||
awk '{ print length, $0 }' | \
|
||||
sort -n -s -r | \
|
||||
cut -d" " -f2- | \
|
||||
xargs rm -rf
|
||||
working-directory: ${{ steps.tea.outputs.prefix }}
|
||||
working-directory: ${{ github.workspace }}/.pkgx
|
||||
|
||||
- run: tar xzvf $GITHUB_WORKSPACE/artifacts.tgz
|
||||
working-directory: ${{ steps.tea.outputs.prefix }}
|
||||
working-directory: ${{ github.workspace }}/.pkgx
|
||||
|
||||
- run: |
|
||||
for file in built srcs; do
|
||||
echo "$file=$(cat $file)" >>$GITHUB_ENV
|
||||
echo "$file=$(cat $file)" >> $GITHUB_ENV
|
||||
done
|
||||
working-directory: ${{ steps.tea.outputs.prefix }}
|
||||
working-directory: ${{ github.workspace }}/.pkgx
|
||||
|
||||
- run: |
|
||||
tea +gnupg.org gpg-agent --daemon || true
|
||||
pkgx +gnupg.org gpg-agent --daemon || true
|
||||
echo $GPG_PRIVATE_KEY | \
|
||||
base64 -d | \
|
||||
tea +gnupg.org gpg --import --batch --yes
|
||||
pkgx +gnupg.org gpg --import --batch --yes
|
||||
env:
|
||||
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||
|
||||
- uses: teaxyz/brewkit/actions/bottle@v0
|
||||
- uses: pkgxdev/brewkit/actions/bottle@v0
|
||||
id: bottle-xz
|
||||
with:
|
||||
built: ${{ env.built }}
|
||||
compression: xz
|
||||
gpg-key-id: ${{ secrets.GPG_KEY_ID }}
|
||||
env:
|
||||
XDG_CACHE_HOME: ${{ github.workspace }}/.pkgx
|
||||
|
||||
- uses: teaxyz/brewkit/actions/bottle@v0
|
||||
- uses: pkgxdev/brewkit/actions/bottle@v0
|
||||
id: bottle-gz
|
||||
with:
|
||||
built: ${{ env.built }}
|
||||
compression: gz
|
||||
gpg-key-id: ${{ secrets.GPG_KEY_ID }}
|
||||
env:
|
||||
XDG_CACHE_HOME: ${{ github.workspace }}/.pkgx
|
||||
|
||||
- run: |
|
||||
echo ${{ steps.bottle-gz.outputs.bottles }} ${{ steps.bottle-xz.outputs.bottles }} >bottles
|
||||
echo ${{ steps.bottle-gz.outputs.checksums }} ${{ steps.bottle-xz.outputs.checksums }} >checksums
|
||||
echo ${{ steps.bottle-gz.outputs.signatures }} ${{ steps.bottle-xz.outputs.signatures }} >signatures
|
||||
|
||||
SRCS=$(echo $srcs | tr -d '~')
|
||||
|
||||
tar cf $GITHUB_WORKSPACE/artifacts.tar \
|
||||
$SRCS \
|
||||
${{ steps.bottle-gz.outputs.bottles }} \
|
||||
${{ steps.bottle-xz.outputs.bottles }} \
|
||||
bottles checksums signatures
|
||||
working-directory: ${{ steps.tea.outputs.prefix }}
|
||||
working-directory: ${{ github.workspace }}/.pkgx
|
||||
|
||||
- name: upload artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
|
@ -132,9 +135,9 @@ jobs:
|
|||
outputs:
|
||||
qa-required: ${{ steps.upload.outputs.qa-required }}
|
||||
steps:
|
||||
- uses: teaxyz/brewkit/actions/setup-brewkit@v0
|
||||
- uses: pkgxdev/brewkit/actions/setup-brewkit@v0
|
||||
with:
|
||||
prefix: ${{ github.workspace }}/.tea
|
||||
prefix: ${{ github.workspace }}/.pkgx
|
||||
timeout-minutes: 10
|
||||
|
||||
- uses: actions/download-artifact@v3
|
||||
|
@ -148,12 +151,12 @@ jobs:
|
|||
echo "$file=$(cat $file)" >>$GITHUB_ENV
|
||||
done
|
||||
|
||||
- uses: teaxyz/brewkit/actions/upload@v0
|
||||
- uses: pkgxdev/brewkit/actions/upload@v0
|
||||
id: upload
|
||||
with:
|
||||
qa: ${{ inputs.new-version }}
|
||||
pkgs: ${{ needs.bottle.outputs.built }} ${{ needs.bottle.outputs.built }}
|
||||
srcs: ${{ needs.bottle.outputs.srcs }} ${{ needs.bottle.outputs.srcs }}
|
||||
srcs: '~'
|
||||
bottles: ${{ env.bottles }}
|
||||
checksums: ${{ env.checksums }}
|
||||
signatures: ${{ env.signatures }}
|
||||
|
|
34
.github/workflows/build.yml
vendored
34
.github/workflows/build.yml
vendored
|
@ -21,7 +21,7 @@ jobs:
|
|||
cache-set: ${{ steps.platform.outputs.cache-set }}
|
||||
available: ${{ steps.platform.outputs.available }}
|
||||
steps:
|
||||
- uses: teaxyz/brewkit/actions/get-platform@v0
|
||||
- uses: pkgxdev/brewkit/actions/get-platform@v0
|
||||
id: platform
|
||||
with:
|
||||
platform: ${{ inputs.platform }}
|
||||
|
@ -33,10 +33,10 @@ jobs:
|
|||
needs: [get-platform]
|
||||
if: ${{ needs.get-platform.outputs.available != '' }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: teaxyz/brewkit/actions/setup-brewkit@v0
|
||||
id: tea
|
||||
- uses: pkgxdev/brewkit/actions/setup-brewkit@v0
|
||||
id: pkgx
|
||||
with:
|
||||
prefix: /opt
|
||||
timeout-minutes: 10
|
||||
|
@ -46,7 +46,7 @@ jobs:
|
|||
run: sudo mv /usr/local/bin/* /tmp/
|
||||
|
||||
# setup macOS codesigning
|
||||
- uses: teaxyz/brewkit/actions/setup-codesign@v0
|
||||
- uses: pkgxdev/brewkit/actions/setup-codesign@v0
|
||||
if: startsWith(inputs.platform, 'darwin+') && github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name
|
||||
with:
|
||||
p12-file-base64: ${{ secrets.APPLE_CERTIFICATE_P12 }}
|
||||
|
@ -58,22 +58,22 @@ jobs:
|
|||
GITHUB_TOKEN: ${{ github.token }}
|
||||
FORCE_UNSAFE_CONFIGURE: 1 # some configure scripts refuse to run as root
|
||||
APPLE_IDENTITY: ${{ secrets.APPLE_IDENTITY || '-' }}
|
||||
SRCROOT: ${{ github.workspace }}
|
||||
|
||||
- run: |
|
||||
ABS_PATHS=$(echo $PATHS | tr ' ' '\n' | sed -e "s_^_$TEA_PREFIX/_" | tr '\n' ' ')
|
||||
ABS_PATHS=$(echo $PATHS | tr ' ' '\n' | sed -e "s_^_/opt/_" | tr '\n' ' ')
|
||||
echo "paths=$ABS_PATHS" >> $GITHUB_OUTPUT
|
||||
if: startsWith(inputs.platform, 'darwin+')
|
||||
id: absolute-paths
|
||||
env:
|
||||
PATHS: ${{ steps.build.outputs.relative-paths }}
|
||||
TEA_PREFIX: ${{ steps.tea.outputs.prefix }}
|
||||
|
||||
# cache data we'll need in the bottling job
|
||||
- name: assemble artifact metadata
|
||||
run: |
|
||||
echo ${{ steps.build.outputs.pkgs }} >built
|
||||
echo ${{ steps.build.outputs.srcs-relative-paths }} >srcs
|
||||
working-directory: ${{ steps.tea.outputs.prefix }}
|
||||
working-directory: /opt
|
||||
|
||||
# tarring ourselves ∵ GHA-artifacts (ludicrously) lose permissions
|
||||
# /ref https://github.com/actions/upload-artifact/issues/38
|
||||
|
@ -82,7 +82,7 @@ jobs:
|
|||
${{ steps.build.outputs.relative-paths }}
|
||||
${{ steps.build.outputs.srcs-relative-paths }}
|
||||
built srcs
|
||||
working-directory: ${{ steps.tea.outputs.prefix }}
|
||||
working-directory: /opt
|
||||
|
||||
- name: upload artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
|
@ -103,8 +103,8 @@ jobs:
|
|||
HAS_SECRETS: ${{ env.HAS_SECRETS }}
|
||||
container: ${{ matrix.platform.container }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: teaxyz/brewkit/actions/setup-brewkit@v0
|
||||
- uses: actions/checkout@v4
|
||||
- uses: pkgxdev/brewkit/actions/setup-brewkit@v0
|
||||
timeout-minutes: 10
|
||||
|
||||
- uses: actions/download-artifact@v3
|
||||
|
@ -113,24 +113,24 @@ jobs:
|
|||
|
||||
- name: clean destination
|
||||
# Note: needed when changing a directory to a symlink, for example in
|
||||
# https://github.com/teaxyz/pantry/pull/435
|
||||
# https://github.com/pkgxdev/pantry/pull/435
|
||||
run: |
|
||||
cd $HOME/.pkgx
|
||||
tar tzf $GITHUB_WORKSPACE/artifacts.tgz | \
|
||||
awk '{ print length, $0 }' | \
|
||||
sort -n -s -r | \
|
||||
cut -d" " -f2- | \
|
||||
xargs rm -rf
|
||||
working-directory: ${{ env.TEA_PREFIX }}
|
||||
|
||||
- name: extract bottles
|
||||
run: tar xzvf artifacts.tgz -C $TEA_PREFIX
|
||||
run: tar xzvf artifacts.tgz -C $HOME/.pkgx
|
||||
|
||||
- run: pkg test ${{ needs.get-platform.outputs.available }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
# FIXME: this shouldn't be necessary, but it currently is for the
|
||||
# ubuntu+container test matrix entries. :/
|
||||
TEA_PANTRY_PATH: ${{ github.workspace }}
|
||||
PKGX_PANTRY_PATH: ${{ github.workspace }}
|
||||
|
||||
- name: "[post]"
|
||||
run: echo "HAS_SECRETS=$HAS_SECRETS" >>$GITHUB_ENV
|
||||
|
@ -140,14 +140,14 @@ jobs:
|
|||
stage:
|
||||
needs: [get-platform, test]
|
||||
# this only works for PRs from our team to our repo (security! :( )
|
||||
if: startsWith(github.ref, 'refs/pull/') && github.repository_owner == 'teaxyz' && needs.test.outputs.HAS_SECRETS == 'true' && needs.get-platform.outputs.available != ''
|
||||
if: startsWith(github.ref, 'refs/pull/') && github.repository_owner == 'pkgxdev' && needs.test.outputs.HAS_SECRETS == 'true' && needs.get-platform.outputs.available != ''
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: ${{ inputs.platform }}
|
||||
|
||||
- uses: teaxyz/brewkit/actions/stage-build-artifacts@v0
|
||||
- uses: pkgxdev/brewkit/actions/stage-build-artifacts@v0
|
||||
with:
|
||||
platform: ${{ inputs.platform }}
|
||||
AWS_S3_BUCKET: ${{ secrets.AWS_S3_CACHE }}
|
||||
|
|
8
.github/workflows/cd.yml
vendored
8
.github/workflows/cd.yml
vendored
|
@ -12,13 +12,13 @@ jobs:
|
|||
has-artifacts: ${{ steps.has-artifacts.outputs.has-artifacts }}
|
||||
platforms: ${{ steps.has-artifacts.outputs.platforms }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
# ^^ NOTE probably no longer required but I don’t dare try to remove it
|
||||
|
||||
- uses: teaxyz/brewkit/actions/setup-brewkit@v0
|
||||
- uses: pkgxdev/brewkit/actions/setup-brewkit@v0
|
||||
timeout-minutes: 10
|
||||
|
||||
- uses: teaxyz/brewkit/actions/has-artifacts@v0
|
||||
- uses: pkgxdev/brewkit/actions/has-artifacts@v0
|
||||
id: has-artifacts
|
||||
with:
|
||||
repo: ${{ github.repository }}
|
||||
|
@ -54,7 +54,7 @@ jobs:
|
|||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
aws-region: us-east-1
|
||||
- run: |
|
||||
REPO=$(echo ${{github.repository}} | sed -e 's_teaxyz/__')
|
||||
REPO=$(echo ${{github.repository}} | sed -e 's_pkgxdev/__')
|
||||
|
||||
if test -z "$PR"; then
|
||||
echo "no PR to clean up"
|
||||
|
|
6
.github/workflows/cleanup.yml
vendored
6
.github/workflows/cleanup.yml
vendored
|
@ -1,6 +1,6 @@
|
|||
# cleans up our S3 staging area if a PR is closed without merge
|
||||
|
||||
name: teaxyz s3 cleanup
|
||||
name: pkgx/s3-cleanup
|
||||
run-name: 'cleanup: ${{ github.event.pull_request.title }}'
|
||||
|
||||
on:
|
||||
|
@ -21,10 +21,10 @@ jobs:
|
|||
|
||||
- name: remove staged artifacts
|
||||
run: |
|
||||
REPO=$(echo ${{github.repository}} | sed -e 's_teaxyz/__')
|
||||
REPO=$(echo ${{github.repository}} | sed -e 's_pkgxdev/__')
|
||||
PR=$(echo ${{github.ref}} | sed -e 's_refs/pull/\(.*\)/merge_\1_')
|
||||
|
||||
aws s3 rm --recursive s3://$AWS_S3_CACHE/pull-request/$REPO/$PR
|
||||
if: startsWith(github.ref, 'refs/pull/') && github.repository_owner == 'teaxyz'
|
||||
if: startsWith(github.ref, 'refs/pull/') && github.repository_owner == 'pkgxdev'
|
||||
env:
|
||||
AWS_S3_CACHE: ${{ secrets.AWS_S3_CACHE }}
|
4
.github/workflows/new-version.yml
vendored
4
.github/workflows/new-version.yml
vendored
|
@ -50,7 +50,7 @@ jobs:
|
|||
matrix:
|
||||
project: ${{ fromJson(needs.bottle.outputs.qa-required) }}
|
||||
steps:
|
||||
- uses: teaxyz/pantry/.github/actions/request-qa@main
|
||||
- uses: pkgxdev/pantry/.github/actions/request-qa@main
|
||||
with:
|
||||
project: ${{ matrix.project }}
|
||||
slack-webhook: ${{ secrets.SLACK_QA_WEBHOOK }}
|
||||
|
@ -62,7 +62,7 @@ jobs:
|
|||
issues: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: teaxyz/pantry/.github/actions/complain@main
|
||||
- uses: pkgxdev/pantry/.github/actions/complain@main
|
||||
with:
|
||||
projects: ${{ inputs.projects }}
|
||||
platform: ${{ inputs.platform }}
|
||||
|
|
55
README.md
55
README.md
|
@ -1,36 +1,17 @@
|
|||
![tea](https://tea.xyz/banner.png)
|
||||
|
||||
# What is a Pantry?
|
||||
|
||||
Pantries provide consistent metadata about open source packages. This
|
||||
metadata shouldn’t require manual collection, but at this current state in
|
||||
open source it does.
|
||||
|
||||
It is collected and duplicated thousands of times. A huge waste of effort.
|
||||
|
||||
tea aims to eradicate this wasted effort, though unfortunately, the journey
|
||||
there will require—to some extent—doing that duplication one more time.
|
||||
|
||||
## Doing it a Little Better This Time
|
||||
|
||||
Our format is YAML, which is at least non-proprietary and could be used by
|
||||
other tools without an independent parser. And we’re pulling in data from
|
||||
other sources as much as possible, eg. versions are taken from the
|
||||
“source” whenever possible.
|
||||
|
||||
|
||||
![pkgx](https://pkgx.dev/banner.png)
|
||||
|
||||
pkg metadata and build instructions.
|
||||
|
||||
# Contributing
|
||||
|
||||
Assuming you have tea (w/magic) installed:
|
||||
Assuming you have `pkgx` with shell integration:
|
||||
|
||||
```sh
|
||||
$ git clone https://github.com/teaxyz/pantry
|
||||
$ git clone https://github.com/pkgxdev/pantry
|
||||
|
||||
$ cd pantry
|
||||
# all the following commands operate in `./tea.out`
|
||||
# your tea installation remains untouched
|
||||
|
||||
$ dev
|
||||
|
||||
$ pkg init
|
||||
# ^^ creates a “wip” package.yml
|
||||
|
@ -40,6 +21,7 @@ $ pkg edit
|
|||
# ^^ opens the new package.yml in your EDITOR
|
||||
|
||||
$ pkg build
|
||||
# builds to `./builds`
|
||||
# ^^ needs a zero permissions GITHUB_TOKEN to use the GitHub API
|
||||
# either set `GITHUB_TOKEN` or run `gh auth login`
|
||||
|
||||
|
@ -55,32 +37,29 @@ $ git push origin my-new-package
|
|||
$ gh pr create
|
||||
```
|
||||
|
||||
> * `pkg` can be run without magic via `tea -E pkg` (this dev-env provides `+tea.xyz/brewkit`).
|
||||
> * `gh` can be run without magic via `tea gh`.
|
||||
> * `git` can be run without magic via `tea git`.
|
||||
> * `pkg build` and `pkg test` take a `-L` flag to run in a Linux Docker container
|
||||
> * All commands take an optional pkg-spec eg. `pkg build zlib.net^1.1`
|
||||
|
||||
While inside a pantry dev-env you can run commands from any built packages
|
||||
provided you specified their `provides:` key.
|
||||
While inside the pantry `dev` environment you can run commands from any built
|
||||
packages provided you specified their `provides:` key.
|
||||
|
||||
## GitHub Codespaces
|
||||
|
||||
`pantry` also works in GitHub Codespaces. The default configuration
|
||||
provides with the repository will install/update `tea` at the time
|
||||
provides with the repository will install/update `pkgx` at the time
|
||||
you attach, so you should be able to quickly work on or test packages
|
||||
in a remote linux environment (or work from a device with just a web browser).
|
||||
|
||||
## Providers
|
||||
|
||||
If the package you want to add to tea can be executed simply eg. you want
|
||||
`foo` to run `npx foo`, then you can add a one-line entry to
|
||||
If the package you want to add to the pantry can be executed simply eg. you
|
||||
want `foo` to run `npx foo`, then you can add a one-line entry to
|
||||
[`npmjs.com/provider.yml`].
|
||||
|
||||
We currently also support this for `pipx`. Adding support for other such
|
||||
dependency manager execution handlers is easy and welcome.
|
||||
|
||||
At this time, if the package has tea dependencies or requires compilation,
|
||||
At this time, if the package has `pkgx` dependencies or requires compilation,
|
||||
it should be packaged as a `package.yml`.
|
||||
|
||||
## Packaging Guide
|
||||
|
@ -94,7 +73,7 @@ For other assistance, start a [discussion].
|
|||
We build “bottles” (tar’d binaries) and upload them to both our centralized
|
||||
bottle storage and decentralized [IPFS].
|
||||
|
||||
tea automatically builds new releases of packages *as soon as they are
|
||||
The pantry automatically builds new releases of packages *as soon as they are
|
||||
released* (usually starting the builds within seconds). There is no need to
|
||||
submit PRs for updates.
|
||||
|
||||
|
@ -107,14 +86,14 @@ with their pull request then you can use GitHub’s CLI:
|
|||
$ gh pr checkout 123
|
||||
|
||||
# or you can copy paste the URL:
|
||||
$ gh pr checkout https://github.com/teaxyz/pantry/pull/123
|
||||
$ gh pr checkout https://github.com/pkgxdev/pantry/pull/123
|
||||
|
||||
# then open for editing:
|
||||
$ pkg edit
|
||||
```
|
||||
|
||||
|
||||
[wiki]: https://github.com/teaxyz/pantry/wiki
|
||||
[discussion]: https://github.com/orgs/teaxyz/discussions
|
||||
[wiki]: https://github.com/pkgxdev/pantry/wiki
|
||||
[discussion]: https://github.com/orgs/pkgxdev/discussions
|
||||
[IPFS]: https://ipfs.tech
|
||||
[`npmjs.com/provider.yml`]: ./projects/npmjs.com/provider.yml
|
||||
|
|
5
pkgx.yaml
Normal file
5
pkgx.yaml
Normal file
|
@ -0,0 +1,5 @@
|
|||
dependencies:
|
||||
tea.xyz/brewkit: ^0.46
|
||||
env:
|
||||
PKGX_PANTRY_PATH: ${{srcroot}}
|
||||
SRCROOT: ${{srcroot}}
|
|
@ -8,8 +8,6 @@ versions:
|
|||
build:
|
||||
dependencies:
|
||||
cmake.org: ^3
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
|
||||
script:
|
||||
- |
|
||||
|
@ -43,7 +41,6 @@ build:
|
|||
|
||||
test:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
script: |
|
||||
ls -l
|
||||
c++ -std=c++17 -I{{ prefix }}/include -L{{ prefix }}/lib -labsl_strings test.cc
|
||||
|
|
|
@ -19,7 +19,6 @@ dependencies:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
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
|
||||
|
|
|
@ -14,8 +14,6 @@ platforms:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
|
||||
script:
|
||||
- ./configure $ARGS
|
||||
|
@ -33,7 +31,6 @@ provides:
|
|||
|
||||
test:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
script:
|
||||
- cc test.c -lasound -o test
|
||||
- ./test
|
|
@ -12,9 +12,7 @@ build:
|
|||
dependencies:
|
||||
x86-64:
|
||||
nasm.us: 2
|
||||
tea.xyz/gx/cc: c99
|
||||
cmake.org: ^3
|
||||
tea.xyz/gx/make: '*'
|
||||
working-directory:
|
||||
out
|
||||
script: |
|
||||
|
|
|
@ -10,8 +10,6 @@ provides:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
apache.org/apr: '*'
|
||||
openssl.org: '*'
|
||||
libexpat.github.io: '*'
|
||||
|
|
|
@ -7,8 +7,6 @@ versions:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
script: |
|
||||
./configure $ARGS
|
||||
make --jobs {{ hw.concurrency }}
|
||||
|
@ -37,7 +35,6 @@ build:
|
|||
|
||||
test:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
fixture: |
|
||||
#include <stdio.h>
|
||||
#include <apr-1/apr_version.h>
|
||||
|
|
|
@ -23,8 +23,6 @@ dependencies:
|
|||
facebook.com/zstd: '*'
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
boost.org: '*'
|
||||
cmake.org: '*'
|
||||
llvm.org: ~16
|
||||
|
@ -78,7 +76,6 @@ provides:
|
|||
- bin/parquet-scan
|
||||
test:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
freedesktop.org/pkg-config: '*'
|
||||
script:
|
||||
- run: |
|
||||
|
|
|
@ -27,8 +27,6 @@ runtime:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
gnu.org/libtool: '*'
|
||||
gnu.org/autoconf: '*'
|
||||
script: |
|
||||
|
|
|
@ -24,8 +24,6 @@ dependencies:
|
|||
build:
|
||||
dependencies:
|
||||
freedesktop.org/pkg-config: ^0.29
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
swig.org: ^4
|
||||
python.org: ^3.11
|
||||
script: |
|
||||
|
|
|
@ -11,8 +11,6 @@ dependencies:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
gnu.org/automake: '*'
|
||||
gnu.org/autoconf: '*'
|
||||
gnu.org/libtool: '*'
|
||||
|
|
|
@ -18,7 +18,6 @@ build:
|
|||
rust-lang.org: '>=1.65'
|
||||
rust-lang.org/cargo: '*'
|
||||
freedesktop.org/pkg-config: ^0
|
||||
tea.xyz/gx/make: '*'
|
||||
script:
|
||||
cargo install --locked --path . --root {{prefix}}
|
||||
|
||||
|
|
|
@ -6,8 +6,6 @@ versions:
|
|||
github: argoproj/argo-cd
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
go.dev: '*'
|
||||
nodejs.org: '*'
|
||||
yarnpkg.com: '*'
|
||||
|
|
|
@ -17,8 +17,6 @@ dependencies:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
gnupg.org/libgcrypt: ^1
|
||||
gnupg.org/libgpg-error: ^1
|
||||
freedesktop.org/pkg-config: '*'
|
||||
|
|
|
@ -12,8 +12,6 @@ dependencies:
|
|||
build:
|
||||
dependencies:
|
||||
rubygems.org: '*'
|
||||
tea.xyz/gx/make: '*'
|
||||
tea.xyz/gx/cc: '*'
|
||||
env:
|
||||
GEM_HOME: ${{prefix}}
|
||||
GEM_PATH: ${{prefix}}
|
||||
|
|
|
@ -26,8 +26,6 @@ runtime:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
curl.se: '*'
|
||||
gnu.org/patch: '*'
|
||||
gnu.org/sed: '*'
|
||||
|
|
|
@ -7,7 +7,6 @@ dependencies:
|
|||
zlib.net: '*'
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
gnu.org/make: '*'
|
||||
cmake.org: '*'
|
||||
ninja-build.org: '*'
|
||||
|
@ -38,7 +37,6 @@ provides:
|
|||
- bin/assimp
|
||||
test:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
script:
|
||||
- cc -std=c++11 test.cpp -lassimp -o test
|
||||
- ./test
|
||||
|
|
|
@ -12,7 +12,6 @@ dependencies:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/make: '*'
|
||||
gnu.org/autoconf: '*'
|
||||
gnu.org/automake: '*'
|
||||
gnu.org/bison: '*'
|
||||
|
|
|
@ -13,8 +13,6 @@ dependencies:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: "*"
|
||||
rust-lang.org: ">=1.48.0" # needed for cryptography
|
||||
rust-lang.org/cargo: "*"
|
||||
script: |
|
||||
|
|
|
@ -10,8 +10,6 @@ dependencies:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
script: |
|
||||
make LDFLAGS=-lz PREFIX={{prefix}} install
|
||||
|
||||
|
|
|
@ -12,8 +12,6 @@ versions:
|
|||
build:
|
||||
working-directory: crates/biome_cli
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
rust-lang.org: '>=1.65'
|
||||
rust-lang.org/cargo: '*'
|
||||
script:
|
||||
|
|
|
@ -17,8 +17,6 @@ build:
|
|||
dependencies:
|
||||
gnu.org/autoconf: ^2
|
||||
gnu.org/automake: ^1
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
freedesktop.org/pkg-config: ^0.29
|
||||
gnu.org/libtool: ^2
|
||||
script: |
|
||||
|
|
|
@ -9,7 +9,6 @@ versions:
|
|||
build:
|
||||
dependencies:
|
||||
gnu.org/gcc: '*'
|
||||
tea.xyz/gx/make: '*'
|
||||
script: |
|
||||
./configure $ARGS
|
||||
make --jobs {{ hw.concurrency }} install
|
||||
|
|
|
@ -11,8 +11,6 @@ dependencies:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
script:
|
||||
- ./bootstrap.sh --prefix={{ prefix }}
|
||||
- ./b2 $ARGS
|
||||
|
@ -39,7 +37,6 @@ build:
|
|||
|
||||
test:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
script: |
|
||||
c++ test.cpp -std=c++14 -lboost_iostreams -lzstd
|
||||
./a.out
|
||||
|
|
|
@ -11,8 +11,6 @@ versions:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
script: |
|
||||
./configure --prefix={{ prefix }}
|
||||
make --jobs {{hw.concurrency}}
|
||||
|
@ -25,7 +23,6 @@ build:
|
|||
LDXXFLAGS: -headerpad_max_install_names $LDXXFLAGS
|
||||
test:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
script: |
|
||||
cc test.c -o test -lmpdec
|
||||
./test
|
||||
|
|
|
@ -11,8 +11,6 @@ versions:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
cmake.org: ^3
|
||||
working-directory: build
|
||||
script: |
|
||||
|
@ -21,7 +19,6 @@ build:
|
|||
|
||||
test:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
fixture: |
|
||||
#include <stdio.h>
|
||||
#include <ares.h>
|
||||
|
|
|
@ -10,8 +10,6 @@ versions:
|
|||
- /.tar.xz/
|
||||
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
libpng.org: 1
|
||||
pixman.org: ^0.40.0
|
||||
freetype.org: 2
|
||||
|
@ -58,7 +56,6 @@ build:
|
|||
|
||||
test:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
script:
|
||||
- cc test.c -lcairo
|
||||
- ./a.out
|
||||
|
|
|
@ -11,8 +11,6 @@ provides:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
script: |
|
||||
./make.sh
|
||||
make install PREFIX={{ prefix }}
|
||||
|
@ -28,7 +26,6 @@ build:
|
|||
|
||||
test:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
script: |
|
||||
mv $FIXTURE test.c
|
||||
gcc test.c -lcapstone -o test
|
||||
|
|
|
@ -11,8 +11,6 @@ provides:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
#pagure.io/xmlto: '*'
|
||||
|
||||
script: |
|
||||
|
|
|
@ -8,8 +8,6 @@ dependencies:
|
|||
facebook.com/zstd: '*'
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
asciidoctor.org: '*'
|
||||
cmake.org: '*'
|
||||
freedesktop.org/pkg-config: '*'
|
||||
|
|
|
@ -6,8 +6,6 @@ versions:
|
|||
dependencies:
|
||||
python.org: ^3.11
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: '*'
|
||||
script:
|
||||
- python-venv.sh {{prefix}}/bin/certbot
|
||||
env:
|
||||
|
|
|
@ -11,8 +11,6 @@ versions:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
cmake.org: '*'
|
||||
script: |
|
||||
cmake -S . -B build $ARGS
|
||||
|
|
|
@ -11,8 +11,6 @@ versions:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
cmake.org: '*'
|
||||
chiark.greenend.org.uk/halibut: '*'
|
||||
freedesktop.org/pkg-config: '*'
|
||||
|
|
|
@ -8,7 +8,6 @@ versions:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/make: '*'
|
||||
go.dev: '*'
|
||||
script: |
|
||||
go build -ldflags="$LDFLAGS" -o {{prefix}}/bin/circleci
|
||||
|
|
|
@ -20,8 +20,6 @@ build:
|
|||
rm -rf "$GOPATH" "$GOCACHE"
|
||||
dependencies:
|
||||
go.dev: ^1.18
|
||||
tea.xyz/gx/make: '*'
|
||||
tea.xyz/gx/cc: c99 # for cgo
|
||||
env:
|
||||
GOPATH: ${{prefix}}/gopath
|
||||
GOCACHE: ${{prefix}}/gocache
|
||||
|
|
|
@ -28,8 +28,6 @@ provides:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
script: |-
|
||||
./bootstrap $ARGS
|
||||
make --jobs {{ hw.concurrency }} install
|
||||
|
|
|
@ -9,8 +9,6 @@ versions:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
cmake.org: '*'
|
||||
|
||||
working-directory: build
|
||||
|
@ -29,12 +27,10 @@ build:
|
|||
- -DWITH_STATIC_LIB=ON
|
||||
- -DWITH_CMOCKERY_SUPPORT=ON
|
||||
- -DUNIT_TESTING=ON
|
||||
- -DCMAKE_C_COMPILER={{deps.tea.xyz/gx/cc.prefix}}/bin/cc
|
||||
|
||||
test:
|
||||
dependencies:
|
||||
freedesktop.org/pkg-config: '*'
|
||||
tea.xyz/gx/cc: c99
|
||||
script:
|
||||
- pkg-config --modversion cmocka | grep {{version}}
|
||||
- cc test.c -lcmocka -o test
|
||||
|
|
|
@ -13,8 +13,6 @@ dependencies:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
env:
|
||||
GEM_HOME: ${{prefix}}
|
||||
GEM_PATH: ${{prefix}}
|
||||
|
|
|
@ -13,8 +13,6 @@ dependencies:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
gnu.org/autoconf: '*'
|
||||
gnu.org/automake: '*'
|
||||
gnu.org/libtool: '*'
|
||||
|
@ -30,7 +28,6 @@ build:
|
|||
|
||||
test:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
script: |
|
||||
cc -o test test.c -laribb24
|
||||
./test
|
||||
|
|
|
@ -7,7 +7,6 @@ versions:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
mesonbuild.com: '>=0.47<1'
|
||||
ninja-build.org: 1
|
||||
working-directory:
|
||||
|
|
|
@ -7,7 +7,6 @@ versions:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
x86-64:
|
||||
nasm.us: 2.14
|
||||
# FIXME: >=0.49<1
|
||||
|
|
|
@ -12,7 +12,6 @@ dependencies:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: '*'
|
||||
gnu.org/patch: '*'
|
||||
script:
|
||||
# stops conda from installing to our versioned prefix by default
|
||||
|
|
|
@ -11,7 +11,6 @@ versions:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/make: '*'
|
||||
rust-lang.org: '>=1.56'
|
||||
rust-lang.org/cargo: '*'
|
||||
cmake.org: ^3
|
||||
|
|
|
@ -15,7 +15,6 @@ build:
|
|||
mv coredns "{{ prefix }}"/bin/coredns
|
||||
dependencies:
|
||||
go.dev: ^1.18
|
||||
tea.xyz/gx/make: '*'
|
||||
|
||||
env:
|
||||
LDFLAGS:
|
||||
|
|
|
@ -13,14 +13,12 @@ dependencies:
|
|||
perl.org: '*'
|
||||
|
||||
companions:
|
||||
tea.xyz/gx/make: '*'
|
||||
|
||||
provides:
|
||||
- bin/cpanm
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/make: '*'
|
||||
script: |
|
||||
perl Makefile.PL INSTALL_BASE={{prefix}}
|
||||
make install
|
||||
|
@ -29,6 +27,5 @@ build:
|
|||
|
||||
test:
|
||||
dependencies:
|
||||
tea.xyz/gx/make: '*'
|
||||
script:
|
||||
cpanm --verbose --local-lib=./out Test::More
|
||||
|
|
|
@ -10,7 +10,6 @@ versions:
|
|||
build:
|
||||
dependencies:
|
||||
gnu.org/gcc: '*'
|
||||
tea.xyz/gx/make: '*'
|
||||
linux:
|
||||
kernel.org/linux-headers: '*'
|
||||
curl.se: '*'
|
||||
|
@ -41,9 +40,9 @@ build:
|
|||
- run: |
|
||||
sed -i.bak "s|{{prefix}}|\$(dirname \$0)/..|g" svscanboot
|
||||
rm svscanboot.bak
|
||||
working-directory: "{{prefix}}/bin"
|
||||
working-directory: '{{prefix}}/bin'
|
||||
env:
|
||||
PATCH: "https://raw.githubusercontent.com/Homebrew/formula-patches/212baeaf8232802cf3dfbfcc531efa5741325bfa/daemontools/errno.patch"
|
||||
PATCH: 'https://raw.githubusercontent.com/Homebrew/formula-patches/212baeaf8232802cf3dfbfcc531efa5741325bfa/daemontools/errno.patch'
|
||||
provides:
|
||||
- bin/envdir
|
||||
- bin/envuidgid
|
||||
|
|
|
@ -10,7 +10,6 @@ versions:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/make: '*'
|
||||
rust-lang.org: '>=1.60'
|
||||
rust-lang.org/cargo: '*'
|
||||
script:
|
||||
|
|
|
@ -16,7 +16,6 @@ build:
|
|||
rust-lang.org: ^1.70
|
||||
rust-lang.org/cargo: '*'
|
||||
freedesktop.org/pkg-config: ^0
|
||||
tea.xyz/gx/make: '*'
|
||||
script: cargo install --locked --root {{prefix}} --path .
|
||||
|
||||
provides:
|
||||
|
|
|
@ -16,7 +16,6 @@ dependencies:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
rust-lang.org: ">=1.60"
|
||||
rust-lang.org/cargo: "*"
|
||||
script: cargo install --path . --root {{prefix}}
|
||||
|
|
|
@ -11,7 +11,6 @@ dependencies:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/make: '*'
|
||||
rust-lang.org: ^1.66
|
||||
rust-lang.org/cargo: '*'
|
||||
cmake.org: ^3.12
|
||||
|
|
|
@ -8,8 +8,6 @@ versions:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
rust-lang.org/cargo: '*'
|
||||
script: |
|
||||
cargo install cbindgen
|
||||
|
@ -18,7 +16,6 @@ build:
|
|||
|
||||
test:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
curl.se: '*'
|
||||
env:
|
||||
ARGS:
|
||||
|
|
|
@ -26,8 +26,6 @@ build:
|
|||
rust-lang.org: '>=1.65'
|
||||
rust-lang.org/cargo: '*'
|
||||
freedesktop.org/pkg-config: '*'
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
cmake.org: ^3
|
||||
script:
|
||||
cargo install --locked --path . --root {{prefix}}
|
||||
|
|
|
@ -18,8 +18,6 @@ dependencies:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
script: |
|
||||
./configure $ARGS
|
||||
make --jobs {{ hw.concurrency }} install
|
||||
|
|
|
@ -10,7 +10,6 @@ versions:
|
|||
- /\.tar\.gz/
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
gnu.org/make: '*'
|
||||
curl.se: '*'
|
||||
gnu.org/patch: '*'
|
||||
|
|
|
@ -13,27 +13,16 @@ dependencies:
|
|||
curl.se/ca-certs: '*'
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
script: |
|
||||
./configure $ARGS
|
||||
make --jobs {{ hw.concurrency }} install
|
||||
env:
|
||||
ARGS:
|
||||
- --prefix={{prefix}}
|
||||
- --with-openssl
|
||||
- --with-ca-fallback # uses openssl’s certs (which we control)
|
||||
test:
|
||||
make test
|
||||
- ./configure
|
||||
--prefix={{prefix}}
|
||||
--with-openssl
|
||||
--with-ca-fallback # uses openssl’s certs (which we control)
|
||||
- make --jobs {{ hw.concurrency }} install
|
||||
|
||||
test:
|
||||
script: |
|
||||
curl -i tea.xyz
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org
|
||||
|
||||
# TODO need to fix the .la file
|
||||
|
||||
provides:
|
||||
- bin/curl
|
||||
- bin/curl-config
|
||||
|
|
|
@ -11,8 +11,6 @@ dependencies:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
openssl.org: ^1.1
|
||||
script: |
|
||||
# Makefile is not very flexible, so we have to edit it
|
||||
|
|
|
@ -5,7 +5,6 @@ versions:
|
|||
github: cython/cython
|
||||
dependencies:
|
||||
python.org: ^3.11
|
||||
tea.xyz/gx/cc: c99
|
||||
runtime:
|
||||
env:
|
||||
PYTHONPATH: "{{prefix}}/lib/python{{deps.python.org.version.major}}/site-packages"
|
||||
|
|
|
@ -10,7 +10,6 @@ provides:
|
|||
|
||||
dependencies:
|
||||
python.org: '*'
|
||||
tea.xyz/gx/cc: c99
|
||||
|
||||
build:
|
||||
script: |
|
||||
|
|
|
@ -5,7 +5,6 @@ versions:
|
|||
github: dart-lang/sdk/tags
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: '*'
|
||||
ninja-build.org: '*'
|
||||
rust-lang.org: '*'
|
||||
curl.se: '*'
|
||||
|
|
|
@ -15,8 +15,6 @@ dependencies:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
git-scm.org: 2
|
||||
script:
|
||||
- git apply props/relocatable.diff
|
||||
|
|
|
@ -9,8 +9,6 @@ versions:
|
|||
- /\.orig\.tar\.gz/
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
gnu.org/autoconf: '*'
|
||||
gnu.org/automake: '*'
|
||||
gnu.org/libtool: '*'
|
||||
|
|
|
@ -11,8 +11,6 @@ dependencies:
|
|||
gnu.org/gettext: '*'
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
python.org: '*'
|
||||
script:
|
||||
- ./configure $CONFIGURE_ARGS
|
||||
|
|
|
@ -50,7 +50,6 @@ build:
|
|||
rust-lang.org/cargo: ^0.65
|
||||
llvm.org: '>=13' # macOS/aarch64 requires this (FIXME only dep where needed)
|
||||
curl.se: '*' # required to download v8 (python is another option)
|
||||
tea.xyz/gx/make: '*' # required to build the libffi parts
|
||||
crates.io/semverator: '*'
|
||||
cmake.org: ^3 # deno.land>=1.36.1 requires cmake
|
||||
protobuf.dev: '*' # deno.land>=1.36.4 requires protoc
|
||||
|
|
|
@ -17,8 +17,6 @@ dependencies:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/make: '*'
|
||||
tea.xyz/gx/cc: c99
|
||||
script: |
|
||||
./configure $ARGS
|
||||
make -j {{ hw.concurrency }} install
|
||||
|
|
|
@ -14,8 +14,6 @@ dependencies:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
cmake.org: 3
|
||||
freedesktop.org/pkg-config: ^0.29
|
||||
working-directory: build
|
||||
|
@ -35,7 +33,6 @@ provides:
|
|||
|
||||
test:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
script:
|
||||
- mv $FIXTURE test.c
|
||||
- cc test.c -o test -lfido2
|
||||
|
|
|
@ -11,15 +11,12 @@ build:
|
|||
linux:
|
||||
gnu.org/gcc: '*'
|
||||
darwin:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
script: |
|
||||
./configure --prefix="{{prefix}}"
|
||||
make --jobs {{ hw.concurrency }} install
|
||||
|
||||
test:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
script: |
|
||||
cc fixture.c -ljansson
|
||||
./a.out
|
|
@ -11,7 +11,6 @@ provides:
|
|||
build:
|
||||
dependencies:
|
||||
go.dev: ^1.18
|
||||
tea.xyz/gx/make: '*'
|
||||
script: |
|
||||
make install PREFIX="{{ prefix }}"
|
||||
|
||||
|
|
|
@ -8,8 +8,6 @@ versions:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
script: |
|
||||
./configure $ARGS
|
||||
make --jobs {{ hw.concurrency }} install
|
||||
|
@ -19,6 +17,5 @@ build:
|
|||
|
||||
test:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
script: |
|
||||
cc -o testlibaec fixture.cpp -laec
|
||||
|
|
|
@ -11,20 +11,18 @@ dependencies:
|
|||
gnome.org/libxml2: '*'
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
gnu.org/wget: '*'
|
||||
info-zip.org/unzip: '*'
|
||||
script:
|
||||
- run: mkdir -p libexec share/doc
|
||||
working-directory: "{{prefix}}"
|
||||
working-directory: '{{prefix}}'
|
||||
- cp -r docbook-xsl-{{version}} {{prefix}}/libexec/docbook-xsl
|
||||
- wget $RES_NS && unzip docbook-xsl-nons-{{version}}.zip
|
||||
- cp -r docbook-xsl-nons-{{version}} {{prefix}}/libexec/docbook-xsl-ns
|
||||
- wget $RES_DOC && unzip docbook-xsl-doc-{{version}}.zip
|
||||
- cp -r docbook-xsl-{{version}}/doc {{prefix}}/share/doc/reference
|
||||
- run: ln -s ../libexec/docbook-xsl/epub/bin/dbtoepub dbtoepub
|
||||
working-directory: "{{prefix}}/bin"
|
||||
working-directory: '{{prefix}}/bin'
|
||||
env:
|
||||
RES_NS: https://github.com/docbook/xslt10-stylesheets/releases/download/release/{{version}}/docbook-xsl-nons-{{version}}.zip
|
||||
RES_DOC: https://github.com/docbook/xslt10-stylesheets/releases/download/release/{{version}}/docbook-xsl-doc-{{version}}.zip
|
||||
|
|
|
@ -6,8 +6,6 @@ versions:
|
|||
- 0.16.2
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: '*'
|
||||
tea.xyz/gx/make: '*'
|
||||
gnu.org/automake: '*'
|
||||
go.dev: '*'
|
||||
linux:
|
||||
|
|
|
@ -9,8 +9,6 @@ versions:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
gnu.org/bison: ^3
|
||||
cmake.org: ^3
|
||||
github.com/westes/flex: 2
|
||||
|
|
|
@ -19,7 +19,6 @@ dependencies:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
mesonbuild.com: '*'
|
||||
ninja-build.org: '*'
|
||||
freedesktop.org/pkg-config: '*'
|
||||
|
@ -39,7 +38,6 @@ build:
|
|||
|
||||
test:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
freedesktop.org/pkg-config: '*'
|
||||
script:
|
||||
- pkg-config --modversion libdrm | grep {{version}}
|
||||
|
|
|
@ -2,22 +2,19 @@ distributable:
|
|||
url: https://github.com/duckdb/duckdb/archive/refs/tags/v{{version}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
# if there’s a github then we can parse the versions
|
||||
versions:
|
||||
github: duckdb/duckdb/releases/tags
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
cmake.org: ^3
|
||||
git-scm.org: '*'
|
||||
working-directory: build
|
||||
script: |
|
||||
# duckdb uses git to get its version
|
||||
git init ..
|
||||
git config user.email "bot@tea.xyz"
|
||||
git config user.name "teabot"
|
||||
git config user.email "bot@pkgx.dev"
|
||||
git config user.name "pkgxbot"
|
||||
git commit --allow-empty -mnil
|
||||
git tag v{{version}}
|
||||
|
||||
|
@ -35,7 +32,6 @@ build:
|
|||
|
||||
provides:
|
||||
- bin/duckdb
|
||||
# ^^ specify the binaries or tea magic won’t work
|
||||
|
||||
test:
|
||||
fixture: |
|
||||
|
|
|
@ -8,8 +8,6 @@ versions:
|
|||
build:
|
||||
working-directory: build
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
cmake.org: '^3'
|
||||
script: |
|
||||
cmake .. -DCMAKE_INSTALL_PREFIX={{prefix}}
|
||||
|
@ -27,7 +25,6 @@ build:
|
|||
|
||||
test:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
freedesktop.org/pkg-config: ^0.29
|
||||
env:
|
||||
cxxflags: $(pkg-config --cflags eigen3)
|
||||
|
|
|
@ -7,8 +7,6 @@ dependencies:
|
|||
github.com/kubernetes-sigs/aws-iam-authenticator: '*'
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
github.com/maxbrunsfeld/counterfeiter: '*'
|
||||
go.dev: '*'
|
||||
github.com/kevinburke/go-bindata: '*'
|
||||
|
|
|
@ -13,8 +13,6 @@ dependencies:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
gnu.org/automake: '*'
|
||||
gnu.org/autoconf: '*'
|
||||
gnu.org/libtool: '*'
|
||||
|
|
|
@ -14,7 +14,6 @@ dependencies:
|
|||
facebook.com/zstd: '*'
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: '*'
|
||||
gnu.org/make: '*'
|
||||
gnu.org/m4: '*'
|
||||
script:
|
||||
|
|
|
@ -11,7 +11,6 @@ dependencies:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/make: "*"
|
||||
script: |
|
||||
make install
|
||||
|
||||
|
|
|
@ -12,9 +12,6 @@ provides:
|
|||
dependencies:
|
||||
curl.se/ca-certs: '*'
|
||||
|
||||
companions:
|
||||
tea.xyz/gx/cc: c99 # for `cgo`
|
||||
|
||||
warnings:
|
||||
- vendored
|
||||
|
||||
|
|
|
@ -11,7 +11,6 @@ dependencies:
|
|||
rpm.org/popt: '*'
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
gnu.org/make: '*'
|
||||
gnu.org/autoconf: '*'
|
||||
gnu.org/automake: '*'
|
||||
|
|
|
@ -31,11 +31,9 @@ runtime:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
linux/x86-64:
|
||||
# https://github.com/llvm/llvm-project/issues/56854
|
||||
llvm.org: '<15'
|
||||
tea.xyz/gx/make: '*'
|
||||
perl.org: '>=5'
|
||||
script: |
|
||||
export ERL_TOP=$(pwd)
|
||||
|
|
|
@ -14,7 +14,6 @@ dependencies:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/make: '*'
|
||||
perl.org: '*'
|
||||
script: |
|
||||
# Enable large file support
|
||||
|
|
|
@ -15,7 +15,6 @@ dependencies:
|
|||
perl.org: ^5
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
gnu.org/make: '*'
|
||||
gnu.org/wget: '*'
|
||||
linux:
|
||||
|
|
|
@ -14,8 +14,6 @@ dependencies:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
cmake.org: '*'
|
||||
google.com/googletest: '*'
|
||||
boost.org: ^1
|
||||
|
@ -36,7 +34,6 @@ build:
|
|||
|
||||
test:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
script: |
|
||||
g++ -std=c++17 test.cc -o test -ledencommon_utils -lfolly
|
||||
./test | grep test
|
||||
|
|
|
@ -24,8 +24,6 @@ dependencies:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
cmake.org: ^3.0.2
|
||||
freedesktop.org/pkg-config: ^0.29
|
||||
working-directory:
|
||||
|
@ -83,7 +81,6 @@ build:
|
|||
|
||||
test:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
fixture: |
|
||||
#include <folly/FBVector.h>
|
||||
int main() {
|
||||
|
|
|
@ -26,8 +26,6 @@ dependencies:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
cmake.org: ^3
|
||||
working-directory: wangle
|
||||
script:
|
||||
|
@ -49,7 +47,6 @@ build:
|
|||
|
||||
test:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
curl.se: '*'
|
||||
script:
|
||||
- c++ $CXXFLAGS 'EchoClient.cpp' -o EchoClient
|
||||
|
|
|
@ -21,7 +21,6 @@ provides:
|
|||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
cmake.org: ^3
|
||||
ninja-build.org: ^1
|
||||
working-directory: build/out
|
||||
|
|
|
@ -12,8 +12,6 @@ dependencies:
|
|||
build:
|
||||
dependencies:
|
||||
rubygems.org: '*'
|
||||
tea.xyz/gx/make: '*'
|
||||
tea.xyz/gx/cc: '*'
|
||||
env:
|
||||
GEM_HOME: ${{prefix}}
|
||||
GEM_PATH: ${{prefix}}
|
||||
|
|
|
@ -20,8 +20,6 @@ build:
|
|||
dependencies:
|
||||
x86-64:
|
||||
nasm.us: 2
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
script: |
|
||||
./configure --prefix="{{prefix}}"
|
||||
make --jobs {{hw.concurrency}}
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue