python-tcolorpy

MEDIUM
maintainer orphaned 1 votes scanned 2026-10-28 19:50:31.752373
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: 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
5pkgname=python-${_base}
6pkgver=0.1.7
7pkgrel=2
8pkgdesc="Python library to apply true color for terminal text"
9arch=(any)
10url="https://github.com/thombashi/${_base}"
11license=(MIT)
12depends=(python)
13makedepends=(python-build python-installer python-setuptools-scm python-wheel)
14checkdepends=(python-pytest)
15source=(${_base}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz)
16sha512sums=('2c88e5d5bdf3971fff329c6da52c3577da09c87e46a27c0379974a88457ccbdb4ac73e44caa3076db36b016a454901b6f9601340b12410a08379ee5ef2749724')
17
18build() {
19 cd ${_base}-${pkgver}
20 export SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver}
21 python -m build --wheel --skip-dependency-check --no-isolation
22}
23
24check() {
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
31package() {
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)SeverityRules
2026-10-28 19:50:31 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