package/python-aexpect: new package

This package was initially requested by José Pekkarinen, so he is
assigned as the maintainer for it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Thomas Petazzoni 2022-01-06 00:03:29 +01:00
parent 5b4e139770
commit 63b72a7c15
7 changed files with 44 additions and 0 deletions

View File

@ -1487,7 +1487,10 @@ F: support/testing/tests/package/test_zfs.py
N: José Pekkarinen <jose.pekkarinen@unikie.com>
F: package/alfred/
F: package/bmx7/
F: package/python-aexpect/
F: package/softhsm2/
F: support/testing/tests/package/sample_python_aexpect.py
F: support/testing/tests/package/test_python_aexpect.py
N: Joseph Kogut <joseph.kogut@gmail.com>
F: package/at-spi2-atk/

View File

@ -891,6 +891,7 @@ endif
if BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
menu "External python modules"
source "package/python-aenum/Config.in"
source "package/python-aexpect/Config.in"
source "package/python-aioblescan/Config.in"
source "package/python-aiocoap/Config.in"
source "package/python-aioconsole/Config.in"

View File

@ -0,0 +1,8 @@
config BR2_PACKAGE_PYTHON_AEXPECT
bool "python-aexpect"
depends on BR2_PACKAGE_PYTHON3
select BR2_PACKAGE_PYTHON_SIX # runtime
help
Aexpect.
http://avocado-framework.github.io/

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/aexpect/json
md5 d37473ff0024c15938bfe86a543537e6 aexpect-1.6.4.tar.gz
sha256 3998aa84ae54963fd59488f0caa533f6edbb31bc6cb842da09b041cbad56ad88 aexpect-1.6.4.tar.gz
# Locally computed sha256 checksums
sha256 7be26abf35e531a226dc742d2379d42d372cb61f027a6e26477c0e2f1a03bfcb LICENSE

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-aexpect
#
################################################################################
PYTHON_AEXPECT_VERSION = 1.6.4
PYTHON_AEXPECT_SOURCE = aexpect-$(PYTHON_AEXPECT_VERSION).tar.gz
PYTHON_AEXPECT_SITE = https://files.pythonhosted.org/packages/3b/22/f87ffa70348dde4597d9314995be89c8d4c7728260033b972a8d691e3f7d
PYTHON_AEXPECT_SETUP_TYPE = setuptools
PYTHON_AEXPECT_LICENSE = GPL-2.0+
PYTHON_AEXPECT_LICENSE_FILES = LICENSE
$(eval $(python-package))

View File

@ -0,0 +1 @@
import aexpect

View File

@ -0,0 +1,12 @@
from tests.package.test_python import TestPythonPackageBase
class TestPythonPy3Aexpect(TestPythonPackageBase):
__test__ = True
config = TestPythonPackageBase.config + \
"""
BR2_PACKAGE_PYTHON3=y
BR2_PACKAGE_PYTHON_AEXPECT=y
"""
sample_scripts = ["tests/package/sample_python_aexpect.py"]
timeout = 30