From: yegorslists at googlemail.com <yegorslists@googlemail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] python-sortedcontainers: new package
Date: Mon, 20 Mar 2017 15:36:20 +0100 [thread overview]
Message-ID: <20170320143620.8721-1-yegorslists@googlemail.com> (raw)
From: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
package/Config.in | 1 +
package/python-sortedcontainers/Config.in | 7 +++++++
.../python-sortedcontainers/python-sortedcontainers.hash | 3 +++
package/python-sortedcontainers/python-sortedcontainers.mk | 14 ++++++++++++++
4 files changed, 25 insertions(+)
create mode 100644 package/python-sortedcontainers/Config.in
create mode 100644 package/python-sortedcontainers/python-sortedcontainers.hash
create mode 100644 package/python-sortedcontainers/python-sortedcontainers.mk
diff --git a/package/Config.in b/package/Config.in
index 9f4b55020..cd9d06dc1 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -825,6 +825,7 @@ menu "External python modules"
source "package/python-slob/Config.in"
source "package/python-smbus-cffi/Config.in"
source "package/python-socketio/Config.in"
+ source "package/python-sortedcontainers//Config.in"
source "package/python-spidev/Config.in"
source "package/python-thrift/Config.in"
source "package/python-tomako/Config.in"
diff --git a/package/python-sortedcontainers/Config.in b/package/python-sortedcontainers/Config.in
new file mode 100644
index 000000000..43bd1b1c0
--- /dev/null
+++ b/package/python-sortedcontainers/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_SORTEDCONTAINERS
+ bool "python-sortedcontainers"
+ help
+ Python Sorted Container Types: SortedList, SortedDict, and
+ SortedSet.
+
+ http://www.grantjenks.com/docs/sortedcontainers/
diff --git a/package/python-sortedcontainers/python-sortedcontainers.hash b/package/python-sortedcontainers/python-sortedcontainers.hash
new file mode 100644
index 000000000..11fa07660
--- /dev/null
+++ b/package/python-sortedcontainers/python-sortedcontainers.hash
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/sortedcontainers/json, sha256 locally computed
+md5 ad4f00e377ad934954ac90fcac0b185f sortedcontainers-1.5.7.tar.gz
+sha256 0ff0442865e492bc50476b18000fb8400cf2472d14d21a92b27cd7c5184550ea sortedcontainers-1.5.7.tar.gz
diff --git a/package/python-sortedcontainers/python-sortedcontainers.mk b/package/python-sortedcontainers/python-sortedcontainers.mk
new file mode 100644
index 000000000..99606816a
--- /dev/null
+++ b/package/python-sortedcontainers/python-sortedcontainers.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-sortedcontainers
+#
+################################################################################
+
+PYTHON_SORTEDCONTAINERS_VERSION = 1.5.7
+PYTHON_SORTEDCONTAINERS_SOURCE = sortedcontainers-$(PYTHON_SORTEDCONTAINERS_VERSION).tar.gz
+PYTHON_SORTEDCONTAINERS_SITE = https://pypi.python.org/packages/8d/aa/5369362d730728639ba434318df26b5c554804578d1c48381367ea5377c6
+PYTHON_SORTEDCONTAINERS_SETUP_TYPE = setuptools
+PYTHON_SORTEDCONTAINERS_LICENSE = Apache-2.0
+PYTHON_SORTEDCONTAINERS_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
--
2.11.0
next reply other threads:[~2017-03-20 14:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-20 14:36 yegorslists at googlemail.com [this message]
2017-03-20 20:59 ` [Buildroot] [PATCH] python-sortedcontainers: new package 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=20170320143620.8721-1-yegorslists@googlemail.com \
--to=yegorslists@googlemail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox