python-logging-journald
LOW
maintainer medaminezghal
1 votes
scanned 2026-10-22 05:34:05.500565
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
4
pkgname=python-$_name
5
pkgver=0.6.12
6
pkgrel=1
7
pkgdesc='Pure python logging handler for writing logs to the journald using native protocol.'
8
arch=('any')
9
url='https://github.com/mosquito/logging-journald'
10
license=('MIT')
11
depends=('python')
12
makedepends=('python-hatchling'
13
'python-build'
14
'python-installer')
15
checkdepends=('python-pytest')
16
source=("$_name-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
17
sha256sums=('2b09e62d8c6c2a7f56a7f28ec2eedbbc92a8bd8f57bd4d1331eef7799c54af2a')
18
19
prepare() {
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
25
build() {
26
cd "$_name-$pkgver"
27
python -m build --wheel --no-isolation
28
}
29
30
check() {
31
local pytest_options=(
32
-vv
33
--disable-warnings
34
)
35
cd "$_name-$pkgver"
36
PYTHONPATH=$PWD pytest "${pytest_options[@]}" tests
37
}
38
39
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-10-22 05:34:05 | Low | 1 |