Skip to contentSkip to conversation

package/python-simplelogging: new package

PATCH New Joris Offouga 3 participants 4 messages Sep 16, 2019 – Sep 19, 2019

lore
Share & tools
lore
#0 lore raw

PATCH v4 2/2 package/python-simplelogging: new package

Simplelogging is easier implementation of logging.

---
Changes v3 -> v4
Fix correct LICENSE type
Add Reviewed-by

 DEVELOPERS                                         |  1 +
 package/Config.in                                  |  1 +
 package/python-simplelogging/Config.in             |  7 +++++++
 .../python-simplelogging/python-simplelogging.hash |  5 +++++
 .../python-simplelogging/python-simplelogging.mk   | 14 ++++++++++++++
 5 files changed, 28 insertions(+)
 create mode 100644 package/python-simplelogging/Config.in
 create mode 100644 package/python-simplelogging/python-simplelogging.hash
 create mode 100644 package/python-simplelogging/python-simplelogging.mk
DEVELOPERS +1 -0
index 9283fa3af1..e5c3d0d39a 100644
@@ -1227,6 +1227,7 @@ F:	package/supervisor/
 
 N:	Joris Offouga <[email protected]>
 F:	package/python-colorlog
+F:	package/python-simplelogging
 
 N:	J?rg Krause <[email protected]>
 F:	board/lemaker/bananapro/
package/Config.in +1 -0
index 84de744420..32f8572985 100644
@@ -1070,6 +1070,7 @@ menu "External python modules"
 	source "package/python-simpleaudio/Config.in"
 	source "package/python-simplegeneric/Config.in"
 	source "package/python-simplejson/Config.in"
+	source "package/python-simplelogging/Config.in"
 	source "package/python-simplesqlite/Config.in"
 	source "package/python-singledispatch/Config.in"
 	source "package/python-sip/Config.in"
package/python-simplelogging/Config.in new file +7 -0
new file mode 100644
index 0000000000..db95efa25f
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_SIMPLELOGGING
+	bool "python-simplelogging"
+	select BR2_PACKAGE_PYTHON_COLORLOG # runtime
+	help
+	  Logging made simple, no excuse for any debug print call.
+
+	  https://github.com/vpoulailleau/simplelogging
package/python-simplelogging/python-simplelogging.hash new file +5 -0
new file mode 100644
index 0000000000..86698fe88c
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/simplelogging/json
+md5	e3f9da393098d8fd8ebd8349a00692f2  simplelogging-0.10.0.tar.gz
+sha256	c070e0d82b68eff6918076a0edbf0a48b2c9a263854bd35f48a12c6adbbe9d80  simplelogging-0.10.0.tar.gz
+# Locally computed sha256 checksums
+sha256	bd2a0fe3b3bab7092ffa7f58d46bb05d98f12f107b3a6be947c098f7c2ad1d1a  LICENSE
package/python-simplelogging/python-simplelogging.mk new file +14 -0
new file mode 100644
index 0000000000..28acc5c952
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-simplelogging
+#
+################################################################################
+
+PYTHON_SIMPLELOGGING_VERSION = 0.10.0
+PYTHON_SIMPLELOGGING_SOURCE = simplelogging-$(PYTHON_SIMPLELOGGING_VERSION).tar.gz
+PYTHON_SIMPLELOGGING_SITE = https://files.pythonhosted.org/packages/17/85/3d2431f971e703916c7254e4560ed15451faedf2461eb484da9e1ebc5da6
+PYTHON_SIMPLELOGGING_SETUP_TYPE = setuptools
+PYTHON_SIMPLELOGGING_LICENSE = BSD-3-Clause
+PYTHON_SIMPLELOGGING_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
Signature · 1 line
2.20.1
#1 lore raw

PATCH v4 2/2 package/python-simplelogging: new package

Hi Joris,

Quoted 89 lines · Joris Offouga

Simplelogging is easier implementation of logging.

---
Changes v3 -> v4
Fix correct LICENSE type
Add Reviewed-by

 DEVELOPERS                                         |  1 +
 package/Config.in                                  |  1 +
 package/python-simplelogging/Config.in             |  7 +++++++
 .../python-simplelogging/python-simplelogging.hash |  5 +++++
 .../python-simplelogging/python-simplelogging.mk   | 14 ++++++++++++++
 5 files changed, 28 insertions(+)
 create mode 100644 package/python-simplelogging/Config.in
 create mode 100644 package/python-simplelogging/python-simplelogging.hash
 create mode 100644 package/python-simplelogging/python-simplelogging.mk
DEVELOPERS +1 -0
index 9283fa3af1..e5c3d0d39a 100644
@@ -1227,6 +1227,7 @@ F:        package/supervisor/
 
 N:     Joris Offouga <[email protected]>
 F:     package/python-colorlog
+F:     package/python-simplelogging
 
 N:     J?rg Krause <[email protected]>
 F:     board/lemaker/bananapro/
package/Config.in +1 -0
index 84de744420..32f8572985 100644
@@ -1070,6 +1070,7 @@ menu "External python modules"
        source "package/python-simpleaudio/Config.in"
        source "package/python-simplegeneric/Config.in"
        source "package/python-simplejson/Config.in"
+       source "package/python-simplelogging/Config.in"
        source "package/python-simplesqlite/Config.in"
        source "package/python-singledispatch/Config.in"
        source "package/python-sip/Config.in"
package/python-simplelogging/Config.in new file +7 -0
new file mode 100644
index 0000000000..db95efa25f
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_SIMPLELOGGING
+       bool "python-simplelogging"
+       select BR2_PACKAGE_PYTHON_COLORLOG # runtime
+       help
+         Logging made simple, no excuse for any debug print call.
+
+         https://github.com/vpoulailleau/simplelogging
package/python-simplelogging/python-simplelogging.hash new file +5 -0
new file mode 100644
index 0000000000..86698fe88c
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/simplelogging/json
+md5    e3f9da393098d8fd8ebd8349a00692f2  simplelogging-0.10.0.tar.gz
+sha256 c070e0d82b68eff6918076a0edbf0a48b2c9a263854bd35f48a12c6adbbe9d80  simplelogging-0.10.0.tar.gz
+# Locally computed sha256 checksums
+sha256 bd2a0fe3b3bab7092ffa7f58d46bb05d98f12f107b3a6be947c098f7c2ad1d1a  LICENSE
package/python-simplelogging/python-simplelogging.mk new file +14 -1
new file mode 100644
index 0000000000..28acc5c952
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-simplelogging
+#
+################################################################################
+
+PYTHON_SIMPLELOGGING_VERSION = 0.10.0
+PYTHON_SIMPLELOGGING_SOURCE = simplelogging-$(PYTHON_SIMPLELOGGING_VERSION).tar.gz
+PYTHON_SIMPLELOGGING_SITE = https://files.pythonhosted.org/packages/17/85/3d2431f971e703916c7254e4560ed15451faedf2461eb484da9e1ebc5da6
+PYTHON_SIMPLELOGGING_SETUP_TYPE = setuptools
+PYTHON_SIMPLELOGGING_LICENSE = BSD-3-Clause
+PYTHON_SIMPLELOGGING_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
--
Quoted 1 line

2.20.1

Could you mark the obsolete patch versiones as "Superceded" [1]. Thanks.

[1] https://patchwork.ozlabs.org/project/buildroot/list/?submitter=75646

Yegor

#2 lore raw

PATCH v4 2/2 package/python-simplelogging: new package

Hi Yegor,

Le 17/09/2019 ? 15:52, Yegor Yefremov a ?crit?:

Quoted 94 lines

Hi Joris,

Quoted 88 lines · Joris Offouga

Simplelogging is easier implementation of logging.

---
Changes v3 -> v4
Fix correct LICENSE type
Add Reviewed-by

  DEVELOPERS                                         |  1 +
  package/Config.in                                  |  1 +
  package/python-simplelogging/Config.in             |  7 +++++++
  .../python-simplelogging/python-simplelogging.hash |  5 +++++
  .../python-simplelogging/python-simplelogging.mk   | 14 ++++++++++++++
  5 files changed, 28 insertions(+)

create mode 100644 package/python-simplelogging/Config.in create mode 100644 package/python-simplelogging/python-simplelogging.hash create mode 100644 package/python-simplelogging/python-simplelogging.mk

DEVELOPERS +1 -0
index 9283fa3af1..e5c3d0d39a 100644
@@ -1227,6 +1227,7 @@ F:        package/supervisor/
 
  N:     Joris Offouga <[email protected]>
  F:     package/python-colorlog
+F:     package/python-simplelogging
 
  N:     J?rg Krause <[email protected]>
  F:     board/lemaker/bananapro/
package/Config.in +1 -0
index 84de744420..32f8572985 100644
@@ -1070,6 +1070,7 @@ menu "External python modules"
         source "package/python-simpleaudio/Config.in"
         source "package/python-simplegeneric/Config.in"
         source "package/python-simplejson/Config.in"
+       source "package/python-simplelogging/Config.in"
         source "package/python-simplesqlite/Config.in"
         source "package/python-singledispatch/Config.in"
         source "package/python-sip/Config.in"
package/python-simplelogging/Config.in new file +7 -0
new file mode 100644
index 0000000000..db95efa25f
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_SIMPLELOGGING
+       bool "python-simplelogging"
+       select BR2_PACKAGE_PYTHON_COLORLOG # runtime
+       help
+         Logging made simple, no excuse for any debug print call.
+
+         https://github.com/vpoulailleau/simplelogging
package/python-simplelogging/python-simplelogging.hash new file +5 -0
new file mode 100644
index 0000000000..86698fe88c
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/simplelogging/json
+md5    e3f9da393098d8fd8ebd8349a00692f2  simplelogging-0.10.0.tar.gz
+sha256 c070e0d82b68eff6918076a0edbf0a48b2c9a263854bd35f48a12c6adbbe9d80  simplelogging-0.10.0.tar.gz
+# Locally computed sha256 checksums
+sha256 bd2a0fe3b3bab7092ffa7f58d46bb05d98f12f107b3a6be947c098f7c2ad1d1a  LICENSE
package/python-simplelogging/python-simplelogging.mk new file +14 -1
new file mode 100644
index 0000000000..28acc5c952
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-simplelogging
+#
+################################################################################
+
+PYTHON_SIMPLELOGGING_VERSION = 0.10.0
+PYTHON_SIMPLELOGGING_SOURCE = simplelogging-$(PYTHON_SIMPLELOGGING_VERSION).tar.gz
+PYTHON_SIMPLELOGGING_SITE = https://files.pythonhosted.org/packages/17/85/3d2431f971e703916c7254e4560ed15451faedf2461eb484da9e1ebc5da6
+PYTHON_SIMPLELOGGING_SETUP_TYPE = setuptools
+PYTHON_SIMPLELOGGING_LICENSE = BSD-3-Clause
+PYTHON_SIMPLELOGGING_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
--
Quoted 1 line

2.20.1

Could you mark the obsolete patch versiones as "Superceded" [1]. Thanks.

Quoted 1 line

[1] https://patchwork.ozlabs.org/project/buildroot/list/?submitter=75646

It's done

Joris

Quoted 2 lines

Yegor

#3 lore raw

PATCH v4 2/2 package/python-simplelogging: new package

In reply to Joris Offouga
Quoted 9 lines · On Mon, 16 Sep 2019 18:23:03 +0200 Joris Offouga <[email protected]> wrote:

Simplelogging is easier implementation of logging.

---
Changes v3 -> v4
Fix correct LICENSE type
Add Reviewed-by

Quoted 9 lines
 DEVELOPERS                                         |  1 +
 package/Config.in                                  |  1 +
 package/python-simplelogging/Config.in             |  7 +++++++
 .../python-simplelogging/python-simplelogging.hash |  5 +++++
 .../python-simplelogging/python-simplelogging.mk   | 14 ++++++++++++++
 5 files changed, 28 insertions(+)
 create mode 100644 package/python-simplelogging/Config.in
 create mode 100644 package/python-simplelogging/python-simplelogging.hash
 create mode 100644 package/python-simplelogging/python-simplelogging.mk

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com