leetcode-fsrs-git

LOW
maintainer SoleilSaint 0 votes scanned 2026-09-26 05:14:08.085534
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: SaintFore <forevergoodforest@outlook.com>
2
3pkgname=leetcode-fsrs-git
4pkgver=2.0.0.r101.gb98d4ca
5pkgrel=1
6pkgdesc="Terminal-first LeetCode review planner powered by FSRS (development version)"
7arch=('any')
8url="https://github.com/SaintFore/LeetCodeCLI"
9license=('MIT')
10depends=(
11 'python'
12 'python-fsrs>=6.3'
13 'python-keyring>=25'
14 'python-requests>=2.32'
15 'python-textual>=8.2'
16 'python-typer>=0.27'
17)
18makedepends=('git' 'python-build' 'python-installer' 'python-setuptools' 'python-wheel')
19checkdepends=('python-pytest' 'python-pytest-asyncio')
20provides=('leetcode-fsrs')
21conflicts=('leetcode-fsrs' 'leetcode-fsrs-cli' 'leetcode-fsrs-cli-bin')
22source=('leetcode-fsrs::git+https://github.com/SaintFore/LeetCodeCLI.git#branch=main')
23b2sums=('SKIP')
24
25pkgver() {
26 cd leetcode-fsrs
27 local upstream revision commit
28 upstream=$(sed -n 's/^version = "\([0-9.]\+\)"/\1/p' pyproject.toml)
29 revision=$(git rev-list --count HEAD)
30 commit=$(git rev-parse --short HEAD)
31 printf '%s.r%s.g%s' "$upstream" "$revision" "$commit"
32}
33
34build() {
35 cd leetcode-fsrs
36 python -m build --wheel --no-isolation
37}
38
39check() {
40 cd leetcode-fsrs
41 python -m pytest -q
42}
43
44package() {
45 cd leetcode-fsrs
46 python -m installer --destdir="$pkgdir" dist/*.whl
47 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
48 install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
49 install -Dm644 docs/architecture.md "$pkgdir/usr/share/doc/$pkgname/architecture.md"
50 install -Dm644 docs/sync.md "$pkgdir/usr/share/doc/$pkgname/sync.md"
51}
52

Scan history

Scanned at (UTC)SeverityRules
2026-09-26 05:14:08 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