python-envoy-server

LOW
maintainer medaminezghal 1 votes scanned 2026-10-06 08:02:16.298752
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=envoy-server
4pkgname=python-$_name
5pkgver=1.39.1
6pkgrel=1
7pkgdesc='A Python wheel distribution of the Envoy server.'
8arch=('x86_64' 'aarch64')
9url='https://github.com/curioswitch/py-envoy-server'
10license=('MIT' 'Apache-2.0')
11depends=('python'
12 'glibc')
13makedepends=('python-uv-build'
14 'python-build'
15 'python-installer'
16 'python-wheel'
17 'git')
18checkdepends=('python-httpx'
19 'python-pytest')
20provides=('envoyproxy')
21conflicts=('envoyproxy' 'envoy')
22options=(!strip)
23source=("$_name::git+$url.git#tag=v$pkgver")
24source_x86_64=("envoy::https://github.com/envoyproxy/envoy/releases/download/v$pkgver/envoy-$pkgver-linux-x86_64")
25source_aarch64=("envoy::https://github.com/envoyproxy/envoy/releases/download/v$pkgver/envoy-$pkgver-linux-aarch_64")
26sha256sums=('059cadd9672a9d4951adf965f7b1a254e8f24346108e00a42fe544345807f0c2')
27sha256sums_x86_64=('002c6e1c69ed0fa0ea381887247cadadfaec9481375fa8d8d2b1731eeabf40b8')
28sha256sums_aarch64=('8565ad0af4b1d1d3c986e5165c027add3073579182f398dd7f4d728d25e9ec62')
29
30prepare() {
31 cd "$srcdir"/$_name
32 # Use the uv_build version shipped by Arch
33 sed -i 's/uv_build>=0.12.1,<0.13.0/uv_build/' pyproject.toml
34 sed -i 's/.venv/test-env/' tests/test_runs.py
35 cp -f "$srcdir"/envoy envoy/_bin/envoy
36 chmod +x envoy/_bin/envoy
37}
38
39build() {
40 cd "$srcdir"/$_name
41 python -m build --wheel --no-isolation
42}
43
44check() {
45 local pytest_options=(
46 -vv
47 --disable-warnings
48 )
49 cd "$srcdir"/$_name
50 python -m venv --system-site-packages test-env
51 test-env/bin/python -m installer dist/*.whl
52 PATH=$PWD/test-env/bin:$PATH test-env/bin/python -P -m pytest "${pytest_options[@]}" tests
53}
54
55package() {
56 cd "$srcdir"/$_name
57 python -m installer --destdir="$pkgdir" dist/*.whl
58}
59

Scan history

Scanned at (UTC)SeverityRules
2026-10-06 08:02:16 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