python2-tempdir
maintainer orphaned
· 2 votes
· base
python-tempdir
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
Package builds from official PyPI source, applies harmless shebang fix for Python 2; no malicious or risky behavior detected despite recent maintainer change.
Triggered rules
LOW
AI review downgraded a static finding
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): Package builds from official PyPI source, applies harmless shebang fix for Python 2; no malicious or risky behavior detected despite recent maintainer change.
1 higher static finding superseded - not the current verdict (shown for transparency)
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: Mark Weiman <mark dot weriman at markzz dot com>
2
3
pkgbase=python-tempdir
4
pkgname=('python-tempdir' 'python2-tempdir')
5
pkgver=0.7.1
6
pkgrel=1
7
pkgdesc="Python wrappers for manipulating temp directories"
8
arch=('any')
9
license=('MIT')
10
url="https://pypi.python.org/pypi/tempdir/${pkgver}"
11
makedepends=('python' 'python-setuptools' 'python2' 'python2-setuptools')
12
source=("https://pypi.python.org/packages/source/t/tempdir/tempdir-${pkgver}.tar.gz")
13
md5sums=('4076f2d7fa9306c77f7b16a5f2e4c154')
14
15
prepare() {
16
cp -a "$srcdir/tempdir-$pkgver" "$srcdir/tempdir-$pkgver-python2"
17
18
find "$srcdir/tempdir-$pkgver-python2" -name '*.py' | \
19
xargs sed -i "s|#!/usr/bin/env python$|#!/usr/bin/env python2|"
20
}
21
22
build() {
23
cd "$srcdir/tempdir-$pkgver"
24
python setup.py build
25
26
cd "$srcdir/tempdir-$pkgver-python2"
27
python2 setup.py build
28
}
29
30
package_python-tempdir() {
31
depends=('python' 'python-setuptools')
32
cd "$srcdir/tempdir-$pkgver"
33
python setup.py install --root="$pkgdir" --optimize=1
34
35
install -Dm644 docs/license.rst "$pkgdir"/usr/share/licenses/$pkgname/license.rst
36
}
37
38
package_python2-tempdir() {
39
depends=('python2' 'python2-setuptools')
40
cd "$srcdir/tempdir-$pkgver-python2"
41
python2 setup.py install --root="$pkgdir" --optimize=1
42
43
install -Dm644 docs/license.rst "$pkgdir"/usr/share/licenses/$pkgname/license.rst
44
}
45
46
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 03:12:42 | MEDIUM | 1 |
| 2026-06-18 16:11:54 | CLEAN | 0 |