python-iowait: new package
PATCH 1/3 python-iowait: new package
From: Yegor Yefremov <[email protected]>
--- package/Config.in | 1 + package/python-iowait/Config.in | 6 ++++++ package/python-iowait/python-iowait.hash | 4 ++++ package/python-iowait/python-iowait.mk | 14 ++++++++++++++ 4 files changed, 25 insertions(+) create mode 100644 package/python-iowait/Config.in create mode 100644 package/python-iowait/python-iowait.hash create mode 100644 package/python-iowait/python-iowait.mk
package/Config.in +1 -0
@@ -664,6 +664,7 @@ menu "External python modules" source "package/python-id3/Config.in" source "package/python-idna/Config.in" source "package/python-iniparse/Config.in" + source "package/python-iowait/Config.in" source "package/python-ipaddr/Config.in" source "package/python-ipaddress/Config.in" source "package/python-ipy/Config.in"
package/python-iowait/Config.in new file +6 -0
@@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_IOWAIT + bool "python-iowait" + help + Platform-independent module for I/O completion events. + + https://launchpad.net/python-iowait
package/python-iowait/python-iowait.hash new file +4 -0
@@ -0,0 +1,4 @@ +# md5 from https://pypi.python.org/pypi/iowait/json +md5 f49ca7766fe4a67e03a731e575614f87 iowait-0.2.tar.gz +# sha256 calculated by scanpypi +sha256 ab1bc2eb84c22ccf61f17a0024f9fb6df781b39f1852764a66a7769d5adfb299 iowait-0.2.tar.gz
package/python-iowait/python-iowait.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# python-iowait +# +################################################################################ + +PYTHON_IOWAIT_VERSION = 0.2 +PYTHON_IOWAIT_SOURCE = iowait-$(PYTHON_IOWAIT_VERSION).tar.gz +PYTHON_IOWAIT_SITE = https://pypi.python.org/packages/65/30/e953673fe9619938e9c74408401cf865f37716da89f61f6e5d9328c0f71e +PYTHON_IOWAIT_SETUP_TYPE = distutils +PYTHON_IOWAIT_LICENSE = LGPLv3+ +PYTHON_IOWAIT_LICENSE_FILES = COPYING.LESSER + +$(eval $(python-package))
Signature · 1 line
2.8.0.rc3
PATCH 2/3 python-circus: new package
From: Yegor Yefremov <[email protected]>
--- package/Config.in | 1 + package/python-circus/Config.in | 20 ++++++++++++++++++++ package/python-circus/python-circus.hash | 4 ++++ package/python-circus/python-circus.mk | 14 ++++++++++++++ 4 files changed, 39 insertions(+) create mode 100644 package/python-circus/Config.in create mode 100644 package/python-circus/python-circus.hash create mode 100644 package/python-circus/python-circus.mk
package/Config.in +1 -0
@@ -640,6 +640,7 @@ menu "External python modules" source "package/python-characteristic/Config.in" source "package/python-cheetah/Config.in" source "package/python-cherrypy/Config.in" + source "package/python-circus/Config.in" source "package/python-click/Config.in" source "package/python-coherence/Config.in" source "package/python-configobj/Config.in"
package/python-circus/Config.in new file +20 -0
@@ -0,0 +1,20 @@ +config BR2_PACKAGE_PYTHON_CIRCUS + bool "python-circus" + depends on BR2_USE_WCHAR # zeromq + depends on BR2_INSTALL_LIBSTDCPP # zeromq + depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq + select BR2_PACKAGE_PYTHON_IOWAIT # runtime + select BR2_PACKAGE_PYTHON_PSUTIL # runtime + select BR2_PACKAGE_PYTHON_PYZMQ # runtime + select BR2_PACKAGE_PYTHON_TORNADO # runtime + select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime + help + Circus is a program that will let you run and watch multiple + processes and sockets. + + https://circus.readthedocs.org/en/latest/ + +comment "python-circus needs a toolchain w/ C++, wchar, threads" + depends on BR2_PACKAGE_PYTHON + depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR && \ + BR2_TOOLCHAIN_HAS_THREADS)
package/python-circus/python-circus.hash new file +4 -0
@@ -0,0 +1,4 @@ +# md5 from https://pypi.python.org/pypi/circus/json +md5 cddd4a8844907d8b6b402ca9c713d176 circus-0.13.0.tar.gz +# sha256 calculated by scanpypi +sha256 6201800a5fb05144b5e6c5ac9eb901b914305e8beaeb01f8edf54ab6ab1a295a circus-0.13.0.tar.gz
package/python-circus/python-circus.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# python-circus +# +################################################################################ + +PYTHON_CIRCUS_VERSION = 0.13.0 +PYTHON_CIRCUS_SOURCE = circus-$(PYTHON_CIRCUS_VERSION).tar.gz +PYTHON_CIRCUS_SITE = https://pypi.python.org/packages/source/c/circus +PYTHON_CIRCUS_SETUP_TYPE = setuptools +PYTHON_CIRCUS_LICENSE = Apache-2.0 +PYTHON_CIRCUS_LICENSE_FILES = LICENSE + +$(eval $(python-package))
Signature · 1 line
2.8.0.rc3
PATCH 3/3 python-tornado: add Python 2 dependencies
In reply to yegorslists at googlemail.comFrom: Yegor Yefremov <[email protected]>
Some Python programs check dependencies of used Python packages at runtime. As both python-backports-ssl-match-hostname and python-certifi are not required for Python > 2.7.9, they are not required for tornado to work. But tornado's setup.py checks only major and minor Python versions, so such packages as python-circus will fail, if those packages are not present at runtime.
Fixes #8856
--- package/python-tornado/Config.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
package/python-tornado/Config.in +3 -1
@@ -2,8 +2,10 @@ config BR2_PACKAGE_PYTHON_TORNADO bool "python-tornado" select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime - select BR2_PACKAGE_PYTHON_SINGLEDISPATCH if BR2_PACKAGE_PYTHON # runtime select BR2_PACKAGE_PYTHON_BACKPORTS_ABC # runtime + select BR2_PACKAGE_PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME if BR2_PACKAGE_PYTHON # runtime + select BR2_PACKAGE_PYTHON_SINGLEDISPATCH if BR2_PACKAGE_PYTHON # runtime + select BR2_PACKAGE_PYTHON_CERTIFI if BR2_PACKAGE_PYTHON # runtime help Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed.
Signature · 1 line
2.8.0.rc3
PATCH 3/3 python-tornado: add Python 2 dependencies
Quoted 9 lines · On Fri, Apr 22, 2016 at 3:36 PM, <[email protected]> wrote:
From: Yegor Yefremov <[email protected]>
Some Python programs check dependencies of used Python packages at runtime. As both python-backports-ssl-match-hostname and python-certifi are not required for Python > 2.7.9, they are not required for tornado to work. But tornado's
setup.pychecks only major and minor Python versions, so such packages as python-circus will fail, if those packages are not present at runtime.
Quoted 3 lines
Fixes #8856
Signed-off-by Yegor Yefremov <[email protected]>
This patch depends on http://patchwork.ozlabs.org/patch/613610/
Just didn't want to start a patch series with v2.
Yegor
Quoted 23 lines
--- package/python-tornado/Config.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)package/python-tornado/Config.in +3
-2@@ -2,8 +2,10 @@ config BR2_PACKAGE_PYTHON_TORNADO bool "python-tornado" select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime - select BR2_PACKAGE_PYTHON_SINGLEDISPATCH if BR2_PACKAGE_PYTHON # runtime select BR2_PACKAGE_PYTHON_BACKPORTS_ABC # runtime + select BR2_PACKAGE_PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME if BR2_PACKAGE_PYTHON # runtime + select BR2_PACKAGE_PYTHON_SINGLEDISPATCH if BR2_PACKAGE_PYTHON # runtime + select BR2_PACKAGE_PYTHON_CERTIFI if BR2_PACKAGE_PYTHON # runtime help Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed. --2.8.0.rc3
PATCH 3/3 python-tornado: add Python 2 dependencies
Quoted 10 lines · Yegor Yefremov
Quoted 9 lines · On Fri, Apr 22, 2016 at 3:36 PM, <[email protected]> wrote:
From: Yegor Yefremov <[email protected]>
Some Python programs check dependencies of used Python packages at runtime. As both python-backports-ssl-match-hostname and python-certifi are not required for Python > 2.7.9, they are not required for tornado to work. But tornado's
setup.pychecks only major and minor Python versions, so such packages as python-circus will fail, if those packages are not present at runtime.
Quoted 7 lines
Quoted 3 lines
Fixes #8856
Signed-off-by Yegor Yefremov <[email protected]>This patch depends on http://patchwork.ozlabs.org/patch/613610/
Just didn't want to start a patch series with v2.
I'll change this patch so, that only certifi package is selected.
Yegor
Quoted 23 lines
Quoted 23 lines
--- package/python-tornado/Config.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)package/python-tornado/Config.in +3
-2@@ -2,8 +2,10 @@ config BR2_PACKAGE_PYTHON_TORNADO bool "python-tornado" select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime - select BR2_PACKAGE_PYTHON_SINGLEDISPATCH if BR2_PACKAGE_PYTHON # runtime select BR2_PACKAGE_PYTHON_BACKPORTS_ABC # runtime + select BR2_PACKAGE_PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME if BR2_PACKAGE_PYTHON # runtime + select BR2_PACKAGE_PYTHON_SINGLEDISPATCH if BR2_PACKAGE_PYTHON # runtime + select BR2_PACKAGE_PYTHON_CERTIFI if BR2_PACKAGE_PYTHON # runtime help Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed. --2.8.0.rc3
Thomas Petazzoni
AppliedPATCH 1/3 python-iowait: new package
In reply to yegorslists at googlemail.comHello,
Quoted 12 lines · yegorslists at googlemail.com
From: Yegor Yefremov <[email protected]>
Signed-off-by Yegor Yefremov <[email protected]>--- package/Config.in | 1 + package/python-iowait/Config.in | 6 ++++++ package/python-iowait/python-iowait.hash | 4 ++++ package/python-iowait/python-iowait.mk | 14 ++++++++++++++ 4 files changed, 25 insertions(+) create mode 100644 package/python-iowait/Config.in create mode 100644 package/python-iowait/python-iowait.hash create mode 100644 package/python-iowait/python-iowait.mk
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com