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
3
pkgname=nanobot-ai-bin
4
pkgver=0.3.0
5
pkgrel=1
6
pkgdesc="Python framework for building personal AI agents with tools, memory and WebUI"
7
arch=('x86_64')
8
url="https://github.com/HKUDS/nanobot"
9
license=('MIT')
10
depends=('python')
11
provides=('nanobot-ai')
12
conflicts=('nanobot-ai')
13
options=('!strip' '!emptydirs')
14
install="$pkgname.install"
15
noextract=("nanobot_ai-${pkgver}-py3-none-any.whl")
16
source=("nanobot_ai-${pkgver}-py3-none-any.whl::https://files.pythonhosted.org/packages/f6/66/27c946147a2e9d0f2e00507e475edcb19a73d09e3061dbd4ef05059f7cdf/nanobot_ai-${pkgver}-py3-none-any.whl")
17
sha256sums=('fb24fa5754661a2704d3b04f592ca7536be83caff062ef2b47989e867129cbe0')
18
19
_appdir=/usr/lib/nanobot-ai
20
21
build() {
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
27
check() {
28
HOME="$srcdir" "$srcdir/venv/bin/nanobot" --help >/dev/null
29
}
30
31
package() {
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
48
import pathlib, zipfile
49
z = zipfile.ZipFile("$srcdir/nanobot_ai-${pkgver}-py3-none-any.whl")
50
out = pathlib.Path("$pkgdir/usr/share/licenses/$pkgname")
51
out.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"))
55
EOF
56
}
57
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-18 11:39:43 | LOW | 1 |