python-requests-toolbelt: new package
PATCH 1/1 python-requests-toolbelt: new package
--- package/Config.in | 1 + package/python-requests-toolbelt/Config.in | 7 +++++++ .../python-requests-toolbelt.hash | 5 +++++ .../python-requests-toolbelt/python-requests-toolbelt.mk | 15 +++++++++++++++ 4 files changed, 28 insertions(+) create mode 100644 package/python-requests-toolbelt/Config.in create mode 100644 package/python-requests-toolbelt/python-requests-toolbelt.hash create mode 100644 package/python-requests-toolbelt/python-requests-toolbelt.mk
package/Config.in +1 -0
@@ -752,6 +752,7 @@ menu "External python modules" source "package/python-pyyaml/Config.in" source "package/python-pyzmq/Config.in" source "package/python-requests/Config.in" + source "package/python-requests-toolbelt/Config.in" source "package/python-rpi-gpio/Config.in" source "package/python-rtslib-fb/Config.in" source "package/python-scapy3k/Config.in"
package/python-requests-toolbelt/Config.in new file +7 -0
@@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_REQUESTS_TOOLBELT + bool "python-requests-toolbelt" + depends on BR2_PACKAGE_PYTHON_REQUESTS + help + A utility belt for advanced users of python-requests. + + https://toolbelt.readthedocs.org/
package/python-requests-toolbelt/python-requests-toolbelt.hash new file +5 -0
@@ -0,0 +1,5 @@ +# From https://pypi.python.org/pypi/requests-toolbelt/0.7.0 +md5 bfe2009905f460f4764c32cfbbf4205f requests-toolbelt-0.7.0.tar.gz + +# Locally calculated: +sha256 33899d4a559c3f0f5e9fbc115d337c4236febdc083755a160a4132d92fc3c91a requests-toolbelt-0.7.0.tar.gz
package/python-requests-toolbelt/python-requests-toolbelt.mk new file +15 -0
@@ -0,0 +1,15 @@ +################################################################################ +# +# python-requests-toolbelt +# +################################################################################ + +PYTHON_REQUESTS_TOOLBELT_VERSION = 0.7.0 +PYTHON_REQUESTS_TOOLBELT_SOURCE = requests-toolbelt-$(PYTHON_REQUESTS_TOOLBELT_VERSION).tar.gz +PYTHON_REQUESTS_TOOLBELT_SITE = https://files.pythonhosted.org/packages/source/r/requests-toolbelt +PYTHON_REQUESTS_TOOLBELT_SETUP_TYPE = setuptools +PYTHON_REQUESTS_TOOLBELT_LICENSE = Apache-2.0 +PYTHON_REQUESTS_TOOLBELT_LICENSE_FILES = LICENSE +PYTHON_REQUESTS_TOOLBELT_DEPENDENCIES = python-requests + +$(eval $(python-package))
Signature · 1 line
2.9.0
PATCH 1/1 python-requests-toolbelt: new package
Hi Manuel,
Quoted 29 lines · Manuel V?gele
Signed-off-by Manuel V?gele <[email protected]>--- package/Config.in | 1 + package/python-requests-toolbelt/Config.in | 7 +++++++ .../python-requests-toolbelt.hash | 5 +++++ .../python-requests-toolbelt/python-requests-toolbelt.mk | 15 +++++++++++++++ 4 files changed, 28 insertions(+) create mode 100644 package/python-requests-toolbelt/Config.in create mode 100644 package/python-requests-toolbelt/python-requests-toolbelt.hash create mode 100644 package/python-requests-toolbelt/python-requests-toolbelt.mkpackage/Config.in +1
-0@@ -752,6 +752,7 @@ menu "External python modules" source "package/python-pyyaml/Config.in" source "package/python-pyzmq/Config.in" source "package/python-requests/Config.in" + source "package/python-requests-toolbelt/Config.in" source "package/python-rpi-gpio/Config.in" source "package/python-rtslib-fb/Config.in" source "package/python-scapy3k/Config.in"package/python-requests-toolbelt/Config.in new file +0
-0
package/python-requests-toolbelt/Config.in line 3
Quoted 3 lines
package/python-requests-toolbelt/Config.in new file +3
-0@@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_REQUESTS_TOOLBELT + bool "python-requests-toolbelt" + depends on BR2_PACKAGE_PYTHON_REQUESTS
use 'select' keyword instead of 'depends'
Quoted 10 lines
package/python-requests-toolbelt/Config.in new file +4
-0+ help + A utility belt for advanced users of python-requests. + + https://toolbelt.readthedocs.org/package/python-requests-toolbelt/python-requests-toolbelt.hash new file +0
-0
package/python-requests-toolbelt/python-requests-toolbelt.hash line 5
Quoted 5 lines
package/python-requests-toolbelt/python-requests-toolbelt.hash new file +5
-0@@ -0,0 +1,5 @@ +# From https://pypi.python.org/pypi/requests-toolbelt/0.7.0 +md5 bfe2009905f460f4764c32cfbbf4205f requests-toolbelt-0.7.0.tar.gz + +# Locally calculated: +sha256 33899d4a559c3f0f5e9fbc115d337c4236febdc083755a160a4132d92fc3c91a requests-toolbelt-0.7.0.tar.gz
please stick checksum comments to the style showed in
https://git.busybox.net/buildroot/tree/package/python-prompt-toolkit/python-prompt-toolkit.hash.
i.e. all comments in one line and refer to JSON object, so that by bumping one won't need to touch the comment.
Quoted 9 lines
package/python-requests-toolbelt/python-requests-toolbelt.mk new file +3
-0@@ -0,0 +1,15 @@ +################################################################################ +# +# python-requests-toolbelt
package/python-requests-toolbelt/python-requests-toolbelt.mk line 13
Quoted 10 lines
package/python-requests-toolbelt/python-requests-toolbelt.mk new file +10
-0+# +################################################################################ + +PYTHON_REQUESTS_TOOLBELT_VERSION = 0.7.0 +PYTHON_REQUESTS_TOOLBELT_SOURCE = requests-toolbelt-$(PYTHON_REQUESTS_TOOLBELT_VERSION).tar.gz +PYTHON_REQUESTS_TOOLBELT_SITE = https://files.pythonhosted.org/packages/source/r/requests-toolbelt +PYTHON_REQUESTS_TOOLBELT_SETUP_TYPE = setuptools +PYTHON_REQUESTS_TOOLBELT_LICENSE = Apache-2.0 +PYTHON_REQUESTS_TOOLBELT_LICENSE_FILES = LICENSE +PYTHON_REQUESTS_TOOLBELT_DEPENDENCIES = python-requests
remove this line as python-requests is runtime dependency only.
Have you tried to use our scanpypi tool to add Python packages? See
http://nightly.buildroot.org/manual.html#_infrastructure_for_python_packages,
section "17.8.3. Generating a python-package from a PyPI repository"
Yegor
Quoted 9 lines
package/python-requests-toolbelt/python-requests-toolbelt.mk new file +2
-1+ +$(eval $(python-package)) --2.9.0
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot