package/python-pathlib2: New package
Add 'pathlib2'[1] package to Buildroot. Needed by 'pickleshare' package, which is added in the next patch. [1] https://pypi.python.org/pypi/pathlib2 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>
This commit is contained in:
parent
722d63be86
commit
84e231e8ae
|
@ -83,6 +83,7 @@ F: package/wine/
|
||||||
N: Andrey Smirnov <andrew.smirnov@gmail.com>
|
N: Andrey Smirnov <andrew.smirnov@gmail.com>
|
||||||
F: package/python-decorator/
|
F: package/python-decorator/
|
||||||
F: package/python-ipython-genutils/
|
F: package/python-ipython-genutils/
|
||||||
|
F: package/python-pathlib2/
|
||||||
F: package/python-scandir/
|
F: package/python-scandir/
|
||||||
F: package/python-simplegeneric/
|
F: package/python-simplegeneric/
|
||||||
F: package/python-traitlets/
|
F: package/python-traitlets/
|
||||||
|
|
|
@ -773,6 +773,7 @@ menu "External python modules"
|
||||||
source "package/python-paho-mqtt/Config.in"
|
source "package/python-paho-mqtt/Config.in"
|
||||||
source "package/python-pam/Config.in"
|
source "package/python-pam/Config.in"
|
||||||
source "package/python-paramiko/Config.in"
|
source "package/python-paramiko/Config.in"
|
||||||
|
source "package/python-pathlib2/Config.in"
|
||||||
source "package/python-pathpy/Config.in"
|
source "package/python-pathpy/Config.in"
|
||||||
source "package/python-pathtools/Config.in"
|
source "package/python-pathtools/Config.in"
|
||||||
source "package/python-pathvalidate/Config.in"
|
source "package/python-pathvalidate/Config.in"
|
||||||
|
|
14
package/python-pathlib2/Config.in
Normal file
14
package/python-pathlib2/Config.in
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
config BR2_PACKAGE_PYTHON_PATHLIB2
|
||||||
|
bool "python-pathlib2"
|
||||||
|
depends on BR2_PACKAGE_PYTHON
|
||||||
|
select BR2_PACKAGE_PYTHON_SIX # runtime
|
||||||
|
select BR2_PACKAGE_PYTHON_SCANDIR # runtime
|
||||||
|
help
|
||||||
|
Object-oriented filesystem paths.
|
||||||
|
|
||||||
|
The goal of pathlib2 is to provide a backport of standard
|
||||||
|
pathlib module which tracks the standard library module, so
|
||||||
|
all the newest features of the standard pathlib can be used
|
||||||
|
also on older Python versions.
|
||||||
|
|
||||||
|
https://pypi.python.org/pypi/pathlib2
|
3
package/python-pathlib2/python-pathlib2.hash
Normal file
3
package/python-pathlib2/python-pathlib2.hash
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# md5 from https://pypi.python.org/pypi/pathlib2/json, sha256 locally computed
|
||||||
|
md5 6c75bfde898b6c88627621a48ee8de14 pathlib2-2.2.1.tar.gz
|
||||||
|
sha256 ce9007df617ef6b7bd8a31cd2089ed0c1fed1f7c23cf2bf1ba140b3dd563175d pathlib2-2.2.1.tar.gz
|
14
package/python-pathlib2/python-pathlib2.mk
Normal file
14
package/python-pathlib2/python-pathlib2.mk
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
# python-pathlib2
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
PYTHON_PATHLIB2_VERSION = 2.2.1
|
||||||
|
PYTHON_PATHLIB2_SOURCE = pathlib2-$(PYTHON_PATHLIB2_VERSION).tar.gz
|
||||||
|
PYTHON_PATHLIB2_SITE = https://pypi.python.org/packages/ab/d8/ac7489d50146f29d0a14f65545698f4545d8a6b739b24b05859942048b56
|
||||||
|
PYTHON_PATHLIB2_LICENSE = MIT
|
||||||
|
PYTHON_PATHLIB2_LICENSE_FILE = LICENSE.rst
|
||||||
|
PYTHON_PATHLIB2_SETUP_TYPE = setuptools
|
||||||
|
|
||||||
|
$(eval $(python-package))
|
Loading…
Reference in a new issue