python-pyhamcrest: new package

Hamcrest framework for matcher objects.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Asaf Kahlon 2018-09-26 18:35:03 +03:00 committed by Thomas Petazzoni
parent dcc89b7602
commit 4c91461834
5 changed files with 29 additions and 0 deletions

View File

@ -208,6 +208,7 @@ F: package/python-paramiko/
F: package/python-passlib/
F: package/python-pyasn1/
F: package/python-pyasn1-modules/
F: package/python-pyhamcrest/
F: package/python-pyroute2/
F: package/python-pytz/
F: package/python-reentry/

View File

@ -929,6 +929,7 @@ menu "External python modules"
source "package/python-pyftpdlib/Config.in"
source "package/python-pygame/Config.in"
source "package/python-pygments/Config.in"
source "package/python-pyhamcrest/Config.in"
source "package/python-pyicu/Config.in"
source "package/python-pyinotify/Config.in"
source "package/python-pylibftdi/Config.in"

View File

@ -0,0 +1,8 @@
config BR2_PACKAGE_PYTHON_PYHAMCREST
bool "python-pyhamcrest"
select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime
select BR2_PACKAGE_PYTHON_SIX # runtime
help
Hamcrest framework for matcher objects.
https://github.com/hamcrest/PyHamcrest

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/pyhamcrest/json
md5 8b833a3fa30197455df79424f30c8c3f PyHamcrest-1.9.0.tar.gz
sha256 8ffaa0a53da57e89de14ced7185ac746227a8894dbd5a3c718bf05ddbd1d56cd PyHamcrest-1.9.0.tar.gz
# Locally computed sha256 checksums
sha256 ec76c04449607010d061b1e29c9d20a5ffae74db9d04670ae82538ccfe68b941 LICENSE.txt

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-pyhamcrest
#
################################################################################
PYTHON_PYHAMCREST_VERSION = 1.9.0
PYTHON_PYHAMCREST_SOURCE = PyHamcrest-$(PYTHON_PYHAMCREST_VERSION).tar.gz
PYTHON_PYHAMCREST_SITE = https://files.pythonhosted.org/packages/a4/89/a469aad9256aedfbb47a29ec2b2eeb855d9f24a7a4c2ff28bd8d1042ef02
PYTHON_PYHAMCREST_SETUP_TYPE = setuptools
PYTHON_PYHAMCREST_LICENSE = BSD-3-Clause
PYTHON_PYHAMCREST_LICENSE_FILES = LICENSE.txt
$(eval $(python-package))