From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Bernd Kuhls <bernd@kuhls.net>
Cc: buildroot@buildroot.org, Asaf Kahlon <asafka7@gmail.com>,
James Hilliard <james.hilliard1@gmail.com>,
Fiona Klute <fiona.klute@gmx.de>
Subject: Re: [Buildroot] [PATCH 2/2] package/python-emailproxy: new package
Date: Thu, 31 Oct 2024 20:56:21 +0100 [thread overview]
Message-ID: <20241031205621.064eceae@windsurf> (raw)
In-Reply-To: <20240921185558.3647651-2-bernd@kuhls.net>
Hello Bernd,
Thanks for this patch.
James: could you help reviewing this patch? In particular, I find it
odd that it needs host-python-cryptography host-python-pyasyncore as
build dependencies. Could you provide some guidance on this?
Thanks a lot,
Thomas
On Sat, 21 Sep 2024 20:55:58 +0200
Bernd Kuhls <bernd@kuhls.net> wrote:
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> ---
> DEVELOPERS | 1 +
> package/Config.in | 1 +
> package/python-emailproxy/Config.in | 14 ++++++++++++++
> package/python-emailproxy/python-emailproxy.hash | 5 +++++
> package/python-emailproxy/python-emailproxy.mk | 15 +++++++++++++++
> 5 files changed, 36 insertions(+)
> create mode 100644 package/python-emailproxy/Config.in
> create mode 100644 package/python-emailproxy/python-emailproxy.hash
> create mode 100644 package/python-emailproxy/python-emailproxy.mk
>
> diff --git a/DEVELOPERS b/DEVELOPERS
> index c9443558c1..b89b32ea51 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -496,6 +496,7 @@ F: package/privoxy/
> F: package/pure-ftpd/
> F: package/python-couchdb/
> F: package/python-cssutils/
> +F: package/python-emailproxy/
> F: package/python-glslang/
> F: package/python-mako/
> F: package/python-mwclient/
> diff --git a/package/Config.in b/package/Config.in
> index 4661e3d600..084b95c4e1 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -1096,6 +1096,7 @@ menu "External python modules"
> source "package/python-dpkt/Config.in"
> source "package/python-dtschema/Config.in"
> source "package/python-ecdsa/Config.in"
> + source "package/python-emailproxy/Config.in"
> source "package/python-email-validator/Config.in"
> source "package/python-engineio/Config.in"
> source "package/python-entrypoints/Config.in"
> diff --git a/package/python-emailproxy/Config.in b/package/python-emailproxy/Config.in
> new file mode 100644
> index 0000000000..f5c72d3a18
> --- /dev/null
> +++ b/package/python-emailproxy/Config.in
> @@ -0,0 +1,14 @@
> +config BR2_PACKAGE_PYTHON_EMAILPROXY
> + bool "python-emailproxy"
> + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-cryptography
> + select BR2_PACKAGE_HOST_PYTHON3
> + select BR2_PACKAGE_HOST_PYTHON3_SSL
> + select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime
> + select BR2_PACKAGE_PYTHON_PROMPT_TOOLKIT # runtime
> + select BR2_PACKAGE_PYTHON_PYASYNCORE # runtime
> + help
> + An IMAP/POP/SMTP proxy that transparently adds OAuth 2.0
> + authentication for email clients that don't support this
> + method.
> +
> + https://github.com/simonrob/email-oauth2-proxy
> diff --git a/package/python-emailproxy/python-emailproxy.hash b/package/python-emailproxy/python-emailproxy.hash
> new file mode 100644
> index 0000000000..e210ad3898
> --- /dev/null
> +++ b/package/python-emailproxy/python-emailproxy.hash
> @@ -0,0 +1,5 @@
> +# md5, sha256 from https://pypi.org/pypi/emailproxy/json
> +md5 ea254ae1e8d771bb169be41ccc575967 emailproxy-2024.9.12.tar.gz
> +sha256 b3fef87ebf803dbd8ed998521b3ec424c4fe7f8f02b6ef1e1e08b2c3a6992f72 emailproxy-2024.9.12.tar.gz
> +# Locally computed sha256 checksums
> +sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE
> diff --git a/package/python-emailproxy/python-emailproxy.mk b/package/python-emailproxy/python-emailproxy.mk
> new file mode 100644
> index 0000000000..89ce3a5daa
> --- /dev/null
> +++ b/package/python-emailproxy/python-emailproxy.mk
> @@ -0,0 +1,15 @@
> +################################################################################
> +#
> +# python-emailproxy
> +#
> +################################################################################
> +
> +PYTHON_EMAILPROXY_VERSION = 2024.9.12
> +PYTHON_EMAILPROXY_SOURCE = emailproxy-$(PYTHON_EMAILPROXY_VERSION).tar.gz
> +PYTHON_EMAILPROXY_SITE = https://files.pythonhosted.org/packages/a5/aa/42e408ec6f9c9e06d451b26ae97e127f4644860336b28636bbf14845a35a
> +PYTHON_EMAILPROXY_DEPENDENCIES = host-python-cryptography host-python-pyasyncore
> +PYTHON_EMAILPROXY_SETUP_TYPE = setuptools
> +PYTHON_EMAILPROXY_LICENSE = Apache-2.0
> +PYTHON_EMAILPROXY_LICENSE_FILES = LICENSE
> +
> +$(eval $(python-package))
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2024-10-31 19:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-21 18:55 [Buildroot] [PATCH 1/2] package/python-pyasyncore: enable host package Bernd Kuhls
2024-09-21 18:55 ` [Buildroot] [PATCH 2/2] package/python-emailproxy: new package Bernd Kuhls
2024-10-31 19:56 ` Thomas Petazzoni via buildroot [this message]
2024-11-01 14:57 ` James Hilliard
[not found] ` <CADvTj4oYpFkJYp_CkXc30WM-K-pVQBTLKmN0kN11v5kWxJNvyA__39333.6642578774$1730473113$gmane$org@mail.gmail.com>
2024-11-01 18:18 ` Bernd Kuhls
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241031205621.064eceae@windsurf \
--to=buildroot@buildroot.org \
--cc=asafka7@gmail.com \
--cc=bernd@kuhls.net \
--cc=fiona.klute@gmx.de \
--cc=james.hilliard1@gmail.com \
--cc=thomas.petazzoni@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.