summaryrefslogtreecommitdiffstats
path: root/package/python-pyhamcrest
diff options
context:
space:
mode:
authorAsaf Kahlon <asafka7@gmail.com>2018-09-26 18:35:03 +0300
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-10-04 13:59:58 +0200
commit4c91461834be3b69dde199ec64ad8af966872b5c (patch)
treeafda259b34ba63313d7da51c4ea3a3348a8bde07 /package/python-pyhamcrest
parentdcc89b7602afb66b72c5ab42ebeb27690e9ae2cb (diff)
downloadbuildroot-4c91461834be3b69dde199ec64ad8af966872b5c.tar.gz
buildroot-4c91461834be3b69dde199ec64ad8af966872b5c.zip
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>
Diffstat (limited to 'package/python-pyhamcrest')
-rw-r--r--package/python-pyhamcrest/Config.in8
-rw-r--r--package/python-pyhamcrest/python-pyhamcrest.hash5
-rw-r--r--package/python-pyhamcrest/python-pyhamcrest.mk14
3 files changed, 27 insertions, 0 deletions
diff --git a/package/python-pyhamcrest/Config.in b/package/python-pyhamcrest/Config.in
new file mode 100644
index 0000000000..c2a4dc06f7
--- /dev/null
+++ b/package/python-pyhamcrest/Config.in
@@ -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
diff --git a/package/python-pyhamcrest/python-pyhamcrest.hash b/package/python-pyhamcrest/python-pyhamcrest.hash
new file mode 100644
index 0000000000..0c1660e08a
--- /dev/null
+++ b/package/python-pyhamcrest/python-pyhamcrest.hash
@@ -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
diff --git a/package/python-pyhamcrest/python-pyhamcrest.mk b/package/python-pyhamcrest/python-pyhamcrest.mk
new file mode 100644
index 0000000000..244aa8c606
--- /dev/null
+++ b/package/python-pyhamcrest/python-pyhamcrest.mk
@@ -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))
OpenPOWER on IntegriCloud