package/python-colorzero: new package
Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
35bbcde75c
commit
185398f619
@ -2025,6 +2025,7 @@ F: package/iwd/
|
||||
F: package/libevdev/
|
||||
F: package/log4cplus/
|
||||
F: package/postgresql/
|
||||
F: package/python-colorzero/
|
||||
F: package/qt5/
|
||||
F: package/quotatool/
|
||||
F: package/racehound/
|
||||
|
@ -913,6 +913,7 @@ menu "External python modules"
|
||||
source "package/python-coherence/Config.in"
|
||||
source "package/python-colorama/Config.in"
|
||||
source "package/python-colorlog/Config.in"
|
||||
source "package/python-colorzero/Config.in"
|
||||
source "package/python-configobj/Config.in"
|
||||
source "package/python-configshell-fb/Config.in"
|
||||
source "package/python-constantly/Config.in"
|
||||
|
6
package/python-colorzero/Config.in
Normal file
6
package/python-colorzero/Config.in
Normal file
@ -0,0 +1,6 @@
|
||||
config BR2_PACKAGE_PYTHON_COLORZERO
|
||||
bool "python-colorzero"
|
||||
help
|
||||
A color manipulation library for Python.
|
||||
|
||||
https://github.com/waveform80/colorzero
|
4
package/python-colorzero/python-colorzero.hash
Normal file
4
package/python-colorzero/python-colorzero.hash
Normal file
@ -0,0 +1,4 @@
|
||||
# Locally computed
|
||||
sha256 24d30b55793150f9ae7478f8aa2126fe5598a31f928907eadbf9d5a19aa9964c python-colorzero-1.1.tar.gz
|
||||
# Locally computed
|
||||
sha256 47778d78e05bb6c39c022814e3712a0327c6418c7251757e72167ab8ff12bb4d LICENSE.txt
|
13
package/python-colorzero/python-colorzero.mk
Normal file
13
package/python-colorzero/python-colorzero.mk
Normal file
@ -0,0 +1,13 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-colorzero
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_COLORZERO_VERSION = 1.1
|
||||
PYTHON_COLORZERO_SITE = $(call github,waveform80,colorzero,release-$(PYTHON_COLORZERO_VERSION))
|
||||
PYTHON_COLORZERO_LICENSE = BSD-3-Clause
|
||||
PYTHON_COLORZERO_LICENSE_FILES = LICENSE.txt
|
||||
PYTHON_COLORZERO_SETUP_TYPE = setuptools
|
||||
|
||||
$(eval $(python-package))
|
@ -383,6 +383,8 @@ class CVE:
|
||||
if not hasattr(cve_affected_version, "version"):
|
||||
print("Cannot parse CVE affected version '%s'" % v["version_value"])
|
||||
continue
|
||||
print(pkg_version)
|
||||
print(cve_affected_version)
|
||||
return pkg_version <= cve_affected_version
|
||||
else:
|
||||
print("version_affected: %s" % v['version_affected'])
|
||||
|
Loading…
Reference in New Issue
Block a user