From patchwork Sun Apr 8 17:48:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Asaf Kahlon X-Patchwork-Id: 896047 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.136; helo=silver.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="QnJxK/t1"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40K1D64T3Zz9s31 for ; Mon, 9 Apr 2018 03:49:57 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id D01921FCB5; Sun, 8 Apr 2018 17:49:55 +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 Hx+vCxNynL9r; Sun, 8 Apr 2018 17:49:54 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 997EA22049; Sun, 8 Apr 2018 17:49:54 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id EEF0A1C0B8F for ; Sun, 8 Apr 2018 17:49:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id EB30087740 for ; Sun, 8 Apr 2018 17:49:52 +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 2EF2bqKKt1W6 for ; Sun, 8 Apr 2018 17:49:52 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by whitealder.osuosl.org (Postfix) with ESMTPS id 0631A87739 for ; Sun, 8 Apr 2018 17:49:52 +0000 (UTC) Received: by mail-wm0-f43.google.com with SMTP id x82so11649991wmg.1 for ; Sun, 08 Apr 2018 10:49:51 -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; bh=0h/jMYPnPP+Y6S0vYBeEBiBuGVoOOnAsW6/nZ0Sfnto=; b=QnJxK/t1Xuvs4noN1XFXzlJCjdkrJAgX2iKdlLTQX5Pfrza56HYqa3Phuz+NS4H9aq m1QResx/5VH5Y9PL72CUg61PvGuM0J/j+2g9XHnqLPRy5uH+k4epMEq0JFx5b1/YJ3Wb DGihyaSeWPa+K17qgFy88JrLMC3UzJ6bJ2CoIy1q1TCy0pZvOsc8hgoLvfmwiOrWzSf7 1CZ7u5+lKR8JCkRDxL5zcfY5KCPQOZkjmdY0/uazP+cx+nU9Wdem2tDjvtcrIPmOqK08 FXMA/7ugCdbOFIuJB5ip4bgXaf7r09na+IS/t6TzD02aqPWwr7eKFcy0CfQUsIayuRlv zmnw== 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; bh=0h/jMYPnPP+Y6S0vYBeEBiBuGVoOOnAsW6/nZ0Sfnto=; b=Jwb9OXn4rd13VJz1hhLVxD+mxdLkp74BBckCeRPY56oV3SCCkuwVOulxm4jT8NaG/v VSFpoSXM85UjCveHagZmWXjXv6rwfA4QZXTC9Pf9pjtJKkjV/I7YRb6GAtrd7fM7impe t7QmsbXS3Lyzv8oTwemQb01+nFb1Z58/GD/2ZCXXsvwAeMpAEn9KHKx5VcrYnoe0C4sp RdYMs65DTTsMSbXYAPYUJb3S/rBbS+Qw+UoOfPjT87CQiiUbnpi6Sruh9M6jMRYCPxGw Smjlqc0bCTtyNpAcYogtlA6lZCxRxb06Q/Hffk5hxxPEg4yTk9ujFrup/neuBytpjDk0 Y+ag== X-Gm-Message-State: AElRT7F4MvaFLqfn67pGK0W6o1MnSt54sRyQEN1VjKMEnTbZHpJ6FWfP pYtp2TrFPE8IY4t4xbzUbO86gg== X-Google-Smtp-Source: AIpwx48+9TdhYfwTqse7rw20bYSAyTWPWAK/b1mmh7vX1+XtkSBTIYBQAwjJEZmgh3uaAE/WNCnAOg== X-Received: by 10.46.156.132 with SMTP id x4mr20783594lji.19.1523209790036; Sun, 08 Apr 2018 10:49:50 -0700 (PDT) Received: from localhost.localdomain (bzq-84-108-5-46.cablep.bezeqint.net. [84.108.5.46]) by smtp.gmail.com with ESMTPSA id i143-v6sm1562259lfe.50.2018.04.08.10.49.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 08 Apr 2018 10:49:49 -0700 (PDT) From: Asaf Kahlon To: buildroot@buildroot.org Date: Sun, 8 Apr 2018 20:48:59 +0300 Message-Id: <20180408174859.19679-1-asafka7@gmail.com> X-Mailer: git-send-email 2.17.0 Subject: [Buildroot] [PATCH 1/1] python-fastentrypoints: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Asaf Kahlon MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" host-package that is able to shorten the load time of entry_points declared in setup.py of python packages. Unfortunately, license file was not found. Signed-off-by: Asaf Kahlon --- DEVELOPERS | 1 + package/Config.in | 1 + package/python-fastentrypoints/Config.in | 6 ++++++ .../python-fastentrypoints.hash | 3 +++ .../python-fastentrypoints/python-fastentrypoints.mk | 12 ++++++++++++ 5 files changed, 23 insertions(+) create mode 100644 package/python-fastentrypoints/Config.in create mode 100644 package/python-fastentrypoints/python-fastentrypoints.hash create mode 100644 package/python-fastentrypoints/python-fastentrypoints.mk diff --git a/DEVELOPERS b/DEVELOPERS index 10b20c259b..ea33d5e730 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -189,6 +189,7 @@ F: package/sqlcipher/ F: package/stress/ N: Asaf Kahlon +F: package/python-fastentrypoints/ F: package/python-jsonmodels/ F: package/python-yieldfrom/ diff --git a/package/Config.in b/package/Config.in index 5e798a4f14..d7e51b203c 100644 --- a/package/Config.in +++ b/package/Config.in @@ -778,6 +778,7 @@ menu "External python modules" source "package/python-engineio/Config.in" source "package/python-enum/Config.in" source "package/python-enum34/Config.in" + source "package/python-fastentrypoints/Config.in" source "package/python-flask/Config.in" source "package/python-flask-cors/Config.in" source "package/python-flask-babel/Config.in" diff --git a/package/python-fastentrypoints/Config.in b/package/python-fastentrypoints/Config.in new file mode 100644 index 0000000000..d2c86dbc5e --- /dev/null +++ b/package/python-fastentrypoints/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_FASTENTRYPOINTS + bool "python-fastentrypoints" + help + Makes entry_points specified in setup.py load more quickly. + + https://github.com/ninjaaron/fast-entry_points diff --git a/package/python-fastentrypoints/python-fastentrypoints.hash b/package/python-fastentrypoints/python-fastentrypoints.hash new file mode 100644 index 0000000000..da6e2ae9d8 --- /dev/null +++ b/package/python-fastentrypoints/python-fastentrypoints.hash @@ -0,0 +1,3 @@ +# md5 from https://pypi.python.org/pypi/fastentrypoints/json, sha256 locally computed +md5 9bd2a34697eb8279d87e7b927f4f7e85 fastentrypoints-0.10.tar.gz +sha256 ed418146ed87230694ec2d8890b9b3e2967e95d857e5ce933cafecb1067cca82 fastentrypoints-0.10.tar.gz diff --git a/package/python-fastentrypoints/python-fastentrypoints.mk b/package/python-fastentrypoints/python-fastentrypoints.mk new file mode 100644 index 0000000000..455cfe8319 --- /dev/null +++ b/package/python-fastentrypoints/python-fastentrypoints.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# python-fastentrypoints +# +################################################################################ + +PYTHON_FASTENTRYPOINTS_VERSION = 0.10 +PYTHON_FASTENTRYPOINTS_SOURCE = fastentrypoints-$(PYTHON_FASTENTRYPOINTS_VERSION).tar.gz +PYTHON_FASTENTRYPOINTS_SITE = https://pypi.python.org/packages/e8/c8/c2902c9c9da43d8be8c75a730f15f0c51933c42c39b91d1d7b605a88e907 +PYTHON_FASTENTRYPOINTS_SETUP_TYPE = setuptools + +$(eval $(host-python-package))