python-logging-journald

LOW
maintainer medaminezghal 1 votes scanned 2026-10-22 05:34:05.500565
View on AUR
Why flagged

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

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.

PKGBUILD

1# Maintainer: Mohamed Amine Zghal (medaminezghal) <medaminezghal at outlook dot com>
2
3_name=logging-journald
4pkgname=python-$_name
5pkgver=0.6.12
6pkgrel=1
7pkgdesc='Pure python logging handler for writing logs to the journald using native protocol.'
8arch=('any')
9url='https://github.com/mosquito/logging-journald'
10license=('MIT')
11depends=('python')
12makedepends=('python-hatchling'
13 'python-build'
14 'python-installer')
15checkdepends=('python-pytest')
16source=("$_name-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
17sha256sums=('2b09e62d8c6c2a7f56a7f28ec2eedbbc92a8bd8f57bd4d1331eef7799c54af2a')
18
19prepare() {
20 cd "$_name-$pkgver"
21 # Set the version from the release tag, as upstream's publish workflow does
22 sed -i "s/^version = .*/version = \"$pkgver\"/" pyproject.toml
23}
24
25build() {
26 cd "$_name-$pkgver"
27 python -m build --wheel --no-isolation
28}
29
30check() {
31 local pytest_options=(
32 -vv
33 --disable-warnings
34 )
35 cd "$_name-$pkgver"
36 PYTHONPATH=$PWD pytest "${pytest_options[@]}" tests
37}
38
39package() {
40 cd "$_name-$pkgver"
41 python -m installer --destdir="$pkgdir" dist/*.whl
42 install -Dm644 COPYING -t "$pkgdir"/usr/share/licenses/$pkgname/
43}
44

Scan history

Scanned at (UTC)SeverityRules
2026-10-22 05:34:05 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion