From patchwork Mon Sep 16 16:23:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Joris OFFOUGA X-Patchwork-Id: 1162989 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.133; helo=hemlock.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="YE9JiyQE"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46XBPK5JCpz9sQt for ; Tue, 17 Sep 2019 02:23:17 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 1CBD086D11; Mon, 16 Sep 2019 16:23:16 +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 5rAKFJvPp7OT; Mon, 16 Sep 2019 16:23:15 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 45D998598B; Mon, 16 Sep 2019 16:23:15 +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 599B91BF368 for ; Mon, 16 Sep 2019 16:23:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 568A98598B for ; Mon, 16 Sep 2019 16:23:13 +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 pODK6AL916+E for ; Mon, 16 Sep 2019 16:23:12 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) by hemlock.osuosl.org (Postfix) with ESMTPS id 893D08550C for ; Mon, 16 Sep 2019 16:23:12 +0000 (UTC) Received: by mail-wr1-f52.google.com with SMTP id o18so27596wrv.13 for ; Mon, 16 Sep 2019 09:23:12 -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=7ply1IREXaWPauwCfshcfHuQ9X8GgV/gfoCVCSSVC+E=; b=YE9JiyQEyfx0BiytoVJBOGIQbRCFxvLcUQyQDnR2YXDp26BbgjCj2deTgMfIBT8svZ QwZUPlzK/K0bcIsdI2CzIIX+l11c9hky0iBxaFCOH/OfJAney/IKldsW8Lz07LGBfN6h w1wZB8bdlxCETU8c4O1qXZ1Qxa+rEN3PWxBVgFAjQp7XwpS44ZsKXWyPtIz77hxMybRy Tpf/GCC2QND98U6jQU+tKNniiLDrlOs1U4P3R/b0Lsj7lNc3mFcI3iKxBq1dQd8i6PgH TjFwmbqLFBHJrKG1fVNYUZNHC9yZ4GkfLZrc+avJEVE/6lxX69xFt+leixOXC+oNpUPb wc3A== 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=7ply1IREXaWPauwCfshcfHuQ9X8GgV/gfoCVCSSVC+E=; b=sbYNUMQZ2fXJOeYmVd2FaPskvct1T2b9s2ScfyF6f+9PAgv20e9pnN+E/MqWYa72sn u/86h5CQYNvRQSUXdxGcZ8ybJxInAVNohMDBrfPZdUZz3fKiZD+gWUu/MS6WdmK5Hbdw SNoCNoLOgtQ0tCWQQ/S3BeNYn6T5j0FchTlKiuBi64U/PORyWhs/a33MWbLeJljgjN3H XSqTm5f33n5s1bBw+bgDCshGvU9m2dDlzSYRH+U2MStYJnLU6wQkWoEXKuhW6/QodFOC /kMv5vb/Ok4Jz35GOCvzRKlqdQSVCU0X2uu/AyyEN+vB9Am3pzde9E/XgVOw/YMqTnWM +hvw== X-Gm-Message-State: APjAAAVXRZofhK8ERpJa6DEWoh6FhmSTBVxvFzDCd/NJWsqZWDAutpsQ igLg8vFWtAUr9ETUl/0fG8pkZ526yAg= X-Google-Smtp-Source: APXvYqwDxxBQLRmQb5P3irurp108V+enc46gRpctKKzzxCa+x8gLTy9d473VDZIh97/hh9Q4a2e6nw== X-Received: by 2002:adf:a499:: with SMTP id g25mr528889wrb.204.1568650990717; Mon, 16 Sep 2019 09:23:10 -0700 (PDT) Received: from N2x0WU.lan ([2a01:cb19:16b:9900:c5eb:d103:d683:11a1]) by smtp.gmail.com with ESMTPSA id h7sm11010922wrt.17.2019.09.16.09.23.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Sep 2019 09:23:09 -0700 (PDT) From: Joris Offouga To: buildroot@buildroot.org Date: Mon, 16 Sep 2019 18:23:03 +0200 Message-Id: <20190916162306.5202-1-offougajoris@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH v4 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 Reviewed-by: Yegor Yefremov --- 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 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..db95efa25f --- /dev/null +++ b/package/python-simplelogging/Config.in @@ -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 diff --git a/package/python-simplelogging/python-simplelogging.hash b/package/python-simplelogging/python-simplelogging.hash new file mode 100644 index 0000000000..86698fe88c --- /dev/null +++ b/package/python-simplelogging/python-simplelogging.hash @@ -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 diff --git a/package/python-simplelogging/python-simplelogging.mk b/package/python-simplelogging/python-simplelogging.mk new file mode 100644 index 0000000000..28acc5c952 --- /dev/null +++ b/package/python-simplelogging/python-simplelogging.mk @@ -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))