package/python-crayons : new package

This module is really simple, it gives you
colored strings for terminal usage.

Signed-off-by: Jugurtha BELKALEM <jugurtha.belkalem@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Jugurtha BELKALEM 2020-09-01 16:37:29 +02:00 committed by Thomas Petazzoni
parent adb64a97e7
commit ceb090fd6e
5 changed files with 29 additions and 0 deletions

View File

@ -1422,6 +1422,7 @@ N: Joshua Henderson <joshua.henderson@microchip.com>
F: package/qt5/qt5wayland/
N: Jugurtha BELKALEM <jugurtha.belkalem@smile.fr>
F: package/python-crayons/
F: package/python-cycler/
F: package/python-matplotlib/

View File

@ -923,6 +923,7 @@ menu "External python modules"
source "package/python-configshell-fb/Config.in"
source "package/python-constantly/Config.in"
source "package/python-couchdb/Config.in"
source "package/python-crayons/Config.in"
source "package/python-crc16/Config.in"
source "package/python-crcmod/Config.in"
source "package/python-crontab/Config.in"

View File

@ -0,0 +1,8 @@
config BR2_PACKAGE_PYTHON_CRAYONS
bool "python-crayons"
depends on BR2_PACKAGE_PYTHON3
help
This module is really simple, it gives you
colored strings for terminal usage.
https://pypi.org/project/crayons

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/crayons/json
md5 88a79c854ce54bcbb8376d18a448d627 crayons-0.4.0.tar.gz
sha256 bd33b7547800f2cfbd26b38431f9e64b487a7de74a947b0fafc89b45a601813f crayons-0.4.0.tar.gz
# Locally computed sha256 checksums
sha256 7deeb137f78337fd1e2e3966a7896821c6ebff244200d009d3f4157246b5a457 LICENSE

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-crayons
#
################################################################################
PYTHON_CRAYONS_VERSION = 0.4.0
PYTHON_CRAYONS_SOURCE = crayons-$(PYTHON_CRAYONS_VERSION).tar.gz
PYTHON_CRAYONS_SITE = https://files.pythonhosted.org/packages/b8/6b/12a1dea724c82f1c19f410365d3e25356625b48e8009a7c3c9ec4c42488d
PYTHON_CRAYONS_LICENSE = MIT
PYTHON_CRAYONS_LICENSE_FILES = LICENSE
PYTHON_CRAYONS_SETUP_TYPE = setuptools
$(eval $(python-package))