Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] package/python-colorzero: new package
@ 2020-06-18 19:45 Thomas Petazzoni
  2020-06-18 20:25 ` Peter Seiderer
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2020-06-18 19:45 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=185398f6198f222b45c85a6260b4e723e2f9a4c9
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 DEVELOPERS                                     |  1 +
 package/Config.in                              |  1 +
 package/python-colorzero/Config.in             |  6 ++++++
 package/python-colorzero/python-colorzero.hash |  4 ++++
 package/python-colorzero/python-colorzero.mk   | 13 +++++++++++++
 support/scripts/pkg-stats                      |  2 ++
 6 files changed, 27 insertions(+)

diff --git a/DEVELOPERS b/DEVELOPERS
index cbe6bc1856..65bce3e4a4 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -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/
diff --git a/package/Config.in b/package/Config.in
index 1f44fe7ca9..fbe87ec902 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/python-colorzero/Config.in b/package/python-colorzero/Config.in
new file mode 100644
index 0000000000..b2ef711fbe
--- /dev/null
+++ b/package/python-colorzero/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_COLORZERO
+	bool "python-colorzero"
+	help
+	  A color manipulation library for Python.
+
+	  https://github.com/waveform80/colorzero
diff --git a/package/python-colorzero/python-colorzero.hash b/package/python-colorzero/python-colorzero.hash
new file mode 100644
index 0000000000..118ccea7d7
--- /dev/null
+++ b/package/python-colorzero/python-colorzero.hash
@@ -0,0 +1,4 @@
+# Locally computed
+sha256  24d30b55793150f9ae7478f8aa2126fe5598a31f928907eadbf9d5a19aa9964c  python-colorzero-1.1.tar.gz
+# Locally computed
+sha256  47778d78e05bb6c39c022814e3712a0327c6418c7251757e72167ab8ff12bb4d  LICENSE.txt
diff --git a/package/python-colorzero/python-colorzero.mk b/package/python-colorzero/python-colorzero.mk
new file mode 100644
index 0000000000..6ddbcbe1c5
--- /dev/null
+++ b/package/python-colorzero/python-colorzero.mk
@@ -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))
diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats
index c1f41fc9e8..4d76ca32f9 100755
--- a/support/scripts/pkg-stats
+++ b/support/scripts/pkg-stats
@@ -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'])

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [git commit] package/python-colorzero: new package
  2020-06-18 19:45 [Buildroot] [git commit] package/python-colorzero: new package Thomas Petazzoni
@ 2020-06-18 20:25 ` Peter Seiderer
  2020-06-18 21:18   ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Seiderer @ 2020-06-18 20:25 UTC (permalink / raw)
  To: buildroot

Hello Thomas,

On Thu, 18 Jun 2020 21:45:00 +0200, Thomas Petazzoni <thomas.petazzoni@bootlin.com> wrote:

> commit: https://git.buildroot.net/buildroot/commit/?id=185398f6198f222b45c85a6260b4e723e2f9a4c9
> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
>
> Signed-off-by: Peter Seiderer <ps.report@gmx.net>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> ---
>  DEVELOPERS                                     |  1 +
>  package/Config.in                              |  1 +
>  package/python-colorzero/Config.in             |  6 ++++++
>  package/python-colorzero/python-colorzero.hash |  4 ++++
>  package/python-colorzero/python-colorzero.mk   | 13 +++++++++++++
>  support/scripts/pkg-stats                      |  2 ++
>  6 files changed, 27 insertions(+)
>
> diff --git a/DEVELOPERS b/DEVELOPERS
> index cbe6bc1856..65bce3e4a4 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -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/
> diff --git a/package/Config.in b/package/Config.in
> index 1f44fe7ca9..fbe87ec902 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -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"
> diff --git a/package/python-colorzero/Config.in b/package/python-colorzero/Config.in
> new file mode 100644
> index 0000000000..b2ef711fbe
> --- /dev/null
> +++ b/package/python-colorzero/Config.in
> @@ -0,0 +1,6 @@
> +config BR2_PACKAGE_PYTHON_COLORZERO
> +	bool "python-colorzero"
> +	help
> +	  A color manipulation library for Python.
> +
> +	  https://github.com/waveform80/colorzero
> diff --git a/package/python-colorzero/python-colorzero.hash b/package/python-colorzero/python-colorzero.hash
> new file mode 100644
> index 0000000000..118ccea7d7
> --- /dev/null
> +++ b/package/python-colorzero/python-colorzero.hash
> @@ -0,0 +1,4 @@
> +# Locally computed
> +sha256  24d30b55793150f9ae7478f8aa2126fe5598a31f928907eadbf9d5a19aa9964c  python-colorzero-1.1.tar.gz
> +# Locally computed
> +sha256  47778d78e05bb6c39c022814e3712a0327c6418c7251757e72167ab8ff12bb4d  LICENSE.txt
> diff --git a/package/python-colorzero/python-colorzero.mk b/package/python-colorzero/python-colorzero.mk
> new file mode 100644
> index 0000000000..6ddbcbe1c5
> --- /dev/null
> +++ b/package/python-colorzero/python-colorzero.mk
> @@ -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))
> diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats
> index c1f41fc9e8..4d76ca32f9 100755
> --- a/support/scripts/pkg-stats
> +++ b/support/scripts/pkg-stats
> @@ -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'])

Seems there leaked some unrelated code change in?

Regards,
Peter

> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [git commit] package/python-colorzero: new package
  2020-06-18 20:25 ` Peter Seiderer
@ 2020-06-18 21:18   ` Thomas Petazzoni
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2020-06-18 21:18 UTC (permalink / raw)
  To: buildroot

On Thu, 18 Jun 2020 22:25:47 +0200
Peter Seiderer <ps.report@gmx.net> wrote:

> > diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats
> > index c1f41fc9e8..4d76ca32f9 100755
> > --- a/support/scripts/pkg-stats
> > +++ b/support/scripts/pkg-stats
> > @@ -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'])  
> 
> Seems there leaked some unrelated code change in?

Crap, yes :-/ Thanks for noticing. "git commit -a" should not be
allowed on my machine, it seems.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-06-18 21:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-18 19:45 [Buildroot] [git commit] package/python-colorzero: new package Thomas Petazzoni
2020-06-18 20:25 ` Peter Seiderer
2020-06-18 21:18   ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox