mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +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:
|
||||
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
|
||||
|
||||
versions:
|
||||
|
@ -8,6 +8,12 @@ versions:
|
|||
companions:
|
||||
pip.pypa.io: '*'
|
||||
|
||||
unpackaged:
|
||||
- version: ^2
|
||||
platform: darwin
|
||||
arch: aarc64
|
||||
reason: help-wanted
|
||||
|
||||
provides:
|
||||
- bin/python
|
||||
- bin/python{{version.major}}
|
||||
|
|
|
@ -153,7 +153,8 @@ async function fetch_src(pkg: Package): Promise<[Path, Path] | undefined> {
|
|||
cmd: [script.string, pkgstr(pkg)],
|
||||
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")
|
||||
if (!tarball) {
|
||||
// no tarball, e.g. tea.xyz/gx/cc
|
||||
|
|
Loading…
Reference in a new issue