python-envoy-server
LOW
maintainer medaminezghal
1 votes
scanned 2026-10-06 08:02:16.298752
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
4
pkgname=python-$_name
5
pkgver=1.39.1
6
pkgrel=1
7
pkgdesc='A Python wheel distribution of the Envoy server.'
8
arch=('x86_64' 'aarch64')
9
url='https://github.com/curioswitch/py-envoy-server'
10
license=('MIT' 'Apache-2.0')
11
depends=('python'
12
'glibc')
13
makedepends=('python-uv-build'
14
'python-build'
15
'python-installer'
16
'python-wheel'
17
'git')
18
checkdepends=('python-httpx'
19
'python-pytest')
20
provides=('envoyproxy')
21
conflicts=('envoyproxy' 'envoy')
22
options=(!strip)
23
source=("$_name::git+$url.git#tag=v$pkgver")
24
source_x86_64=("envoy::https://github.com/envoyproxy/envoy/releases/download/v$pkgver/envoy-$pkgver-linux-x86_64")
25
source_aarch64=("envoy::https://github.com/envoyproxy/envoy/releases/download/v$pkgver/envoy-$pkgver-linux-aarch_64")
26
sha256sums=('059cadd9672a9d4951adf965f7b1a254e8f24346108e00a42fe544345807f0c2')
27
sha256sums_x86_64=('002c6e1c69ed0fa0ea381887247cadadfaec9481375fa8d8d2b1731eeabf40b8')
28
sha256sums_aarch64=('8565ad0af4b1d1d3c986e5165c027add3073579182f398dd7f4d728d25e9ec62')
29
30
prepare() {
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
39
build() {
40
cd "$srcdir"/$_name
41
python -m build --wheel --no-isolation
42
}
43
44
check() {
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
55
package() {
56
cd "$srcdir"/$_name
57
python -m installer --destdir="$pkgdir" dist/*.whl
58
}
59
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-06 08:02:16 | Low | 1 |