From: "Manuel Vögele" <develop@manuel-voegele.de>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2] python-requests-toolbelt: new package
Date: Fri, 19 Aug 2016 14:48:02 +0200 [thread overview]
Message-ID: <20160819124802.6793-1-develop@manuel-voegele.de> (raw)
Signed-off-by: Manuel V?gele <develop@manuel-voegele.de>
---
Changes v1 -> v2:
- Regenerated package using scanpypi which had the following effects
- select BR2_PACKAGE_PYTHON_REQUESTS instead of depends on
- moved the checksum comments into a single line
- removed build-time dependency to python-requests
Signed-off-by: Manuel V?gele <develop@manuel-voegele.de>
---
package/Config.in | 1 +
package/python-requests-toolbelt/Config.in | 7 +++++++
.../python-requests-toolbelt/python-requests-toolbelt.hash | 3 +++
.../python-requests-toolbelt/python-requests-toolbelt.mk | 14 ++++++++++++++
4 files changed, 25 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
diff --git a/package/Config.in b/package/Config.in
index 1e51a45..be89af8 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/python-requests-toolbelt/Config.in b/package/python-requests-toolbelt/Config.in
new file mode 100644
index 0000000..ba2b951
--- /dev/null
+++ b/package/python-requests-toolbelt/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_REQUESTS_TOOLBELT
+ bool "python-requests-toolbelt"
+ select BR2_PACKAGE_PYTHON_REQUESTS # runtime
+ help
+ A utility belt for advanced users of python-requests.
+
+ https://toolbelt.readthedocs.org
diff --git a/package/python-requests-toolbelt/python-requests-toolbelt.hash b/package/python-requests-toolbelt/python-requests-toolbelt.hash
new file mode 100644
index 0000000..89f5ca1
--- /dev/null
+++ b/package/python-requests-toolbelt/python-requests-toolbelt.hash
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/requests-toolbelt/json, sha256 locally computed
+md5 bfe2009905f460f4764c32cfbbf4205f requests-toolbelt-0.7.0.tar.gz
+sha256 33899d4a559c3f0f5e9fbc115d337c4236febdc083755a160a4132d92fc3c91a requests-toolbelt-0.7.0.tar.gz
diff --git a/package/python-requests-toolbelt/python-requests-toolbelt.mk b/package/python-requests-toolbelt/python-requests-toolbelt.mk
new file mode 100644
index 0000000..2e944c0
--- /dev/null
+++ b/package/python-requests-toolbelt/python-requests-toolbelt.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# 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://pypi.python.org/packages/59/78/1d391d30ebf74079a8e4de6ab66fdca5362903ef2df64496f4697e9bb626
+PYTHON_REQUESTS_TOOLBELT_SETUP_TYPE = setuptools
+PYTHON_REQUESTS_TOOLBELT_LICENSE = Apache-2.0
+PYTHON_REQUESTS_TOOLBELT_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
--
2.9.0
next reply other threads:[~2016-08-19 12:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-19 12:48 Manuel Vögele [this message]
2016-08-19 13:29 ` [Buildroot] [PATCH v2] python-requests-toolbelt: new package Yegor Yefremov
2016-08-19 13:53 ` Thomas Petazzoni
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=20160819124802.6793-1-develop@manuel-voegele.de \
--to=develop@manuel-voegele.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox