Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: "José Pekkarinen" <jose.pekkarinen@unikie.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 5/7] package/aexpect: new package
Date: Fri, 10 Dec 2021 21:11:30 +0100	[thread overview]
Message-ID: <20211210201130.GL2603@scaer> (raw)
In-Reply-To: <20211210141209.1812043-5-jose.pekkarinen@unikie.com>

José, All,

On 2021-12-10 16:12 +0200, José Pekkarinen spake thusly:
> Add package to avocado framework's aexpect.
> 
> Signed-off-by: José Pekkarinen <jose.pekkarinen@unikie.com>
[--SNIP--]
> diff --git a/package/aexpect/Config.in b/package/aexpect/Config.in
> new file mode 100644
> index 0000000000..efa2be8b91
> --- /dev/null
> +++ b/package/aexpect/Config.in
> @@ -0,0 +1,12 @@
> +config BR2_PACKAGE_AEXPECT
> +	bool "aexpect"
> +	depends on !BR2_STATIC_LIBS # dlopen()
> +	select BR2_PACKAGE_PYTHON

Do not select python, depend on it.

Also python in Buildroot is python 2. We are trying to get rid of it.
Is aexpect really only supporting python2? If so, this is a bit
unfortuante...

But since it require 2to6, maybe it works with python3 too?

Regards,
Yann E. MORIN.

> +	help
> +	  This module provides services similar to
> +	  the pexpect python library, so to speak,
> +	  spawn and control interactive applications,
> +	  such as ssh, sftp and others.
> +
> +comment "aexpect needs a toolchain with dynamic library support"
> +	depends on BR2_STATIC_LIBS
> diff --git a/package/aexpect/aexpect.hash b/package/aexpect/aexpect.hash
> new file mode 100644
> index 0000000000..4a47da4121
> --- /dev/null
> +++ b/package/aexpect/aexpect.hash
> @@ -0,0 +1,4 @@
> +# From https://files.pythonhosted.org/packages/d0/fa/5ba16ca17a70980c7c09ea1c8d748aace1ee8772d032c483add0e17d0cf6
> +sha256  54abae31e7d3b7afbfb7a019756907a81d40be4422788bccf20d2e82ad6ef8c8  aexpect-1.6.3.tar.gz
> +# Locally computed
> +sha256  7be26abf35e531a226dc742d2379d42d372cb61f027a6e26477c0e2f1a03bfcb  LICENSE
> diff --git a/package/aexpect/aexpect.mk b/package/aexpect/aexpect.mk
> new file mode 100644
> index 0000000000..ca2097328a
> --- /dev/null
> +++ b/package/aexpect/aexpect.mk
> @@ -0,0 +1,13 @@
> +################################################################################
> +#
> +# aexpect
> +#
> +################################################################################
> +
> +AEXPECT_VERSION = 1.6.3
> +AEXPECT_SITE = https://files.pythonhosted.org/packages/d0/fa/5ba16ca17a70980c7c09ea1c8d748aace1ee8772d032c483add0e17d0cf6
> +AEXPECT_SETUP_TYPE = setuptools
> +AEXPECT_LICENSE = GPL-2.0
> +AEXPECT_LICENSE_FILES = LICENSE
> +
> +$(eval $(python-package))
> -- 
> 2.30.2
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  parent reply	other threads:[~2021-12-10 20:11 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-10 14:12 [Buildroot] [PATCH 1/7] package/opensc: new package José Pekkarinen
2021-12-10 14:12 ` [Buildroot] [PATCH 2/7] package/minijail: " José Pekkarinen
2021-12-10 14:48   ` Giulio Benetti
2021-12-10 18:15     ` Arnout Vandecappelle
2021-12-10 20:26       ` Giulio Benetti
2021-12-11  8:30         ` Arnout Vandecappelle
2021-12-11 11:53           ` Giulio Benetti
2021-12-10 19:57   ` Yann E. MORIN
2022-01-05 20:41   ` Thomas Petazzoni
2022-01-12 14:15     ` José Pekkarinen
2022-01-12 14:51       ` Thomas Petazzoni
2022-01-12 15:08         ` José Pekkarinen
2022-01-12 16:00           ` Thomas Petazzoni
2022-01-13  5:12             ` José Pekkarinen
2021-12-10 14:12 ` [Buildroot] [PATCH 3/7] package/bmx7: " José Pekkarinen
2021-12-10 14:52   ` Giulio Benetti
2021-12-10 20:07   ` Yann E. MORIN
2022-01-05 22:23   ` Thomas Petazzoni
2022-01-10  5:36     ` José Pekkarinen
2021-12-10 14:12 ` [Buildroot] [PATCH 4/7] package/alfred: " José Pekkarinen
2021-12-10 14:54   ` Giulio Benetti
2022-01-05 22:43   ` Thomas Petazzoni
2021-12-10 14:12 ` [Buildroot] [PATCH 5/7] package/aexpect: " José Pekkarinen
2021-12-10 14:56   ` Giulio Benetti
2021-12-10 20:11   ` Yann E. MORIN [this message]
2021-12-11  8:43     ` Arnout Vandecappelle
2021-12-11  9:17       ` Yann E. MORIN
2022-01-06  8:40   ` Thomas Petazzoni
2021-12-10 14:12 ` [Buildroot] [PATCH 6/7] package/avocado: " José Pekkarinen
2021-12-10 14:57   ` Giulio Benetti
2022-07-26  8:13   ` Thomas Petazzoni via buildroot
2021-12-10 14:12 ` [Buildroot] [PATCH 7/7] package/avocado-vt: " José Pekkarinen
2021-12-10 15:00   ` Giulio Benetti
2022-07-26  8:21   ` Thomas Petazzoni via buildroot
2022-07-28  6:07     ` José Pekkarinen via buildroot
2021-12-10 14:32 ` [Buildroot] [PATCH 1/7] package/opensc: " Giulio Benetti
2021-12-10 17:34   ` Yann E. MORIN
2021-12-10 14:49 ` Giulio Benetti
2021-12-10 17:06   ` Yann E. MORIN

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=20211210201130.GL2603@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@buildroot.org \
    --cc=jose.pekkarinen@unikie.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox