nanobot-ai-bin

maintainer VVS · 0 votes · scanned 2026-08-18 11:39:43.480180
LOW
View on AUR ↗
Why flagged Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Triggered rules

LOW Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

PKGBUILD

1# Maintainer: Vitaliy VVS Star <vitaliy <dot> star <at> Gmail-DOT-Com>
2
3pkgname=nanobot-ai-bin
4pkgver=0.3.0
5pkgrel=1
6pkgdesc="Python framework for building personal AI agents with tools, memory and WebUI"
7arch=('x86_64')
8url="https://github.com/HKUDS/nanobot"
9license=('MIT')
10depends=('python')
11provides=('nanobot-ai')
12conflicts=('nanobot-ai')
13options=('!strip' '!emptydirs')
14install="$pkgname.install"
15noextract=("nanobot_ai-${pkgver}-py3-none-any.whl")
16source=("nanobot_ai-${pkgver}-py3-none-any.whl::https://files.pythonhosted.org/packages/f6/66/27c946147a2e9d0f2e00507e475edcb19a73d09e3061dbd4ef05059f7cdf/nanobot_ai-${pkgver}-py3-none-any.whl")
17sha256sums=('fb24fa5754661a2704d3b04f592ca7536be83caff062ef2b47989e867129cbe0')
18
19_appdir=/usr/lib/nanobot-ai
20
21build() {
22 python -m venv "$srcdir/venv"
23 PIP_CACHE_DIR="$srcdir/pip-cache" "$srcdir/venv/bin/pip" install --no-input \
24 "$srcdir/nanobot_ai-${pkgver}-py3-none-any.whl"
25}
26
27check() {
28 HOME="$srcdir" "$srcdir/venv/bin/nanobot" --help >/dev/null
29}
30
31package() {
32 install -dm755 "$pkgdir$_appdir"
33 cp -a "$srcdir/venv" "$pkgdir$_appdir/venv"
34
35 # venvs are not relocatable: rewrite absolute build paths to the install location
36 find "$pkgdir$_appdir/venv/bin" -maxdepth 1 -type f \
37 -exec sed -i "s|$srcdir/venv|$_appdir/venv|g" {} +
38 rm -f "$pkgdir$_appdir/venv/lib/python"*/site-packages/nanobot_ai-${pkgver}.dist-info/direct_url.json
39
40 # drop CPython 3.14's novelty unicode "𝜋thon" venv alias (breaks bsdtar in C locale)
41 find "$pkgdir$_appdir/venv/bin" -maxdepth 1 -type l ! -name 'python*' -delete
42
43 install -dm755 "$pkgdir/usr/bin"
44 ln -s "$_appdir/venv/bin/nanobot" "$pkgdir/usr/bin/nanobot"
45
46 # License and third-party notices from the wheel
47 python - <<EOF
48import pathlib, zipfile
49z = zipfile.ZipFile("$srcdir/nanobot_ai-${pkgver}-py3-none-any.whl")
50out = pathlib.Path("$pkgdir/usr/share/licenses/$pkgname")
51out.mkdir(parents=True, exist_ok=True)
52(out / "LICENSE").write_bytes(z.read("nanobot_ai-${pkgver}.dist-info/licenses/LICENSE"))
53(out / "THIRD_PARTY_NOTICES.md").write_bytes(
54 z.read("nanobot_ai-${pkgver}.dist-info/licenses/THIRD_PARTY_NOTICES.md"))
55EOF
56}
57

Scan history

Scanned at (UTC)SeverityRules
2026-08-18 11:39:43 LOW 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion