Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package: add python-enum34
Date: Tue,  2 Dec 2014 15:57:32 +0100	[thread overview]
Message-ID: <1417532252-26186-1-git-send-email-peter@korsgaard.com> (raw)

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/Config.in                        |  1 +
 package/python-enum34/Config.in          | 12 ++++++++++++
 package/python-enum34/python-enum34.hash |  3 +++
 package/python-enum34/python-enum34.mk   | 14 ++++++++++++++
 4 files changed, 30 insertions(+)
 create mode 100644 package/python-enum34/Config.in
 create mode 100644 package/python-enum34/python-enum34.hash
 create mode 100644 package/python-enum34/python-enum34.mk

diff --git a/package/Config.in b/package/Config.in
index b8fc7d1..91f5ddb 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -492,6 +492,7 @@ menu "external python modules"
 	source "package/python-daemon/Config.in"
 	source "package/python-dialog/Config.in"
 	source "package/python-dpkt/Config.in"
+	source "package/python-enum34/Config.in"
 	source "package/python-flask/Config.in"
 	source "package/python-flup/Config.in"
 	source "package/python-httplib2/Config.in"
diff --git a/package/python-enum34/Config.in b/package/python-enum34/Config.in
new file mode 100644
index 0000000..2511a35
--- /dev/null
+++ b/package/python-enum34/Config.in
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_PYTHON_ENUM34
+	bool "python-enum34"
+	depends on BR2_PACKAGE_PYTHON
+	help
+	  Python 3.4 Enum backported to 2.x.
+
+	  An enumeration is a set of symbolic names (members) bound to
+	  unique, constant values. Within an enumeration, the members
+	  can be compared by identity, and the enumeration itself can
+	  be iterated over.
+
+	  https://pypi.python.org/pypi/enum34
diff --git a/package/python-enum34/python-enum34.hash b/package/python-enum34/python-enum34.hash
new file mode 100644
index 0000000..dd6ce34
--- /dev/null
+++ b/package/python-enum34/python-enum34.hash
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=ac80f432ac9373e7d162834b264034b6, sha256 locally computed
+md5	ac80f432ac9373e7d162834b264034b6  enum34-1.0.4.tar.gz
+sha256	d3c19f26a6a34629c18c775f59dfc5dd595764c722b57a2da56ebfb69b94e447  enum34-1.0.4.tar.gz
diff --git a/package/python-enum34/python-enum34.mk b/package/python-enum34/python-enum34.mk
new file mode 100644
index 0000000..9d50e95
--- /dev/null
+++ b/package/python-enum34/python-enum34.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-enum34
+#
+################################################################################
+
+PYTHON_ENUM34_VERSION = 1.0.4
+PYTHON_ENUM34_SOURCE =enum34-$(PYTHON_ENUM34_VERSION).tar.gz
+PYTHON_ENUM34_SITE = http://pypi.python.org/packages/source/e/enum34
+PYTHON_ENUM34_SETUP_TYPE = distutils
+PYTHON_ENUM34_LICENSE = BSD-3c
+PYTHON_ENUM34_LICENSE_FILES = enum/LICENSE
+
+$(eval $(python-package))
-- 
2.1.3

             reply	other threads:[~2014-12-02 14:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-02 14:57 Peter Korsgaard [this message]
2014-12-05 22:46 ` [Buildroot] [PATCH] package: add python-enum34 Thomas Petazzoni
2014-12-07 22:11 ` 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=1417532252-26186-1-git-send-email-peter@korsgaard.com \
    --to=peter@korsgaard.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