pthbs

Packaging Through Hashed Build Scripts
git clone https://ccx.te2000.cz/git/pthbs
Log | Files | Refs | Submodules | README

commit ce823a487171af98b348e882a7ad03cfe4a3e9d0
parent a362f4414b686e89842259ca8c1b2bee2876fdd4
Author: ccx <ccx@te2000.cz>
Date:   Thu, 17 Oct 2024 03:30:09 +0000

Remove files unrelated to core pthbs functionality

Diffstat:
Dbuild | 5-----
Ddownloadlist.sha256 | 52----------------------------------------------------
Dgenpkg.py | 194-------------------------------------------------------------------------------
Dmake_vars.py | 70----------------------------------------------------------------------
Dpackages.aat | 45---------------------------------------------
Dpy-cp311-cp311-musllinux_1_2_x86_64-requirements.txt | 38--------------------------------------
Dpy-requirements.in | 5-----
Dpython.mk | 60------------------------------------------------------------
Dscript_env.txt | 3---
Dscript_header.txt | 11-----------
Dvars.yaml | 6------
11 files changed, 0 insertions(+), 489 deletions(-)

diff --git a/build b/build @@ -1,5 +0,0 @@ -#!/bin/sh -xe -cd "$(dirname "$0")" -mkdir -p packages -make py-genpkg -exec make -rs "$@" diff --git a/downloadlist.sha256 b/downloadlist.sha256 @@ -1,52 +0,0 @@ -# linux -2ca1f17051a430f6fed1196e4952717507171acfd97d96577212502703b25deb 134728520 https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.1.tar.xz -d9b01e4dac3dd140c394227603c8b3339bb2f1e10c97afd3607d84e3003ec75a 1880612 https://cdn.kernel.org/pub/linux/kernel/v6.x/patch-6.1.34.xz -bdf76c15229b241e578046b8486106f09534d754ea4cbf105e0660e551fb1669 138938760 https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.5.4.tar.xz - -# musl-cross-make -ab66fc2d1c3ec0359b8e08843c9f33b63e8707efdff5e4cc5c200eae24722cbf 21490848 https://ftpmirror.gnu.org/gnu/binutils/binutils-2.33.1.tar.xz -75d5d255a2a273b6e651f82eecfabf6cbcd8eaeae70e86b417384c8f4a58d8d3 36159 http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=3d5db9ebe860 -c95da32f440378d7751dd95533186f7fc05ceb4fb65eb5b85234e6299eb9838e 72411232 https://ftpmirror.gnu.org/gnu/gcc/gcc-9.4.0/gcc-9.4.0.tar.xz -5275bb04f4863a13516b2f39392ac5e272f5e1bb8057b18aec1c9b79d73d8fb2 2386766 https://ftpmirror.gnu.org/gnu/gmp/gmp-6.1.2.tar.bz2 -995bc76ccf0c40d752b5ea67c022232a17eef6c9ec80ea74ea742e3c19992813 1078912 https://ftp.barfooze.de/pub/sabotage/tarballs//linux-headers-4.19.88-1.tar.xz -dc7abf734487553644258a3822cfd429d74656749e309f2b25f09f4282e05588 1081424 https://ftp.barfooze.de/pub/sabotage/tarballs//linux-headers-4.19.88-2.tar.xz -6985c538143c1208dcb1ac42cedad6ff52e267b47e5f970183a3e75125b43c2e 701263 https://ftpmirror.gnu.org/gnu/mpc/mpc-1.1.0.tar.gz -c05e3f02d09e0e9019384cdd58e0f19c64e6db1fd6f5ecf77b4b1c61ca253acc 1652074 https://ftpmirror.gnu.org/gnu/mpfr/mpfr-4.0.2.tar.bz2 -7d5b0b6062521e4627e099e4c9dc8248d32a30285e959b7eecaa780cf8cfd4a4 1058642 https://musl.libc.org/releases/musl-1.2.3.tar.gz -a9a118bbe84d8764da0ea0d28b3ab3fae8477fc7e4085d90102b8596fc7c75e4 1080786 https://musl.libc.org/releases/musl-1.2.5.tar.gz - -# bootstrap packages -dd16fb1d67bfab79a72f5e8390735c49e3e8e70b4945a15ab1f81ddb78658fb3 2348200 https://ftp.gnu.org/gnu/make/make-4.4.1.tar.gz -c25a4838fc8e4c1c8aacb8bd620edb3084a3d63bf8987fdad3ca2758c63240f9 596676 http://ftp.rpm.org/popt/releases/popt-1.x/popt-1.19.tar.gz -4e7d9d3f6ed10878c58c5fb724a67dacf4b6aac7340b13e488fb2dc41346f2bb 1149787 https://download.samba.org/pub/rsync/rsync-3.2.7.tar.gz - -# rest of the system -8d284d896fca1c981b55850e92acd3ad9648a69227c028dda7ae3402af878edd 1125800 https://github.com/libcgroup/libcgroup/releases/download/v3.0/libcgroup-3.0.0.tar.gz -e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995 1419096 https://github.com/westes/flex/releases/download/v2.6.4/flex-2.6.4.tar.gz -3be4a26d825ffdfda52a56fc43246456989a3630093cced3fbddf4771ee58a70 2953876 https://ftp.gnu.org/gnu/m4/m4-1.4.19.tar.gz -9bba0214ccf7f1079c5d59210045227bcf619519840ebfa80cd3849cff5a5bf2 2817324 https://ftp.gnu.org/gnu/bison/bison-3.8.2.tar.xz -ac610bda97abe0d9f6b7c963255a11dcb196c25e337c61f94e4778d632f1d8fd 783756 https://ftp.gnu.org/gnu/patch/patch-2.7.6.tar.xz -90e5e93cc724e4ebe12ede80df1634063c7a855692685919bfe60b556c9bd09e 1624240 https://ftp.gnu.org/pub/gnu/diffutils/diffutils-3.10.tar.xz - -39bd8f1a338e2b7cd4abc3ff11a0eddc6e690f69578a57478d8179b4148708c8 9143169 https://sourceware.org/elfutils/ftp/0.189/elfutils-0.189.tar.bz2 -4496d6cec9644cda8006ead15e17e500629ce30fe85ab2f2052a77ba43a1358d 122231 ./libelf-compat-0.152c001.tar.bz2 -9b8d1ecedd5b5e81fbf1918e876752a7dd948e05c1a0dba10ab863842d45acd5 3332400 https://sourceforge.net/projects/zsh/files/zsh/5.9/zsh-5.9.tar.xz -d08edc536b54c372a1010ff6619dd274c0f1603aa49212ba20f7aa2cda36fa8b 80888824 https://ftpmirror.gnu.org/gnu/gcc/gcc-11.2.0/gcc-11.2.0.tar.xz -6d4b8d5bbb25a1f8336639e56ec5088052d43a95256697a85c4ce91323c25954 4473978 http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.8.2.tar.gz -3ccd55d91af9516539df80625f818c734dc6f2ecf9bada33c76765e99121db15 2630108 https://curl.haxx.se/download/curl-8.6.0.tar.xz -f612c1abc63557d50ad3849863fc9109670139fc9901e574460ec76e0511adb9 7388636 http://cdn.kernel.org/pub/software/scm/git/git-2.43.2.tar.xz -98e9c3d949d1b924e28e01eccb7deed865eefebf25c2f21c702e5cd5b63b85e1 2386533 https://github.com/facebook/zstd/archive/v1.5.5.tar.gz -04357661e6717b6941682cde02ad741ae4819c67a260593dfb2431861b251acb 5237056 https://libarchive.org/downloads/libarchive-3.7.2.tar.xz -3a224f2accf091b77a5781316e27b9ee3ba82c083cc2e539e08940b68a44fec5 311956 https://distfiles.ariadne.space/pkgconf/pkgconf-2.1.1.tar.xz -a6607e83fcd654a0ae846d729e43fefd8da9a61323e91430f884caf895b4f59b 408144 https://github.com/void-linux/xbps/archive/0.59.2.tar.gz -d87d0cbb3690ae2c5d8cc218349fd8278b93855dd625deaf7ae50e320aad247c 11614 https://dev.gentoo.org/~blueness/musl-misc/getconf.c -f79a2930a2e5bb0624321589edf8b889d1e9b603e01e6b7ae214616605b3fdd7 2577 https://dev.gentoo.org/~blueness/musl-misc/iconv.c -002c1a216f6bed0f816ab1cfebde94a0b127193ef410c36b2190599983e015b8 11656 https://gitlab.alpinelinux.org/alpine/aports/-/raw/93a08815f8598db442d8b766b463d0150ed8e2ab/main/musl/getent.c -99b2a39e1c5475ffe8e1bb2004345cb8849c3cc1aedbe541beee2d45e270975f 2999129 https://www.kernel.org/pub/linux/utils/kbd/kbd-2.6.4.tar.gz -49ae567a96dbab22823d045ffebe0d6b14b9b799925e9ca9274d47d26ff482a6 19336 https://github.com/void-linux/musl-fts/archive/refs/tags/v1.2.7.tar.gz -5f2bdbad629707aa7d85c623f994aa8a1d2dec55a73de5205bac0bf6058a2f7c 555754 https://download.savannah.nongnu.org/releases/acl/acl-2.3.2.tar.gz -f311f8f3dad84699d0566d1d6f7ec943a9298b28f714cae3c931dfd57492d7eb 189200 https://kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.69.tar.xz -39bf67452fa41d0948c2197601053f48b3d78a029389734332a6309a680c6c87 492539 https://download.savannah.nongnu.org/releases/attr/attr-2.5.2.tar.gz -55fdfa2696fb4d55a592fa9ad14a9df897c7b0008ddb3b30c419914841f85f33 432376 https://libbsd.freedesktop.org/releases/libbsd-0.11.8.tar.xz -1bd6aa42275313af3141c7cf2e5b964e8b1fd488025caf2f971f43b00776b332 271228 https://archive.hadrons.org/software/libmd/libmd-1.1.0.tar.xz -248a2c8a4d9b9858aa6baf52712c34afefcf9c9e94b76dce02c1c9aa25fb3375 642445 https://github.com/seccomp/libseccomp/releases/download/v2.5.5/libseccomp-2.5.5.tar.gz diff --git a/genpkg.py b/genpkg.py @@ -1,194 +0,0 @@ -#!/usr/bin/env python3 -import hashlib -import os.path -import subprocess -from pathlib import Path - -import jinja2 -import yaml - - -class SubmoduleInfo: - def __init__(self): - self._current_commits = None - self._by_commit = Path('./sources/by-commit') - - @property - def current(self): - if self._current_commits is not None: - return self._current_commits - out = subprocess.check_output( - ("git", "submodule", "status", "--cached") - ).decode('utf8') - lines = out.strip('\n').split('\n') - records = [[line[0]] + line[1:].split() for line in lines] - self._current_commits = { - r[2][8:]: r[1] for r in records if r[2].startswith("sources/") - } - for repo, commit in self._current_commits.items(): - if not (self._by_commit / commit).exists(): - os.symlink("../" + repo, str(self._by_commit / commit)) - return self._current_commits - - def commit_info(self, commit_id): - assert '/' not in commit_id - assert '.' not in commit_id - assert (self._by_commit / commit_id).exists() - out = subprocess.check_output( - ('git', 'show', '-s', '--pretty=format:%ai by %an'), - cwd=(self._by_commit / commit_id).as_posix(), - ).decode('utf8') - return out - -class DownloadsInfo: - def __init__(self): - self._basenames = {} - with open('downloadlist.sha256', 'rt') as f: - for line in f: - if line[0] in '#\n': - continue - sha256, size, url = line.rstrip().split(maxsplit=2) - assert len(bytes.fromhex(sha256)) == 32 - assert int(size) >= 0 - basename = os.path.basename(url) - if basename in self._basenames: - self._basenames[basename] = ValueError( - 'Duplicate download name: ' + repr(basename) - ) - else: - self._basenames[basename] = 'sha256:' + sha256 - - def __getitem__(self, key): - value = self._basenames[key] - if isinstance(value, Exception): - raise value - return value - - -class FileInfo: - def __init__(self): - self._sha256_cache = {} - self._files_dir = Path('./files') - - def __getitem__(self, key): - if key in self._sha256_cache: - return self._sha256_cache[key] - fp = self._files_dir / key - with fp.open('rb') as f: - file_hash = hashlib.file_digest(f, "sha256").hexdigest() - self._sha256_cache[key] = file_hash - if not (self._files_dir / "by-sha256" / file_hash).exists(): - os.symlink("../" + key, str(self._files_dir / "by-sha256" / file_hash)) - return file_hash - - -class Main: - def __init__(self, out_dir="packages", template_dir="templates"): - self.out_dir = Path(out_dir) - self.template_dir = Path(template_dir) - self.env = jinja2.Environment( - loader=jinja2.FileSystemLoader(template_dir), - undefined=jinja2.StrictUndefined, - autoescape=False, - ) - self.env.globals["pkg_sha256"] = self.pkg_sha256 - self.env.globals["pkg_install_name"] = self.pkg_install_name - self.env.globals["pkg_install_dir"] = self.pkg_install_dir - self.env.globals["submodule"] = SubmoduleInfo() - self.env.globals["files"] = FileInfo() - self.env.globals["downloads"] = DownloadsInfo() - self.package_hashes = {} - self.rendering = [] - self.deps = {} - - def load_vars_yaml(self, fname="vars.yaml"): - with open(fname) as f: - self.env.globals.update(yaml.safe_load(f)) - - def pkg_env_sha256(self, name): - current = self.rendering[-1] - if current not in self.deps: - self.deps[current] = set((name,)) - else: - self.deps[current].add(name) - self._pkg_sha256(name) - envlist = ''.join(sorted('%s.%s\n' % (d, self.package_hashes[d]) for d in self.deps[name])) - return hashlib.sha256(envlist.encode()).hexdigest() - - def pkg_sha256(self, name): - current = self.rendering[-1] - if current not in self.deps: - self.deps[current] = set((name,)) - else: - self.deps[current].add(name) - return self._pkg_sha256(name) - - def _pkg_sha256(self, name): - if name in self.package_hashes: - return self.package_hashes[name] - if name in self.rendering: - raise RuntimeError("circular dependency: %r", self.rendering) - - t = self.env.get_template("pkg/" + name) - self.rendering.append(name) - data = bytes(t.render(name=name).encode('utf8')) - self.package_hashes[name] = hashlib.sha256(data).hexdigest() - lastname = self.rendering.pop() - assert name == lastname - - out_path = self.out_dir / name - old_hash = None - if out_path.exists(): - with out_path.open('rb') as f: - old_hash = hashlib.file_digest(f, "sha256").hexdigest() - if old_hash is None or old_hash != self.package_hashes[name]: - tmp_path = out_path.with_suffix('.new') - tmp_path.write_bytes(data) - tmp_path.replace(out_path) - - return self.package_hashes[name] - - def pkg_install_name(self, name): - rootname = name.split(":")[0] - if rootname.endswith('.environment'): - return "env.%s" % (self.pkg_env_sha256(name),) - else: - return "%s.%s" % (name.split(":")[0], self.pkg_sha256(name)) - - def pkg_install_dir(self, name): - return os.path.join( - self.env.globals["versions"], - self.pkg_install_name(name), - ) - - def list_packages(self): - for tplname in self.env.list_templates(): - if not tplname.startswith("pkg/"): - continue - if "/." in tplname: - continue - yield tplname[4:] - - def render_all(self): - for pkgname in self.list_packages(): - print("%s\t%s" % (pkgname, self._pkg_sha256(pkgname))) - for dep in sorted(self.deps.get(pkgname, ())): - print( - " > %s.%s" - % ( - dep, - self.package_hashes[dep], - ) - ) - - -if __name__ == '__main__': - from pprint import pprint as pp - - m = Main() - m.load_vars_yaml() - pp(m.env.list_templates(filter_func=lambda name: "/." not in name)) - m.render_all() - -# pylama:linters=pycodestyle,pyflakes:ignore=D212,D203,D100,D101,D102,D105,D107 -# vim: sts=4 ts=4 sw=4 et tw=88 efm=%A%f\:%l%\:%c\ %t%n\ %m diff --git a/make_vars.py b/make_vars.py @@ -1,70 +0,0 @@ -#!/usr/bin/env python - -from __future__ import ( - absolute_import, - division, - generators, - print_function, - with_statement, -) - -import sys - -try: - import venv -except ImportError: - venv = None - -try: - from packaging.tags import sys_tags - - def get_tag(): - tag = sys_tags().__next__() - return (tag.interpreter, tag.abi, tag.platform) - -except ImportError: - from wheel.pep425tags import get_abbr_impl, get_abi_tag, get_impl_ver, get_platform - - # sporked from wheel.bdist_wheel.get_tag - def get_tag(): - """Get the specific implementation name in a wheel-compatible format.""" - plat_name = get_platform().replace('-', '_').replace('.', '_') - impl_name = get_abbr_impl() - impl_ver = get_impl_ver() - impl = impl_name + impl_ver - abi_tag = str(get_abi_tag()).lower() - tag = (impl, abi_tag, plat_name) - return tag - - -PY2 = sys.version_info[0] == 2 - - -def main(): - tag = '%s-%s-%s' % get_tag() - mk_filename = 'make/python_vars_%s.mk' % tag - with open(mk_filename, 'wt') as f: - # TODO: add proper escaping whenever I feel like staring into the abyss - f.write('PYTHON_IMPL:=%s\n' % tag) - - f.write( - "PYTHON_VENV:=%s\n" - % ( - "virtualenv -p $(PYTHON_EXE)" - if venv is None - else "$(PYTHON_EXE) -m venv" - ) - ) - - f.write( - "PYTHON_VENV_INSTALL:=%s\n" - % ("'setuptools<45.0.0' 'pip<20.3' 'pip-tools<6'" if PY2 else "'pip-tools'") - ) - print("include %s" % mk_filename) - - -if __name__ == '__main__': - main() - -# pylama:linters=pycodestyle,pyflakes:ignore=D212,D203,D100,D101,D102,D107 -# vim: fileencoding=utf-8 ft=python et sw=4 ts=4 sts=4 tw=79 diff --git a/packages.aat b/packages.aat @@ -1,45 +0,0 @@ -|start_package("musl-cross-make") - awk -vPWD="$PWD" '{gsub(/@@PWD@@/,PWD); print}' musl-cross-make.config.mak >musl-cross-make/config.mak.new || exit $? - mv musl-cross-make/config.mak.new musl-cross-make/config.mak || exit $? - make -C musl-cross-make -j$JOBS -l$JOBS || exit $? - make -C musl-cross-make install || exit $? -|end() -|start_package("skalibs") - git checkout --force || exit $? - git clean -fx || exit $? - ./configure --disable-shared --enable-static --enable-slashpackage="$slashpackage" || exit $? - make -j${jobs} || exit $? - make install || exit $? - make -L update || exit $? - make -L global-links || exit $? -|end() -|start_package("s6") - git checkout --force || exit $? - git clean -fx || exit $? - #patch -up 1 -i ../s6_clone_newpid.patch || exit $? - patch -up 1 -i ../s6_clone3_newpid.patch || exit $? - ./configure --disable-shared --enable-static --enable-allstatic --enable-static-libc --enable-slashpackage="$slashpackage" || exit $? - make -j${jobs} CFLAGS=-DWANT_CLONE_NEWPID || exit $? - make install || exit $? - make -L update || exit $? - make -L global-links || exit $? -|end() -@for p in packages -|start - git checkout --force || exit $? - git clean -fx || exit $? - ./configure --disable-shared --enable-static --enable-allstatic --enable-static-libc --enable-slashpackage="$slashpackage" || exit $? - make -j${jobs} || exit $? - make install || exit $? - make -L update || exit $? - make -L global-links || exit $? -|end() -@endfor -|# (cd execline && install_generic) || exit $? -|# (cd s6-rc && install_generic) || exit $? -|# (cd s6-portable-utils && install_generic) || exit $? -|# (cd s6-linux-utils && install_generic) || exit $? -|# (cd s6-linux-init && install_generic) || exit $? -|# (cd mdevd && install_generic) || exit $? -|# (cd s6-dns && install_generic) || exit $? -|# (cd s6-networking && install_generic) || exit $? diff --git a/py-cp311-cp311-musllinux_1_2_x86_64-requirements.txt b/py-cp311-cp311-musllinux_1_2_x86_64-requirements.txt @@ -1,38 +0,0 @@ -# -# This file is autogenerated by pip-compile with Python 3.11 -# by the following command: -# -# pip-compile --output-file=py-cp311-cp311-musllinux_1_2_x86_64-requirements.txt.new py-requirements.in -# -black==24.2.0 - # via -r py-requirements.in -click==8.1.7 - # via black -isort==5.13.2 - # via -r py-requirements.in -jinja2==3.1.3 - # via -r py-requirements.in -markupsafe==2.1.5 - # via jinja2 -mccabe==0.7.0 - # via pylama -mypy-extensions==1.0.0 - # via black -packaging==23.2 - # via black -pathspec==0.12.1 - # via black -platformdirs==4.2.0 - # via black -pycodestyle==2.11.1 - # via pylama -pydocstyle==6.3.0 - # via pylama -pyflakes==3.2.0 - # via pylama -pylama==8.4.1 - # via -r py-requirements.in -pyyaml==6.0.1 - # via -r py-requirements.in -snowballstemmer==2.2.0 - # via pydocstyle diff --git a/py-requirements.in b/py-requirements.in @@ -1,5 +0,0 @@ -jinja2 -pyyaml -black -isort -pylama diff --git a/python.mk b/python.mk @@ -1,60 +0,0 @@ -PYTHONPATH:=$(abspath .) -PYTHON_EXE:=python3 -# re-evaluate each time because there's no sensible way to check -# whether the python interpreter changed -$(eval $(shell $(PYTHON_EXE) ./make_vars.py)) - -PY_SRC:=$(wildcard *.py) -PY_REQ:=py-$(PYTHON_IMPL)-requirements.txt -PY_WHL:=work/wheels/$(PYTHON_IMPL) -VENV:=work/virtualenvs/$(PYTHON_IMPL) -PYTHON_VENV_INSTALL=pip-tools wheel - -pycodestyle: $(patsubst %.py,.%.pyfmt,$(PY_SRC)) $(VENV)/.done - '$(VENV)/bin/pylama' -l 88 $(PY_SRC) || true - -.%.pyfmt: %.py $(VENV)/.done - '$(VENV)/bin/isort' - <'$<' >'$<.tmp1' - cp -a '$<' '$<.tmp2' - '$(VENV)/bin/black' -S - <'$<.tmp1' >'$<.tmp2' - rm '$<.tmp1' - if cmp -s '$<.tmp2' '$<'; then rm -v '$<.tmp2'; else mv -v '$<.tmp2' '$<'; fi - touch $@ - -.PHONY: py-requirements py-wheels py-venv py-virtualenv py-genpkg -py-requirements: $(PY_REQ) - -py-wheels: $(PY_WHL)/.done - -py-venv: $(VENV)/.done - -py-virtualenv: py-venv - -py-genpkg: $(VENV)/.done - '$(VENV)/bin/python' genpkg.py - -# -- requirement file rules - -$(PY_REQ): py-requirements.in $(VENV)/bin/pip-compile - '$(VENV)/bin/pip-compile' -v --annotate -o '$@.new' py-requirements.in - mv '$@.new' '$@' - -# -- wheel building rules - -$(PY_WHL)/.done: $(PY_REQ) - mkdir -p '$(PY_WHL)' - '$(VENV)/bin/python' -m pip wheel -w '$(PY_WHL)' -r '$(PY_REQ)' - touch '$@' - -# -- virtualenv rules - -$(VENV)/bin/pip-compile $(VENV)/bin/pip-sync: - if test -e '$(VENV)'; then rm -r '$(VENV)'; else true; fi - mkdir -p virtualenvs - $(PYTHON_VENV) '$(VENV)' - '$(VENV)/bin/pip' install -I $(PYTHON_VENV_INSTALL) - -$(VENV)/.done: $(PY_REQ) $(VENV)/bin/pip-sync $(PY_WHL)/.done - $(VENV)/bin/pip-sync --no-index -f '$(PY_WHL)' '$(PY_REQ)' - ln -sf 'virtualenvs/$(PYTHON_IMPL)' work/venv - touch '$@' diff --git a/script_env.txt b/script_env.txt @@ -1,3 +0,0 @@ -DESTDIR=./destdir # where files get copied to -PREFIX=/versions/package-XXXX # final installation dir? -MAKE_JOBS/NPROCS diff --git a/script_header.txt b/script_header.txt @@ -1,11 +0,0 @@ -package dependency -file hash -git commit hash - ---- -#!/usr/bin/env pthbs-build -#+package-name -#@git:commit-hash:dirname -#@sha256:file-hash:filename -<mandatory empty line> -script start diff --git a/vars.yaml b/vars.yaml @@ -1,6 +0,0 @@ -shebang: "#!/usr/bin/env pthbs-build" -triplet: x86_64-linux-musl -versions: /versions -make: "make -j${JOBS:-1} -l$((1+${JOBS:-1}))" -#etc_dir: /home/ccx/.local/etc -var_dir: /var/pthbs