diff options
| author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2017-06-12 16:42:11 -0700 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-06-15 22:48:32 +0200 |
| commit | 722d63be865fd78f1e0e3c0c200ea85de7a48ca7 (patch) | |
| tree | e9f99632a524e7feeb1fef348047642e67005e97 /package/python-scandir | |
| parent | 9915fb7e8f87399c0c7dcca04a28ca6d293ae965 (diff) | |
| download | buildroot-722d63be865fd78f1e0e3c0c200ea85de7a48ca7.tar.gz buildroot-722d63be865fd78f1e0e3c0c200ea85de7a48ca7.zip | |
package/python-scandir: New package
Add 'scandir'[1] package to buildroot. Needed by 'pathlib2'.
[1] https://pypi.python.org/pypi/scandir
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python-scandir')
| -rw-r--r-- | package/python-scandir/Config.in | 6 | ||||
| -rw-r--r-- | package/python-scandir/python-scandir.hash | 3 | ||||
| -rw-r--r-- | package/python-scandir/python-scandir.mk | 14 |
3 files changed, 23 insertions, 0 deletions
diff --git a/package/python-scandir/Config.in b/package/python-scandir/Config.in new file mode 100644 index 0000000000..497f962aa0 --- /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 0000000000..aecd9a58cc --- /dev/null +++ b/package/python-scandir/python-scandir.hash @@ -0,0 +1,3 @@ +# md5 from https://pypi.python.org/pypi/scandir/json, 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 0000000000..2ff8ea2990 --- /dev/null +++ b/package/python-scandir/python-scandir.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# 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 +PYTHON_SCANDIR_LICENSE_FILE = LICENSE.txt +PYTHON_SCANDIR_SETUP_TYPE = setuptools + +$(eval $(python-package)) |

