python-timerit

LOW
maintainer Dominiquini 1 votes scanned 2026-09-20 07:32:26.301293
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: Rafael Dominiquini <rafaeldominiquini at gmail dot com>
2
3_appauthor="Erotemic"
4_appname="timerit"
5
6pkgname="python-${_appname}"
7pkgver=1.2.0
8pkgrel=1
9pkgdesc="Time and benchmark blocks of Python code. A powerful multi-line in-code alternative to timeit."
10
11_pypi_package=${pkgname##python-}
12_pypi_version=${pkgver}
13
14license=('Apache-2.0')
15arch=('any')
16
17_url_pypi="https://pypi.org/project/${_pypi_package}/"
18_url_github="https://github.com/${_appauthor}/${_appname}"
19url="${_url_github}"
20
21makedepends=('python-setuptools' 'python-wheel' 'python-build' 'python-installer')
22depends=('python')
23
24source=("https://files.pythonhosted.org/packages/source/${_pypi_package::1}/${_pypi_package//-/_}/${_pypi_package//-/_}-${_pypi_version}.tar.gz")
25# source=("${_pypi_package}-${_pypi_version}.tar.gz::${_url_github}/archive/refs/tags/v${_pypi_version}.tar.gz")
26sha256sums=('735194b3ac1e06764d65344d2325fb5fc6b3e9a737ae157a6012f453c2bd394a')
27
28
29build() {
30 cd "${srcdir}/${_pypi_package//-/_}-${_pypi_version}/"
31
32 python -m build --wheel --no-isolation
33}
34
35package() {
36 cd "${srcdir}/${_pypi_package//-/_}-${_pypi_version}/"
37
38 python -m installer --destdir="${pkgdir}" dist/*.whl
39
40 install -Dm644 "README.rst" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
41
42 install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
43}
44

Scan history

Scanned at (UTC)SeverityRules
2026-09-20 07:32:26 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