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
This commit is contained in:
Jacob Heider 2024-05-02 16:37:27 -04:00 committed by Jacob Heider
parent bc6433bf3e
commit 48dd4fc808
2 changed files with 20 additions and 4 deletions

View file

@ -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

View file

@ -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}}
- hyfetch --version | grep {{version}}