Skip to content

Commit

Permalink
namcap
Browse files Browse the repository at this point in the history
  • Loading branch information
jmelahman committed Dec 16, 2024
1 parent 6c86551 commit 41410e5
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: ./shellcheck
- run: ./namcap
17 changes: 17 additions & 0 deletions namcap
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/usr/bin/env sh
set -eo pipefail

uv venv
uv pip install \
pyalpm==0.10.6 \
pyelftools==0.31 \
setuptools==75.6.0 \
license-expression==30.4.0
uv pip install --no-build-isolation git+https://gitlab.archlinux.org/pacman/[email protected]

SITE_PACKAGES="$(uv run python -c 'import site; print(site.getsitepackages()[0])')"
PARSE_PKGBUILD_PATH="$SITE_PACKAGES/usr/share/namcap" \
uv run namcap \
-i \
-t "$SITE_PACKAGES/usr/share/namcap/namcap-tags" \
**/PKGBUILD
2 changes: 2 additions & 0 deletions nature-sounds/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Maintainer: Jamison Lahman <[email protected]>

pkgname=nature-sounds
pkgver=0.1.2
pkgrel=1
Expand Down

0 comments on commit 41410e5

Please sign in to comment.