All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3 17/17] python-crossbar: new package
Date: Sun, 7 Feb 2016 00:10:07 +0100	[thread overview]
Message-ID: <56B67D4F.4070502@mind.be> (raw)
In-Reply-To: <1454696337-9692-18-git-send-email-mc5686@mclink.it>

On 05-02-16 19:18, Mauro Condarelli wrote:
> Signed-off-by: Mauro Condarelli <mc5686@mclink.it>
> ---
>  package/Config.in                            |  2 ++
>  package/python-crossbar/Config.in            | 23 +++++++++++++++++++++++
>  package/python-crossbar/python-crossbar.hash |  3 +++
>  package/python-crossbar/python-crossbar.mk   | 17 +++++++++++++++++
>  4 files changed, 45 insertions(+)
>  create mode 100644 package/python-crossbar/Config.in
>  create mode 100644 package/python-crossbar/python-crossbar.hash
>  create mode 100644 package/python-crossbar/python-crossbar.mk
> 
> diff --git a/package/Config.in b/package/Config.in
> index a0c57e0..8bc46c8 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -634,6 +634,8 @@ menu "External python modules"
>  	source "package/python-configobj/Config.in"
>  	source "package/python-configshell-fb/Config.in"
>  	source "package/python-crc16/Config.in"
> +	source "package/python-crossbar/Config.in"
> +	source "package/python-cryptography/Config.in"

 This line should have been part of adding python-cryptography.


>  	source "package/python-cssselect/Config.in"
>  	source "package/python-daemon/Config.in"
>  	source "package/python-dialog/Config.in"
> diff --git a/package/python-crossbar/Config.in b/package/python-crossbar/Config.in
> new file mode 100644
> index 0000000..f52e880
> --- /dev/null
> +++ b/package/python-crossbar/Config.in
> @@ -0,0 +1,23 @@
> +config BR2_PACKAGE_PYTHON_CROSSBAR
> +	bool "python-crossbar"
> +	select BR2_PACKAGE_PYTHON_AUTOBAHN
> +	select BR2_PACKAGE_PYTHON_CLICK
> +	select BR2_PACKAGE_PYTHON_JINJA2
> +	select BR2_PACKAGE_PYTHON_MISTUNE
> +	select BR2_PACKAGE_PYTHON_NETADDR
> +	select BR2_PACKAGE_PYTHON_PYGMENTS
> +	select BR2_PACKAGE_PYTHON_PYTRIE
> +	select BR2_PACKAGE_PYTHON_PYYAML
> +	select BR2_PACKAGE_PYTHON_SETUPTOOLS
> +	select BR2_PACKAGE_PYTHON_SHURILWHICH
> +	select BR2_PACKAGE_PYTHON_TREQ
> +	select BR2_PACKAGE_PYTHON_TWISTED
> +	help
> +	  Crossbar.io is an open-source WAMP application router 
> +	  that allows to build advanced applications from loosely-coupled
> +	  components that can talk in real-time with each other.
> +
> +	  https://pypi.python.org/pypi/crossbar
> +
> +comment "*** Currently Crossbar.io does NOT work without Python sources! ***"

 The *** are not needed here.

> +        depends on BR2_PACKAGE_PYTHON_PYC_ONLY
> diff --git a/package/python-crossbar/python-crossbar.hash b/package/python-crossbar/python-crossbar.hash
> new file mode 100644
> index 0000000..0690e56
> --- /dev/null
> +++ b/package/python-crossbar/python-crossbar.hash
> @@ -0,0 +1,3 @@
> +# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=cbe9b62a1ec2eebbc0cd0cef887a4993, sha256 locally computed.
> +md5	cbe9b62a1ec2eebbc0cd0cef887a4993  crossbar-0.12.1.tar.gz
> +sha256	4919e683bcfa3c633da8207f24189fd196ef8412b647f0365cf74c0bff8b4ada  crossbar-0.12.1.tar.gz
> diff --git a/package/python-crossbar/python-crossbar.mk b/package/python-crossbar/python-crossbar.mk
> new file mode 100644
> index 0000000..7a191d9
> --- /dev/null
> +++ b/package/python-crossbar/python-crossbar.mk
> @@ -0,0 +1,17 @@
> +################################################################################
> +#
> +# python-crossbar
> +#
> +################################################################################
> +
> +PYTHON_CROSSBAR_VERSION = 0.12.1
> +PYTHON_CROSSBAR_SOURCE = crossbar-$(PYTHON_CROSSBAR_VERSION).tar.gz
> +PYTHON_CROSSBAR_SITE = http://pypi.python.org/packages/source/c/crossbar
> +PYTHON_CROSSBAR_LICENSE = AGPL3

 AGPLv3

> +PYTHON_CROSSBAR_LICENSE_FILES = LICENSE
> +PYTHON_CROSSBAR_SETUP_TYPE = setuptools
> +PYTHON_CROSSBAR_DEPENDENCIES = python-click python-setuptools python-twisted python-autobahn \
> +	python-netaddr python-pytrie python-jinja2 python-mistune python-pygments python-pyyaml \
> +	python-shutilwhich python-psutil python-treq

 When there is such a long list of dependencies, make it one per line:

PYTHON_CROSSBAR_DEPENDENCIES = \
	python-autobahn \
	python-click \
...

 Also keep them alphabetical, and make sure the select lines in the Config.in
are in the same order. That makes it easier to verify that they correspond.


 Regards,
 Arnout


> +
> +$(eval $(python-package))
> 


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

      parent reply	other threads:[~2016-02-06 23:10 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-05 18:18 [Buildroot] [PATCH v3 00/17] changes needed for python-crossbar package (new) Mauro Condarelli
2016-02-05 18:18 ` [Buildroot] [PATCH v3 01/17] python-characteristic: new package Mauro Condarelli
2016-02-05 19:34   ` Yegor Yefremov
2016-02-05 18:18 ` [Buildroot] [PATCH v3 02/17] python-pycparser: python runtime added Mauro Condarelli
2016-02-06 10:31   ` Yegor Yefremov
2016-02-05 18:18 ` [Buildroot] [PATCH v3 03/17] python-lmdb: new package Mauro Condarelli
2016-02-05 19:37   ` Yegor Yefremov
2016-02-05 18:18 ` [Buildroot] [PATCH v3 04/17] python-pygments: " Mauro Condarelli
2016-02-05 19:09   ` Yegor Yefremov
2016-02-05 18:18 ` [Buildroot] [PATCH v3 05/17] python-pynacl: " Mauro Condarelli
2016-02-05 19:25   ` Yegor Yefremov
2016-02-05 20:47     ` Thomas Petazzoni
2016-02-05 21:05       ` Yegor Yefremov
2016-02-05 18:18 ` [Buildroot] [PATCH v3 06/17] python-pytrie: " Mauro Condarelli
2016-02-05 19:30   ` Yegor Yefremov
2016-02-05 18:18 ` [Buildroot] [PATCH v3 07/17] python-service-identity: " Mauro Condarelli
2016-02-05 19:39   ` Yegor Yefremov
2016-02-05 18:18 ` [Buildroot] [PATCH v3 08/17] python-shutilwhich: " Mauro Condarelli
2016-02-05 19:38   ` Yegor Yefremov
2016-02-05 18:18 ` [Buildroot] [PATCH v3 09/17] python-treq: " Mauro Condarelli
2016-02-05 19:26   ` Yegor Yefremov
2016-02-05 18:18 ` [Buildroot] [PATCH v3 10/17] python-txaio: " Mauro Condarelli
2016-02-05 19:33   ` Yegor Yefremov
2016-02-05 18:18 ` [Buildroot] [PATCH v3 11/17] python-pyasn-modules: " Mauro Condarelli
2016-02-05 19:37   ` Yegor Yefremov
2016-02-05 18:18 ` [Buildroot] [PATCH v3 12/17] python-cryptography: " Mauro Condarelli
2016-02-05 18:18 ` [Buildroot] [PATCH v3 13/17] python-ujson: " Mauro Condarelli
2016-02-05 19:23   ` Yegor Yefremov
2016-02-05 18:18 ` [Buildroot] [PATCH v3 14/17] python-wsaccel: " Mauro Condarelli
2016-02-05 19:32   ` Yegor Yefremov
2016-02-05 18:18 ` [Buildroot] [PATCH v3 15/17] python-setproctitle: " Mauro Condarelli
2016-02-05 19:13   ` Yegor Yefremov
2016-02-05 18:18 ` [Buildroot] [PATCH v3 16/17] python-autobahn: " Mauro Condarelli
2016-02-05 19:31   ` Yegor Yefremov
2016-02-05 18:18 ` [Buildroot] [PATCH v3 17/17] python-crossbar: " Mauro Condarelli
2016-02-05 21:51   ` Yegor Yefremov
2016-02-06 23:10   ` Arnout Vandecappelle [this message]

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=56B67D4F.4070502@mind.be \
    --to=arnout@mind.be \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.