All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrey Smirnov <andrew.smirnov@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3 06/11] package/python-scandir: New package
Date: Fri,  2 Jun 2017 16:56:48 -0700	[thread overview]
Message-ID: <20170602235653.4655-7-andrew.smirnov@gmail.com> (raw)
In-Reply-To: <20170602235653.4655-1-andrew.smirnov@gmail.com>

Add 'scandir'[1] package to buildroot. Needed by 'pathlib2'.

[1] https://pypi.python.org/pypi/scandir
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
 DEVELOPERS                                 |  1 +
 package/Config.in                          |  1 +
 package/python-scandir/Config.in           |  6 ++++++
 package/python-scandir/python-scandir.hash |  3 +++
 package/python-scandir/python-scandir.mk   | 17 +++++++++++++++++
 5 files changed, 28 insertions(+)
 create mode 100644 package/python-scandir/Config.in
 create mode 100644 package/python-scandir/python-scandir.hash
 create mode 100644 package/python-scandir/python-scandir.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index fdc5115..9f73942 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -76,6 +76,7 @@ F:	package/python-decorator/
 F:	package/python-simplegeneric/
 F:	package/python-ipython-genutils/
 F:	package/python-traitlets/
+F:	package/python-scandir/
 
 N:	Andrew Ruder <andrew.ruder@elecsyscorp.com>
 F:	package/expect/
diff --git a/package/Config.in b/package/Config.in
index 4f69076..806f0ae 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -824,6 +824,7 @@ menu "External python modules"
 	source "package/python-rpi-gpio/Config.in"
 	source "package/python-rtslib-fb/Config.in"
 	source "package/python-scapy3k/Config.in"
+	source "package/python-scandir/Config.in"
 	source "package/python-sdnotify/Config.in"
 	source "package/python-serial/Config.in"
 	source "package/python-service-identity/Config.in"
diff --git a/package/python-scandir/Config.in b/package/python-scandir/Config.in
new file mode 100644
index 0000000..497f962
--- /dev/null
+++ b/package/python-scandir/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_SCANDIR
+	bool "python-scandir"
+	help
+	  scandir, a better directory iterator and faster os.walk()
+
+	  https://pypi.python.org/pypi/scandir
diff --git a/package/python-scandir/python-scandir.hash b/package/python-scandir/python-scandir.hash
new file mode 100644
index 0000000..895f575
--- /dev/null
+++ b/package/python-scandir/python-scandir.hash
@@ -0,0 +1,3 @@
+# md5 from PyPI, sha256 locally computed
+md5 a2713043de681bba6b084be42e7a8a44 scandir-1.5.tar.gz
+sha256 c2612d1a487d80fb4701b4a91ca1b8f8a695b1ae820570815e85e8c8b23f1283 scandir-1.5.tar.gz
diff --git a/package/python-scandir/python-scandir.mk b/package/python-scandir/python-scandir.mk
new file mode 100644
index 0000000..e933003
--- /dev/null
+++ b/package/python-scandir/python-scandir.mk
@@ -0,0 +1,17 @@
+################################################################################
+#
+# python-scandir
+#
+################################################################################
+
+PYTHON_SCANDIR_VERSION = 1.5
+PYTHON_SCANDIR_SOURCE = scandir-$(PYTHON_SCANDIR_VERSION).tar.gz
+PYTHON_SCANDIR_SITE = https://pypi.python.org/packages/bd/f4/3143e0289faf0883228017dbc6387a66d0b468df646645e29e1eb89ea10e
+PYTHON_SCANDIR_LICENSE = BSD-3-Clause
+#
+# Avoid installing as zipped .egg, but choosing
+# setuptools/--single-version-externally-managed instead of distutils
+#
+PYTHON_SCANDIR_SETUP_TYPE = setuptools
+
+$(eval $(python-package))
-- 
2.9.4

  parent reply	other threads:[~2017-06-02 23:56 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-02 23:56 [Buildroot] [PATCH v3 00/11] Update IPython's dependencies Andrey Smirnov
2017-06-02 23:56 ` [Buildroot] [PATCH v3 01/11] DEVELOPERS: Add missing closing angle bracket to my e-mail Andrey Smirnov
2017-06-09 19:34   ` Yegor Yefremov
2017-06-11 12:49   ` Thomas Petazzoni
2017-06-02 23:56 ` [Buildroot] [PATCH v3 02/11] package/python-enum34: Switch setup type to 'setuptools' Andrey Smirnov
2017-06-03  5:23   ` Yegor Yefremov
2017-06-05 13:02     ` Andrey Smirnov
2017-06-05 13:08       ` Thomas Petazzoni
2017-06-05 13:37         ` Andrey Smirnov
2017-06-02 23:56 ` [Buildroot] [PATCH v3 03/11] package/python-simplegeneric: " Andrey Smirnov
2017-06-09 19:36   ` Yegor Yefremov
2017-06-11 12:50   ` Thomas Petazzoni
2017-06-11 21:52     ` Peter Korsgaard
2017-06-02 23:56 ` [Buildroot] [PATCH v3 04/11] package/python-ipython-genutils: New package Andrey Smirnov
2017-06-09 19:03   ` Yegor Yefremov
2017-06-10  9:03     ` Arnout Vandecappelle
2017-06-10  9:38       ` Yegor Yefremov
2017-06-11 13:04     ` Thomas Petazzoni
2017-06-11 13:02   ` Thomas Petazzoni
2017-06-02 23:56 ` [Buildroot] [PATCH v3 05/11] package/python-traitlets: " Andrey Smirnov
2017-06-09 19:33   ` Yegor Yefremov
2017-06-12 21:11     ` Andrey Smirnov
2017-06-02 23:56 ` Andrey Smirnov [this message]
2017-06-09 19:18   ` [Buildroot] [PATCH v3 06/11] package/python-scandir: " Yegor Yefremov
2017-06-09 19:24     ` Yegor Yefremov
2017-06-02 23:56 ` [Buildroot] [PATCH v3 07/11] package/python-pathlib2: " Andrey Smirnov
2017-06-09 19:23   ` Yegor Yefremov
2017-06-02 23:56 ` [Buildroot] [PATCH v3 08/11] package/python-pickleshare: " Andrey Smirnov
2017-06-09 19:29   ` Yegor Yefremov
2017-06-02 23:56 ` [Buildroot] [PATCH v3 09/11] package/python-backports-shutil-get-terminal-size: " Andrey Smirnov
2017-06-09 19:39   ` Yegor Yefremov
2017-06-02 23:56 ` [Buildroot] [PATCH v3 10/11] package/python-ipython: Add dependecy list Andrey Smirnov
2017-06-09 19:35   ` Yegor Yefremov
2017-06-02 23:56 ` [Buildroot] [PATCH v3 11/11] python-ipython: bump to version 5.4.0 Andrey Smirnov
2017-06-09 19:40   ` Yegor Yefremov
2017-06-11 13:07     ` Thomas Petazzoni
2017-06-12 20:22       ` Andrey Smirnov
2017-06-12 20:26         ` Thomas Petazzoni
2017-06-11 13:08 ` [Buildroot] [PATCH v3 00/11] Update IPython's dependencies Thomas Petazzoni
2017-06-12 20:29   ` Andrey Smirnov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170602235653.4655-7-andrew.smirnov@gmail.com \
    --to=andrew.smirnov@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.