From: Andrey Smirnov <andrew.smirnov@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/9] package/python-simplegeneric: New package
Date: Tue, 25 Apr 2017 12:14:17 -0700 [thread overview]
Message-ID: <20170425191423.13294-4-andrew.smirnov@gmail.com> (raw)
In-Reply-To: <20170425191423.13294-1-andrew.smirnov@gmail.com>
Add 'simplegeneric'[1] package to Buildroot. Needed by IPython.
[1] https://pypi.python.org/pypi/simplegeneric
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
package/Config.in | 1 +
package/python-simplegeneric/Config.in | 6 ++++++
.../python-simplegeneric/python-simplegeneric.hash | 4 ++++
package/python-simplegeneric/python-simplegeneric.mk | 19 +++++++++++++++++++
4 files changed, 30 insertions(+)
create mode 100644 package/python-simplegeneric/Config.in
create mode 100644 package/python-simplegeneric/python-simplegeneric.hash
create mode 100644 package/python-simplegeneric/python-simplegeneric.mk
diff --git a/package/Config.in b/package/Config.in
index 47f43eb..1a0702d 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -830,6 +830,7 @@ menu "External python modules"
source "package/python-sh/Config.in"
source "package/python-shutilwhich/Config.in"
source "package/python-simpleaudio/Config.in"
+ source "package/python-simplegeneric/Config.in"
source "package/python-simplejson/Config.in"
source "package/python-singledispatch/Config.in"
source "package/python-sip/Config.in"
diff --git a/package/python-simplegeneric/Config.in b/package/python-simplegeneric/Config.in
new file mode 100644
index 0000000..b5ebfec
--- /dev/null
+++ b/package/python-simplegeneric/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_SIMPLEGENERIC
+ bool "python-simplegeneric"
+ help
+ A configuration system for Python applications.
+
+ https://pypi.python.org/pypi/simplegeneric
diff --git a/package/python-simplegeneric/python-simplegeneric.hash b/package/python-simplegeneric/python-simplegeneric.hash
new file mode 100644
index 0000000..6ec74f9
--- /dev/null
+++ b/package/python-simplegeneric/python-simplegeneric.hash
@@ -0,0 +1,4 @@
+# md5 from https://pypi.python.org/pypi/simplegeneric, sha256 locally computed
+md5 f9c1fab00fd981be588fc32759f474e3 simplegeneric-0.8.1.zip
+sha256 dc972e06094b9af5b855b3df4a646395e43d1c9d0d39ed345b7393560d0b9173 simplegeneric-0.8.1.zip
+
diff --git a/package/python-simplegeneric/python-simplegeneric.mk b/package/python-simplegeneric/python-simplegeneric.mk
new file mode 100644
index 0000000..684cda1
--- /dev/null
+++ b/package/python-simplegeneric/python-simplegeneric.mk
@@ -0,0 +1,19 @@
+################################################################################
+#
+# python-simplegeneric
+#
+################################################################################
+
+PYTHON_SIMPLEGENERIC_VERSION = 0.8.1
+PYTHON_SIMPLEGENERIC_SOURCE = simplegeneric-$(PYTHON_SIMPLEGENERIC_VERSION).zip
+PYTHON_SIMPLEGENERIC_SITE = https://pypi.python.org/packages/3d/57/4d9c9e3ae9a255cd4e1106bb57e24056d3d0709fc01b2e3e345898e49d5b
+PYTHON_SIMPLEGENERIC_LICENSE = BSD-3c
+PYTHON_SIMPLEGENERIC_SETUP_TYPE = distutils
+
+define PYTHON_SIMPLEGENERIC_EXTRACT_CMDS
+ unzip $(DL_DIR)/$(PYTHON_SIMPLEGENERIC_SOURCE) -d $(@D)
+ mv $(@D)/simplegeneric-$(PYTHON_SIMPLEGENERIC_VERSION)/* $(@D)
+ rmdir $(@D)/simplegeneric-$(PYTHON_SIMPLEGENERIC_VERSION)
+endef
+
+$(eval $(python-package))
--
2.9.3
next prev parent reply other threads:[~2017-04-25 19:14 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-25 19:14 [Buildroot] [PATCH 0/9] Update IPython's dependencies Andrey Smirnov
2017-04-25 19:14 ` [Buildroot] [PATCH 1/9] package/python-decorator: New package Andrey Smirnov
2017-04-26 7:25 ` Thomas Petazzoni
2017-04-26 18:41 ` Andrey Smirnov
2017-04-25 19:14 ` [Buildroot] [PATCH 2/9] package/python-traitlets: " Andrey Smirnov
2017-04-26 7:26 ` Thomas Petazzoni
2017-04-26 18:47 ` Andrey Smirnov
2017-04-25 19:14 ` Andrey Smirnov [this message]
2017-04-25 19:14 ` [Buildroot] [PATCH 4/9] package/python-ipython-genutils: " Andrey Smirnov
2017-04-25 19:14 ` [Buildroot] [PATCH 5/9] package/python-scandir: " Andrey Smirnov
2017-04-25 19:14 ` [Buildroot] [PATCH 6/9] package/python-pathlib2: " Andrey Smirnov
2017-04-25 19:14 ` [Buildroot] [PATCH 7/9] package/python-pickleshare: " Andrey Smirnov
2017-04-25 19:14 ` [Buildroot] [PATCH 8/9] package/python-backports-shutil-get-terminal-size: " Andrey Smirnov
2017-04-25 19:14 ` [Buildroot] [PATCH 9/9] package/python-ipython: Add dependecy list Andrey Smirnov
2017-04-26 3:38 ` Baruch Siach
2017-04-26 18:48 ` Andrey Smirnov
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=20170425191423.13294-4-andrew.smirnov@gmail.com \
--to=andrew.smirnov@gmail.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