[2/3] package/python-huepy: new package
diff mbox series

Message ID 20191110222655.21977-2-aussedat.louis@gmail.com
State Accepted
Headers show
Series
  • [1/3] package/python-dnspython: new package
Related show

Commit Message

Louis Aussedat Nov. 10, 2019, 10:26 p.m. UTC
Signed-off-by: Louis Aussedat <aussedat.louis@gmail.com>
---
 DEVELOPERS                             |  1 +
 package/Config.in                      |  1 +
 package/python-huepy/Config.in         |  6 ++++++
 package/python-huepy/python-huepy.hash |  4 ++++
 package/python-huepy/python-huepy.mk   | 13 +++++++++++++
 5 files changed, 25 insertions(+)
 create mode 100644 package/python-huepy/Config.in
 create mode 100644 package/python-huepy/python-huepy.hash
 create mode 100644 package/python-huepy/python-huepy.mk

Comments

Thomas Petazzoni Nov. 11, 2019, 3:50 p.m. UTC | #1
On Sun, 10 Nov 2019 23:26:54 +0100
Louis Aussedat <aussedat.louis@gmail.com> wrote:

> Signed-off-by: Louis Aussedat <aussedat.louis@gmail.com>
> ---
>  DEVELOPERS                             |  1 +
>  package/Config.in                      |  1 +
>  package/python-huepy/Config.in         |  6 ++++++
>  package/python-huepy/python-huepy.hash |  4 ++++
>  package/python-huepy/python-huepy.mk   | 13 +++++++++++++
>  5 files changed, 25 insertions(+)
>  create mode 100644 package/python-huepy/Config.in
>  create mode 100644 package/python-huepy/python-huepy.hash
>  create mode 100644 package/python-huepy/python-huepy.mk
> 
> diff --git a/DEVELOPERS b/DEVELOPERS
> index fc332affa5..68328b30b3 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -1394,6 +1394,7 @@ N:	Louis Aussedat <aussedat.louis@gmail.com>
>  F:	board/friendlyarm/nanopi-neo-plus2/
>  F:	configs/friendlyarm_nanopi_neo_plus2_defconfig
>  F:  package/python-dnspython/
> +F:  package/python-huepy/

Indentation was also not correct here. Applied to next after fixing
this. Thanks!

Thomas

Patch
diff mbox series

diff --git a/DEVELOPERS b/DEVELOPERS
index fc332affa5..68328b30b3 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1394,6 +1394,7 @@  N:	Louis Aussedat <aussedat.louis@gmail.com>
 F:	board/friendlyarm/nanopi-neo-plus2/
 F:	configs/friendlyarm_nanopi_neo_plus2_defconfig
 F:  package/python-dnspython/
+F:  package/python-huepy/
 F:	package/python-tqdm/
 
 N:	Louis-Paul Cordier <lpdev@cordier.org>
diff --git a/package/Config.in b/package/Config.in
index 581191ca70..66f7b29b74 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -921,6 +921,7 @@  menu "External python modules"
 	source "package/python-hpack/Config.in"
 	source "package/python-html5lib/Config.in"
 	source "package/python-httplib2/Config.in"
+	source "package/python-huepy/Config.in"
 	source "package/python-humanize/Config.in"
 	source "package/python-hyperframe/Config.in"
 	source "package/python-hyperlink/Config.in"
diff --git a/package/python-huepy/Config.in b/package/python-huepy/Config.in
new file mode 100644
index 0000000000..0bdd25ffda
--- /dev/null
+++ b/package/python-huepy/Config.in
@@ -0,0 +1,6 @@ 
+config BR2_PACKAGE_PYTHON_HUEPY
+	bool "python-huepy"
+	help
+	  Hue will help you to print awesomely in terminals.
+
+	  https://github.com/s0md3v/hue
diff --git a/package/python-huepy/python-huepy.hash b/package/python-huepy/python-huepy.hash
new file mode 100644
index 0000000000..5a1a8fc1e3
--- /dev/null
+++ b/package/python-huepy/python-huepy.hash
@@ -0,0 +1,4 @@ 
+# Locally computer sha256 checksums
+md5	da6514d9d61fb75ac9470f6863ce1aca  python-huepy-a9851d5aea10d2299cc62b3f6dce26ac4ef2ea3e.tar.gz
+sha256	63147cef5ecae5c1ab38000be91def351710e6bef2c5f67b5303418becf6c0f2  python-huepy-a9851d5aea10d2299cc62b3f6dce26ac4ef2ea3e.tar.gz
+sha256  8b1ba204bb69a0ade2bfcf65ef294a920f6bb361b317dba43c7ef29d96332b9b  LICENSE
diff --git a/package/python-huepy/python-huepy.mk b/package/python-huepy/python-huepy.mk
new file mode 100644
index 0000000000..5c1041205d
--- /dev/null
+++ b/package/python-huepy/python-huepy.mk
@@ -0,0 +1,13 @@ 
+################################################################################
+#
+# python-huepy
+#
+################################################################################
+
+PYTHON_HUEPY_VERSION = a9851d5aea10d2299cc62b3f6dce26ac4ef2ea3e
+PYTHON_HUEPY_SITE = $(call github,s0md3v,hue,$(PYTHON_HUEPY_VERSION))
+PYTHON_HUEPY_LICENSE = GPL-3.0
+PYTHON_HUEPY_LICENSE_FILES = LICENSE
+PYTHON_HUEPY_SETUP_TYPE = setuptools
+
+$(eval $(python-package))