python-xlsx2csv-git
maintainer arkades
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package builds from the project's official Git repository, uses standard Python build tools, and installs only the resulting wheel, docs, and license; the 'SKIP' checksum is acceptable for git sources, and the low votes/recent upload are metadata issues, not security risks.
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.
LOW
AI review
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package builds from the project's official Git repository, uses standard Python build tools, and installs only the resulting wheel, docs, and license; the 'SKIP' checksum is acceptable for git sources, and the low votes/recent upload are metadata issues, not security risks.
PKGBUILD
1
# Maintainer: Claudia Pellegrino <aur ät cpellegrino.de>
2
3
pkgname=python-xlsx2csv-git
4
_gitpkgname=xlsx2csv
5
pkgver=0
6
pkgrel=1
7
pkgdesc="XSLX to CSV converter (Git)"
8
arch=(any)
9
url="https://github.com/dilshod/xlsx2csv"
10
license=('MIT')
11
depends=('python')
12
makedepends=(
13
'python-build'
14
'python-installer'
15
'python-setuptools-scm'
16
'python-wheel'
17
'perl'
18
'pod2man'
19
)
20
21
source=(
22
"git+https://github.com/dilshod/xlsx2csv.git"
23
)
24
25
sha512sums=('SKIP')
26
27
pkgver() {
28
cd "$_gitpkgname"
29
_ver="$(git describe | sed 's/^v//;s/-.*//')"
30
echo "${_ver}_r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
31
}
32
33
prepare() {
34
# Disable Python 2 tests
35
sed -i -e 's/^\(PYTHON_VERSIONS =\).*/\1 ["3"]/' \
36
"$_gitpkgname/test/run"
37
}
38
39
build() {
40
cd "$_gitpkgname"
41
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
42
43
echo >&2 'Building wheel'
44
python -m build --wheel --no-isolation
45
46
echo >&2 'Generating man page'
47
make -C man
48
}
49
50
check() {
51
cd "$_gitpkgname"
52
53
echo >&2 'Running unit tests'
54
test/run
55
56
echo >&2 'Testing the executable'
57
./"${_gitpkgname}.py" --version > actual.txt
58
if ! grep -qF "${pkgver}" actual.txt; then
59
printf >&2 '%s\n' 'Unexpected test output:' '==='
60
cat >&2 actual.txt
61
printf >&2 '\n%s\n' '==='
62
exit 1
63
fi
64
}
65
66
package() {
67
cd "$_gitpkgname"
68
69
echo >&2 'Packaging the wheel'
70
python -I -m installer --destdir="${pkgdir}" dist/*.whl
71
72
echo >&2 'Packaging the documentation'
73
install -D -m 644 -t "${pkgdir}/usr/share/doc/${pkgname}" \
74
README.md
75
install -D -m 644 -t "${pkgdir}/usr/share/man/man1" \
76
man/*.1
77
78
echo >&2 'Packaging the license'
79
install -D -m 644 -t "${pkgdir}/usr/share/licenses/${pkgname}" \
80
LICENSE.txt
81
}
82
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 23:19:22 | LOW | 2 |