Files
2026-09-25 19:03:39 +00:00

19 lines
721 B
Plaintext

# Description: daemon that intercepts IMAP/POP/SMTP connections and transparently adds OAuth 2.0 support
# URL: https://github.com/simonrob/email-oauth2-proxy
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: python3-cryptography python3-prompt-toolkit python3-pyasyncore
# Optional: python3-pyjwt
name=python3-emailproxy
version=2026-07-03
release=1
source=(https://github.com/simonrob/email-oauth2-proxy/archive/$version/$name-$version.tar.gz)
build() {
cd email-oauth2-proxy-*
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
/usr/bin/python3 -m installer --destdir="$PKG" dist/*.whl
rm -rf "$PKG"/usr/lib/python3.12/site-packages/emailproxy-*.dist-info/licenses
}