From: Frank Vanbever <frank.vanbever@essensium.com>
To: buildroot@busybox.net
Subject: [Buildroot] [Next] package/python-wsgiref: new package
Date: Wed, 27 Nov 2019 17:07:29 +0100 [thread overview]
Message-ID: <1746630.H4OBSy911P@wintermute> (raw)
In-Reply-To: <20191113224429.30980-1-matthew.weber@rockwellcollins.com>
On Wednesday, 13 November 2019 23:44:29 CET Matt Weber wrote:
> Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Tested-by: Frank Vanbever <frank.vanbever@essensium.com>
I ran a quick test using the example application from the Python 3 docs given
under setup_testing_defaults(). Everything works as expected.
> ---
> package/Config.in | 1 +
> package/python-wsgiref/Config.in | 6 ++++++
> package/python-wsgiref/python-wsgiref.hash | 3 +++
> package/python-wsgiref/python-wsgiref.mk | 18 ++++++++++++++++++
> 4 files changed, 28 insertions(+)
> create mode 100644 package/python-wsgiref/Config.in
> create mode 100644 package/python-wsgiref/python-wsgiref.hash
> create mode 100644 package/python-wsgiref/python-wsgiref.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index e87b5a57d7..c150ee2473 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -1133,6 +1133,7 @@ menu "External python modules"
> source "package/python-wrapt/Config.in"
> source "package/python-ws4py/Config.in"
> source "package/python-wsaccel/Config.in"
> + source "package/python-wsgiref/Config.in"
> source "package/python-wtforms/Config.in"
> source "package/python-xlib/Config.in"
> source "package/python-xlrd/Config.in"
> diff --git a/package/python-wsgiref/Config.in
> b/package/python-wsgiref/Config.in new file mode 100644
> index 0000000000..2fde92cab0
> --- /dev/null
> +++ b/package/python-wsgiref/Config.in
> @@ -0,0 +1,6 @@
> +config BR2_PACKAGE_PYTHON_WSGIREF
> + bool "python-wsgiref"
> + help
> + WSGI (PEP 333) Reference Library.
> +
> + http://cheeseshop.python.org/pypi/wsgiref
> diff --git a/package/python-wsgiref/python-wsgiref.hash
> b/package/python-wsgiref/python-wsgiref.hash new file mode 100644
> index 0000000000..0c9a4fecd8
> --- /dev/null
> +++ b/package/python-wsgiref/python-wsgiref.hash
> @@ -0,0 +1,3 @@
> +# md5, sha256 from https://pypi.org/pypi/wsgiref/json
> +md5 29b146e6ebd0f9fb119fe321f7bcf6cb wsgiref-0.1.2.zip
> +sha256 c7e610c800957046c04c8014aab8cce8f0b9f0495c8cd349e57c1f7cabf40e79
> wsgiref-0.1.2.zip diff --git a/package/python-wsgiref/python-wsgiref.mk
> b/package/python-wsgiref/python-wsgiref.mk new file mode 100644
> index 0000000000..e30f4c6a31
> --- /dev/null
> +++ b/package/python-wsgiref/python-wsgiref.mk
> @@ -0,0 +1,18 @@
> +###########################################################################
> ##### +#
> +# python-wsgiref
> +#
> +###########################################################################
> ##### +
> +PYTHON_WSGIREF_VERSION = 0.1.2
> +PYTHON_WSGIREF_SOURCE = wsgiref-$(PYTHON_WSGIREF_VERSION).zip
> +PYTHON_WSGIREF_SITE =
> https://files.pythonhosted.org/packages/41/9e/309259ce8dff8c596e8c26df86dbc
> 4e848b9249fd36797fd60be456f03fc +PYTHON_WSGIREF_SETUP_TYPE = setuptools
> +PYTHON_WSGIREF_LICENSE = PSF or ZPL
> +
> +define PYTHON_WSGIREF_EXTRACT_CMDS
> + $(UNZIP) -d $(@D) $(PYTHON_WSGIREF_DL_DIR)/$(PYTHON_WSGIREF_SOURCE)
> + mv $(@D)/wsgiref-$(PYTHON_WSGIREF_VERSION)/* $(@D)/
> +endef
> +
> +$(eval $(python-package))
next prev parent reply other threads:[~2019-11-27 16:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-13 22:44 [Buildroot] [Next] package/python-wsgiref: new package Matt Weber
2019-11-27 16:07 ` Frank Vanbever [this message]
2019-12-03 23:04 ` Arnout Vandecappelle
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=1746630.H4OBSy911P@wintermute \
--to=frank.vanbever@essensium.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