python-isaacus

LOW
maintainer RubenKelevra 0 votes scanned 2026-08-23 17:21:15.843281
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: @RubenKelevra <rubenkelevra@gmail.com>
2
3_pkgname='isaacus'
4_repo="${_pkgname}-python"
5_commit='b265b7c84274f4f1953de579c71d896a52f0a106'
6pkgname="python-${_pkgname}"
7pkgver=0.22.0
8pkgrel=1
9pkgdesc='Official Python library for the Isaacus API'
10arch=('any')
11url="https://github.com/isaacus-dev/${_repo}"
12license=('Apache-2.0')
13depends=(
14 'python>=3.9'
15 'python-httpx>=0.23.0'
16 'python-httpx<1'
17 'python-pydantic>=1.9.0'
18 'python-pydantic<3'
19 'python-typing_extensions>=4.14'
20 'python-typing_extensions<5'
21 'python-anyio>=3.5.0'
22 'python-anyio<5'
23 'python-distro>=1.7.0'
24 'python-distro<2'
25 'python-sniffio'
26)
27makedepends=(
28 'python-build'
29 'python-hatch-fancy-pypi-readme'
30 'python-hatchling>=1.26.3'
31 'python-installer'
32 'python-wheel'
33)
34checkdepends=(
35 'python-dirty-equals'
36 'python-httpx-aiohttp>=0.1.9'
37 'python-pytest'
38 'python-pytest-asyncio'
39 'python-pytest-xdist'
40 'python-respx'
41)
42optdepends=('python-httpx-aiohttp>=0.1.9: aiohttp-based asynchronous HTTP backend')
43source=(
44 "${_pkgname}-${pkgver}.tar.gz::${url}/archive/${_commit}.tar.gz"
45 'test_aiohttp_backend.py'
46)
47b2sums=(
48 'cb7e82b253aa37cd96c5401ea905064e558ea689f2b9313db4ac61d73c29f2a436841ec60a20068311aeeda2e049cde56f872ab2da91bb541db3e6d6d5bb79f7'
49 'a7b12ee49973a66f84a332a0b5a0c4dbccabf6cc3bfec01e678e8cc045b4f845b86e818c3c60681f893b3ebb9629b236c10b3b2f9c49ddad4d879072231bb333'
50)
51
52_srcdir="${_repo}-${_commit}"
53
54prepare() {
55 cd -- "${_srcdir}" || return 1
56 grep -Fqx -- "version = \"${pkgver}\"" pyproject.toml
57 sed -i 's/"hatchling==1.26.3"/"hatchling>=1.26.3"/' pyproject.toml
58 grep -Fqx -- 'requires = ["hatchling>=1.26.3", "hatch-fancy-pypi-readme"]' pyproject.toml
59}
60
61build() {
62 cd -- "${_srcdir}" || return 1
63 python -m build --wheel --no-isolation
64}
65
66check() {
67 cd -- "${_srcdir}" || return 1
68 PYTHONPATH=src pytest
69 PYTHONPATH=src python "${srcdir}/test_aiohttp_backend.py"
70}
71
72package() {
73 cd -- "${_srcdir}" || return 1
74 python -m installer --destdir="${pkgdir}" --compile-bytecode=2 dist/*.whl
75 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
76}
77

Scan history

Scanned at (UTC)SeverityRules
2026-08-23 17:21:15 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