diff options
| author | Guðni Már Gilbert <gudnimar@noxmedical.com> | 2024-04-22 21:00:12 +0000 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-04-30 10:59:07 -0700 |
| commit | a57eea75cd93122f3dc097c55c92d8a78f19fd68 (patch) | |
| tree | 9154b657b174e7f5ec082d6f911762b333918270 /meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb | |
| parent | 42773342f5e6c121f6692f30f0f00b44eb7df817 (diff) | |
| download | meta-openembedded-a57eea75cd93122f3dc097c55c92d8a78f19fd68.tar.gz | |
python3-twisted: upgrade 22.10.0 -> 24.3.0
Changelogs between 22.10.0 and 24.3.0 can be found here:
https://github.com/twisted/twisted/releases/tag/twisted-24.3.0
https://github.com/twisted/twisted/releases/tag/twisted-23.10.0
https://github.com/twisted/twisted/releases/tag/twisted-23.8.0
Summary of changes relevant for the Yocto build:
- Brings official support for Python 3.11 and 3.12, only Python 3.8 and above supported.
- python3-twisted-conch: python3-pyasn1 is no longer a runtime dependency (23.8.0)
- build backend changed from setuptools.build_meta to hatchling.build
Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb | 194 |
1 files changed, 194 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb b/meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb new file mode 100644 index 0000000000..e5223ccd65 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb | |||
| @@ -0,0 +1,194 @@ | |||
| 1 | DESCRIPTION = "Twisted is an event-driven networking framework written in Python and licensed under the LGPL. \ | ||
| 2 | Twisted supports TCP, UDP, SSL/TLS, multicast, Unix sockets, a large number of protocols \ | ||
| 3 | (including HTTP, NNTP, IMAP, SSH, IRC, FTP, and others), and much more." | ||
| 4 | HOMEPAGE = "https://twisted.org" | ||
| 5 | |||
| 6 | LICENSE = "MIT" | ||
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c1c5d2c2493b848f83864bdedd67bbf5" | ||
| 8 | |||
| 9 | SRC_URI[sha256sum] = "6b38b6ece7296b5e122c9eb17da2eeab3d98a198f50ca9efd00fb03e5b4fd4ae" | ||
| 10 | |||
| 11 | inherit pypi python_hatchling | ||
| 12 | |||
| 13 | do_install:append() { | ||
| 14 | # remove some useless files before packaging | ||
| 15 | find ${D} \( -name "*.bat" -o -name "*.c" -o -name "*.h" \) -exec rm -f {} \; | ||
| 16 | } | ||
| 17 | |||
| 18 | PACKAGES += "\ | ||
| 19 | ${PN}-zsh \ | ||
| 20 | ${PN}-test \ | ||
| 21 | ${PN}-protocols \ | ||
| 22 | ${PN}-conch \ | ||
| 23 | ${PN}-mail \ | ||
| 24 | ${PN}-names \ | ||
| 25 | ${PN}-news \ | ||
| 26 | ${PN}-runner \ | ||
| 27 | ${PN}-web \ | ||
| 28 | ${PN}-words \ | ||
| 29 | ${PN}-flow \ | ||
| 30 | ${PN}-pair \ | ||
| 31 | ${PN}-core \ | ||
| 32 | " | ||
| 33 | |||
| 34 | DEPENDS += " \ | ||
| 35 | python3-hatch-fancy-pypi-readme-native \ | ||
| 36 | python3-incremental-native \ | ||
| 37 | " | ||
| 38 | |||
| 39 | RDEPENDS:${PN} = "\ | ||
| 40 | ${PN}-core \ | ||
| 41 | ${PN}-conch \ | ||
| 42 | ${PN}-mail \ | ||
| 43 | ${PN}-names \ | ||
| 44 | ${PN}-pair \ | ||
| 45 | ${PN}-protocols \ | ||
| 46 | ${PN}-runner \ | ||
| 47 | ${PN}-web \ | ||
| 48 | ${PN}-words \ | ||
| 49 | ${PN}-zsh \ | ||
| 50 | " | ||
| 51 | |||
| 52 | RDEPENDS:${PN}-core = "python3-appdirs \ | ||
| 53 | python3-asyncio \ | ||
| 54 | python3-automat \ | ||
| 55 | python3-constantly \ | ||
| 56 | python3-core \ | ||
| 57 | python3-debugger \ | ||
| 58 | python3-hyperlink \ | ||
| 59 | python3-incremental \ | ||
| 60 | python3-pyserial \ | ||
| 61 | python3-typing-extensions \ | ||
| 62 | python3-unixadmin \ | ||
| 63 | python3-zopeinterface \ | ||
| 64 | " | ||
| 65 | RDEPENDS:${PN}-test = "${PN} python3-pyhamcrest" | ||
| 66 | RDEPENDS:${PN}-conch = "${PN}-core ${PN}-protocols python3-bcrypt python3-cryptography python3-pickle" | ||
| 67 | RDEPENDS:${PN}-mail = "${PN}-core ${PN}-protocols" | ||
| 68 | RDEPENDS:${PN}-names = "${PN}-core" | ||
| 69 | RDEPENDS:${PN}-news = "${PN}-core ${PN}-protocols" | ||
| 70 | RDEPENDS:${PN}-runner = "${PN}-core ${PN}-protocols" | ||
| 71 | RDEPENDS:${PN}-web += "${PN}-core ${PN}-protocols" | ||
| 72 | RDEPENDS:${PN}-words += "${PN}-core" | ||
| 73 | RDEPENDS:${PN}-flow += "${PN}-core" | ||
| 74 | RDEPENDS:${PN}-pair += "${PN}-core" | ||
| 75 | |||
| 76 | FILES:${PN}-test = " \ | ||
| 77 | ${PYTHON_SITEPACKAGES_DIR}/twisted/test \ | ||
| 78 | ${PYTHON_SITEPACKAGES_DIR}/twisted/*/test \ | ||
| 79 | ${PYTHON_SITEPACKAGES_DIR}/twisted/protocols/haproxy/test/ \ | ||
| 80 | " | ||
| 81 | |||
| 82 | FILES:${PN}-protocols = " \ | ||
| 83 | ${PYTHON_SITEPACKAGES_DIR}/twisted/protocols/*.py* \ | ||
| 84 | ${PYTHON_SITEPACKAGES_DIR}/twisted/protocols/haproxy \ | ||
| 85 | ${PYTHON_SITEPACKAGES_DIR}/twisted/protocols/__pycache__/*pyc \ | ||
| 86 | " | ||
| 87 | |||
| 88 | FILES:${PN}-zsh = " \ | ||
| 89 | ${PYTHON_SITEPACKAGES_DIR}/twisted/python/twisted-completion.zsh \ | ||
| 90 | " | ||
| 91 | |||
| 92 | FILES:${PN}-conch = " \ | ||
| 93 | ${bindir}/ckeygen \ | ||
| 94 | ${bindir}/tkconch \ | ||
| 95 | ${bindir}/conch \ | ||
| 96 | ${bindir}/cftp \ | ||
| 97 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/twisted_conch.py* \ | ||
| 98 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/__pycache__/twisted_conch*.pyc \ | ||
| 99 | ${PYTHON_SITEPACKAGES_DIR}/twisted/conch \ | ||
| 100 | " | ||
| 101 | |||
| 102 | FILES:${PN}-core = " \ | ||
| 103 | ${bindir}/twist \ | ||
| 104 | ${bindir}/twistd \ | ||
| 105 | ${bindir}/trial \ | ||
| 106 | ${bindir}/pyhtmlizer \ | ||
| 107 | ${PYTHON_SITEPACKAGES_DIR}/twisted/*.py* \ | ||
| 108 | ${PYTHON_SITEPACKAGES_DIR}/twisted/application \ | ||
| 109 | ${PYTHON_SITEPACKAGES_DIR}/twisted/cred \ | ||
| 110 | ${PYTHON_SITEPACKAGES_DIR}/twisted/enterprise \ | ||
| 111 | ${PYTHON_SITEPACKAGES_DIR}/twisted/internet \ | ||
| 112 | ${PYTHON_SITEPACKAGES_DIR}/twisted/persisted \ | ||
| 113 | ${PYTHON_SITEPACKAGES_DIR}/twisted/protocols \ | ||
| 114 | ${PYTHON_SITEPACKAGES_DIR}/twisted/scripts \ | ||
| 115 | ${PYTHON_SITEPACKAGES_DIR}/twisted/spread \ | ||
| 116 | ${PYTHON_SITEPACKAGES_DIR}/twisted/tap \ | ||
| 117 | ${PYTHON_SITEPACKAGES_DIR}/twisted/trial \ | ||
| 118 | ${PYTHON_SITEPACKAGES_DIR}/twisted/*.py* \ | ||
| 119 | ${PYTHON_SITEPACKAGES_DIR}/twisted/python/*.py* \ | ||
| 120 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/*.py* \ | ||
| 121 | ${PYTHON_SITEPACKAGES_DIR}/twisted/logger \ | ||
| 122 | ${PYTHON_SITEPACKAGES_DIR}/twisted/_threads \ | ||
| 123 | ${PYTHON_SITEPACKAGES_DIR}/twisted/positioning \ | ||
| 124 | ${PYTHON_SITEPACKAGES_DIR}/twisted/py.typed \ | ||
| 125 | ${PYTHON_SITEPACKAGES_DIR}/twisted/__pycache__/*pyc \ | ||
| 126 | ${PYTHON_SITEPACKAGES_DIR}/twisted/python/__pycache__/*pyc \ | ||
| 127 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/__pycache__/__init__*.pyc \ | ||
| 128 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/__pycache__/cred_anonymous*.pyc \ | ||
| 129 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/__pycache__/cred_file*.pyc \ | ||
| 130 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/__pycache__/cred_memory*.pyc \ | ||
| 131 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/__pycache__/cred_sshkeys*.pyc \ | ||
| 132 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/__pycache__/cred_unix*.pyc \ | ||
| 133 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/__pycache__/twisted_core*.pyc \ | ||
| 134 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/__pycache__/twisted_ftp*.pyc \ | ||
| 135 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/__pycache__/twisted_inet*.pyc \ | ||
| 136 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/__pycache__/twisted_portforward*.pyc \ | ||
| 137 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/__pycache__/twisted_reactors*.pyc \ | ||
| 138 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/__pycache__/twisted_socks*.pyc \ | ||
| 139 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/__pycache__/twisted_trial*.pyc \ | ||
| 140 | " | ||
| 141 | |||
| 142 | FILES:${PN}-mail = " \ | ||
| 143 | ${bindir}/mailmail \ | ||
| 144 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/twisted_mail.py* \ | ||
| 145 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/__pycache__/twisted_mail*.pyc \ | ||
| 146 | ${PYTHON_SITEPACKAGES_DIR}/twisted/mail \ | ||
| 147 | " | ||
| 148 | |||
| 149 | FILES:${PN}-names = " \ | ||
| 150 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/twisted_names.py* \ | ||
| 151 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/__pycache__/twisted_names*.pyc \ | ||
| 152 | ${PYTHON_SITEPACKAGES_DIR}/twisted/names \ | ||
| 153 | " | ||
| 154 | |||
| 155 | FILES:${PN}-news = " \ | ||
| 156 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/twisted_news.py* \ | ||
| 157 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/__pycache__/twisted_news*.pyc \ | ||
| 158 | ${PYTHON_SITEPACKAGES_DIR}/twisted/news \ | ||
| 159 | " | ||
| 160 | |||
| 161 | FILES:${PN}-runner = " \ | ||
| 162 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/twisted_runner.py* \ | ||
| 163 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/__pycache__/twisted_runner*.pyc \ | ||
| 164 | ${PYTHON_SITEPACKAGES_DIR}/twisted/runner \ | ||
| 165 | " | ||
| 166 | |||
| 167 | FILES:${PN}-web = " \ | ||
| 168 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/twisted_web.py* \ | ||
| 169 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/__pycache__/twisted_web*.pyc \ | ||
| 170 | ${PYTHON_SITEPACKAGES_DIR}/twisted/web \ | ||
| 171 | " | ||
| 172 | |||
| 173 | FILES:${PN}-words = " \ | ||
| 174 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/twisted_words.py* \ | ||
| 175 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/__pycache__/twisted_words*.pyc \ | ||
| 176 | ${PYTHON_SITEPACKAGES_DIR}/twisted/words \ | ||
| 177 | " | ||
| 178 | |||
| 179 | FILES:${PN}-flow = " \ | ||
| 180 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/twisted_flow.py* \ | ||
| 181 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/__pycache__/twisted_flow*.pyc \ | ||
| 182 | ${PYTHON_SITEPACKAGES_DIR}/twisted/flow \ | ||
| 183 | " | ||
| 184 | |||
| 185 | FILES:${PN}-pair = " \ | ||
| 186 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/twisted_pair.py* \ | ||
| 187 | ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/__pycache__/twisted_pair*.pyc \ | ||
| 188 | ${PYTHON_SITEPACKAGES_DIR}/twisted/pair \ | ||
| 189 | " | ||
| 190 | |||
| 191 | FILES:${PN}-doc += " \ | ||
| 192 | ${PYTHON_SITEPACKAGES_DIR}/twisted/python/_pydoctortemplates \ | ||
| 193 | " | ||
| 194 | |||
