mirror of
https://github.com/ivabus/pantry
synced 2024-11-27 02:35:08 +03:00
unpackaged keys (unrendered currently)
This commit is contained in:
parent
53f9a11954
commit
c78878a22f
2 changed files with 9 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
distributable:
|
distributable:
|
||||||
url: https://www.python.org/ftp/python/{{ version }}/Python-{{ version }}.tar.xz
|
url: https://www.python.org/ftp/python/{{ version.raw }}/Python-{{ version.raw }}.tar.xz
|
||||||
strip-components: 1
|
strip-components: 1
|
||||||
|
|
||||||
versions:
|
versions:
|
||||||
|
@ -8,6 +8,12 @@ versions:
|
||||||
companions:
|
companions:
|
||||||
pip.pypa.io: '*'
|
pip.pypa.io: '*'
|
||||||
|
|
||||||
|
unpackaged:
|
||||||
|
- version: ^2
|
||||||
|
platform: darwin
|
||||||
|
arch: aarc64
|
||||||
|
reason: help-wanted
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
- bin/python
|
- bin/python
|
||||||
- bin/python{{version.major}}
|
- bin/python{{version.major}}
|
||||||
|
|
|
@ -153,7 +153,8 @@ async function fetch_src(pkg: Package): Promise<[Path, Path] | undefined> {
|
||||||
cmd: [script.string, pkgstr(pkg)],
|
cmd: [script.string, pkgstr(pkg)],
|
||||||
stdout: 'piped'
|
stdout: 'piped'
|
||||||
})
|
})
|
||||||
const out = await proc.output()
|
const [out, status] = await Promise.all([proc.output(), proc.status()])
|
||||||
|
if (!status.success) throw new Error()
|
||||||
const [dstdir, tarball] = new TextDecoder().decode(out).split("\n")
|
const [dstdir, tarball] = new TextDecoder().decode(out).split("\n")
|
||||||
if (!tarball) {
|
if (!tarball) {
|
||||||
// no tarball, e.g. tea.xyz/gx/cc
|
// no tarball, e.g. tea.xyz/gx/cc
|
||||||
|
|
Loading…
Reference in a new issue