Commit Graph

15 Commits

Author SHA1 Message Date
Trevor Gamblin
c3a3470b1b python-twisted: add missing RDEPENDS for conch
import twisted.conch.checkers outputs error messages like the
following for multiple modules:

|Python 3.7.4 (default, Oct 28 2019, 02:05:50)
|[GCC 9.2.0] on linux
|Type "help", "copyright", "credits" or "license" for more information.
|>>> import twisted.conch.checkers
|
|Error message :
|File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
|File "/usr/lib64/python3.7/site-packages/twisted/conch/checkers.py", line 32, in
|<module>
|from twisted.conch.ssh import keys
|File "/usr/lib64/python3.7/site-packages/twisted/conch/ssh/keys.py", line 18, in
|<module>
|import bcrypt
|No module named 'bcrypt'

Add the missing RDEPENDS so that it works (bcrypt, cryptography, pyasn1,
pickle).

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-11 16:22:40 -08:00
Trevor Gamblin
53e62e4e57 python-twisted: add python3-pyserial to RDEPENDS
twisted's internet submodule has serial port functionality that relies
on python3-pyserial to be available, but this isn't in twisted's RDEPENDS
list, so imports of the serial port functionality will fail:

|root@qemux86-64:~# python3
|Python 3.7.5 (default, Dec  5 2019, 23:01:22)
|[GCC 9.2.0] on linux
|Type "help", "copyright", "credits" or "license" for more information.
|>>> import twisted.internet.serialport
|Traceback (most recent call last):
|  File "<stdin>", line 1, in <module>
|  File "/usr/lib/python3.7/site-packages/twisted/internet/serialport.py", line 21, in <module>
|    import serial
|ModuleNotFoundError: No module named 'serial'
|>>>

Since the internet submodule is part of the twisted-core split, add
python3-pyserial to RDEPENDS for that part of the recipe.

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-08 23:00:57 -08:00
Zang Ruochen
ae77b5dc95 python-twisted: upgrade 19.7.0 -> 19.10.0
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-20 06:57:27 -08:00
Yuan Chao
eec355783e python-twisted: upgrade 19.2.1 -> 19.7.0
LICENSE file updated:
	"Tom Most" was added in LICENSE file.

Signed-off-by: Yuan Chao <yuanc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-24 05:20:43 -07:00
Zang Ruochen
d29f84835b python-twisted: upgrade 19.2.0 -> 19.2.1
-Upgrade from python-twisted_19.2.0.bb to python-twisted_19.2.1.bb.

-Upgrade from python3-twisted_19.2.0.bb to python3-twisted_19.2.1.bb.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-18 06:32:38 -07:00
Zang Ruochen
4850400e7e python-twisted: upgrade 18.4.0 -> 19.2.0
-Upgrade from python-twisted_18.4.0.bb to python-twisted_19.2.0.bb.

-Upgrade from python3-twisted_18.4.0.bb to python3-twisted_19.2.0.bb.

-License-Update: Copyright year updated to 2019.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-29 10:13:56 -07:00
Khem Raj
69c9903346 python-twisted: Remove ${PN}-src
This fixes the QA errors about double defining this in PACKAGES
it seems to be removed in py3 version of recipe too so we just do it in
inc file so both recipes can use it

Fix a typo in specifying rdep

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-30 13:34:49 -08:00
Mark Asselstine
12c394588c python-twisted: Add more python-twisted-* packages to the "meta" package
Whereas the python-twisted-core package is used to install the minimum
components of python-twisted, the python-twisted package is
essentially a 'meta' package which installs all of the
python-twisted-* packages (used by folks that don't want to determine
which components they are interested in). Add additional packages to
the python-twisted 'meta' package.

NOTE: that there are still modules of python-twisted which have not
been ported to python3 (see src/twisted/python/_setup.py
"notPortedModules") so the installed packages for py2 vs. py3 will not
be the same (ie. python-twisted-news is only part of the py2 package).

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-02 10:05:06 -07:00
Chen Qi
91fc7e1b05 python(3)-twisted: upgrade 17.9.0 -> 18.4.0
The license checksum changes but the license remains the same.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-27 22:17:33 -07:00
Mark Asselstine
b08b570c86 python-twisted: avoid downloading build dependencies
setup.py will attempt to download python-incremental, as it is not
present in the sysroot. This is at the least wrong since some random
version of python-incremental will be used to build against (akin to
host contamination) and at most a build failure (when network access
is unavailable). So make python-incrementa-native available and a
DEPENDS.

Unfortunately python-incremental has a dependency on python-twisted
and vice versa. So we need to forcefully break this circular
dependency. Fortunately this doesn't affect the build of
python-twisted. Unfortunately if anyone else attempts to use
python-incremental-native there might be issues should it ever run the
code that does the import of twisted. This is not an issue now and a
comment has been added to hopefully make this issue known to anyone
else coming along at a later time.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-27 07:25:02 -08:00
Derek Straka
e410b5c543 python-twisted: clean-up the dependencies
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-11-15 16:31:31 -08:00
Diego Rondini
929a6543e6 python-twisted: remove empty lore subpackage
Currently installing python-twisted fails because it cannot find a
python-twisted-lore package. lore package isn't created because as of twisted
15.3.x lore has been removed, thus no file belongs to it.
Removal reference:
"twisted.lore has now been removed, in preference to Sphinx. (#7892)"
https://github.com/twisted/twisted/blob/trunk/NEWS.rst#twisted-core-1530-2015-08-04

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-10-15 17:29:40 +00:00
Derek Straka
d55c326560 python-twisted: update to version 17.9.0
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-10-04 14:53:34 +00:00
Derek Straka
60d327c665 python-twisted: update version to 17.5.0
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-22 22:50:46 +00:00
Mark Asselstine
b460ac6bcb twisted: add support to build for python3
The work on twisted to ensure python3 compatability is nearing
completion, as per their python3 tracker page:
  https://twistedmatrix.com/trac/milestone/Python-3.x

Create a common .inc file and a new python3-* recipe to match other
python3 packages.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:24 +02:00