From patchwork Sun Sep 15 21:45:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joris OFFOUGA X-Patchwork-Id: 1162573 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="WKCy1ZPs"; 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 46Wjct4QHWz9sNw for ; Mon, 16 Sep 2019 07:46:38 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 56D7585B5D; Sun, 15 Sep 2019 21:46:35 +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 kVKSrH0C+e0c; Sun, 15 Sep 2019 21:46:29 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 418DA85B6F; Sun, 15 Sep 2019 21:46:26 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 3BF041BF288 for ; Sun, 15 Sep 2019 21:45:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 3918F8733C for ; Sun, 15 Sep 2019 21:45:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NCBlPRMsoDjG for ; Sun, 15 Sep 2019 21:45:53 +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 hemlock.osuosl.org (Postfix) with ESMTPS id 689BC85772 for ; Sun, 15 Sep 2019 21:45:53 +0000 (UTC) Received: by mail-wr1-f54.google.com with SMTP id q17so32190585wrx.10 for ; Sun, 15 Sep 2019 14:45:53 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=q7G0eUt3sE93bR064W4GCbNMu3lY4Wm3g1p6I1nL8EE=; b=WKCy1ZPs9jUKMQOlrimbLjy7hKT90NZe3fFssDXYn6ggukz6Z6L8w3s8LRKJdeFHWW kkE64wu2sCl+9cu9Xme0IrAIcaPFVPuh+M1NKkk1ENIg/RjqUA5bDd/SJ9BCwQ1cH/cZ ELKcKg92ipJVLf9vTu+c3UudhLW0nnx9+Uoj93S9YLGw/IRJFhZgRt7yIuZW7hjsvnuD l39FZn1vfF85B9BGuxxNMhh1G7u6XtMOsBMRqf1HD/05nEux6TaZkn/PxzYPRg6Tr7Zr ratxDgvDdTVQaeQU6qbMyu68b/sn0qYOFcspo+NbyilvEKFGw2EiXh6KTuSyBYsMYEM+ e2AQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=q7G0eUt3sE93bR064W4GCbNMu3lY4Wm3g1p6I1nL8EE=; b=BIDQD6Soz3Ycax77XjZArq+7xHzP91JVq1JyS0uAKdr2Zw+bDRgB0UKo4yfXW1s9b5 F+l5oQDkGfnBJCsQ3jhMkzuq+fbu/C+zrrpTULxYW48+d7wZI9itzF8vsemlEzsM/xxS 0EIqeAyKoXgHTzlGXxpGiDFJ0bjQxQpon78OxAzJrByMvVgXyT/T6Jb1NUg1DVhrys1e U5ITThMVesTU4wa20Lg0uWNNTFzyYU1Pi8kuPxl9lKtdIuAIUl8R+FVNkxEizyDZ23Pn 0AAUSXp0c/2ed8lis478ISpRtSEcTFc3z7eCA9alm6wlnlTGGchNLQsSlTP0W14dgILn X4Yw== X-Gm-Message-State: APjAAAXXrr/bflxQrrLYgvow4Z4QddRaV3mkefekSPRlV5FsODg0Swm+ b2SoM5E6/Da8d63V3TTpDhpFnenhASw= X-Google-Smtp-Source: APXvYqweFeguT7lIIZWXoqrwSXLK27tFQWVVHI10yE7DZsXBF6er81UyeBGdPN6tAsj9+GdGZXZoJA== X-Received: by 2002:a5d:4983:: with SMTP id r3mr2821393wrq.194.1568583951600; Sun, 15 Sep 2019 14:45:51 -0700 (PDT) Received: from N2x0WU.lan ([2a01:cb19:16b:9900:d424:3a8d:4940:c862]) by smtp.gmail.com with ESMTPSA id b15sm11063462wmb.28.2019.09.15.14.45.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Sep 2019 14:45:51 -0700 (PDT) From: Joris Offouga To: buildroot@buildroot.org Date: Sun, 15 Sep 2019 23:45:24 +0200 Message-Id: <20190915214525.17779-2-offougajoris@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190915214525.17779-1-offougajoris@gmail.com> References: <20190915214525.17779-1-offougajoris@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 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 --- package/Config.in | 1 + package/python-simplelogging/Config.in | 8 ++++++++ .../python-simplelogging/python-simplelogging.mk | 13 +++++++++++++ 3 files changed, 22 insertions(+) create mode 100644 package/python-simplelogging/Config.in create mode 100644 package/python-simplelogging/python-simplelogging.mk 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))