python-tcolorpy
MEDIUM
maintainer orphaned
1 votes
scanned 2026-10-28 19:50:31.752373
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: Carlos Aznarán <caznaranl@uni.pe>
2
# Contributor: Luis Martinez <luis dot martinez at disroot dot org>
3
# Contributor: Caltlgin Stsodaat <contact@fossdaily.xyz>
4
_base=tcolorpy
5
pkgname=python-${_base}
6
pkgver=0.1.7
7
pkgrel=2
8
pkgdesc="Python library to apply true color for terminal text"
9
arch=(any)
10
url="https://github.com/thombashi/${_base}"
11
license=(MIT)
12
depends=(python)
13
makedepends=(python-build python-installer python-setuptools-scm python-wheel)
14
checkdepends=(python-pytest)
15
source=(${_base}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz)
16
sha512sums=('2c88e5d5bdf3971fff329c6da52c3577da09c87e46a27c0379974a88457ccbdb4ac73e44caa3076db36b016a454901b6f9601340b12410a08379ee5ef2749724')
17
18
build() {
19
cd ${_base}-${pkgver}
20
export SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver}
21
python -m build --wheel --skip-dependency-check --no-isolation
22
}
23
24
check() {
25
cd ${_base}-${pkgver}
26
python -m venv --system-site-packages test-env
27
test-env/bin/python -m installer dist/*.whl
28
test-env/bin/python -m pytest
29
}
30
31
package() {
32
cd ${_base}-${pkgver}
33
PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" python -m installer --destdir="${pkgdir}" dist/*.whl
34
install -Dm644 README.rst -t "$pkgdir/usr/share/doc/${pkgname}"
35
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/${pkgname}"
36
}
37
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-28 19:50:31 | Medium | 1 |
| 2026-06-18 16:11:54 | Clean | 0 |