From: Andrey Smirnov <andrew.smirnov@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/9] package/python-traitlets: New package
Date: Tue, 25 Apr 2017 12:14:16 -0700 [thread overview]
Message-ID: <20170425191423.13294-3-andrew.smirnov@gmail.com> (raw)
In-Reply-To: <20170425191423.13294-1-andrew.smirnov@gmail.com>
Add 'traitlets'[1] package to Buildroot. Needed by IPython.
[1] https://pypi.python.org/pypi/traitlets
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
package/Config.in | 1 +
package/python-traitlets/Config.in | 8 ++++++++
package/python-traitlets/python-traitlets.hash | 2 ++
package/python-traitlets/python-traitlets.mk | 18 ++++++++++++++++++
4 files changed, 29 insertions(+)
create mode 100644 package/python-traitlets/Config.in
create mode 100644 package/python-traitlets/python-traitlets.hash
create mode 100644 package/python-traitlets/python-traitlets.mk
diff --git a/package/Config.in b/package/Config.in
index eb6d197..47f43eb 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -843,6 +843,7 @@ menu "External python modules"
source "package/python-tomako/Config.in"
source "package/python-toml/Config.in"
source "package/python-tornado/Config.in"
+ source "package/python-traitlets/Config.in"
source "package/python-treq/Config.in"
source "package/python-twisted/Config.in"
source "package/python-txaio/Config.in"
diff --git a/package/python-traitlets/Config.in b/package/python-traitlets/Config.in
new file mode 100644
index 0000000..ba79218
--- /dev/null
+++ b/package/python-traitlets/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_TRAITLETS
+ select BR2_PACKAGE_PYTHON_DECORATOR
+ select BR2_PACKAGE_PYTHON_ENUM if BR2_PACKAGE_PYTHON
+ bool "python-traitlets"
+ help
+ A configuration system for Python applications.
+
+ https://pypi.python.org/pypi/traitlets
diff --git a/package/python-traitlets/python-traitlets.hash b/package/python-traitlets/python-traitlets.hash
new file mode 100644
index 0000000..3b14991
--- /dev/null
+++ b/package/python-traitlets/python-traitlets.hash
@@ -0,0 +1,2 @@
+# sha256 locally computed
+sha256 370f938ad730d52272ef74f96f831cb21138f6168e46fe582fe256c35cc656ce python-traitlets-4.3.2.tar.gz
diff --git a/package/python-traitlets/python-traitlets.mk b/package/python-traitlets/python-traitlets.mk
new file mode 100644
index 0000000..6cfd3e5
--- /dev/null
+++ b/package/python-traitlets/python-traitlets.mk
@@ -0,0 +1,18 @@
+################################################################################
+#
+# python-traitlets
+#
+################################################################################
+
+PYTHON_TRAITLETS_VERSION = 4.3.2
+PYTHON_TRAITLETS_SOURCE = python-traitlets-$(PYTHON_TRAITLETS_VERSION).tar.gz
+PYTHON_TRAITLETS_SITE = $(call github,ipython,traitlets,$(PYTHON_TRAITLETS_VERSION))
+PYTHON_TRAITLETS_LICENSE = BSD-3c
+PYTHON_TRAITLETS_SETUP_TYPE = distutils
+PYTHON_TRAITLETS_DEPENDENCIES = python-decorator
+
+ifeq ($(BR2_PACKAGE_PYTHON),y)
+PYTHON_TRAITLETS_DEPENDENCIES += python-enum
+endif
+
+$(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 ` Andrey Smirnov [this message]
2017-04-26 7:26 ` [Buildroot] [PATCH 2/9] package/python-traitlets: " Thomas Petazzoni
2017-04-26 18:47 ` Andrey Smirnov
2017-04-25 19:14 ` [Buildroot] [PATCH 3/9] package/python-simplegeneric: " Andrey Smirnov
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-3-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