From patchwork Sun Sep 15 21:50:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Joris OFFOUGA X-Patchwork-Id: 1162574 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="NdMkhclJ"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46Wjk51XDDz9sP6 for ; Mon, 16 Sep 2019 07:51:08 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id DF0AD85AD6; Sun, 15 Sep 2019 21:51:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XRRQyZgT5LcU; Sun, 15 Sep 2019 21:51:03 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 38C49856CB; Sun, 15 Sep 2019 21:51:03 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id A028D1BF288 for ; Sun, 15 Sep 2019 21:51:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 9854320410 for ; Sun, 15 Sep 2019 21:51:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GCCUIEMX3qkp for ; Sun, 15 Sep 2019 21:51:01 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) by silver.osuosl.org (Postfix) with ESMTPS id 27C52203BF for ; Sun, 15 Sep 2019 21:51:01 +0000 (UTC) Received: by mail-wr1-f54.google.com with SMTP id l11so36850752wrx.5 for ; Sun, 15 Sep 2019 14:51:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=e90zY+M6LjePnmNcNF1VXbP934V3v5LdvU9QxSbgv7M=; b=NdMkhclJANpKbWlXcElhjqryr6e3vyhyWLiqnAN3rOkPmzYjJUcuH4xwo4et1e21UD XqS5c9OfdwlUMScmKmdwyQhvhJHN7V84hoq1XpSueDqSzzzd4lbKpxHj6lwJrnA8zRqO VNPDLRVvVWhGb90N1KyJPNAlCn5/7H04umopmGwfyzFGF2owornGcc/02xXCKqZ+BwRT cDmDKp/gEtbdaK9yVF8IEH5piLYBwdS2wVm+6EUUe7WNXmSfGJ7N4HGCrXgxpO5eUC+f XNDwFLcdm2t6AGIn/wNB9grQExlPg5wmk4+JkDiOHQ3B2h9t41Cq0b462Zn1EC4e+oLb yi7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=e90zY+M6LjePnmNcNF1VXbP934V3v5LdvU9QxSbgv7M=; b=N+/Y3a0NS2H74jZwlSuRc5+7m139d+aTBPfZqvAnAVK9eOScAuP10RmGeTjoJScTlV V/kf7mUd7VsbC+q/DGb6eOpeUeE1T39cgN4QTPwIJP2fLCqKA17dn6dshTIjuckUMo9I 81zX+CZnWdwze8Gu3FrUqTWBASLuB/4mTHYgSoynKR8uYgkhdvSrcyHFGCmSBqlbPq/Q 7dblcZfeXUPzGttZIQN9zjfcUq5nGYlRV4+QhaLHXC2Lb12Q8H58wvnEWGe/MBNa1648 a8eobdgPYACfq1FWX6uOKgL+LhlYIVJMKEUv1rnuyJinUAIHtGu9MzanfACjlI0IGjqR XGAw== X-Gm-Message-State: APjAAAUcqPHEMr4ms9a23CsJZb5dTbHHBxC3QLJsjUuD+A/mFeyMOm2u N8DcAhEl/4eJCWg9ymeikrDISUg7SWU= X-Google-Smtp-Source: APXvYqyo0xyHK4kHVpUjINSHuRxRygL+OWyzG1XbeLG2ZLmwoPPDOPvtkyFUZg2hafHbWX49pwHvAw== X-Received: by 2002:adf:dbce:: with SMTP id e14mr18586833wrj.56.1568584259297; Sun, 15 Sep 2019 14:50:59 -0700 (PDT) Received: from N2x0WU.lan ([2a01:cb19:16b:9900:d424:3a8d:4940:c862]) by smtp.gmail.com with ESMTPSA id g15sm8296797wmk.17.2019.09.15.14.50.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Sep 2019 14:50:58 -0700 (PDT) From: Joris Offouga To: buildroot@buildroot.org Date: Sun, 15 Sep 2019 23:50:55 +0200 Message-Id: <20190915215055.19100-1-offougajoris@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 2/2] package/python-simplelogging: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Joris Offouga , Asaf Kahlon Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Simplelogging is easier implementation of logging. Signed-off-by: Joris Offouga --- Changes v1 -> V2 Add missing entry in developers DEVELOPERS | 1 + package/Config.in | 1 + package/python-simplelogging/Config.in | 8 ++++++++ .../python-simplelogging/python-simplelogging.mk | 13 +++++++++++++ 4 files changed, 23 insertions(+) create mode 100644 package/python-simplelogging/Config.in create mode 100644 package/python-simplelogging/python-simplelogging.mk diff --git a/DEVELOPERS b/DEVELOPERS index 9283fa3af1..e5c3d0d39a 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1227,6 +1227,7 @@ F: package/supervisor/ N: Joris Offouga F: package/python-colorlog +F: package/python-simplelogging N: Jörg Krause F: board/lemaker/bananapro/ diff --git a/package/Config.in b/package/Config.in index 84de744420..32f8572985 100644 --- a/package/Config.in +++ b/package/Config.in @@ -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" diff --git a/package/python-simplelogging/Config.in b/package/python-simplelogging/Config.in new file mode 100644 index 0000000000..70765205cc --- /dev/null +++ b/package/python-simplelogging/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_SIMPLELOGGING + bool "python-simplelogging" + depends on BR2_PACKAGE_PYTHON_COLORLOG + select BR2_PACKAGE_PYTHON_COLORLOG + help + Logging made simple, no excuse for any debug print call. + + https://github.com/vpoulailleau/simplelogging diff --git a/package/python-simplelogging/python-simplelogging.mk b/package/python-simplelogging/python-simplelogging.mk new file mode 100644 index 0000000000..939efb090c --- /dev/null +++ b/package/python-simplelogging/python-simplelogging.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# python-simplelogging +# +################################################################################ + +PYTHON_SIMPLELOGGING_VERSION = cc92abd7991789cb1f577decf0f2b88517e8a613 +PYTHON_SIMPLELOGGING_SITE = $(call github,vpoulailleau,simplelogging,$(PYTHON_SIMPLELOGGING_VERSION)) +PYTHON_SIMPLELOGGING_LICENSE = BSD 3-Clause +PYTHON_SIMPLELOGGING_LICENSE_FILES = LICENSE +PYTHON_SIMPLELOGGING_SETUP_TYPE = setuptools + +$(eval $(python-package))