python-timerit
LOW
maintainer Dominiquini
1 votes
scanned 2026-09-20 07:32:26.301293
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
6
pkgname="python-${_appname}"
7
pkgver=1.2.0
8
pkgrel=1
9
pkgdesc="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
14
license=('Apache-2.0')
15
arch=('any')
16
17
_url_pypi="https://pypi.org/project/${_pypi_package}/"
18
_url_github="https://github.com/${_appauthor}/${_appname}"
19
url="${_url_github}"
20
21
makedepends=('python-setuptools' 'python-wheel' 'python-build' 'python-installer')
22
depends=('python')
23
24
source=("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")
26
sha256sums=('735194b3ac1e06764d65344d2325fb5fc6b3e9a737ae157a6012f453c2bd394a')
27
28
29
build() {
30
cd "${srcdir}/${_pypi_package//-/_}-${_pypi_version}/"
31
32
python -m build --wheel --no-isolation
33
}
34
35
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-09-20 07:32:26 | Low | 1 |