python-smithy-test

LOW
maintainer medaminezghal 0 votes scanned 2026-10-09 06:10:33.683041
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: Mohamed Amine Zghal (medaminezghal) <medaminezghal at outlook dot com>
2
3_name=smithy-test
4pkgname=python-$_name
5pkgver=0.1.0
6pkgrel=1
7pkgdesc='Test-support helpers for generated Smithy clients.'
8arch=('any')
9_repo='https://github.com/smithy-lang/smithy-python'
10url="$_repo/tree/develop/packages/smithy-test"
11license=('Apache-2.0')
12depends=('python')
13makedepends=('python-hatchling'
14 'python-build'
15 'python-installer'
16 'python-wheel'
17 'git')
18checkdepends=('python-pytest')
19source=("$_name::git+$_repo.git#tag=$_name/v$pkgver")
20sha256sums=('9355f1aed64cf1ea03806a76efc1c6c419d6caa2cf3733fa692153fb99e83abe')
21
22build() {
23 cd "$srcdir"/$_name/packages/$_name
24 python -m build --wheel --no-isolation
25}
26
27check() {
28 local pytest_options=(
29 -vv
30 --disable-warnings
31 --override-ini="addopts="
32 )
33 cd "$srcdir"/$_name/packages/$_name
34 PYTHONPATH=$PWD/src pytest "${pytest_options[@]}" tests
35}
36
37package() {
38 cd "$srcdir"/$_name/packages/$_name
39 python -m installer --destdir="$pkgdir" dist/*.whl
40}
41

Scan history

Scanned at (UTC)SeverityRules
2026-10-09 06:10:33 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