From 48dd4fc808c0658741b75ed4b057751018d2811c Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Thu, 2 May 2024 16:37:27 -0400 Subject: [PATCH] split(neowofetch) moves the simple bash `neowofetch` tool into its own sub repo for users who don't want a whole python system ref: https://github.com/pkgxdev/pantry/pull/6042#issuecomment-2091269675 --- .../hyfetch/neowofetch/package.yml | 18 ++++++++++++++++++ .../hykilpikonna/hyfetch/package.yml | 6 ++---- 2 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 projects/github.com/hykilpikonna/hyfetch/neowofetch/package.yml diff --git a/projects/github.com/hykilpikonna/hyfetch/neowofetch/package.yml b/projects/github.com/hykilpikonna/hyfetch/neowofetch/package.yml new file mode 100644 index 00000000..deb28ad2 --- /dev/null +++ b/projects/github.com/hykilpikonna/hyfetch/neowofetch/package.yml @@ -0,0 +1,18 @@ +distributable: + url: https://github.com/hykilpikonna/hyfetch/archive/refs/tags/{{version.tag}}.tar.gz + strip-components: 1 + +versions: + github: hykilpikonna/hyfetch + +dependencies: + pkgx.sh: ^1 + +build: + - mkdir -p '{{prefix}}/bin' + - install neofetch '{{prefix}}/bin/neowofetch' + +provides: + - bin/neowofetch + +test: neowofetch --config none --color-blocks off --disable wm de term gpu diff --git a/projects/github.com/hykilpikonna/hyfetch/package.yml b/projects/github.com/hykilpikonna/hyfetch/package.yml index 2fce2a12..28eb64f2 100644 --- a/projects/github.com/hykilpikonna/hyfetch/package.yml +++ b/projects/github.com/hykilpikonna/hyfetch/package.yml @@ -14,14 +14,12 @@ build: script: - bkpyvenv stage {{prefix}} {{version}} - ${{prefix}}/venv/bin/pip install . - - bkpyvenv seal {{prefix}} hyfetch neowofetch + - bkpyvenv seal {{prefix}} hyfetch provides: - bin/hyfetch - - bin/neowofetch test: - - neowofetch --config none --color-blocks off --disable wm de term gpu - run: hyfetch -C $FIXTURE --args="--config none --color-blocks off --disable wm de term gpu" fixture: | { @@ -39,4 +37,4 @@ test: "pride_month_shown": [], "pride_month_disable": false } - - hyfetch --version | grep {{version}} \ No newline at end of file + - hyfetch --version | grep {{version}}