python-imgviz
MEDIUM
maintainer hottea
0 votes
scanned 2026-08-21 17:15:19.681745
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: Butui Hu <hot123tea123@gmail.com>
2
3
_pkgname=imgviz
4
pkgname=python-imgviz
5
pkgver=2.1.0
6
pkgrel=1
7
pkgdesc='Image Visualization Tools (object detection, semantic and instance segmentation)'
8
arch=('any')
9
url='https://github.com/wkentaro/imgviz'
10
license=('MIT')
11
depends=(
12
python-matplotlib
13
python-numpy
14
python-pillow
15
python-yaml
16
)
17
makedepends=(
18
python-build
19
python-hatch-fancy-pypi-readme
20
python-hatch-vcs
21
python-hatchling
22
python-installer
23
python-setuptools
24
python-wheel
25
)
26
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/wkentaro/imgviz/archive/v${pkgver}.tar.gz")
27
sha512sums=('ad6148630ba88a5aeb4112e83417a3abbc74b958d4d21dcf1350c5eb4e954d0810221075c6042af0c7c7ebf0b029708f518c781e17e6feeae881f8b92a93c972')
28
29
build() {
30
cd "${_pkgname}-${pkgver}"
31
SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver} \
32
python -m build --wheel --no-isolation
33
}
34
35
package() {
36
cd "${_pkgname}-${pkgver}"
37
python -m installer --destdir="${pkgdir}" dist/*.whl
38
install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
39
}
40
# vim:set ts=2 sw=2 et:
41
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-21 17:15:19 | Medium | 1 |
| 2026-06-18 16:11:54 | Clean | 0 |