From patchwork Mon Sep 16 13:52:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Joris OFFOUGA X-Patchwork-Id: 1162835 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="mFGbF/tX"; 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 46X73K2xM4z9sQx for ; Mon, 16 Sep 2019 23:52:28 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E20C08610B; Mon, 16 Sep 2019 13:52:26 +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 5gGrJohtEk5H; Mon, 16 Sep 2019 13:52:24 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id E4A73860BE; Mon, 16 Sep 2019 13:52:23 +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 DD17B1BF46A for ; Mon, 16 Sep 2019 13:52:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id DA2F587839 for ; Mon, 16 Sep 2019 13:52:21 +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 gJUlkrpDQEQB for ; Mon, 16 Sep 2019 13:52:19 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) by hemlock.osuosl.org (Postfix) with ESMTPS id 5536784C05 for ; Mon, 16 Sep 2019 13:52:19 +0000 (UTC) Received: by mail-wr1-f49.google.com with SMTP id q17so34296715wrx.10 for ; Mon, 16 Sep 2019 06:52:19 -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=sq9kJtZXai8LU6DUFrx/IYIiILmK+I2zlJxTJvazGQU=; b=mFGbF/tXFBzDVtllnzdRGThZjLjuAdBYwgtIlMo4IpUOH1xLWjuf8TY/1k/VbxlJlG XZYvFnemWAJmVA3BIlY9/UjkO/zNst0wkWGhZcu+XIAMwTRVLooSAowH3JWIjAtGbBpi noiIOhcQZJBmp6hVMwt0dOvzRw70dxKgAl4CZhtAZ2V/QhLpIja3xLkGIfcOr6Ppn7fz b7J+s9aKzNI5bT6JsBAiQguWy8TflLkdid3iqjaUUVkJJ0Uv5DBEB6Hw8uX2T3yuR2+4 a8a3xu2Uq5D5f4BeDd8ZeWTPSXwSWhUkozZB4drcbrmuP5TM01KxL8ur++Rz93HxfV/S Kbkw== 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=sq9kJtZXai8LU6DUFrx/IYIiILmK+I2zlJxTJvazGQU=; b=MLVjfsYnGBF0Mb+UVu/5zSIR3TbHwDG80vJXAfiUDa37R7QfJjKVrIO9RUOzdZjUR+ fA8/h1/kDVzHW03eonEEZIzheg9xfHji9RBIdB4O0T7T8fTCosj2azoy/iFhBLgEJWPQ Xdis94VraqMejkP8iIRHnNJC9i8kUSbPm/X5S8m7m9O1w3Sh9ytoXGFRi9+V4doq+rTO RM1IukcWCeK2Ogp6lM3tY13L2f0ulkaIh/4qRInpjbOysYjfnaCAF8k3VTPhLRIQxGoY 9sIaH6+/QOrrwGgTohXZdjcMr5uZ2OorhouVozCHs8LWEq9Rx/k4ZP6FF8z3qmnAOxYO dwEw== X-Gm-Message-State: APjAAAWlN1H4VRKVolVQOsiQ/DlSDYWIrgjwgkrihC0uTF+jVRNwNfXW 9+PXGswtsuNjvT30rR8ezu29EIpzXg8= X-Google-Smtp-Source: APXvYqyCtCrO85X9VoZ6qqbhIczNrsP1Jp50v22soE2dNyZCs5HBew2quHBmj12Rb/GPdGTf3RUtMQ== X-Received: by 2002:a5d:5352:: with SMTP id t18mr8342519wrv.72.1568641937487; Mon, 16 Sep 2019 06:52:17 -0700 (PDT) Received: from N2x0WU.lan ([2a01:cb19:16b:9900:dc46:30d5:bf8e:6e53]) by smtp.gmail.com with ESMTPSA id d4sm11585509wrq.22.2019.09.16.06.52.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Sep 2019 06:52:16 -0700 (PDT) From: Joris Offouga To: buildroot@buildroot.org Date: Mon, 16 Sep 2019 15:52:13 +0200 Message-Id: <20190916135214.16271-1-offougajoris@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH v3 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 --- Changeq v2 to v3 Generate package with scanpypi 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..0216bfa8b5 --- /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 = FIXME: please specify the exact BSD version +PYTHON_SIMPLELOGGING_LICENSE_FILES = LICENSE + +$(eval $(python-package))