python-expecttest

LOW
maintainer Smoolak 0 votes scanned 2026-09-21 19:35:51.541891
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: Smoolak <smoolak@gmail.com>
2
3pkgname=python-expecttest
4pkgver=0.3.0
5pkgrel=1
6pkgdesc='Python library for expect-style testing'
7arch=('any')
8url='https://github.com/ezyang/expecttest'
9license=('MIT')
10depends=('python')
11makedepends=(
12 'python-build'
13 'python-installer'
14 'python-poetry-core'
15)
16checkdepends=(
17 'python-hypothesis'
18)
19source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
20sha256sums=('e35ef2df7f97071c735a93612bfeb4d60b1c5f0990656bccffaf81b917cab09b')
21
22build() {
23 cd "expecttest-$pkgver"
24 python -m build --wheel --no-isolation
25}
26
27check() {
28 local _source_dir="$srcdir/expecttest-$pkgver"
29 local _test_dir="$srcdir/test-work"
30 local _test_venv="$srcdir/test-venv"
31
32 rm -rf "$_test_dir" "$_test_venv"
33 mkdir -p "$_test_dir"
34 cp "$_source_dir/test_expecttest.py" "$_test_dir/"
35 cp -a "$_source_dir/smoketests" "$_test_dir/"
36
37 python -m venv --system-site-packages "$_test_venv"
38 "$_test_venv/bin/python" -m installer "$_source_dir"/dist/*.whl
39 cd "$_test_dir"
40 PYTHONDONTWRITEBYTECODE=1 "$_test_venv/bin/python" test_expecttest.py
41}
42
43package() {
44 cd "expecttest-$pkgver"
45 python -m installer --destdir="$pkgdir" dist/*.whl
46 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
47}
48

Scan history

Scanned at (UTC)SeverityRules
2026-09-21 19:35:51 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