python-codetiming

MEDIUM
maintainer Smoolak 1 votes scanned 2026-10-19 09:25:06.082550
View on AUR
Why flagged

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

Triggered rules

Medium Recently orphaned & re-adopted orphaned_readopted

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

PKGBUILD

1# Maintainer: Luis Martinez <luis dot martinez at disroot dot org>
2# Contributor: Philip Goto <philip.goto@gmail.com>
3
4pkgname=python-codetiming
5_pkg="${pkgname#python-}"
6pkgver=1.3.2
7pkgrel=1
8pkgdesc="Flexible, customizable timer for your Python code"
9license=('MIT')
10arch=('any')
11url='https://github.com/realpython/codetiming'
12depends=('python')
13makedepends=('python-flit-core' 'python-build' 'python-installer')
14checkdepends=('python-pytest')
15changelog=CHANGELOG.md
16source=("$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/c/$_pkg/$_pkg-$pkgver.tar.gz")
17sha256sums=('f8a4ed71042a571e9863022573b76036d3efed726f2bb99a3536e56c201da49c')
18
19build() {
20 cd "$_pkg-$pkgver"
21 python -m build --wheel --no-isolation
22}
23
24check() {
25 cd "$_pkg-$pkgver"
26 PYTHONPATH="$PWD" pytest -x
27}
28
29package() {
30 cd "$_pkg-$pkgver"
31 PYTHONHASHSEED=0 python -m installer --destdir="$pkgdir/" dist/*.whl
32 install -Dm644 README.md AUTHORS.md -t "$pkgdir/usr/share/doc/$pkgname/"
33 local _site="$(python -c 'import site; print(site.getsitepackages()[0])')"
34 install -d "$pkgdir/usr/share/licenses/$pkgname/"
35 ln -s "$_site/$_pkg-$pkgver.dist-info/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/"
36}
37

Scan history

Scanned at (UTC)SeverityRules
2026-10-19 09:25:06 Medium 1
2026-06-18 16:11:54 Clean 0

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion