diff options
Diffstat (limited to 'meta-python')
760 files changed, 5658 insertions, 4620 deletions
diff --git a/meta-python/SECURITY.md b/meta-python/SECURITY.md new file mode 100644 index 0000000000..1530103230 --- /dev/null +++ b/meta-python/SECURITY.md | |||
@@ -0,0 +1,20 @@ | |||
1 | How to Report a Potential Vulnerability? | ||
2 | ======================================== | ||
3 | |||
4 | If you would like to report a public issue (for example, one with a released | ||
5 | CVE number), please report it to the mailing list: | ||
6 | |||
7 | https://lists.openembedded.org/g/openembedded-devel | ||
8 | |||
9 | If you are dealing with a not-yet released or urgent issue, please send a | ||
10 | message to one of the maintainers listed in the README. Include as many | ||
11 | details as possible: | ||
12 | - the layer or software module affected | ||
13 | - the recipe and its version | ||
14 | - any example code, if available | ||
15 | |||
16 | Branches maintained with security fixes | ||
17 | --------------------------------------- | ||
18 | |||
19 | See https://wiki.yoctoproject.org/wiki/Releases for the list of current | ||
20 | releases. We only accept patches for the LTS releases and the master branch. | ||
diff --git a/meta-python/classes/distutils-common-base.bbclass b/meta-python/classes/distutils-common-base.bbclass deleted file mode 100644 index 59c750a3cf..0000000000 --- a/meta-python/classes/distutils-common-base.bbclass +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | export STAGING_INCDIR | ||
2 | export STAGING_LIBDIR | ||
3 | |||
4 | # LDSHARED is the ld *command* used to create shared library | ||
5 | export LDSHARED = "${CCLD} -shared" | ||
6 | # LDXXSHARED is the ld *command* used to create shared library of C++ | ||
7 | # objects | ||
8 | export LDCXXSHARED = "${CXX} -shared" | ||
9 | # CCSHARED are the C *flags* used to create objects to go into a shared | ||
10 | # library (module) | ||
11 | export CCSHARED = "-fPIC -DPIC" | ||
12 | # LINKFORSHARED are the flags passed to the $(CC) command that links | ||
13 | # the python executable | ||
14 | export LINKFORSHARED = "${SECURITY_CFLAGS} -Xlinker -export-dynamic" | ||
15 | |||
16 | FILES:${PN} += "${libdir}/* ${libdir}/${PYTHON_DIR}/*" | ||
17 | |||
18 | FILES:${PN}-staticdev += "\ | ||
19 | ${PYTHON_SITEPACKAGES_DIR}/*.a \ | ||
20 | " | ||
21 | FILES:${PN}-dev += "\ | ||
22 | ${datadir}/pkgconfig \ | ||
23 | ${libdir}/pkgconfig \ | ||
24 | ${PYTHON_SITEPACKAGES_DIR}/*.la \ | ||
25 | " | ||
26 | python __anonymous() { | ||
27 | bb.warn("distutils-common-base.bbclass is deprecated, please use setuptools3-base.bbclass instead") | ||
28 | } | ||
diff --git a/meta-python/classes/distutils3-base.bbclass b/meta-python/classes/distutils3-base.bbclass deleted file mode 100644 index d36b4c4a3e..0000000000 --- a/meta-python/classes/distutils3-base.bbclass +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | DEPENDS:append:class-target = " python3-native python3" | ||
2 | DEPENDS:append:class-nativesdk = " python3-native python3" | ||
3 | RDEPENDS:${PN} += "${@['', 'python3-core']['${CLASSOVERRIDE}' == 'class-target']}" | ||
4 | |||
5 | inherit distutils-common-base python3native python3targetconfig | ||
6 | |||
7 | python __anonymous() { | ||
8 | bb.warn("distutils3-base.bbclass is deprecated, please use setuptools3-base.bbclass instead") | ||
9 | } | ||
diff --git a/meta-python/classes/distutils3.bbclass b/meta-python/classes/distutils3.bbclass deleted file mode 100644 index 909415efa0..0000000000 --- a/meta-python/classes/distutils3.bbclass +++ /dev/null | |||
@@ -1,71 +0,0 @@ | |||
1 | inherit distutils3-base | ||
2 | |||
3 | B = "${WORKDIR}/build" | ||
4 | distutils_do_configure[cleandirs] = "${B}" | ||
5 | |||
6 | DISTUTILS_BUILD_ARGS ?= "" | ||
7 | DISTUTILS_INSTALL_ARGS ?= "--root=${D} \ | ||
8 | --prefix=${prefix} \ | ||
9 | --install-lib=${PYTHON_SITEPACKAGES_DIR} \ | ||
10 | --install-data=${datadir}" | ||
11 | |||
12 | DISTUTILS_PYTHON = "python3" | ||
13 | DISTUTILS_PYTHON:class-native = "nativepython3" | ||
14 | |||
15 | DISTUTILS_SETUP_PATH ?= "${S}" | ||
16 | |||
17 | python __anonymous() { | ||
18 | bb.warn("distutils3.bbclass is deprecated, please use setuptools3.bbclass instead") | ||
19 | } | ||
20 | |||
21 | distutils3_do_configure() { | ||
22 | : | ||
23 | } | ||
24 | |||
25 | distutils3_do_compile() { | ||
26 | cd ${DISTUTILS_SETUP_PATH} | ||
27 | NO_FETCH_BUILD=1 \ | ||
28 | STAGING_INCDIR=${STAGING_INCDIR} \ | ||
29 | STAGING_LIBDIR=${STAGING_LIBDIR} \ | ||
30 | ${STAGING_BINDIR_NATIVE}/python3-native/python3 setup.py \ | ||
31 | build --build-base=${B} ${DISTUTILS_BUILD_ARGS} || \ | ||
32 | bbfatal_log "'python3 setup.py build ${DISTUTILS_BUILD_ARGS}' execution failed." | ||
33 | } | ||
34 | distutils3_do_compile[vardepsexclude] = "MACHINE" | ||
35 | |||
36 | distutils3_do_install() { | ||
37 | cd ${DISTUTILS_SETUP_PATH} | ||
38 | install -d ${D}${PYTHON_SITEPACKAGES_DIR} | ||
39 | STAGING_INCDIR=${STAGING_INCDIR} \ | ||
40 | STAGING_LIBDIR=${STAGING_LIBDIR} \ | ||
41 | PYTHONPATH=${D}${PYTHON_SITEPACKAGES_DIR} \ | ||
42 | ${STAGING_BINDIR_NATIVE}/python3-native/python3 setup.py \ | ||
43 | build --build-base=${B} install --skip-build ${DISTUTILS_INSTALL_ARGS} || \ | ||
44 | bbfatal_log "'python3 setup.py install ${DISTUTILS_INSTALL_ARGS}' execution failed." | ||
45 | |||
46 | # support filenames with *spaces* | ||
47 | find ${D} -name "*.py" -exec grep -q ${D} {} \; \ | ||
48 | -exec sed -i -e s:${D}::g {} \; | ||
49 | |||
50 | for i in ${D}${bindir}/* ${D}${sbindir}/*; do | ||
51 | if [ -f "$i" ]; then | ||
52 | sed -i -e s:${PYTHON}:${USRBINPATH}/env\ ${DISTUTILS_PYTHON}:g $i | ||
53 | sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g $i | ||
54 | fi | ||
55 | done | ||
56 | |||
57 | rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/easy-install.pth | ||
58 | |||
59 | # | ||
60 | # FIXME: Bandaid against wrong datadir computation | ||
61 | # | ||
62 | if [ -e ${D}${datadir}/share ]; then | ||
63 | mv -f ${D}${datadir}/share/* ${D}${datadir}/ | ||
64 | rmdir ${D}${datadir}/share | ||
65 | fi | ||
66 | } | ||
67 | distutils3_do_install[vardepsexclude] = "MACHINE" | ||
68 | |||
69 | EXPORT_FUNCTIONS do_configure do_compile do_install | ||
70 | |||
71 | export LDSHARED="${CCLD} -shared" | ||
diff --git a/meta-python/conf/include/non-repro-meta-python.inc b/meta-python/conf/include/non-repro-meta-python.inc deleted file mode 100755 index 629dc4aa04..0000000000 --- a/meta-python/conf/include/non-repro-meta-python.inc +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | # List of known non-reproducible package of the meta-python layer | ||
2 | # Please keep this list sorted | ||
3 | KNOWN_NON_REPRO_META_PYTHON = " \ | ||
4 | python3-evdev-src \ | ||
5 | python3-frozenlist \ | ||
6 | python3-frozenlist-dbg \ | ||
7 | python3-kivy-src \ | ||
8 | python3-pandas \ | ||
9 | python3-pandas-dbg \ | ||
10 | python3-pandas-src \ | ||
11 | python3-pycocotools-src \ | ||
12 | python3-pydantic-core \ | ||
13 | python3-pynacl \ | ||
14 | python3-pynacl-dbg \ | ||
15 | python3-pynacl-src \ | ||
16 | python3-pyproj \ | ||
17 | python3-pyproj-dbg \ | ||
18 | python3-pyproj-src \ | ||
19 | python3-pyzmq \ | ||
20 | python3-yarl \ | ||
21 | python3-yarl-dbg \ | ||
22 | " | ||
diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index 56a5cf2f09..c62bfab034 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc | |||
@@ -12,21 +12,30 @@ PTESTS_FAST_META_PYTHON = "\ | |||
12 | python3-ansicolors \ | 12 | python3-ansicolors \ |
13 | python3-asgiref \ | 13 | python3-asgiref \ |
14 | python3-aspectlib \ | 14 | python3-aspectlib \ |
15 | python3-betamax \ | ||
15 | python3-bleak \ | 16 | python3-bleak \ |
16 | python3-blinker \ | 17 | python3-blinker \ |
18 | python3-breathe \ | ||
17 | python3-cachetools \ | 19 | python3-cachetools \ |
18 | python3-cbor2 \ | 20 | python3-cbor2 \ |
21 | python3-configobj \ | ||
19 | python3-click \ | 22 | python3-click \ |
20 | python3-dasbus \ | 23 | python3-dasbus \ |
21 | python3-dominate \ | 24 | python3-dominate \ |
25 | python3-dnspython \ | ||
26 | python3-evdev \ | ||
22 | python3-execnet \ | 27 | python3-execnet \ |
28 | python3-fastjsonschema \ | ||
29 | python3-fastnumbers \ | ||
23 | python3-flask \ | 30 | python3-flask \ |
24 | python3-flexcache \ | 31 | python3-flexcache \ |
25 | python3-flexparser \ | 32 | python3-flexparser \ |
26 | python3-freezegun \ | 33 | python3-freezegun \ |
34 | python3-fsspec \ | ||
27 | python3-geojson \ | 35 | python3-geojson \ |
28 | python3-google-auth-oauthlib \ | 36 | python3-google-auth-oauthlib \ |
29 | python3-gpiod \ | 37 | python3-gpiod \ |
38 | python3-gpt-image \ | ||
30 | python3-gunicorn \ | 39 | python3-gunicorn \ |
31 | python3-html2text \ | 40 | python3-html2text \ |
32 | python3-httptools \ | 41 | python3-httptools \ |
@@ -40,40 +49,55 @@ PTESTS_FAST_META_PYTHON = "\ | |||
40 | python3-msgpack \ | 49 | python3-msgpack \ |
41 | python3-multidict \ | 50 | python3-multidict \ |
42 | python3-netaddr \ | 51 | python3-netaddr \ |
52 | python3-objgraph \ | ||
43 | python3-ordered-set \ | 53 | python3-ordered-set \ |
54 | python3-outcome \ | ||
44 | python3-parse \ | 55 | python3-parse \ |
45 | python3-parse-type \ | 56 | python3-parse-type \ |
46 | python3-platformdirs \ | 57 | python3-platformdirs \ |
47 | python3-polyline \ | 58 | python3-polyline \ |
48 | python3-portalocker \ | 59 | python3-portalocker \ |
60 | python3-portion \ | ||
49 | python3-precise-runner \ | 61 | python3-precise-runner \ |
50 | python3-prettytable \ | 62 | python3-prettytable \ |
63 | python3-propcache \ | ||
64 | python3-pyais \ | ||
51 | python3-pydantic \ | 65 | python3-pydantic \ |
52 | python3-pydantic-core \ | 66 | python3-pydantic-core \ |
53 | python3-pylint \ | 67 | python3-pylint \ |
68 | python3-python-multipart \ | ||
54 | python3-ptyprocess \ | 69 | python3-ptyprocess \ |
55 | python3-py-cpuinfo \ | 70 | python3-py-cpuinfo \ |
56 | python3-pyasn1-modules \ | 71 | python3-pyasn1-modules \ |
57 | python3-pyroute2 \ | 72 | python3-pyroute2 \ |
58 | python3-pyserial \ | 73 | python3-pyserial \ |
59 | python3-pytest-mock \ | 74 | python3-pytest-mock \ |
75 | python3-pytest-sugar \ | ||
60 | python3-pytoml \ | 76 | python3-pytoml \ |
61 | python3-pyyaml-include \ | 77 | python3-pyyaml-include \ |
62 | python3-pydbus \ | 78 | python3-pydbus \ |
79 | python3-pyzmq \ | ||
80 | python3-pyzstd \ | ||
63 | python3-rapidjson \ | 81 | python3-rapidjson \ |
64 | python3-requests-file \ | 82 | python3-requests-file \ |
65 | python3-requests-toolbelt \ | 83 | python3-requests-toolbelt \ |
84 | python3-schedule \ | ||
66 | python3-semver \ | 85 | python3-semver \ |
67 | python3-serpent \ | 86 | python3-serpent \ |
68 | python3-service-identity \ | 87 | python3-service-identity \ |
88 | python3-setproctitle \ | ||
69 | python3-simpleeval \ | 89 | python3-simpleeval \ |
70 | python3-smpplib \ | 90 | python3-smpplib \ |
71 | python3-soupsieve \ | 91 | python3-soupsieve \ |
72 | python3-sqlparse \ | 92 | python3-sqlparse \ |
93 | python3-starlette \ | ||
73 | python3-tomli-w \ | 94 | python3-tomli-w \ |
74 | python3-tomlkit \ | 95 | python3-tomlkit \ |
75 | python3-trustme \ | 96 | python3-trustme \ |
76 | python3-typeguard \ | 97 | python3-typeguard \ |
98 | python3-typing-inspection \ | ||
99 | python3-tzdata \ | ||
100 | python3-uinput \ | ||
77 | python3-ujson \ | 101 | python3-ujson \ |
78 | python3-u-msgpack-python \ | 102 | python3-u-msgpack-python \ |
79 | python3-unidiff \ | 103 | python3-unidiff \ |
@@ -94,6 +118,8 @@ PTESTS_SLOW_META_PYTHON = "\ | |||
94 | python3-lz4 \ | 118 | python3-lz4 \ |
95 | python3-marshmallow \ | 119 | python3-marshmallow \ |
96 | python3-pillow \ | 120 | python3-pillow \ |
121 | python3-pint \ | ||
122 | python3-pykickstart \ | ||
97 | python3-pytest-localserver \ | 123 | python3-pytest-localserver \ |
98 | python3-scrypt \ | 124 | python3-scrypt \ |
99 | python3-traitlets \ | 125 | python3-traitlets \ |
@@ -101,11 +127,7 @@ PTESTS_SLOW_META_PYTHON = "\ | |||
101 | python3-yappi \ | 127 | python3-yappi \ |
102 | " | 128 | " |
103 | 129 | ||
104 | PTESTS_PROBLEMS_META_PYTHON ="\ | 130 | PTESTS_PROBLEMS_META_PYTHON = "\ |
105 | python3-betamax \ | 131 | python3-pyasyncore \ |
106 | python3-dnspython \ | 132 | tftpy \ |
107 | python3-fastjsonschema \ | ||
108 | python3-pint \ | ||
109 | python3-pyzmq \ | ||
110 | python3-whoosh \ | ||
111 | " | 133 | " |
diff --git a/meta-python/conf/layer.conf b/meta-python/conf/layer.conf index aaf620a433..b887accbf8 100644 --- a/meta-python/conf/layer.conf +++ b/meta-python/conf/layer.conf | |||
@@ -14,6 +14,38 @@ LAYERVERSION_meta-python = "1" | |||
14 | 14 | ||
15 | LAYERDEPENDS_meta-python = "core (>= 12) openembedded-layer" | 15 | LAYERDEPENDS_meta-python = "core (>= 12) openembedded-layer" |
16 | 16 | ||
17 | LAYERSERIES_COMPAT_meta-python = "styhead" | 17 | LAYERSERIES_COMPAT_meta-python = "walnascar whinlatter" |
18 | 18 | ||
19 | LICENSE_PATH += "${LAYERDIR}/licenses" | 19 | LICENSE_PATH += "${LAYERDIR}/licenses" |
20 | |||
21 | # List of known non-reproducible package of the meta-python layer | ||
22 | # Please keep this list sorted | ||
23 | OEQA_REPRODUCIBLE_EXCLUDED_PACKAGES += " \ | ||
24 | python3-evdev \ | ||
25 | python3-evdev-dbg \ | ||
26 | python3-evdev-src \ | ||
27 | python3-frozenlist \ | ||
28 | python3-frozenlist-dbg \ | ||
29 | python3-kivy-src \ | ||
30 | python3-lief \ | ||
31 | python3-mlcommons-loadgen \ | ||
32 | python3-mlcommons-loadgen-dbg \ | ||
33 | python3-mlcommons-loadgen-src \ | ||
34 | python3-pandas \ | ||
35 | python3-pandas-dbg \ | ||
36 | python3-pandas-src \ | ||
37 | python3-propcache \ | ||
38 | python3-propcache-dbg \ | ||
39 | python3-pybind11-json-dev \ | ||
40 | python3-pycocotools-src \ | ||
41 | python3-pydantic-core \ | ||
42 | python3-pynacl \ | ||
43 | python3-pynacl-dbg \ | ||
44 | python3-pynacl-src \ | ||
45 | python3-pyproj \ | ||
46 | python3-pyproj-dbg \ | ||
47 | python3-pyproj-src \ | ||
48 | python3-pyzmq \ | ||
49 | python3-yarl \ | ||
50 | python3-yarl-dbg \ | ||
51 | " | ||
diff --git a/meta-python/licenses/CRC32C-ADLER b/meta-python/licenses/CRC32C-ADLER deleted file mode 100644 index f1f0e94ee0..0000000000 --- a/meta-python/licenses/CRC32C-ADLER +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | This software is provided 'as-is', without any express or implied | ||
2 | warranty. In no event will the author be held liable for any damages | ||
3 | arising from the use of this software. | ||
4 | |||
5 | Permission is granted to anyone to use this software for any purpose, | ||
6 | including commercial applications, and to alter it and redistribute it | ||
7 | freely, subject to the following restrictions: | ||
8 | |||
9 | 1. The origin of this software must not be misrepresented; you must not | ||
10 | claim that you wrote the original software. If you use this software | ||
11 | in a product, an acknowledgment in the product documentation would be | ||
12 | appreciated but is not required. | ||
13 | 2. Altered source versions must be plainly marked as such, and must not be | ||
14 | misrepresented as being the original software. | ||
15 | 3. This notice may not be removed or altered from any source distribution. | ||
diff --git a/meta-python/recipes-connectivity/python-gsocketpool/python3-gsocketpool_0.1.6.bb b/meta-python/recipes-connectivity/python-gsocketpool/python3-gsocketpool_0.1.6.bb index 60ac18155f..4bd8fed68d 100644 --- a/meta-python/recipes-connectivity/python-gsocketpool/python3-gsocketpool_0.1.6.bb +++ b/meta-python/recipes-connectivity/python-gsocketpool/python3-gsocketpool_0.1.6.bb | |||
@@ -9,7 +9,6 @@ RDEPENDS:${PN} += " \ | |||
9 | python3-logging \ | 9 | python3-logging \ |
10 | " | 10 | " |
11 | 11 | ||
12 | SRC_URI[md5sum] = "49f5f292ef1b60944ae92ca426a5e550" | ||
13 | SRC_URI[sha256sum] = "f2e2749aceadce6b27ca52e2b0a64af99797746a8681e1a2963f72007c14cb14" | 12 | SRC_URI[sha256sum] = "f2e2749aceadce6b27ca52e2b0a64af99797746a8681e1a2963f72007c14cb14" |
14 | 13 | ||
15 | inherit pypi setuptools3 | 14 | inherit pypi setuptools3 |
diff --git a/meta-python/recipes-connectivity/python-h2/python3-h2_4.1.0.bb b/meta-python/recipes-connectivity/python-h2/python3-h2_4.2.0.bb index 6b3ce25371..55b534ebbf 100644 --- a/meta-python/recipes-connectivity/python-h2/python3-h2_4.1.0.bb +++ b/meta-python/recipes-connectivity/python-h2/python3-h2_4.2.0.bb | |||
@@ -4,8 +4,8 @@ LICENSE = "MIT" | |||
4 | 4 | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=aa3b9b4395563dd427be5f022ec321c1" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=aa3b9b4395563dd427be5f022ec321c1" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "a83aca08fbe7aacb79fec788c9c0bac936343560ed9ec18b82a13a12c28d2abb" | 7 | SRC_URI[sha256sum] = "c8a52129695e88b1a0578d8d2cc6842bbd79128ac685463b887ee278126ad01f" |
8 | 8 | ||
9 | inherit pypi setuptools3 | 9 | inherit pypi python_setuptools_build_meta |
10 | 10 | ||
11 | RDEPENDS:${PN} += "python3-hpack python3-hyperframe" | 11 | RDEPENDS:${PN} += "python3-hpack python3-hyperframe" |
diff --git a/meta-python/recipes-connectivity/python-hpack/python3-hpack_4.0.0.bb b/meta-python/recipes-connectivity/python-hpack/python3-hpack_4.1.0.bb index 0297cb8c27..a5b9130d00 100644 --- a/meta-python/recipes-connectivity/python-hpack/python3-hpack_4.0.0.bb +++ b/meta-python/recipes-connectivity/python-hpack/python3-hpack_4.1.0.bb | |||
@@ -4,9 +4,8 @@ LICENSE = "MIT" | |||
4 | 4 | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5bf1c68e73fbaec2b1687b7e71514393" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5bf1c68e73fbaec2b1687b7e71514393" |
6 | 6 | ||
7 | SRC_URI[md5sum] = "27e01514ef06dc9fa0798d3dcb7de47c" | 7 | SRC_URI[sha256sum] = "ec5eca154f7056aa06f196a557655c5b009b382873ac8d1e66e79e87535f1dca" |
8 | SRC_URI[sha256sum] = "fc41de0c63e687ebffde81187a948221294896f6bdc0ae2312708df339430095" | ||
9 | 8 | ||
10 | inherit pypi setuptools3 | 9 | inherit pypi python_setuptools_build_meta |
11 | 10 | ||
12 | RDEPENDS:${PN} += "python3-logging" | 11 | RDEPENDS:${PN} += "python3-logging" |
diff --git a/meta-python/recipes-connectivity/python-hyperframe/python3-hyperframe_6.0.1.bb b/meta-python/recipes-connectivity/python-hyperframe/python3-hyperframe_6.1.0.bb index 2d46e96112..0d4bfcc584 100644 --- a/meta-python/recipes-connectivity/python-hyperframe/python3-hyperframe_6.0.1.bb +++ b/meta-python/recipes-connectivity/python-hyperframe/python3-hyperframe_6.1.0.bb | |||
@@ -4,6 +4,6 @@ LICENSE = "MIT" | |||
4 | 4 | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5bf1c68e73fbaec2b1687b7e71514393" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5bf1c68e73fbaec2b1687b7e71514393" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "ae510046231dc8e9ecb1a6586f63d2347bf4c8905914aa84ba585ae85f28a914" | 7 | SRC_URI[sha256sum] = "f630908a00854a7adeabd6382b43923a4c4cd4b821fcb527e6ab9e15382a3b08" |
8 | 8 | ||
9 | inherit pypi setuptools3 | 9 | inherit pypi python_setuptools_build_meta |
diff --git a/meta-python/recipes-connectivity/python-pyconnman/python3-pyconnman_0.2.0.bb b/meta-python/recipes-connectivity/python-pyconnman/python3-pyconnman_0.2.0.bb index 359a2918cf..040f1acc92 100644 --- a/meta-python/recipes-connectivity/python-pyconnman/python3-pyconnman_0.2.0.bb +++ b/meta-python/recipes-connectivity/python-pyconnman/python3-pyconnman_0.2.0.bb | |||
@@ -4,7 +4,6 @@ LICENSE = "Apache-2.0" | |||
4 | 4 | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" |
6 | 6 | ||
7 | SRC_URI[md5sum] = "d60bdffbd9c920f005fdc5e05a8b94cd" | ||
8 | SRC_URI[sha256sum] = "d3a63a039c82b08a1171b003eafa62c6f128aa4eaa1ce7a55a9401b48f9ad926" | 7 | SRC_URI[sha256sum] = "d3a63a039c82b08a1171b003eafa62c6f128aa4eaa1ce7a55a9401b48f9ad926" |
9 | 8 | ||
10 | inherit pypi setuptools3 | 9 | inherit pypi setuptools3 |
diff --git a/meta-python/recipes-connectivity/python-pyro4/python3-pyro4_4.82.bb b/meta-python/recipes-connectivity/python-pyro4/python3-pyro4_4.82.bb index c49e67c919..9f5e6d6dba 100644 --- a/meta-python/recipes-connectivity/python-pyro4/python3-pyro4_4.82.bb +++ b/meta-python/recipes-connectivity/python-pyro4/python3-pyro4_4.82.bb | |||
@@ -5,6 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=cd13dafd4eeb0802bb6efea6b4a4bdbc" | |||
5 | SRC_URI[sha256sum] = "511f5b0804e92dd77dc33adf9c947787e3f9e9c5a96b12162f0557a7c4ce21fb" | 5 | SRC_URI[sha256sum] = "511f5b0804e92dd77dc33adf9c947787e3f9e9c5a96b12162f0557a7c4ce21fb" |
6 | 6 | ||
7 | PYPI_PACKAGE = "Pyro4" | 7 | PYPI_PACKAGE = "Pyro4" |
8 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
8 | 9 | ||
9 | inherit pypi setuptools3 | 10 | inherit pypi setuptools3 |
10 | 11 | ||
diff --git a/meta-python/recipes-connectivity/python-thrift/python3-thrift_0.20.0.bb b/meta-python/recipes-connectivity/python-thrift/python3-thrift_0.22.0.bb index 6a0a66aef5..2dba3d48a6 100644 --- a/meta-python/recipes-connectivity/python-thrift/python3-thrift_0.20.0.bb +++ b/meta-python/recipes-connectivity/python-thrift/python3-thrift_0.22.0.bb | |||
@@ -2,7 +2,7 @@ SUMMARY = "Python bindings for the Apache Thrift RPC system" | |||
2 | LICENSE = "Apache-2.0" | 2 | LICENSE = "Apache-2.0" |
3 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=7145f7cdd263359b62d342a02f005515" | 3 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=7145f7cdd263359b62d342a02f005515" |
4 | 4 | ||
5 | SRC_URI[sha256sum] = "4dd662eadf6b8aebe8a41729527bd69adf6ceaa2a8681cbef64d1273b3e8feba" | 5 | SRC_URI[sha256sum] = "42e8276afbd5f54fe1d364858b6877bc5e5a4a5ed69f6a005b94ca4918fe1466" |
6 | 6 | ||
7 | inherit pypi setuptools3 | 7 | inherit pypi setuptools3 |
8 | 8 | ||
diff --git a/meta-python/recipes-connectivity/python-txws/python3-txws_0.9.1.bb b/meta-python/recipes-connectivity/python-txws/python3-txws_0.9.1.bb index ab39606bdb..205775ef63 100644 --- a/meta-python/recipes-connectivity/python-txws/python3-txws_0.9.1.bb +++ b/meta-python/recipes-connectivity/python-txws/python3-txws_0.9.1.bb | |||
@@ -12,8 +12,7 @@ RDEPENDS:${PN} += " \ | |||
12 | " | 12 | " |
13 | 13 | ||
14 | SRC_URI = "git://github.com/MostAwesomeDude/txWS.git;branch=master;protocol=https" | 14 | SRC_URI = "git://github.com/MostAwesomeDude/txWS.git;branch=master;protocol=https" |
15 | SRCREV= "88cf6d9b9b685ffa1720644bd53c742afb10a414" | 15 | SRCREV = "88cf6d9b9b685ffa1720644bd53c742afb10a414" |
16 | 16 | ||
17 | S = "${WORKDIR}/git" | ||
18 | 17 | ||
19 | inherit setuptools3 | 18 | inherit setuptools3 |
diff --git a/meta-python/recipes-connectivity/telepathy/telepathy-python3_0.15.19.bb b/meta-python/recipes-connectivity/telepathy/telepathy-python3_0.15.19.bb index 23c2165047..a6395b9e47 100644 --- a/meta-python/recipes-connectivity/telepathy/telepathy-python3_0.15.19.bb +++ b/meta-python/recipes-connectivity/telepathy/telepathy-python3_0.15.19.bb | |||
@@ -1,5 +1,5 @@ | |||
1 | SUMMARY = "Telepathy IM framework - Python package" | 1 | SUMMARY = "Telepathy IM framework - Python package" |
2 | HOMEPAGE = "http://telepathy.freedesktop.org/wiki/" | 2 | HOMEPAGE = "https://telepathy.freedesktop.org/wiki/" |
3 | LICENSE = "LGPL-2.1-or-later" | 3 | LICENSE = "LGPL-2.1-or-later" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1 \ | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1 \ |
5 | file://src/utils.py;beginline=1;endline=17;md5=9a07d1a9791a7429a14e7b25c6c86822" | 5 | file://src/utils.py;beginline=1;endline=17;md5=9a07d1a9791a7429a14e7b25c6c86822" |
@@ -12,11 +12,10 @@ SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-python/telepathy- | |||
12 | file://telepathy-python_fix_for_automake_1.12.patch" | 12 | file://telepathy-python_fix_for_automake_1.12.patch" |
13 | 13 | ||
14 | 14 | ||
15 | S = "${WORKDIR}/telepathy-python-${PV}" | 15 | S = "${UNPACKDIR}/telepathy-python-${PV}" |
16 | 16 | ||
17 | inherit autotools python3native | 17 | inherit autotools python3native |
18 | 18 | ||
19 | SRC_URI[md5sum] = "f7ca25ab3c88874015b7e9728f7f3017" | ||
20 | SRC_URI[sha256sum] = "244c0e1bf4bbd78ae298ea659fe10bf3a73738db550156767cc2477aedf72376" | 19 | SRC_URI[sha256sum] = "244c0e1bf4bbd78ae298ea659fe10bf3a73738db550156767cc2477aedf72376" |
21 | 20 | ||
22 | FILES:${PN} += "\ | 21 | FILES:${PN} += "\ |
diff --git a/meta-python/recipes-core/images/meta-python-image-ptest-all.bb b/meta-python/recipes-core/images/meta-python-image-ptest-all.bb index d6708c5fd0..56c392f036 100644 --- a/meta-python/recipes-core/images/meta-python-image-ptest-all.bb +++ b/meta-python/recipes-core/images/meta-python-image-ptest-all.bb | |||
@@ -9,7 +9,7 @@ REQUIRED_DISTRO_FEATURES = "ptest" | |||
9 | require conf/include/ptest-packagelists-meta-python.inc | 9 | require conf/include/ptest-packagelists-meta-python.inc |
10 | 10 | ||
11 | # Include the full set of ptests | 11 | # Include the full set of ptests |
12 | PTESTS_META_PYTHON = "${PTESTS_FAST_META_PYTHON} ${PTESTS_SLOW_META_PYTHON} ${PTESTS_PROBLEMS_META_PYTHON}" | 12 | PTESTS_META_PYTHON = "${PTESTS_FAST_META_PYTHON} ${PTESTS_SLOW_META_PYTHON}" |
13 | 13 | ||
14 | do_testimage[noexec] = "1" | 14 | do_testimage[noexec] = "1" |
15 | do_testimage[depends] = "${@' '.join(['meta-python-image-ptest-'+x+':do_testimage' for x in d.getVar('PTESTS_META_PYTHON').split()])}" | 15 | do_testimage[depends] = "${@' '.join(['meta-python-image-ptest-'+x+':do_testimage' for x in d.getVar('PTESTS_META_PYTHON').split()])}" |
diff --git a/meta-python/recipes-core/images/meta-python-image-ptest.bb b/meta-python/recipes-core/images/meta-python-image-ptest.bb index 002bd7a39e..794b9d1e4d 100644 --- a/meta-python/recipes-core/images/meta-python-image-ptest.bb +++ b/meta-python/recipes-core/images/meta-python-image-ptest.bb | |||
@@ -29,7 +29,8 @@ QB_MEM = "-m 1024" | |||
29 | #QB_MEM:virtclass-mcextend-<pn> = "-m 4096" | 29 | #QB_MEM:virtclass-mcextend-<pn> = "-m 4096" |
30 | # python3-scrypt ptests run into OOMs on RISCV64 qemu | 30 | # python3-scrypt ptests run into OOMs on RISCV64 qemu |
31 | QB_MEM:virtclass-mcextend-python3-scrypt = "-m 2048" | 31 | QB_MEM:virtclass-mcextend-python3-scrypt = "-m 2048" |
32 | QB_MEM:virtclass-mcextend-python3-fastjsonschema = "-m 2048" | 32 | # Needs atleast 5G to avoid OOMs |
33 | QB_MEM:virtclass-mcextend-python3-fastjsonschema = "-m 5120" | ||
33 | QB_MEM:virtclass-mcextend-python3-pillow = "-m 2048" | 34 | QB_MEM:virtclass-mcextend-python3-pillow = "-m 2048" |
34 | 35 | ||
35 | TEST_SUITES = "ping ssh parselogs ptest" | 36 | TEST_SUITES = "ping ssh parselogs ptest" |
diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb index 8850f8eb9a..21b79b9c50 100644 --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb | |||
@@ -69,7 +69,6 @@ RDEPENDS:packagegroup-meta-python3 = "\ | |||
69 | python3-click-repl \ | 69 | python3-click-repl \ |
70 | python3-click-spinner \ | 70 | python3-click-spinner \ |
71 | python3-cmd2 \ | 71 | python3-cmd2 \ |
72 | python3-colorama \ | ||
73 | python3-coloredlogs \ | 72 | python3-coloredlogs \ |
74 | python3-colorlog \ | 73 | python3-colorlog \ |
75 | python3-colorzero \ | 74 | python3-colorzero \ |
@@ -196,7 +195,6 @@ RDEPENDS:packagegroup-meta-python3 = "\ | |||
196 | python3-ipython \ | 195 | python3-ipython \ |
197 | python3-ipython-genutils \ | 196 | python3-ipython-genutils \ |
198 | python3-iso3166 \ | 197 | python3-iso3166 \ |
199 | python3-isodate \ | ||
200 | python3-isort \ | 198 | python3-isort \ |
201 | python3-itsdangerous \ | 199 | python3-itsdangerous \ |
202 | python3-javaobj-py3 \ | 200 | python3-javaobj-py3 \ |
@@ -236,6 +234,7 @@ RDEPENDS:packagegroup-meta-python3 = "\ | |||
236 | python3-mccabe \ | 234 | python3-mccabe \ |
237 | python3-meh \ | 235 | python3-meh \ |
238 | python3-meld3 \ | 236 | python3-meld3 \ |
237 | python3-mlcommons-loadgen \ | ||
239 | python3-mock \ | 238 | python3-mock \ |
240 | python3-monotonic \ | 239 | python3-monotonic \ |
241 | python3-mpmath \ | 240 | python3-mpmath \ |
@@ -249,6 +248,7 @@ RDEPENDS:packagegroup-meta-python3 = "\ | |||
249 | python3-netaddr \ | 248 | python3-netaddr \ |
250 | python3-netifaces \ | 249 | python3-netifaces \ |
251 | python3-networkx \ | 250 | python3-networkx \ |
251 | python3-nltk \ | ||
252 | python3-nmap \ | 252 | python3-nmap \ |
253 | python3-nocasedict \ | 253 | python3-nocasedict \ |
254 | python3-nocaselist \ | 254 | python3-nocaselist \ |
@@ -380,6 +380,7 @@ RDEPENDS:packagegroup-meta-python3 = "\ | |||
380 | python3-rlp \ | 380 | python3-rlp \ |
381 | python3-robotframework \ | 381 | python3-robotframework \ |
382 | python3-robotframework-seriallibrary \ | 382 | python3-robotframework-seriallibrary \ |
383 | python3-rouge-score \ | ||
383 | python3-rsa \ | 384 | python3-rsa \ |
384 | python3-ruamel-yaml \ | 385 | python3-ruamel-yaml \ |
385 | python3-scrypt \ | 386 | python3-scrypt \ |
@@ -452,7 +453,6 @@ RDEPENDS:packagegroup-meta-python3 = "\ | |||
452 | python3-websocket-client \ | 453 | python3-websocket-client \ |
453 | python3-werkzeug \ | 454 | python3-werkzeug \ |
454 | python3-werkzeug \ | 455 | python3-werkzeug \ |
455 | python3-whoosh \ | ||
456 | python3-wrapt \ | 456 | python3-wrapt \ |
457 | python3-wtforms \ | 457 | python3-wtforms \ |
458 | python3-xlrd \ | 458 | python3-xlrd \ |
@@ -466,6 +466,7 @@ RDEPENDS:packagegroup-meta-python3 = "\ | |||
466 | python3-yappi \ | 466 | python3-yappi \ |
467 | python3-yarl \ | 467 | python3-yarl \ |
468 | python3-zopeinterface \ | 468 | python3-zopeinterface \ |
469 | python3-zstandard \ | ||
469 | telepathy-python3 \ | 470 | telepathy-python3 \ |
470 | unattended-upgrades \ | 471 | unattended-upgrades \ |
471 | " | 472 | " |
@@ -524,7 +525,6 @@ RDEPENDS:packagegroup-meta-python3-ptest = "\ | |||
524 | python3-unidiff-ptest \ | 525 | python3-unidiff-ptest \ |
525 | python3-uritemplate-ptest \ | 526 | python3-uritemplate-ptest \ |
526 | python3-webcolors-ptest \ | 527 | python3-webcolors-ptest \ |
527 | python3-whoosh-ptest \ | ||
528 | python3-wpa-supplicant \ | 528 | python3-wpa-supplicant \ |
529 | python3-xlrd-ptest \ | 529 | python3-xlrd-ptest \ |
530 | python3-xmltodict-ptest \ | 530 | python3-xmltodict-ptest \ |
diff --git a/meta-python/recipes-devtools/gyp/gyp_git.bb b/meta-python/recipes-devtools/gyp/gyp_git.bb index 6ac4228a8b..668aaa5340 100644 --- a/meta-python/recipes-devtools/gyp/gyp_git.bb +++ b/meta-python/recipes-devtools/gyp/gyp_git.bb | |||
@@ -8,7 +8,6 @@ SRC_URI = "git://chromium.googlesource.com/external/gyp;protocol=https;branch=ma | |||
8 | " | 8 | " |
9 | SRCREV = "a03d7413becefc8d55c8aa3df58b55b9bd0e9052" | 9 | SRCREV = "a03d7413becefc8d55c8aa3df58b55b9bd0e9052" |
10 | 10 | ||
11 | S = "${WORKDIR}/git" | ||
12 | PV = "0.1+git" | 11 | PV = "0.1+git" |
13 | 12 | ||
14 | inherit setuptools3 | 13 | inherit setuptools3 |
diff --git a/meta-python/recipes-devtools/python/pamela_1.1.0.bb b/meta-python/recipes-devtools/python/pamela_1.1.0.bb deleted file mode 100644 index 3573de551d..0000000000 --- a/meta-python/recipes-devtools/python/pamela_1.1.0.bb +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | DESCRIPTION = "Pamela: yet another Python wrapper for PAM" | ||
2 | LICENSE = "MIT" | ||
3 | LIC_FILES_CHKSUM = "file://PKG-INFO;md5=6b706db92112b8384848de3e5c6adaa3" | ||
4 | |||
5 | SRC_URI[sha256sum] = "d4b139fe600e192e176a2a368059207a6bffa0e7879879b13f4fcba0163481be" | ||
6 | |||
7 | PYPI_PACKAGE = "pamela" | ||
8 | |||
9 | inherit pypi setuptools3 | ||
10 | |||
11 | RDEPENDS:${PN} = "libpam" | ||
12 | |||
13 | inherit features_check | ||
14 | REQUIRED_DISTRO_FEATURES = "pam" | ||
diff --git a/meta-python/recipes-devtools/python/pamela_1.2.0.bb b/meta-python/recipes-devtools/python/pamela_1.2.0.bb new file mode 100644 index 0000000000..d343458aea --- /dev/null +++ b/meta-python/recipes-devtools/python/pamela_1.2.0.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | DESCRIPTION = "Pamela: yet another Python wrapper for PAM" | ||
2 | LICENSE = "MIT" | ||
3 | LIC_FILES_CHKSUM = "file://PKG-INFO;md5=b5fa9af58a8076d81145be56b6801a2b" | ||
4 | |||
5 | SRC_URI[sha256sum] = "0ea6e2a99dded8c7783a4a06f2d31f5bdcad894d79101e8f09322e387a34aacf" | ||
6 | |||
7 | PYPI_PACKAGE = "pamela" | ||
8 | |||
9 | inherit pypi python_setuptools_build_meta | ||
10 | |||
11 | RDEPENDS:${PN} = "libpam" | ||
12 | |||
13 | inherit features_check | ||
14 | REQUIRED_DISTRO_FEATURES = "pam" | ||
diff --git a/meta-python/recipes-devtools/python/pyrtm_0.4.2.bb b/meta-python/recipes-devtools/python/pyrtm_0.4.2.bb index ed4e588509..cf800c9588 100644 --- a/meta-python/recipes-devtools/python/pyrtm_0.4.2.bb +++ b/meta-python/recipes-devtools/python/pyrtm_0.4.2.bb | |||
@@ -4,7 +4,6 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=a53cbc7cb75660694e | |||
4 | 4 | ||
5 | PYPI_PACKAGE_EXT = "tar.bz2" | 5 | PYPI_PACKAGE_EXT = "tar.bz2" |
6 | 6 | ||
7 | SRC_URI[md5sum] = "7c87da94656b620dfe532ca63d642eb8" | ||
8 | SRC_URI[sha256sum] = "b2d701b25ad3f9a1542057f3eb492c5c1d7dbe2b8d1e8f763043dcc14ee1d933" | 7 | SRC_URI[sha256sum] = "b2d701b25ad3f9a1542057f3eb492c5c1d7dbe2b8d1e8f763043dcc14ee1d933" |
9 | 8 | ||
10 | inherit pypi setuptools3 | 9 | inherit pypi setuptools3 |
diff --git a/meta-python/recipes-devtools/python/python-django-south.inc b/meta-python/recipes-devtools/python/python-django-south.inc deleted file mode 100644 index 28eb84c563..0000000000 --- a/meta-python/recipes-devtools/python/python-django-south.inc +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | SUMMARY = "Migrations for Django" | ||
2 | DESCRIPTION = "South is an intelligent database migrations library for the Django web framework. It is database-independent and DVCS-friendly, as well as a whole host of other features." | ||
3 | HOMEPAGE = "http://south.aeracode.org/" | ||
4 | LICENSE = "Apache-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=17;endline=18;md5=2155d8ae21e7c23101d5febac696b27e" | ||
6 | |||
7 | SRC_URI[md5sum] = "c76a9758b2011bc3b6c39f881bba2f66" | ||
8 | SRC_URI[sha256sum] = "d360bd31898f9df59f6faa786551065bba45b35e7ee3c39b381b4fbfef7392f4" | ||
9 | |||
10 | PYPI_PACKAGE = "South" | ||
11 | inherit pypi | ||
12 | |||
13 | BBCLASSEXTEND = "native nativesdk" | ||
14 | |||
15 | RDEPENDS:${PN} += "\ | ||
16 | python3-django \ | ||
17 | " | ||
diff --git a/meta-python/recipes-devtools/python/python-flask-bootstrap.inc b/meta-python/recipes-devtools/python/python-flask-bootstrap.inc deleted file mode 100644 index 24c76ce942..0000000000 --- a/meta-python/recipes-devtools/python/python-flask-bootstrap.inc +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | DESCRIPTION = "An extension that includes Bootstrap in your project, without any boilerplate code." | ||
2 | LICENSE = "Apache-2.0 & MIT & BSD-3-Clause" | ||
3 | LIC_FILES_CHKSUM = "file://PKG-INFO;md5=a03749709f06118a17349deb5a210619" | ||
4 | |||
5 | SRC_URI[md5sum] = "e40d50f5c5b6438c1c6200a6f2871f81" | ||
6 | SRC_URI[sha256sum] = "cb08ed940183f6343a64e465e83b3a3f13c53e1baabb8d72b5da4545ef123ac8" | ||
7 | |||
8 | PYPI_PACKAGE = "Flask-Bootstrap" | ||
9 | |||
10 | RDEPENDS:${PN} += "\ | ||
11 | python3-dominate \ | ||
12 | python3-flask \ | ||
13 | python3-visitor \ | ||
14 | " | ||
diff --git a/meta-python/recipes-devtools/python/python-flask-sijax.inc b/meta-python/recipes-devtools/python/python-flask-sijax.inc deleted file mode 100644 index 239c843fce..0000000000 --- a/meta-python/recipes-devtools/python/python-flask-sijax.inc +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | DESCRIPTION = "An extension for the Flask microframework that adds Sijax support." | ||
2 | HOMEPAGE = "https://github.com/spantaleev/flask-sijax" | ||
3 | LICENSE = "BSD-3-Clause" | ||
4 | |||
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=266adc7b911b7c84b837bf77196e1ba6" | ||
6 | |||
7 | PYPI_PACKAGE = "Flask-Sijax" | ||
8 | RDEPENDS:${PN} += " \ | ||
9 | python3-flask \ | ||
10 | python3-sijax \ | ||
11 | python3-werkzeug \ | ||
12 | " | ||
diff --git a/meta-python/recipes-devtools/python/python-flask-xstatic.inc b/meta-python/recipes-devtools/python/python-flask-xstatic.inc deleted file mode 100644 index 8434d2610b..0000000000 --- a/meta-python/recipes-devtools/python/python-flask-xstatic.inc +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | DESCRIPTION = "XStatic support for flask" | ||
2 | LICENSE = "BSD-2-Clause" | ||
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=659968f6ebd4b70b6c3190d20b4a924c" | ||
4 | |||
5 | SRC_URI[md5sum] = "2f56023e1444c8bd1fec41afe93de743" | ||
6 | SRC_URI[sha256sum] = "226ea8e97065a9488b59bfe5c94af4c6e2ea70a25052e301fb231a1381490133" | ||
7 | |||
8 | FILESEXTRAPATHS:prepend := "${THISDIR}/python-flask-xstatic:" | ||
9 | SRC_URI += "file://remove-pip-requires.patch" | ||
10 | |||
11 | PYPI_PACKAGE = "Flask-XStatic" | ||
12 | |||
13 | RDEPENDS:${PN} += "\ | ||
14 | python3-flask \ | ||
15 | python3-xstatic \ | ||
16 | " | ||
diff --git a/meta-python/recipes-devtools/python/python-libusb1_3.1.0.bb b/meta-python/recipes-devtools/python/python-libusb1_3.1.0.bb deleted file mode 100644 index 3d7765607c..0000000000 --- a/meta-python/recipes-devtools/python/python-libusb1_3.1.0.bb +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | SUMMARY = "Pure-python wrapper for libusb-1.0" | ||
2 | HOMEPAGE = "http://github.com/vpelletier/python-libusb1" | ||
3 | LICENSE = "GPL-2.0-only & LGPL-2.1-only" | ||
4 | LIC_FILES_CHKSUM = " \ | ||
5 | file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ | ||
6 | file://COPYING.LESSER;md5=4fbd65380cdd255951079008b364516c \ | ||
7 | " | ||
8 | |||
9 | SRC_URI = "https://github.com/vpelletier/${BPN}/releases/download/${PV}/libusb1-${PV}.tar.gz" | ||
10 | SRC_URI[md5sum] = "7b4f094786d1dfc8d011c7649d8ccb97" | ||
11 | SRC_URI[sha256sum] = "4ee9b0a55f8bd0b3ea7017ae919a6c1f439af742c4a4b04543c5fd7af89b828c" | ||
12 | |||
13 | S = "${WORKDIR}/libusb1-${PV}" | ||
14 | |||
15 | RDEPENDS:${PN} = "libusb1" | ||
16 | |||
17 | inherit setuptools3 | ||
diff --git a/meta-python/recipes-devtools/python/python3-a2wsgi/run-ptest b/meta-python/recipes-devtools/python/python3-a2wsgi/run-ptest index 8d2017d39c..951c73a6cf 100644 --- a/meta-python/recipes-devtools/python/python3-a2wsgi/run-ptest +++ b/meta-python/recipes-devtools/python/python3-a2wsgi/run-ptest | |||
@@ -1,3 +1,3 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | pytest --automake | 3 | pytest --automake --deselect tests/test_asgi.py::test_baize_stream_response |
diff --git a/meta-python/recipes-devtools/python/python3-a2wsgi_1.10.4.bb b/meta-python/recipes-devtools/python/python3-a2wsgi_1.10.10.bb index e6b980266e..699fc2daa2 100644 --- a/meta-python/recipes-devtools/python/python3-a2wsgi_1.10.4.bb +++ b/meta-python/recipes-devtools/python/python3-a2wsgi_1.10.10.bb | |||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e10d05d29ec6d8be8bfc503683f1bc9a" | |||
5 | 5 | ||
6 | inherit pypi python_setuptools_build_meta ptest | 6 | inherit pypi python_setuptools_build_meta ptest |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "50e81ac55aa609fa2c666e42bacc25c424c8884ce6072f1a7e902114b7ee5d63" | 8 | SRC_URI[sha256sum] = "a5bcffb52081ba39df0d5e9a884fc6f819d92e3a42389343ba77cbf809fe1f45" |
9 | 9 | ||
10 | DEPENDS += " \ | 10 | DEPENDS += " \ |
11 | python3-pdm-native \ | 11 | python3-pdm-native \ |
@@ -20,6 +20,7 @@ RDEPENDS:${PN}-ptest += " \ | |||
20 | python3-httpx \ | 20 | python3-httpx \ |
21 | python3-pytest \ | 21 | python3-pytest \ |
22 | python3-pytest-asyncio \ | 22 | python3-pytest-asyncio \ |
23 | python3-starlette \ | ||
23 | python3-unittest-automake-output \ | 24 | python3-unittest-automake-output \ |
24 | " | 25 | " |
25 | 26 | ||
diff --git a/meta-python/recipes-devtools/python/python3-aiodns_3.2.0.bb b/meta-python/recipes-devtools/python/python3-aiodns_3.5.0.bb index bf3f1312d2..a714e3ad1a 100644 --- a/meta-python/recipes-devtools/python/python3-aiodns_3.2.0.bb +++ b/meta-python/recipes-devtools/python/python3-aiodns_3.5.0.bb | |||
@@ -2,9 +2,9 @@ SUMMARY = "Simple DNS resolver for asyncio" | |||
2 | DESCRIPTION = "aiodns provides a simple way for doing asynchronous DNS resolutions using pycares." | 2 | DESCRIPTION = "aiodns provides a simple way for doing asynchronous DNS resolutions using pycares." |
3 | HOMEPAGE = "https://github.com/saghul/aiodns" | 3 | HOMEPAGE = "https://github.com/saghul/aiodns" |
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a565d8b5d06b9620968a135a2657b093" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d574ab425d1fcb37c9f1ad3961f18527" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "62869b23409349c21b072883ec8998316b234c9a9e36675756e8e317e8768f72" | 7 | SRC_URI[sha256sum] = "11264edbab51896ecf546c18eb0dd56dff0428c6aa6d2cd87e643e07300eb310" |
8 | 8 | ||
9 | PYPI_PACKAGE = "aiodns" | 9 | PYPI_PACKAGE = "aiodns" |
10 | 10 | ||
diff --git a/meta-python/recipes-devtools/python/python3-aiofiles_23.2.1.bb b/meta-python/recipes-devtools/python/python3-aiofiles_24.1.0.bb index 73dc17423e..1e9ebdf97d 100644 --- a/meta-python/recipes-devtools/python/python3-aiofiles_23.2.1.bb +++ b/meta-python/recipes-devtools/python/python3-aiofiles_24.1.0.bb | |||
@@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/aio-libs/aiohttp" | |||
4 | LICENSE = "Apache-2.0" | 4 | LICENSE = "Apache-2.0" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "84ec2218d8419404abcb9f0c02df3f34c6e0a68ed41072acfb1cef5cbc29051a" | 7 | SRC_URI[sha256sum] = "22a075c9e5a3810f0c2e48f3008c94d68c65d763b9b03857924c99e57355166c" |
8 | 8 | ||
9 | PYPI_PACKAGE = "aiofiles" | 9 | PYPI_PACKAGE = "aiofiles" |
10 | 10 | ||
diff --git a/meta-python/recipes-devtools/python/python3-aiohappyeyeballs_2.3.2.bb b/meta-python/recipes-devtools/python/python3-aiohappyeyeballs_2.6.1.bb index edad28e772..441016fd23 100644 --- a/meta-python/recipes-devtools/python/python3-aiohappyeyeballs_2.3.2.bb +++ b/meta-python/recipes-devtools/python/python3-aiohappyeyeballs_2.6.1.bb | |||
@@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/aio-libs/aiohappyeyeballs" | |||
4 | LICENSE = "PSF-2.0" | 4 | LICENSE = "PSF-2.0" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=fcf6b249c2641540219a727f35d8d2c2" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=fcf6b249c2641540219a727f35d8d2c2" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "77e15a733090547a1f5369a1287ddfc944bd30df0eb8993f585259c34b405f4e" | 7 | SRC_URI[sha256sum] = "c3f9d0113123803ccadfdf3f0faa505bc78e6a72d1cc4806cbd719826e943558" |
8 | 8 | ||
9 | inherit pypi python_poetry_core | 9 | inherit pypi python_poetry_core |
10 | 10 | ||
diff --git a/meta-python/recipes-devtools/python/python3-aiohttp_3.9.5.bb b/meta-python/recipes-devtools/python/python3-aiohttp_3.11.18.bb index 57adb1eeba..898871fe00 100644 --- a/meta-python/recipes-devtools/python/python3-aiohttp_3.9.5.bb +++ b/meta-python/recipes-devtools/python/python3-aiohttp_3.11.18.bb | |||
@@ -4,9 +4,8 @@ HOMEPAGE = "https://github.com/aio-libs/aiohttp" | |||
4 | LICENSE = "Apache-2.0" | 4 | LICENSE = "Apache-2.0" |
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=748073912af33aa59430d3702aa32d41" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=748073912af33aa59430d3702aa32d41" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "edea7d15772ceeb29db4aff55e482d4bcfb6ae160ce144f2682de02f6d693551" | 7 | SRC_URI[sha256sum] = "ae856e1138612b7e412db63b7708735cff4d38d0399f6a5435d3dac2669f558a" |
8 | 8 | ||
9 | PYPI_PACKAGE = "aiohttp" | ||
10 | inherit python_setuptools_build_meta pypi | 9 | inherit python_setuptools_build_meta pypi |
11 | 10 | ||
12 | RDEPENDS:${PN} = "\ | 11 | RDEPENDS:${PN} = "\ |
diff --git a/meta-python/recipes-devtools/python/python3-aiohue_4.7.1.bb b/meta-python/recipes-devtools/python/python3-aiohue_4.7.4.bb index 438c771dbc..45d23408a1 100644 --- a/meta-python/recipes-devtools/python/python3-aiohue_4.7.1.bb +++ b/meta-python/recipes-devtools/python/python3-aiohue_4.7.4.bb | |||
@@ -4,13 +4,12 @@ SECTION = "devel/python" | |||
4 | LICENSE = "Apache-2.0" | 4 | LICENSE = "Apache-2.0" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=dab31a1d28183826937f4b152143a33f" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=dab31a1d28183826937f4b152143a33f" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "29b5e5ae05938cac195b1969e70bd6ad4e4e2e105d0e565849803d2a99ff47d1" | 7 | SRC_URI[sha256sum] = "0764d934c0d198e450364bc47e87025108aef07b5280602890e9be2972d85a91" |
8 | 8 | ||
9 | inherit pypi python_setuptools_build_meta | 9 | inherit pypi python_setuptools_build_meta |
10 | 10 | ||
11 | RDEPENDS:${PN} += " \ | 11 | RDEPENDS:${PN} += "\ |
12 | python3-aiohttp \ | 12 | python3-aiohttp \ |
13 | python3-asyncio-throttle \ | 13 | python3-asyncio-throttle \ |
14 | python3-profile \ | 14 | python3-awesomeversion \ |
15 | python3-awesomeversion \ | ||
16 | " | 15 | " |
diff --git a/meta-python/recipes-devtools/python/python3-aioresponses_0.7.8.bb b/meta-python/recipes-devtools/python/python3-aioresponses_0.7.8.bb new file mode 100644 index 0000000000..1b74b839a1 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-aioresponses_0.7.8.bb | |||
@@ -0,0 +1,25 @@ | |||
1 | SUMMARY = "Mock out requests made by ClientSession from aiohttp package" | ||
2 | HOMEPAGE = "https://github.com/pnuckowski/aioresponses" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b22b40d5974300051216633098387c57" | ||
5 | |||
6 | SRC_URI[sha256sum] = "b861cdfe5dc58f3b8afac7b0a6973d5d7b2cb608dd0f6253d16b8ee8eaf6df11" | ||
7 | |||
8 | DEPENDS += "python3-pbr-native" | ||
9 | |||
10 | inherit setuptools3 pypi | ||
11 | |||
12 | RDEPENDS:${PN} += "python3-aiohttp \ | ||
13 | python3-asyncio \ | ||
14 | python3-core \ | ||
15 | python3-json \ | ||
16 | python3-math \ | ||
17 | python3-multidict \ | ||
18 | python3-netclient \ | ||
19 | python3-packaging \ | ||
20 | python3-unittest \ | ||
21 | python3-yarl" | ||
22 | |||
23 | # optionally needs asynctest asynctest.case ddt but recipes do not exist for them | ||
24 | |||
25 | PYPI_PACKAGE = "aioresponses" | ||
diff --git a/meta-python/recipes-devtools/python/python3-aioserial/0001-use-poetry-core-for-pyproject-base-build.patch b/meta-python/recipes-devtools/python/python3-aioserial/0001-use-poetry-core-for-pyproject-base-build.patch new file mode 100644 index 0000000000..139bdb4f52 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-aioserial/0001-use-poetry-core-for-pyproject-base-build.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From 5798a250b465572d84a024389b173dc996690b03 Mon Sep 17 00:00:00 2001 | ||
2 | From: alperak <alperyasinak1@gmail.com> | ||
3 | Date: Thu, 8 Aug 2024 12:56:31 +0300 | ||
4 | Subject: [PATCH] Use poetry-core for pyproject base build | ||
5 | |||
6 | https://github.com/python-poetry/poetry-core#why-is-this-required | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | |||
10 | Signed-off-by: alperak <alperyasinak1@gmail.com> | ||
11 | --- | ||
12 | pyproject.toml | 4 ++-- | ||
13 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
14 | |||
15 | diff --git a/pyproject.toml b/pyproject.toml | ||
16 | index 6243bff..06bc409 100644 | ||
17 | --- a/pyproject.toml | ||
18 | +++ b/pyproject.toml | ||
19 | @@ -15,5 +15,5 @@ python = "^3.6" | ||
20 | pyserial = "*" | ||
21 | |||
22 | [build-system] | ||
23 | -requires = ["poetry>=0.12"] | ||
24 | -build-backend = "poetry.masonry.api" | ||
25 | +requires = ["poetry-core>=0.12"] | ||
26 | +build-backend = "poetry.core.masonry.api" | ||
27 | -- | ||
28 | 2.25.1 | ||
29 | |||
diff --git a/meta-python/recipes-devtools/python/python3-aioserial_1.3.1.bb b/meta-python/recipes-devtools/python/python3-aioserial_1.3.1.bb index 8279f27044..5acbcbf974 100755 --- a/meta-python/recipes-devtools/python/python3-aioserial_1.3.1.bb +++ b/meta-python/recipes-devtools/python/python3-aioserial_1.3.1.bb | |||
@@ -5,11 +5,10 @@ SECTION = "devel/python" | |||
5 | LICENSE = "MPL-2.0" | 5 | LICENSE = "MPL-2.0" |
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=650b9179efef1ea560df5c08bc32b494" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=650b9179efef1ea560df5c08bc32b494" |
7 | 7 | ||
8 | PYPI_PACKAGE = "aioserial" | 8 | SRC_URI += "file://0001-use-poetry-core-for-pyproject-base-build.patch" |
9 | |||
10 | SRC_URI[sha256sum] = "702bf03b0eb84b8ef2d8dac5cb925e1e685dce98f77b125569bc6fd2b3b58228" | 9 | SRC_URI[sha256sum] = "702bf03b0eb84b8ef2d8dac5cb925e1e685dce98f77b125569bc6fd2b3b58228" |
11 | 10 | ||
12 | inherit pypi setuptools3 | 11 | inherit pypi python_poetry_core |
13 | 12 | ||
14 | RDEPENDS:${PN} += " \ | 13 | RDEPENDS:${PN} += " \ |
15 | python3-asyncio \ | 14 | python3-asyncio \ |
diff --git a/meta-python/recipes-devtools/python/python3-aiosignal_1.3.1.bb b/meta-python/recipes-devtools/python/python3-aiosignal_1.3.2.bb index fd4ec767c0..33320770ab 100644 --- a/meta-python/recipes-devtools/python/python3-aiosignal_1.3.1.bb +++ b/meta-python/recipes-devtools/python/python3-aiosignal_1.3.2.bb | |||
@@ -3,9 +3,9 @@ HOMEPAGE = "https://github.com/aio-libs/aiosignal" | |||
3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=cf056e8e7a0a5477451af18b7b5aa98c" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=cf056e8e7a0a5477451af18b7b5aa98c" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "54cd96e15e1649b75d6c87526a6ff0b6c1b0dd3459f43d9ca11d48c339b68cfc" | 6 | SRC_URI[sha256sum] = "a8c255c66fafb1e499c9351d0bf32ff2d8a0321595ebac3b93713656d2436f54" |
7 | 7 | ||
8 | inherit pypi setuptools3 | 8 | inherit pypi python_setuptools_build_meta |
9 | 9 | ||
10 | BBCLASSEXTEND = "native nativesdk" | 10 | BBCLASSEXTEND = "native nativesdk" |
11 | 11 | ||
diff --git a/meta-python/recipes-devtools/python/python3-alembic_1.13.1.bb b/meta-python/recipes-devtools/python/python3-alembic_1.16.2.bb index c4853c4437..a40a594522 100644 --- a/meta-python/recipes-devtools/python/python3-alembic_1.13.1.bb +++ b/meta-python/recipes-devtools/python/python3-alembic_1.16.2.bb | |||
@@ -1,12 +1,10 @@ | |||
1 | DESCRIPTION = "A database migration tool for SQLAlchemy" | 1 | DESCRIPTION = "A database migration tool for SQLAlchemy" |
2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e3023b042cb6002cb398344b51c67093" | 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d2ee18d90dcc02d96b76e9e953629936" |
4 | 4 | ||
5 | inherit pypi setuptools3 | 5 | inherit pypi python_setuptools_build_meta |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "4932c8558bf68f2ee92b9bbcb8218671c627064d5b08939437af6d77dc05e595" | 7 | SRC_URI[sha256sum] = "e53c38ff88dadb92eb22f8b150708367db731d58ad7e9d417c9168ab516cbed8" |
8 | |||
9 | PYPI_PACKAGE = "alembic" | ||
10 | 8 | ||
11 | RDEPENDS:${PN} += "\ | 9 | RDEPENDS:${PN} += "\ |
12 | python3-dateutil \ | 10 | python3-dateutil \ |
diff --git a/meta-python/recipes-devtools/python/python3-aniso8601_10.0.1.bb b/meta-python/recipes-devtools/python/python3-aniso8601_10.0.1.bb new file mode 100644 index 0000000000..8996c4b26d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-aniso8601_10.0.1.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | DESCRIPTION = "A library for parsing ISO 8601 strings." | ||
2 | |||
3 | LICENSE = "BSD-3-Clause" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ba35a7f4192a3ea09a01f4e8169a56bc" | ||
5 | |||
6 | SRC_URI[sha256sum] = "25488f8663dd1528ae1f54f94ac1ea51ae25b4d531539b8bc707fed184d16845" | ||
7 | |||
8 | inherit pypi setuptools3 | ||
diff --git a/meta-python/recipes-devtools/python/python3-aniso8601_9.0.1.bb b/meta-python/recipes-devtools/python/python3-aniso8601_9.0.1.bb deleted file mode 100644 index 3d99e48c26..0000000000 --- a/meta-python/recipes-devtools/python/python3-aniso8601_9.0.1.bb +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | DESCRIPTION = "A library for parsing ISO 8601 strings." | ||
2 | |||
3 | LICENSE = "BSD-3-Clause" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=6d91d56f51a54389d95526eefe039b1c" | ||
5 | |||
6 | SRC_URI[sha256sum] = "72e3117667eedf66951bb2d93f4296a56b94b078a8a95905a052611fb3f1b973" | ||
7 | |||
8 | inherit pypi setuptools3 | ||
diff --git a/meta-python/recipes-devtools/python/python3-annotated-types_0.7.0.bb b/meta-python/recipes-devtools/python/python3-annotated-types_0.7.0.bb index 53552d0b7b..cf579c74fe 100644 --- a/meta-python/recipes-devtools/python/python3-annotated-types_0.7.0.bb +++ b/meta-python/recipes-devtools/python/python3-annotated-types_0.7.0.bb | |||
@@ -6,9 +6,13 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c6afb13fdc220497ee5cded1e717ed67" | |||
6 | 6 | ||
7 | SRC_URI[sha256sum] = "aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89" | 7 | SRC_URI[sha256sum] = "aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89" |
8 | 8 | ||
9 | S = "${WORKDIR}/annotated_types-${PV}" | 9 | S = "${UNPACKDIR}/annotated_types-${PV}" |
10 | PYPI_PACKAGE = "annotated_types" | 10 | PYPI_PACKAGE = "annotated_types" |
11 | 11 | ||
12 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
13 | |||
12 | inherit pypi python_hatchling | 14 | inherit pypi python_hatchling |
13 | 15 | ||
14 | RDEPENDS:${PN} = "python3-typing-extensions" | 16 | RDEPENDS:${PN} = "python3-typing-extensions" |
17 | |||
18 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-ansi2html_1.9.1.bb b/meta-python/recipes-devtools/python/python3-ansi2html_1.9.2.bb index 6af8989177..cb9234b904 100644 --- a/meta-python/recipes-devtools/python/python3-ansi2html_1.9.1.bb +++ b/meta-python/recipes-devtools/python/python3-ansi2html_1.9.2.bb | |||
@@ -1,11 +1,11 @@ | |||
1 | DESCRPTION = "ansi2html - Convert text with ANSI color codes to HTML or to LaTeX" | 1 | DESCRPTION = "ansi2html - Convert text with ANSI color codes to HTML or to LaTeX" |
2 | HOMEPAGE = "https://github.com/ralphbean/ansi2html" | 2 | HOMEPAGE = "https://github.com/pycontribs/ansi2html" |
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3000208d539ec061b899bce1d9ce9404" | 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3000208d539ec061b899bce1d9ce9404" |
4 | LICENSE = "GPL-3.0-only" | 4 | LICENSE = "LGPL-3.0-or-later" |
5 | 5 | ||
6 | PYPI_PACKAGE = "ansi2html" | 6 | PYPI_PACKAGE = "ansi2html" |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "5c6837a13ecc1903aab7a545353312049dfedfe5105362ad3a8d9d207871ec71" | 8 | SRC_URI[sha256sum] = "3453bf87535d37b827b05245faaa756dbab4ec3d69925e352b6319c3c955c0a5" |
9 | 9 | ||
10 | inherit pypi python_setuptools_build_meta | 10 | inherit pypi python_setuptools_build_meta |
11 | 11 | ||
@@ -14,6 +14,5 @@ DEPENDS += " \ | |||
14 | " | 14 | " |
15 | 15 | ||
16 | RDEPENDS:${PN} = " \ | 16 | RDEPENDS:${PN} = " \ |
17 | python3-six \ | ||
18 | python3-compression \ | 17 | python3-compression \ |
19 | " | 18 | " |
diff --git a/meta-python/recipes-devtools/python/python3-anyio_4.4.0.bb b/meta-python/recipes-devtools/python/python3-anyio_4.9.0.bb index 28c76cbf5c..9cbe26a6d5 100644 --- a/meta-python/recipes-devtools/python/python3-anyio_4.4.0.bb +++ b/meta-python/recipes-devtools/python/python3-anyio_4.9.0.bb | |||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c0a769411d2af7894099e8ff75058c9f" | |||
5 | 5 | ||
6 | inherit pypi python_setuptools_build_meta | 6 | inherit pypi python_setuptools_build_meta |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "5aadc6a1bbb7cdb0bede386cac5e2940f5e2ff3aa20277e991cf028e0585ce94" | 8 | SRC_URI[sha256sum] = "673c0c244e15788651a4ff38710fea9675823028a6f08a5eda409e0c9840a028" |
9 | 9 | ||
10 | DEPENDS += " \ | 10 | DEPENDS += " \ |
11 | python3-setuptools-scm-native \ | 11 | python3-setuptools-scm-native \ |
diff --git a/meta-python/recipes-devtools/python/python3-apiflask_2.1.1.bb b/meta-python/recipes-devtools/python/python3-apiflask_2.4.0.bb index 94f2e37a89..96eb1f2f9d 100644 --- a/meta-python/recipes-devtools/python/python3-apiflask_2.1.1.bb +++ b/meta-python/recipes-devtools/python/python3-apiflask_2.4.0.bb | |||
@@ -3,16 +3,14 @@ HOMEPAGE = "https://github.com/apiflask/apiflask" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5f89d1b0dec37448d4f4163dc3c40e64" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5f89d1b0dec37448d4f4163dc3c40e64" |
5 | 5 | ||
6 | inherit pypi setuptools3 | 6 | inherit pypi python_setuptools_build_meta |
7 | 7 | ||
8 | PYPI_PACKAGE = "APIFlask" | 8 | SRC_URI[sha256sum] = "b7894741cdea90013276873cdf635d5150e1deb3fe20d02d429866af960f275f" |
9 | |||
10 | SRC_URI[sha256sum] = "88db5a539cc155e35d9636d99b434d00ca6c0b23e7c87c8321ec9dc980535366" | ||
11 | 9 | ||
12 | RDEPENDS:${PN} += "\ | 10 | RDEPENDS:${PN} += "\ |
11 | python3-apispec \ | ||
13 | python3-flask \ | 12 | python3-flask \ |
13 | python3-flask-httpauth \ | ||
14 | python3-flask-marshmallow \ | 14 | python3-flask-marshmallow \ |
15 | python3-webargs \ | 15 | python3-webargs \ |
16 | python3-flask-httpauth \ | ||
17 | python3-apispec \ | ||
18 | " | 16 | " |
diff --git a/meta-python/recipes-devtools/python/python3-apispec_6.4.0.bb b/meta-python/recipes-devtools/python/python3-apispec_6.8.2.bb index a48e1cfaee..28b31991cf 100644 --- a/meta-python/recipes-devtools/python/python3-apispec_6.4.0.bb +++ b/meta-python/recipes-devtools/python/python3-apispec_6.8.2.bb | |||
@@ -1,10 +1,10 @@ | |||
1 | SUMMARY = "A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification)." | 1 | SUMMARY = "A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification)." |
2 | HOMEPAGE = "https://github.com/marshmallow-code/apispec" | 2 | HOMEPAGE = "https://github.com/marshmallow-code/apispec" |
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3d9c303644a2e62578f0347748a80358" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a75956865b40c80a37c1e864716592b4" |
5 | 5 | ||
6 | inherit pypi setuptools3 | 6 | inherit pypi python_setuptools_build_meta |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "42b8a6833cf154c9dbd22d006b56bf9c49c972d32d24fe716fd734e0f6b739b8" | 8 | SRC_URI[sha256sum] = "ce5b69b9fcf0250cb56ba0c1a52a75ff22c2f7c586654e57884399018c519f26" |
9 | 9 | ||
10 | RDEPENDS:${PN} += "python3-packaging" | 10 | RDEPENDS:${PN} += "python3-packaging" |
diff --git a/meta-python/recipes-devtools/python/python3-appdirs/run-ptest b/meta-python/recipes-devtools/python/python3-appdirs/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-appdirs/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-appdirs_1.4.4.bb b/meta-python/recipes-devtools/python/python3-appdirs_1.4.4.bb index ad07b3b082..bee0b7d815 100644 --- a/meta-python/recipes-devtools/python/python3-appdirs_1.4.4.bb +++ b/meta-python/recipes-devtools/python/python3-appdirs_1.4.4.bb | |||
@@ -2,23 +2,10 @@ SUMMARY = "A small Python module for determining appropriate + platform-specific | |||
2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=31625363c45eb0c67c630a2f73e438e4" | 3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=31625363c45eb0c67c630a2f73e438e4" |
4 | 4 | ||
5 | SRC_URI += " \ | ||
6 | file://run-ptest \ | ||
7 | " | ||
8 | |||
9 | SRC_URI[md5sum] = "d6bca12613174185dd9abc8a29f4f012" | ||
10 | SRC_URI[sha256sum] = "7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41" | 5 | SRC_URI[sha256sum] = "7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41" |
11 | 6 | ||
12 | inherit pypi setuptools3 ptest | 7 | inherit pypi setuptools3 ptest-python-pytest |
13 | |||
14 | RDEPENDS:${PN}-ptest += " \ | ||
15 | python3-pytest \ | ||
16 | python3-unittest-automake-output \ | ||
17 | " | ||
18 | 8 | ||
19 | do_install_ptest() { | 9 | PTEST_PYTEST_DIR = "test" |
20 | install -d ${D}${PTEST_PATH}/test | ||
21 | cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ | ||
22 | } | ||
23 | 10 | ||
24 | BBCLASSEXTEND = "native nativesdk" | 11 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-python/recipes-devtools/python/python3-apply-defaults_0.1.6.bb b/meta-python/recipes-devtools/python/python3-apply-defaults_0.1.6.bb index 6bf61cfcd3..1be20f179a 100644 --- a/meta-python/recipes-devtools/python/python3-apply-defaults_0.1.6.bb +++ b/meta-python/recipes-devtools/python/python3-apply-defaults_0.1.6.bb | |||
@@ -4,6 +4,7 @@ LICENSE = "MIT" | |||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c89120516900f96f4c60d35fdc4c3f15" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c89120516900f96f4c60d35fdc4c3f15" |
5 | 5 | ||
6 | PYPI_PACKAGE = "apply_defaults" | 6 | PYPI_PACKAGE = "apply_defaults" |
7 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
7 | 8 | ||
8 | SRC_URI[sha256sum] = "3773de3491b94c0fe44310f1a85888389cdc71e1544b343bce0d2bd6991acea5" | 9 | SRC_URI[sha256sum] = "3773de3491b94c0fe44310f1a85888389cdc71e1544b343bce0d2bd6991acea5" |
9 | 10 | ||
diff --git a/meta-python/recipes-devtools/python/python3-argcomplete_3.3.0.bb b/meta-python/recipes-devtools/python/python3-argcomplete_3.6.2.bb index d96861010e..abad776d8c 100644 --- a/meta-python/recipes-devtools/python/python3-argcomplete_3.3.0.bb +++ b/meta-python/recipes-devtools/python/python3-argcomplete_3.6.2.bb | |||
@@ -3,11 +3,13 @@ HOMEPAGE = "https://github.com/kislyuk/argcomplete" | |||
3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
4 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=2ee41112a44fe7014dce33e26468ba93" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=2ee41112a44fe7014dce33e26468ba93" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "fd03ff4a5b9e6580569d34b273f741e85cd9e072f3feeeee3eba4891c70eda62" | 6 | SRC_URI[sha256sum] = "d0519b1bc867f5f4f4713c41ad0aba73a4a5f007449716b16f385f2166dc6adf" |
7 | 7 | ||
8 | PYPI_PACKAGE = "argcomplete" | 8 | PYPI_PACKAGE = "argcomplete" |
9 | 9 | ||
10 | inherit pypi setuptools3 | 10 | inherit pypi python_hatchling |
11 | |||
12 | DEPENDS += "python3-hatch-vcs-native" | ||
11 | 13 | ||
12 | RDEPENDS:${PN} += "\ | 14 | RDEPENDS:${PN} += "\ |
13 | python3-core \ | 15 | python3-core \ |
diff --git a/meta-python/recipes-devtools/python/python3-argexec_1.0.3.bb b/meta-python/recipes-devtools/python/python3-argexec_1.0.3.bb index 017a7e954b..64ed8ad8de 100644 --- a/meta-python/recipes-devtools/python/python3-argexec_1.0.3.bb +++ b/meta-python/recipes-devtools/python/python3-argexec_1.0.3.bb | |||
@@ -4,7 +4,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=ea70b07c354e36056bd35e17c9c3face" | |||
4 | 4 | ||
5 | inherit pypi setuptools3 | 5 | inherit pypi setuptools3 |
6 | 6 | ||
7 | SRC_URI[md5sum] = "448635948823309312ea9f70b30b6c2d" | ||
8 | SRC_URI[sha256sum] = "61f9ae9322e38ae64996848421afbdb018239a99c4e796fe064f172d6c98c3bf" | 7 | SRC_URI[sha256sum] = "61f9ae9322e38ae64996848421afbdb018239a99c4e796fe064f172d6c98c3bf" |
9 | 8 | ||
10 | DEPENDS += "python3-setuptools-scm-native" | 9 | DEPENDS += "python3-setuptools-scm-native" |
diff --git a/meta-python/recipes-devtools/python/python3-argh_0.31.2.bb b/meta-python/recipes-devtools/python/python3-argh_0.31.3.bb index afcd7d9665..82b45d5aaa 100644 --- a/meta-python/recipes-devtools/python/python3-argh_0.31.2.bb +++ b/meta-python/recipes-devtools/python/python3-argh_0.31.3.bb | |||
@@ -14,7 +14,7 @@ LICENSE = "LGPL-3.0-or-later" | |||
14 | LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=3000208d539ec061b899bce1d9ce9404 \ | 14 | LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=3000208d539ec061b899bce1d9ce9404 \ |
15 | " | 15 | " |
16 | 16 | ||
17 | SRC_URI[sha256sum] = "db1c34885804f7d4646c385dc2fb19b45298561322f4c15eae1b133993f9e323" | 17 | SRC_URI[sha256sum] = "f30023d8be14ca5ee6b1b3eeab829151d7bbda464ae07dc4dd5347919c5892f9" |
18 | 18 | ||
19 | inherit pypi python_flit_core | 19 | inherit pypi python_flit_core |
20 | 20 | ||
diff --git a/meta-python/recipes-devtools/python/python3-arpeggio_2.0.2.bb b/meta-python/recipes-devtools/python/python3-arpeggio_2.0.2.bb index 3130e2cb96..85bb066be5 100644 --- a/meta-python/recipes-devtools/python/python3-arpeggio_2.0.2.bb +++ b/meta-python/recipes-devtools/python/python3-arpeggio_2.0.2.bb | |||
@@ -6,6 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=33b8d1ba459a2fa4d801acfd1d1b7ceb" | |||
6 | SRC_URI[sha256sum] = "c790b2b06e226d2dd468e4fbfb5b7f506cec66416031fde1441cf1de2a0ba700" | 6 | SRC_URI[sha256sum] = "c790b2b06e226d2dd468e4fbfb5b7f506cec66416031fde1441cf1de2a0ba700" |
7 | 7 | ||
8 | PYPI_PACKAGE = "Arpeggio" | 8 | PYPI_PACKAGE = "Arpeggio" |
9 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
10 | |||
9 | inherit pypi setuptools3 | 11 | inherit pypi setuptools3 |
10 | 12 | ||
11 | # setup.py of Arpeggio needs this. | 13 | # setup.py of Arpeggio needs this. |
diff --git a/meta-python/recipes-devtools/python/python3-arrow/run-ptest b/meta-python/recipes-devtools/python/python3-arrow/run-ptest index 8d2017d39c..4f9f7327b5 100644 --- a/meta-python/recipes-devtools/python/python3-arrow/run-ptest +++ b/meta-python/recipes-devtools/python/python3-arrow/run-ptest | |||
@@ -1,3 +1,7 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | pytest --automake | 3 | # Ignore test_parse_tz_name_zzz[America/Coyhaique] because this has changed in latest pytz and zoneinfo |
4 | # modules and latest version of arrow has moved away from pytz to zoneinfo module so once updating to | ||
5 | # 1.4.0 or newer see if this test passes | ||
6 | # see https://github.com/arrow-py/arrow/commit/2aaafcd581115c50cdcbf04b196657dad1692a26 | ||
7 | pytest --automake --deselect tests/test_parser.py::TestDateTimeParserParse::test_parse_tz_name_zzz[America/Coyhaique] | ||
diff --git a/meta-python/recipes-devtools/python/python3-arrow_1.3.0.bb b/meta-python/recipes-devtools/python/python3-arrow_1.3.0.bb index c1b7c1a433..650520a023 100644 --- a/meta-python/recipes-devtools/python/python3-arrow_1.3.0.bb +++ b/meta-python/recipes-devtools/python/python3-arrow_1.3.0.bb | |||
@@ -4,32 +4,23 @@ SECTION = "devel/python" | |||
4 | LICENSE = "Apache-2.0" | 4 | LICENSE = "Apache-2.0" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=14a2e29a9d542fb9052d75344d67619d" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=14a2e29a9d542fb9052d75344d67619d" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "d4540617648cb5f895730f1ad8c82a65f2dad0166f57b75f3ca54759c4d67a85" | 7 | SRC_URI:append = " \ |
8 | |||
9 | inherit pypi python_flit_core ptest | ||
10 | |||
11 | SRC_URI += " \ | ||
12 | file://run-ptest \ | 8 | file://run-ptest \ |
13 | " | 9 | " |
10 | SRC_URI[sha256sum] = "d4540617648cb5f895730f1ad8c82a65f2dad0166f57b75f3ca54759c4d67a85" | ||
11 | |||
12 | inherit pypi python_flit_core ptest-python-pytest | ||
14 | 13 | ||
15 | RDEPENDS:${PN}-ptest += " \ | 14 | RDEPENDS:${PN}-ptest += " \ |
15 | python3-dateparser \ | ||
16 | python3-dateutil-zoneinfo \ | 16 | python3-dateutil-zoneinfo \ |
17 | python3-pytest \ | 17 | python3-pytest-cov \ |
18 | python3-pytest-mock \ | 18 | python3-pytest-mock \ |
19 | python3-pytz \ | 19 | python3-pytz \ |
20 | python3-simplejson \ | 20 | python3-simplejson \ |
21 | python3-unittest-automake-output \ | 21 | python3-types-python-dateutil \ |
22 | " | 22 | " |
23 | 23 | ||
24 | do_install_ptest() { | ||
25 | install -d ${D}${PTEST_PATH}/tests | ||
26 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
27 | } | ||
28 | |||
29 | RDEPENDS:${PN} += " \ | 24 | RDEPENDS:${PN} += " \ |
30 | python3-compression \ | ||
31 | python3-dateutil \ | 25 | python3-dateutil \ |
32 | python3-dateutil-zoneinfo \ | ||
33 | python3-json \ | ||
34 | python3-types-python-dateutil \ | ||
35 | " | 26 | " |
diff --git a/meta-python/recipes-devtools/python/python3-asciitree_0.3.3.bb b/meta-python/recipes-devtools/python/python3-asciitree_0.3.3.bb index 833732bd47..a3185a9c66 100644 --- a/meta-python/recipes-devtools/python/python3-asciitree_0.3.3.bb +++ b/meta-python/recipes-devtools/python/python3-asciitree_0.3.3.bb | |||
@@ -1,9 +1,8 @@ | |||
1 | SUMMARY = "Draws ASCII trees." | 1 | SUMMARY = "Draws ASCII trees." |
2 | HOMEPAGE = "http://github.com/mbr/asciitree" | 2 | HOMEPAGE = "https://github.com/mbr/asciitree" |
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a985ccb0df374f2a8cab75010bf8db73" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a985ccb0df374f2a8cab75010bf8db73" |
5 | 5 | ||
6 | SRC_URI[md5sum] = "2570b31e563b69da1aff54509db8ac6a" | ||
7 | SRC_URI[sha256sum] = "4aa4b9b649f85e3fcb343363d97564aa1fb62e249677f2e18a96765145cc0f6e" | 6 | SRC_URI[sha256sum] = "4aa4b9b649f85e3fcb343363d97564aa1fb62e249677f2e18a96765145cc0f6e" |
8 | 7 | ||
9 | inherit pypi setuptools3 | 8 | inherit pypi setuptools3 |
diff --git a/meta-python/recipes-devtools/python/python3-asgiref/run-ptest b/meta-python/recipes-devtools/python/python3-asgiref/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-asgiref/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-asgiref_3.8.1.bb b/meta-python/recipes-devtools/python/python3-asgiref_3.8.1.bb index 3b90eda5bb..5d68b3e3f9 100644 --- a/meta-python/recipes-devtools/python/python3-asgiref_3.8.1.bb +++ b/meta-python/recipes-devtools/python/python3-asgiref_3.8.1.bb | |||
@@ -4,27 +4,19 @@ SECTION = "devel/python" | |||
4 | LICENSE = "BSD-3-Clause" | 4 | LICENSE = "BSD-3-Clause" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa" |
6 | 6 | ||
7 | SRC_URI += "file://run-ptest \ | ||
8 | " | ||
9 | 7 | ||
10 | SRC_URI[sha256sum] = "c343bd80a0bec947a9860adb4c432ffa7db769836c64238fc34bdc3fec84d590" | 8 | SRC_URI[sha256sum] = "c343bd80a0bec947a9860adb4c432ffa7db769836c64238fc34bdc3fec84d590" |
11 | 9 | ||
12 | export BUILD_SYS | 10 | export BUILD_SYS |
13 | export HOST_SYS | 11 | export HOST_SYS |
14 | 12 | ||
15 | inherit pypi ptest setuptools3 | 13 | inherit pypi ptest-python-pytest setuptools3 |
16 | 14 | ||
17 | RDEPENDS:${PN}-ptest += " \ | 15 | RDEPENDS:${PN}-ptest += " \ |
18 | python3-asyncio \ | 16 | python3-asyncio \ |
19 | python3-io \ | 17 | python3-io \ |
20 | python3-multiprocessing \ | 18 | python3-multiprocessing \ |
21 | python3-pytest \ | 19 | python3-pytest-asyncio \ |
22 | python3-unittest-automake-output \ | ||
23 | " | 20 | " |
24 | 21 | ||
25 | do_install_ptest() { | ||
26 | install -d ${D}${PTEST_PATH}/tests | ||
27 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
28 | } | ||
29 | |||
30 | BBCLASSEXTEND = "native nativesdk" | 22 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-python/recipes-devtools/python/python3-aspectlib/run-ptest b/meta-python/recipes-devtools/python/python3-aspectlib/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-aspectlib/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-aspectlib_2.0.0.bb b/meta-python/recipes-devtools/python/python3-aspectlib_2.0.0.bb index 1341513289..854a14441c 100644 --- a/meta-python/recipes-devtools/python/python3-aspectlib_2.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-aspectlib_2.0.0.bb | |||
@@ -10,21 +10,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=80721ace117fd1f814049ecb81c6be76" | |||
10 | 10 | ||
11 | SRC_URI[sha256sum] = "a4b461b9da0b531aebcb93efcde3de808a72c60226dd8d902c467d13faf7ce92" | 11 | SRC_URI[sha256sum] = "a4b461b9da0b531aebcb93efcde3de808a72c60226dd8d902c467d13faf7ce92" |
12 | 12 | ||
13 | inherit ptest pypi setuptools3 | 13 | inherit ptest-python-pytest pypi setuptools3 |
14 | |||
15 | SRC_URI += "file://run-ptest \ | ||
16 | " | ||
17 | |||
18 | do_install_ptest() { | ||
19 | install -d ${D}${PTEST_PATH}/tests | ||
20 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
21 | } | ||
22 | 14 | ||
23 | RDEPENDS:${PN}-ptest += "\ | 15 | RDEPENDS:${PN}-ptest += "\ |
24 | python3-process-tests \ | 16 | python3-process-tests \ |
25 | python3-pytest \ | ||
26 | python3-tornado \ | 17 | python3-tornado \ |
27 | python3-unittest-automake-output \ | ||
28 | " | 18 | " |
29 | 19 | ||
30 | RDEPENDS:${PN} += " \ | 20 | RDEPENDS:${PN} += " \ |
diff --git a/meta-python/recipes-devtools/python/python3-astor_0.8.1.bb b/meta-python/recipes-devtools/python/python3-astor_0.8.1.bb index bc3315f751..b2834568b7 100644 --- a/meta-python/recipes-devtools/python/python3-astor_0.8.1.bb +++ b/meta-python/recipes-devtools/python/python3-astor_0.8.1.bb | |||
@@ -11,6 +11,5 @@ SRCREV ?= "c7553c79f9222e20783fe9bd8a553f932e918072" | |||
11 | 11 | ||
12 | inherit setuptools3 | 12 | inherit setuptools3 |
13 | 13 | ||
14 | S = "${WORKDIR}/git" | ||
15 | 14 | ||
16 | BBCLASSEXTEND = "native" | 15 | BBCLASSEXTEND = "native" |
diff --git a/meta-python/recipes-devtools/python/python3-astroid_3.2.2.bb b/meta-python/recipes-devtools/python/python3-astroid_3.3.10.bb index d7e7f56981..b595335b99 100644 --- a/meta-python/recipes-devtools/python/python3-astroid_3.2.2.bb +++ b/meta-python/recipes-devtools/python/python3-astroid_3.3.10.bb | |||
@@ -4,7 +4,7 @@ SECTION = "devel/python" | |||
4 | LICENSE = "LGPL-2.1-only" | 4 | LICENSE = "LGPL-2.1-only" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "8ead48e31b92b2e217b6c9733a21afafe479d52d6e164dd25fb1a770c7c3cf94" | 7 | SRC_URI[sha256sum] = "c332157953060c6deb9caa57303ae0d20b0fbdb2e59b4a4f2a6ba49d0a7961ce" |
8 | 8 | ||
9 | inherit pypi python_setuptools_build_meta | 9 | inherit pypi python_setuptools_build_meta |
10 | 10 | ||
diff --git a/meta-python/recipes-devtools/python/python3-asttokens_2.4.1.bb b/meta-python/recipes-devtools/python/python3-asttokens_3.0.0.bb index dbb2fc0ebe..16256535de 100644 --- a/meta-python/recipes-devtools/python/python3-asttokens_2.4.1.bb +++ b/meta-python/recipes-devtools/python/python3-asttokens_3.0.0.bb | |||
@@ -7,7 +7,7 @@ PYPI_PACKAGE = "asttokens" | |||
7 | 7 | ||
8 | inherit pypi python_setuptools_build_meta | 8 | inherit pypi python_setuptools_build_meta |
9 | 9 | ||
10 | SRC_URI[sha256sum] = "b03869718ba9a6eb027e134bfdf69f38a236d681c83c160d510768af11254ba0" | 10 | SRC_URI[sha256sum] = "0dcd8baa8d62b0c1d118b399b2ddba3c4aff271d0d7a9e0d4c1681c79035bbc7" |
11 | 11 | ||
12 | DEPENDS += "python3-setuptools-scm-native" | 12 | DEPENDS += "python3-setuptools-scm-native" |
13 | 13 | ||
diff --git a/meta-python/recipes-devtools/python/python3-asyncinotify_4.0.9.bb b/meta-python/recipes-devtools/python/python3-asyncinotify_4.2.1.bb index 0946dd2a33..f95dadff90 100644 --- a/meta-python/recipes-devtools/python/python3-asyncinotify_4.0.9.bb +++ b/meta-python/recipes-devtools/python/python3-asyncinotify_4.2.1.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://gitlab.com/Taywee/asyncinotify" | |||
3 | LICENSE = "MPL-2.0" | 3 | LICENSE = "MPL-2.0" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f75d2927d3c1ed2414ef72048f5ad640" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f75d2927d3c1ed2414ef72048f5ad640" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "d0fc2c9af487b6ac2a3bd7db7b5139de54afcc3660720f80d7324b122a27c1c7" | 6 | SRC_URI[sha256sum] = "8078b0b0d81c19043141ab0fc5654e89a4d3023dc3e4486aaa245b1ff5f5ddc9" |
7 | 7 | ||
8 | inherit pypi python_setuptools_build_meta | 8 | inherit pypi python_setuptools_build_meta |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-asyncio-glib_0.1.bb b/meta-python/recipes-devtools/python/python3-asyncio-glib_0.1.bb index 01dfe51543..d73e83de54 100644 --- a/meta-python/recipes-devtools/python/python3-asyncio-glib_0.1.bb +++ b/meta-python/recipes-devtools/python/python3-asyncio-glib_0.1.bb | |||
@@ -6,7 +6,6 @@ inherit setuptools3 pypi features_check | |||
6 | 6 | ||
7 | REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" | 7 | REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" |
8 | 8 | ||
9 | SRC_URI[md5sum] = "60153055e76ceaacdfbaeafb03d61dd9" | ||
10 | SRC_URI[sha256sum] = "fe3ceb2ba5f541330c07ca1bd7ae792468d625bad1acf5354a3a7a0b9fd87521" | 9 | SRC_URI[sha256sum] = "fe3ceb2ba5f541330c07ca1bd7ae792468d625bad1acf5354a3a7a0b9fd87521" |
11 | 10 | ||
12 | RDEPENDS:${PN} += "python3-asyncio python3-pygobject" | 11 | RDEPENDS:${PN} += "python3-asyncio python3-pygobject" |
diff --git a/meta-python/recipes-devtools/python/python3-autobahn_23.6.2.bb b/meta-python/recipes-devtools/python/python3-autobahn_24.4.2.bb index d9cc40b1b4..d785a76cc7 100644 --- a/meta-python/recipes-devtools/python/python3-autobahn_23.6.2.bb +++ b/meta-python/recipes-devtools/python/python3-autobahn_24.4.2.bb | |||
@@ -1,9 +1,9 @@ | |||
1 | DESCRIPTION = "WebSocket client & server library, WAMP real-time framework" | 1 | DESCRIPTION = "WebSocket client & server library, WAMP real-time framework" |
2 | HOMEPAGE = "http://crossbar.io/autobahn" | 2 | HOMEPAGE = "http://crossbar.io/autobahn" |
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3e2c2c2cc2915edc5321b0e6b1d3f5f8" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=588502cb4ffc65da2b26780d6baa5a40" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "ec9421c52a2103364d1ef0468036e6019ee84f71721e86b36fe19ad6966c1181" | 6 | SRC_URI[sha256sum] = "a2d71ef1b0cf780b6d11f8b205fd2c7749765e65795f2ea7d823796642ee92c9" |
7 | 7 | ||
8 | inherit pypi setuptools3 | 8 | inherit pypi setuptools3 |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-automat_22.10.0.bb b/meta-python/recipes-devtools/python/python3-automat_22.10.0.bb deleted file mode 100644 index 9e33fe7831..0000000000 --- a/meta-python/recipes-devtools/python/python3-automat_22.10.0.bb +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | DESCRIPTION = "Self-service finite-state machines for the programmer on the go" | ||
2 | HOMEPAGE = "https://github.com/glyph/Automat" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4ad213bcca81688e94593e5f60c87477" | ||
5 | |||
6 | SRC_URI[sha256sum] = "e56beb84edad19dcc11d30e8d9b895f75deeb5ef5e96b84a467066b3b84bb04e" | ||
7 | |||
8 | DEPENDS += "python3-setuptools-scm-native" | ||
9 | |||
10 | PYPI_PACKAGE = "Automat" | ||
11 | inherit pypi setuptools3 | ||
12 | |||
13 | RDEPENDS:${PN} += "\ | ||
14 | python3-attrs \ | ||
15 | python3-six \ | ||
16 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-automat_25.4.16.bb b/meta-python/recipes-devtools/python/python3-automat_25.4.16.bb new file mode 100644 index 0000000000..c5ba16fc0d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-automat_25.4.16.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | DESCRIPTION = "Self-service finite-state machines for the programmer on the go" | ||
2 | HOMEPAGE = "https://github.com/glyph/Automat" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4ad213bcca81688e94593e5f60c87477" | ||
5 | |||
6 | SRC_URI[sha256sum] = "0017591a5477066e90d26b0e696ddc143baafd87b588cfac8100bc6be9634de0" | ||
7 | |||
8 | inherit pypi python_hatchling | ||
9 | |||
10 | DEPENDS += "\ | ||
11 | python3-hatch-vcs-native \ | ||
12 | " | ||
13 | |||
diff --git a/meta-python/recipes-devtools/python/python3-awesomeversion_24.2.0.bb b/meta-python/recipes-devtools/python/python3-awesomeversion_25.5.0.bb index 8b19605b1e..ae600a48b6 100644 --- a/meta-python/recipes-devtools/python/python3-awesomeversion_24.2.0.bb +++ b/meta-python/recipes-devtools/python/python3-awesomeversion_25.5.0.bb | |||
@@ -4,7 +4,7 @@ SECTION = "devel/python" | |||
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENCE.md;md5=92622b5a8e216099be741d78328bae5d" | 5 | LIC_FILES_CHKSUM = "file://LICENCE.md;md5=92622b5a8e216099be741d78328bae5d" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "47a6dcbbe2921b725f75106a66ab30f26f1f33dbc5e07bc8e1e39d8eb921f53c" | 7 | SRC_URI[sha256sum] = "d64c9f3579d2f60a5aa506a9dd0b38a74ab5f45e04800f943a547c1102280f31" |
8 | 8 | ||
9 | RDEPENDS:${PN} += "python3-profile python3-logging" | 9 | RDEPENDS:${PN} += "python3-profile python3-logging" |
10 | 10 | ||
diff --git a/meta-python/recipes-devtools/python/python3-aws-iot-device-sdk-python_1.5.2.bb b/meta-python/recipes-devtools/python/python3-aws-iot-device-sdk-python_1.5.2.bb index bdadf7c774..4b4ff952ef 100644 --- a/meta-python/recipes-devtools/python/python3-aws-iot-device-sdk-python_1.5.2.bb +++ b/meta-python/recipes-devtools/python/python3-aws-iot-device-sdk-python_1.5.2.bb | |||
@@ -11,7 +11,6 @@ SRC_URI = "git://github.com/aws/aws-iot-device-sdk-python;branch=master;protocol | |||
11 | file://0001-setup.py-Use-setuptools-instead-of-distutils.patch \ | 11 | file://0001-setup.py-Use-setuptools-instead-of-distutils.patch \ |
12 | " | 12 | " |
13 | 13 | ||
14 | S = "${WORKDIR}/git" | ||
15 | 14 | ||
16 | inherit setuptools3 | 15 | inherit setuptools3 |
17 | 16 | ||
diff --git a/meta-python/recipes-devtools/python/python3-backcall_0.2.0.bb b/meta-python/recipes-devtools/python/python3-backcall_0.2.0.bb index d1ac486c05..42a7cb987c 100644 --- a/meta-python/recipes-devtools/python/python3-backcall_0.2.0.bb +++ b/meta-python/recipes-devtools/python/python3-backcall_0.2.0.bb | |||
@@ -5,7 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=40e56b724d016484a7f790ec826d3ffc" | |||
5 | 5 | ||
6 | PYPI_PACKAGE = "backcall" | 6 | PYPI_PACKAGE = "backcall" |
7 | 7 | ||
8 | SRC_URI[md5sum] = "1f4c9a370c78743406296f48e56e8821" | ||
9 | SRC_URI[sha256sum] = "5cbdbf27be5e7cfadb448baf0aa95508f91f2bbc6c6437cd9cd06e2a4c215e1e" | 8 | SRC_URI[sha256sum] = "5cbdbf27be5e7cfadb448baf0aa95508f91f2bbc6c6437cd9cd06e2a4c215e1e" |
10 | 9 | ||
11 | inherit pypi python_flit_core | 10 | inherit pypi python_flit_core |
diff --git a/meta-python/recipes-devtools/python/python3-bandit_1.7.8.bb b/meta-python/recipes-devtools/python/python3-bandit_1.8.5.bb index 8b0968857f..2cf13183e7 100644 --- a/meta-python/recipes-devtools/python/python3-bandit_1.7.8.bb +++ b/meta-python/recipes-devtools/python/python3-bandit_1.8.5.bb | |||
@@ -2,7 +2,7 @@ SUMMARY = "Security oriented static analyser for python code." | |||
2 | LICENSE = "Apache-2.0" | 2 | LICENSE = "Apache-2.0" |
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658" | 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658" |
4 | 4 | ||
5 | SRC_URI[sha256sum] = "36de50f720856ab24a24dbaa5fee2c66050ed97c1477e0a1159deab1775eab6b" | 5 | SRC_URI[sha256sum] = "db812e9c39b8868c0fed5278b77fffbbaba828b4891bc80e34b9c50373201cfd" |
6 | 6 | ||
7 | DEPENDS = "python3-pbr-native python3-git python3-pbr python3-pyyaml python3-six python3-stevedore" | 7 | DEPENDS = "python3-pbr-native python3-git python3-pbr python3-pyyaml python3-six python3-stevedore" |
8 | 8 | ||
diff --git a/meta-python/recipes-devtools/python/python3-beautifulsoup4_4.12.3.bb b/meta-python/recipes-devtools/python/python3-beautifulsoup4_4.13.4.bb index 14dedba922..ba75b06396 100644 --- a/meta-python/recipes-devtools/python/python3-beautifulsoup4_4.12.3.bb +++ b/meta-python/recipes-devtools/python/python3-beautifulsoup4_4.13.4.bb | |||
@@ -3,16 +3,18 @@ HOMEPAGE = " https://www.crummy.com/software/BeautifulSoup/bs4" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=96e0034f7c9443910c486773aa1ed9ac" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=96e0034f7c9443910c486773aa1ed9ac" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "74e3d1928edc070d21748185c46e3fb33490f22f52a3addee9aee0f4f7781051" | 6 | SRC_URI[sha256sum] = "dbb3c4e1ceae6aefebdaf2423247260cd062430a410e38c66f2baa50a8437195" |
7 | 7 | ||
8 | inherit pypi python_hatchling | 8 | inherit pypi python_hatchling |
9 | 9 | ||
10 | RDEPENDS:${PN} = "\ | 10 | RDEPENDS:${PN} = "\ |
11 | python3-html5lib \ | 11 | python3-html5lib \ |
12 | python3-lxml \ | 12 | python3-lxml \ |
13 | python3-soupsieve \ | ||
14 | python3-html \ | 13 | python3-html \ |
15 | python3-logging \ | 14 | python3-logging \ |
16 | " | 15 | " |
16 | RDEPENDS:${PN}:append:class-target = " \ | ||
17 | python3-soupsieve \ | ||
18 | " | ||
17 | 19 | ||
18 | BBCLASSEXTEND = "native nativesdk" | 20 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-python/recipes-devtools/python/python3-behave_1.2.6.bb b/meta-python/recipes-devtools/python/python3-behave_1.2.6.bb index da4f3047f9..97b59358f7 100644 --- a/meta-python/recipes-devtools/python/python3-behave_1.2.6.bb +++ b/meta-python/recipes-devtools/python/python3-behave_1.2.6.bb | |||
@@ -7,7 +7,6 @@ PV .= "+git${SRCREV}" | |||
7 | SRCREV = "9520119376046aeff73804b5f1ea05d87a63f370" | 7 | SRCREV = "9520119376046aeff73804b5f1ea05d87a63f370" |
8 | SRC_URI += "git://github.com/behave/behave;branch=master;protocol=https" | 8 | SRC_URI += "git://github.com/behave/behave;branch=master;protocol=https" |
9 | 9 | ||
10 | S = "${WORKDIR}/git" | ||
11 | 10 | ||
12 | inherit setuptools3 | 11 | inherit setuptools3 |
13 | 12 | ||
diff --git a/meta-python/recipes-devtools/python/python3-betamax_0.9.0.bb b/meta-python/recipes-devtools/python/python3-betamax_0.9.0.bb index a0454686ee..f88d43a21a 100644 --- a/meta-python/recipes-devtools/python/python3-betamax_0.9.0.bb +++ b/meta-python/recipes-devtools/python/python3-betamax_0.9.0.bb | |||
@@ -3,13 +3,17 @@ HOMEPAGE = "https://github.com/betamaxpy/betamax" | |||
3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=61c15f0c146c5fb1a8ce8ba2f310d73c" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=61c15f0c146c5fb1a8ce8ba2f310d73c" |
5 | 5 | ||
6 | PV .= "+git" | ||
7 | |||
8 | SRCREV = "8f3d284103676a43d1481b5cffae96f3a601e0be" | ||
6 | SRC_URI += " \ | 9 | SRC_URI += " \ |
7 | file://run-ptest \ | 10 | file://run-ptest \ |
11 | git://github.com/betamaxpy/betamax;protocol=https;branch=main \ | ||
8 | file://0001-Drop-ptests-fixtures-and-recorde_modes.patch \ | 12 | file://0001-Drop-ptests-fixtures-and-recorde_modes.patch \ |
9 | " | 13 | " |
10 | SRC_URI[sha256sum] = "82316e1679bc6879e3c83318d016b54b7c9225ff08c4462de4813e22038d5f94" | ||
11 | 14 | ||
12 | inherit pypi setuptools3 ptest | 15 | |
16 | inherit setuptools3 ptest | ||
13 | 17 | ||
14 | RDEPENDS:${PN} += " \ | 18 | RDEPENDS:${PN} += " \ |
15 | python3-requests \ | 19 | python3-requests \ |
diff --git a/meta-python/recipes-devtools/python/python3-binwalk_2.3.4.bb b/meta-python/recipes-devtools/python/python3-binwalk_2.3.4.bb index 45b1ff5145..288c4068cd 100644 --- a/meta-python/recipes-devtools/python/python3-binwalk_2.3.4.bb +++ b/meta-python/recipes-devtools/python/python3-binwalk_2.3.4.bb | |||
@@ -10,7 +10,6 @@ SRC_URI = "git://github.com/ReFirmLabs/binwalk;protocol=https;branch=master" | |||
10 | 10 | ||
11 | SRCREV = "cddfede795971045d99422bd7a9676c8803ec5ee" | 11 | SRCREV = "cddfede795971045d99422bd7a9676c8803ec5ee" |
12 | 12 | ||
13 | S = "${WORKDIR}/git" | ||
14 | 13 | ||
15 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" | 14 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" |
16 | 15 | ||
diff --git a/meta-python/recipes-devtools/python/python3-bitarray_2.9.2.bb b/meta-python/recipes-devtools/python/python3-bitarray_3.4.2.bb index 7d7be0b1aa..f78901f140 100644 --- a/meta-python/recipes-devtools/python/python3-bitarray_2.9.2.bb +++ b/meta-python/recipes-devtools/python/python3-bitarray_3.4.2.bb | |||
@@ -2,10 +2,10 @@ SUMMARY = "efficient arrays of booleans -- C extension" | |||
2 | DESCRIPTION = "A high-level Python efficient arrays of booleans -- C extension" | 2 | DESCRIPTION = "A high-level Python efficient arrays of booleans -- C extension" |
3 | HOMEPAGE = "https://github.com/ilanschnell/bitarray" | 3 | HOMEPAGE = "https://github.com/ilanschnell/bitarray" |
4 | LICENSE = "PSF-2.0" | 4 | LICENSE = "PSF-2.0" |
5 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=2ad702cdcd49e8d2ac01d7e7d0810d2d" | 5 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=6abe80c028e4ee53045a33ae807c64fd" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "a8f286a51a32323715d77755ed959f94bef13972e9a2fe71b609e40e6d27957e" | 7 | SRC_URI[sha256sum] = "78ed2b911aabede3a31e3329b1de8abdc8104bd5e0545184ddbd9c7f668f4059" |
8 | 8 | ||
9 | inherit setuptools3 pypi | 9 | inherit python_setuptools_build_meta pypi |
10 | 10 | ||
11 | BBCLASSEXTEND = "native nativesdk" | 11 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-python/recipes-devtools/python/python3-bitstring_4.2.3.bb b/meta-python/recipes-devtools/python/python3-bitstring_4.3.1.bb index 4d86ce7df8..31b4330c21 100644 --- a/meta-python/recipes-devtools/python/python3-bitstring_4.2.3.bb +++ b/meta-python/recipes-devtools/python/python3-bitstring_4.3.1.bb | |||
@@ -1,11 +1,9 @@ | |||
1 | SUMMARY = "Simple construction, analysis and modification of binary data." | 1 | SUMMARY = "Simple construction, analysis and modification of binary data." |
2 | HOMEPAGE = "https://github.com/scott-griffiths/bitstring" | 2 | HOMEPAGE = "https://github.com/scott-griffiths/bitstring" |
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=661f450e2c0aef39b4b15597333444a7" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=963a24c175e658fbf16a764135121ffa" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "e0c447af3fda0d114f77b88c2d199f02f97ee7e957e6d719f40f41cf15fbb897" | 6 | SRC_URI[sha256sum] = "a08bc09d3857216d4c0f412a1611056f1cc2b64fd254fb1e8a0afba7cfa1a95a" |
7 | |||
8 | PYPI_PACKAGE = "bitstring" | ||
9 | 7 | ||
10 | inherit pypi python_poetry_core | 8 | inherit pypi python_poetry_core |
11 | 9 | ||
@@ -14,6 +12,7 @@ RDEPENDS:${PN} = "\ | |||
14 | python3-io \ | 12 | python3-io \ |
15 | python3-mmap \ | 13 | python3-mmap \ |
16 | python3-numbers \ | 14 | python3-numbers \ |
15 | python3-bitarray \ | ||
17 | " | 16 | " |
18 | 17 | ||
19 | BBCLASSEXTEND = "native nativesdk" | 18 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-python/recipes-devtools/python/python3-bitstruct_8.19.0.bb b/meta-python/recipes-devtools/python/python3-bitstruct_8.21.0.bb index 6401322e2c..9431473548 100644 --- a/meta-python/recipes-devtools/python/python3-bitstruct_8.19.0.bb +++ b/meta-python/recipes-devtools/python/python3-bitstruct_8.21.0.bb | |||
@@ -3,11 +3,9 @@ HOMEPAGE = "https://github.com/eerimoq/bitstruct" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d9aa4ec07de78abae21c490c9ffe61bd" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d9aa4ec07de78abae21c490c9ffe61bd" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "d75ba9dded85c17e885a209a00eb8e248ee40762149f2f2a79360ca857467dac" | 6 | SRC_URI[sha256sum] = "ff0be4968a45caf8688e075f55cca7a3fe9212b069ba67e5b27b0926a11948ac" |
7 | 7 | ||
8 | PYPI_PACKAGE = "bitstruct" | 8 | inherit pypi python_setuptools_build_meta |
9 | |||
10 | inherit pypi setuptools3 | ||
11 | 9 | ||
12 | CLEANBROKEN = "1" | 10 | CLEANBROKEN = "1" |
13 | 11 | ||
diff --git a/meta-python/recipes-devtools/python/python3-black_25.1.0.bb b/meta-python/recipes-devtools/python/python3-black_25.1.0.bb new file mode 100644 index 0000000000..f87b1e84cb --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-black_25.1.0.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | SUMMARY = "The uncompromising code formatter." | ||
2 | LICENSE = "MIT" | ||
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d3465a2a183908c9cb95bf490bd1e7ab \ | ||
4 | file://docs/license.md;md5=d826b3c5269f21a8a0272af3f00d15c0 \ | ||
5 | file://src/blib2to3/LICENSE;md5=bbbad7490e921f9a73c0e891305cb4b3" | ||
6 | |||
7 | DEPENDS = "python3-hatch-vcs-native python3-hatchling-native" | ||
8 | SRC_URI[sha256sum] = "33496d5cd1222ad73391352b4ae8da15253c5de89b93a80b3e2c8d9a19ec2666" | ||
9 | |||
10 | inherit pypi python_hatchling | ||
11 | |||
12 | DEPENDS += "python3-hatch-fancy-pypi-readme-native" | ||
13 | |||
14 | PYPI_PACKAGE = "black" | ||
15 | |||
16 | RDEPENDS:${PN} = "python3-click \ | ||
17 | python3-mypy-extensions \ | ||
18 | python3-packaging \ | ||
19 | python3-pathspec \ | ||
20 | python3-platformdirs \ | ||
21 | python3-tomli \ | ||
22 | python3-typing-extensions \ | ||
23 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-bleak/run-ptest b/meta-python/recipes-devtools/python/python3-bleak/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-bleak/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb b/meta-python/recipes-devtools/python/python3-bleak_0.22.3.bb index 96f3fcbcfe..4c534e1892 100644 --- a/meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb +++ b/meta-python/recipes-devtools/python/python3-bleak_0.22.3.bb | |||
@@ -3,31 +3,18 @@ HOMEPAGE = "https://github.com/hbldh/bleak" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=bcbc2069a86cba1b5e47253679f66ed7" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=bcbc2069a86cba1b5e47253679f66ed7" |
5 | 5 | ||
6 | SRCREV = "054b092e19c7a45d5ea07d8948022f54117fe5e8" | 6 | SRCREV = "2e6890f68f6718b4f92e602b9b926aa3d107b556" |
7 | PYPI_SRC_URI = "git://github.com/hbldh/bleak.git;protocol=https;branch=develop" | 7 | PYPI_SRC_URI = "git://github.com/hbldh/bleak.git;protocol=https;branch=develop;destsuffix=${S}" |
8 | 8 | ||
9 | inherit pypi python_poetry_core ptest | 9 | inherit pypi python_poetry_core ptest-python-pytest |
10 | 10 | ||
11 | S = "${WORKDIR}/git" | ||
12 | |||
13 | SRC_URI += " \ | ||
14 | file://run-ptest \ | ||
15 | " | ||
16 | 11 | ||
17 | RDEPENDS:${PN}-ptest += " \ | 12 | RDEPENDS:${PN}-ptest += " \ |
18 | python3-pytest \ | ||
19 | python3-pytest-asyncio \ | 13 | python3-pytest-asyncio \ |
20 | python3-unittest-automake-output \ | ||
21 | " | 14 | " |
22 | 15 | ||
23 | do_install_ptest() { | ||
24 | install -d ${D}${PTEST_PATH}/tests | ||
25 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
26 | } | ||
27 | |||
28 | RDEPENDS:${PN} += " \ | 16 | RDEPENDS:${PN} += " \ |
29 | python3-core (>3.7) \ | 17 | python3-core (>3.8) \ |
30 | python3-async-timeout \ | ||
31 | python3-dbus-fast \ | 18 | python3-dbus-fast \ |
32 | python3-xml \ | 19 | python3-xml \ |
33 | " | 20 | " |
diff --git a/meta-python/recipes-devtools/python/python3-blinker/run-ptest b/meta-python/recipes-devtools/python/python3-blinker/run-ptest deleted file mode 100644 index 69cd362f69..0000000000 --- a/meta-python/recipes-devtools/python/python3-blinker/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-blinker_1.7.0.bb b/meta-python/recipes-devtools/python/python3-blinker_1.7.0.bb deleted file mode 100644 index 8f2cf4883d..0000000000 --- a/meta-python/recipes-devtools/python/python3-blinker_1.7.0.bb +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | DESCRIPTION = "Fast, simple object-to-object and broadcast signaling." | ||
2 | LICENSE = "MIT" | ||
3 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=42cd19c88fc13d1307a4efd64ee90e4e" | ||
4 | |||
5 | SRC_URI[sha256sum] = "e6820ff6fa4e4d1d8e2747c2283749c3f547e4fee112b98555cdcdae32996182" | ||
6 | |||
7 | inherit pypi python_setuptools_build_meta ptest | ||
8 | |||
9 | SRC_URI += "file://run-ptest" | ||
10 | |||
11 | RDEPENDS:${PN} += "\ | ||
12 | python3-asyncio \ | ||
13 | " | ||
14 | |||
15 | RDEPENDS:${PN}-ptest += " \ | ||
16 | python3-pytest \ | ||
17 | python3-unittest-automake-output \ | ||
18 | " | ||
19 | |||
20 | do_install_ptest() { | ||
21 | install -d ${D}${PTEST_PATH}/tests | ||
22 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
23 | } | ||
diff --git a/meta-python/recipes-devtools/python/python3-blinker_1.9.0.bb b/meta-python/recipes-devtools/python/python3-blinker_1.9.0.bb new file mode 100644 index 0000000000..2ee8133fbb --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-blinker_1.9.0.bb | |||
@@ -0,0 +1,11 @@ | |||
1 | DESCRIPTION = "Fast, simple object-to-object and broadcast signaling." | ||
2 | LICENSE = "MIT" | ||
3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=42cd19c88fc13d1307a4efd64ee90e4e" | ||
4 | |||
5 | SRC_URI[sha256sum] = "b4ce2265a7abece45e7cc896e98dbebe6cead56bcf805a3d23136d145f5445bf" | ||
6 | |||
7 | inherit pypi python_setuptools_build_meta ptest-python-pytest | ||
8 | |||
9 | RDEPENDS:${PN} += "\ | ||
10 | python3-asyncio \ | ||
11 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-brotli_1.1.0.bb b/meta-python/recipes-devtools/python/python3-brotli_1.1.0.bb index 678f12b730..2f7016a546 100644 --- a/meta-python/recipes-devtools/python/python3-brotli_1.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-brotli_1.1.0.bb | |||
@@ -5,13 +5,14 @@ LICENSE = "MIT" | |||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=941ee9cd1609382f946352712a319b4b" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=941ee9cd1609382f946352712a319b4b" |
6 | 6 | ||
7 | PYPI_PACKAGE = "Brotli" | 7 | PYPI_PACKAGE = "Brotli" |
8 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
8 | 9 | ||
9 | SRC_URI[sha256sum] = "81de08ac11bcb85841e440c13611c00b67d3bf82698314928d0b676362546724" | 10 | SRC_URI[sha256sum] = "81de08ac11bcb85841e440c13611c00b67d3bf82698314928d0b676362546724" |
10 | 11 | ||
11 | inherit pypi setuptools3 | 12 | inherit pypi python_setuptools_build_meta |
12 | 13 | ||
13 | RDEPENDS:${PN} = "\ | 14 | RDEPENDS:${PN} += " \ |
14 | python3-cffi \ | 15 | python3-cffi \ |
15 | " | 16 | " |
16 | 17 | ||
17 | BBCLASSEXTEND = "native nativesdk" | 18 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-python/recipes-devtools/python/python3-cachecontrol_0.14.0.bb b/meta-python/recipes-devtools/python/python3-cachecontrol_0.14.3.bb index 1e374529cc..0ea263b8b5 100644 --- a/meta-python/recipes-devtools/python/python3-cachecontrol_0.14.0.bb +++ b/meta-python/recipes-devtools/python/python3-cachecontrol_0.14.3.bb | |||
@@ -1,15 +1,12 @@ | |||
1 | SUMMARY = "httplib2 caching for requests" | 1 | SUMMARY = "httplib2 caching for requests" |
2 | HOMEPAGE = "https://pypi.org/project/CacheControl/" | 2 | HOMEPAGE = "https://pypi.org/project/CacheControl/" |
3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
4 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=12;endline=12;md5=e2fd6ddcf506e08972d5ba4b93c0022e" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=6572692148079ebbbd800be4b9f36c6d" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "7db1195b41c81f8274a7bbd97c956f44e8348265a1bc7641c37dfebc39f0c938" | 6 | SRC_URI[sha256sum] = "73e7efec4b06b20d9267b441c1f733664f989fb8688391b670ca812d70795d11" |
7 | 7 | ||
8 | inherit pypi python_poetry_core | 8 | inherit pypi python_poetry_core |
9 | 9 | ||
10 | UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/CacheControl/" | ||
11 | UPSTREAM_CHECK_REGEX = "/CacheControl/(?P<pver>(\d+[\.\-_]*)+)" | ||
12 | |||
13 | RDEPENDS:${PN} += "\ | 10 | RDEPENDS:${PN} += "\ |
14 | python3-crypt \ | 11 | python3-crypt \ |
15 | python3-datetime \ | 12 | python3-datetime \ |
diff --git a/meta-python/recipes-devtools/python/python3-cached-property_1.5.2.bb b/meta-python/recipes-devtools/python/python3-cached-property_2.0.1.bb index 059c34a29d..41211534b5 100644 --- a/meta-python/recipes-devtools/python/python3-cached-property_1.5.2.bb +++ b/meta-python/recipes-devtools/python/python3-cached-property_2.0.1.bb | |||
@@ -5,7 +5,8 @@ SECTION = "devel/python" | |||
5 | LICENSE = "BSD-3-Clause" | 5 | LICENSE = "BSD-3-Clause" |
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=db7ff60c4e14f58534201242803d8abc" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=db7ff60c4e14f58534201242803d8abc" |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "9fa5755838eecbb2d234c3aa390bd80fbd3ac6b6869109bfc1b499f7bd89a130" | 8 | PYPI_PACKAGE = "cached_property" |
9 | SRC_URI[sha256sum] = "484d617105e3ee0e4f1f58725e72a8ef9e93deee462222dbd51cd91230897641" | ||
9 | 10 | ||
10 | inherit pypi setuptools3 | 11 | inherit pypi setuptools3 |
11 | 12 | ||
diff --git a/meta-python/recipes-devtools/python/python3-cachetools/run-ptest b/meta-python/recipes-devtools/python/python3-cachetools/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-cachetools/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-cachetools_5.3.3.bb b/meta-python/recipes-devtools/python/python3-cachetools_5.3.3.bb deleted file mode 100644 index 3ef75d4703..0000000000 --- a/meta-python/recipes-devtools/python/python3-cachetools_5.3.3.bb +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | SUMMARY = "Extensible memoizing collections and decorators" | ||
2 | HOMEPAGE = "https://github.com/tkem/cachetools" | ||
3 | DESCRIPTION = "This module provides various memoizing \ | ||
4 | collections and decorators, including variants of the \ | ||
5 | Python 3 Standard Library @lru_cache function decorator." | ||
6 | SECTION = "devel/python" | ||
7 | |||
8 | LICENSE = "MIT" | ||
9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=539275e657c6b7af026bb908356f7541" | ||
10 | |||
11 | inherit pypi python_setuptools_build_meta ptest | ||
12 | |||
13 | SRC_URI += " \ | ||
14 | file://run-ptest \ | ||
15 | " | ||
16 | |||
17 | RDEPENDS:${PN} += " \ | ||
18 | python3-math \ | ||
19 | " | ||
20 | |||
21 | RDEPENDS:${PN}-ptest += " \ | ||
22 | python3-pytest \ | ||
23 | python3-unittest-automake-output \ | ||
24 | " | ||
25 | |||
26 | do_install_ptest() { | ||
27 | install -d ${D}${PTEST_PATH}/tests | ||
28 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
29 | } | ||
30 | |||
31 | SRC_URI[sha256sum] = "ba29e2dfa0b8b556606f097407ed1aa62080ee108ab0dc5ec9d6a723a007d105" | ||
32 | |||
33 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-cachetools_6.1.0.bb b/meta-python/recipes-devtools/python/python3-cachetools_6.1.0.bb new file mode 100644 index 0000000000..702f87f94d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-cachetools_6.1.0.bb | |||
@@ -0,0 +1,19 @@ | |||
1 | SUMMARY = "Extensible memoizing collections and decorators" | ||
2 | HOMEPAGE = "https://github.com/tkem/cachetools" | ||
3 | DESCRIPTION = "This module provides various memoizing \ | ||
4 | collections and decorators, including variants of the \ | ||
5 | Python 3 Standard Library @lru_cache function decorator." | ||
6 | SECTION = "devel/python" | ||
7 | |||
8 | LICENSE = "MIT" | ||
9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e21bbe53b2730bfe1911cf381b81821e" | ||
10 | |||
11 | inherit pypi python_setuptools_build_meta ptest-python-pytest | ||
12 | |||
13 | RDEPENDS:${PN} += " \ | ||
14 | python3-math \ | ||
15 | " | ||
16 | |||
17 | SRC_URI[sha256sum] = "b4c4f404392848db3ce7aac34950d17be4d864da4b8b66911008e430bc544587" | ||
18 | |||
19 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-can_4.2.2.bb b/meta-python/recipes-devtools/python/python3-can_4.5.0.bb index 9ca926d66c..8e32cee622 100644 --- a/meta-python/recipes-devtools/python/python3-can_4.2.2.bb +++ b/meta-python/recipes-devtools/python/python3-can_4.5.0.bb | |||
@@ -1,15 +1,19 @@ | |||
1 | SUMMARY = "Controller Area Network (CAN) interface module for Python" | 1 | SUMMARY = "Controller Area Network (CAN) interface module for Python" |
2 | HOMEPAGE = "https://github.com/hardbyte/python-can" | ||
2 | SECTION = "devel/python" | 3 | SECTION = "devel/python" |
3 | LICENSE = "LGPL-3.0-only" | 4 | LICENSE = "LGPL-3.0-only" |
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e6a600fd5e1d9cbde2d983680233ad02" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e6a600fd5e1d9cbde2d983680233ad02" |
5 | 6 | ||
6 | SRC_URI[sha256sum] = "6ad50f4613289f3c4d276b6d2ac8901d776dcb929994cce93f55a69e858c595f" | 7 | SRC_URI[sha256sum] = "d3684cebe5b028a148c1742b3a45cec4fcaf83a7f7c52d0680b2eaeaf52f8eb7" |
7 | 8 | ||
8 | PYPI_PACKAGE="python-can" | 9 | PYPI_PACKAGE = "python_can" |
10 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
9 | 11 | ||
10 | inherit pypi setuptools3 | 12 | inherit pypi python_setuptools_build_meta |
11 | 13 | ||
12 | RDEPENDS:${PN} += " \ | 14 | DEPENDS += "python3-setuptools-scm-native" |
15 | |||
16 | RDEPENDS:${PN} += "\ | ||
13 | python3-aenum \ | 17 | python3-aenum \ |
14 | python3-asyncio \ | 18 | python3-asyncio \ |
15 | python3-codecs \ | 19 | python3-codecs \ |
@@ -19,6 +23,7 @@ RDEPENDS:${PN} += " \ | |||
19 | python3-json \ | 23 | python3-json \ |
20 | python3-logging \ | 24 | python3-logging \ |
21 | python3-misc \ | 25 | python3-misc \ |
26 | python3-msgpack \ | ||
22 | python3-netserver \ | 27 | python3-netserver \ |
23 | python3-packaging \ | 28 | python3-packaging \ |
24 | python3-pkg-resources \ | 29 | python3-pkg-resources \ |
diff --git a/meta-python/recipes-devtools/python/python3-cantools_39.4.5.bb b/meta-python/recipes-devtools/python/python3-cantools_40.2.3.bb index f4f16c1550..0e7a692200 100644 --- a/meta-python/recipes-devtools/python/python3-cantools_39.4.5.bb +++ b/meta-python/recipes-devtools/python/python3-cantools_40.2.3.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/eerimoq/cantools" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d9aa4ec07de78abae21c490c9ffe61bd" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d9aa4ec07de78abae21c490c9ffe61bd" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "594f2ae80deadb8c6b08e8e1322d42e258f40d42c80d6886d84e0143f90b5a23" | 6 | SRC_URI[sha256sum] = "3c55cbd7d7d527a565b98123fbbb8f5df09132f74ceb722ff541fd80b5991424" |
7 | 7 | ||
8 | PYPI_PACKAGE = "cantools" | 8 | PYPI_PACKAGE = "cantools" |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-cassandra-driver_3.29.1.bb b/meta-python/recipes-devtools/python/python3-cassandra-driver_3.29.2.bb index 3003e84acf..f60167d309 100644 --- a/meta-python/recipes-devtools/python/python3-cassandra-driver_3.29.1.bb +++ b/meta-python/recipes-devtools/python/python3-cassandra-driver_3.29.2.bb | |||
@@ -8,7 +8,7 @@ LICENSE = "Apache-2.0" | |||
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" | 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" |
9 | SRCNAME = "cassandra-driver" | 9 | SRCNAME = "cassandra-driver" |
10 | 10 | ||
11 | SRC_URI[sha256sum] = "38e9c2a2f2a9664bb03f1f852d5fccaeff2163942b5db35dffcf8bf32a51cfe5" | 11 | SRC_URI[sha256sum] = "c4310a7d0457f51a63fb019d8ef501588c491141362b53097fbc62fa06559b7c" |
12 | 12 | ||
13 | inherit pypi setuptools3 | 13 | inherit pypi setuptools3 |
14 | 14 | ||
diff --git a/meta-python/recipes-devtools/python/python3-cbor2/run-ptest b/meta-python/recipes-devtools/python/python3-cbor2/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-cbor2/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-cbor2_5.6.4.bb b/meta-python/recipes-devtools/python/python3-cbor2_5.6.4.bb deleted file mode 100644 index 4033b985ab..0000000000 --- a/meta-python/recipes-devtools/python/python3-cbor2_5.6.4.bb +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | DESCRIPTION = "An implementation of RFC 7049 - Concise Binary Object Representation (CBOR)." | ||
2 | DEPENDS +="python3-setuptools-scm-native" | ||
3 | |||
4 | LICENSE = "Apache-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" | ||
6 | |||
7 | SRC_URI[sha256sum] = "1c533c50dde86bef1c6950602054a0ffa3c376e8b0e20c7b8f5b108793f6983e" | ||
8 | |||
9 | inherit pypi python_setuptools_build_meta ptest | ||
10 | |||
11 | DEPENDS += "python3-setuptools-scm-native" | ||
12 | |||
13 | SRC_URI += " \ | ||
14 | file://run-ptest \ | ||
15 | " | ||
16 | |||
17 | RDEPENDS:${PN}-ptest += " \ | ||
18 | python3-hypothesis \ | ||
19 | python3-pytest \ | ||
20 | python3-unittest-automake-output \ | ||
21 | python3-unixadmin \ | ||
22 | " | ||
23 | |||
24 | do_install_ptest() { | ||
25 | install -d ${D}${PTEST_PATH}/tests | ||
26 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
27 | } | ||
28 | |||
29 | RDEPENDS:${PN} += " \ | ||
30 | python3-datetime \ | ||
31 | " | ||
32 | |||
33 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-cbor2_5.6.5.bb b/meta-python/recipes-devtools/python/python3-cbor2_5.6.5.bb new file mode 100644 index 0000000000..834bad6865 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-cbor2_5.6.5.bb | |||
@@ -0,0 +1,18 @@ | |||
1 | DESCRIPTION = "An implementation of RFC 7049 - Concise Binary Object Representation (CBOR)." | ||
2 | LICENSE = "MIT" | ||
3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a79e64179819c7ce293372c059f1dbd8" | ||
4 | DEPENDS += "python3-setuptools-scm-native" | ||
5 | |||
6 | SRC_URI[sha256sum] = "b682820677ee1dbba45f7da11898d2720f92e06be36acec290867d5ebf3d7e09" | ||
7 | |||
8 | inherit pypi python_setuptools_build_meta ptest-python-pytest | ||
9 | |||
10 | RDEPENDS:${PN}-ptest += " \ | ||
11 | python3-hypothesis \ | ||
12 | python3-unixadmin \ | ||
13 | " | ||
14 | RDEPENDS:${PN} += " \ | ||
15 | python3-datetime \ | ||
16 | " | ||
17 | |||
18 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-cchardet_2.1.7.bb b/meta-python/recipes-devtools/python/python3-cchardet_2.1.7.bb index 3d9194c219..b59c289c51 100644 --- a/meta-python/recipes-devtools/python/python3-cchardet_2.1.7.bb +++ b/meta-python/recipes-devtools/python/python3-cchardet_2.1.7.bb | |||
@@ -5,8 +5,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6ecda54f6f525388d71d6b3cd92f7474" | |||
5 | 5 | ||
6 | SRC_URI[sha256sum] = "c428b6336545053c2589f6caf24ea32276c6664cb86db817e03a94c60afa0eaf" | 6 | SRC_URI[sha256sum] = "c428b6336545053c2589f6caf24ea32276c6664cb86db817e03a94c60afa0eaf" |
7 | 7 | ||
8 | inherit pypi setuptools3 | 8 | inherit pypi setuptools3 cython |
9 | 9 | ||
10 | BBCLASSEXTEND = "native nativesdk" | 10 | BBCLASSEXTEND = "native nativesdk" |
11 | |||
12 | DEPENDS += "python3-cython-native" | ||
diff --git a/meta-python/recipes-devtools/python/python3-cerberus_1.3.5.bb b/meta-python/recipes-devtools/python/python3-cerberus_1.3.7.bb index eb3453aeef..7ace68bbdf 100644 --- a/meta-python/recipes-devtools/python/python3-cerberus_1.3.5.bb +++ b/meta-python/recipes-devtools/python/python3-cerberus_1.3.7.bb | |||
@@ -1,11 +1,11 @@ | |||
1 | SUMMARY = "Lightweight, extensible schema and data validation tool for Python dictionaries." | 1 | SUMMARY = "Lightweight, extensible schema and data validation tool for Python dictionaries." |
2 | HOMEPAGE = "http://docs.python-cerberus.org/" | 2 | HOMEPAGE = "https://docs.python-cerberus.org/" |
3 | SECTION = "devel/python" | 3 | SECTION = "devel/python" |
4 | LICENSE = "ISC" | 4 | LICENSE = "ISC" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=48f8e9432d0dac5e0e7a18211a0bacdb" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=48f8e9432d0dac5e0e7a18211a0bacdb" |
6 | 6 | ||
7 | # The PyPI package uses a capital letter so we have to specify this explicitly | 7 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" |
8 | PYPI_PACKAGE = "Cerberus" | 8 | |
9 | inherit pypi python_poetry_core | 9 | inherit pypi python_poetry_core |
10 | 10 | ||
11 | SRC_URI[sha256sum] = "81011e10266ef71b6ec6d50e60171258a5b134d69f8fb387d16e4936d0d47642" | 11 | SRC_URI[sha256sum] = "ecf249665400a0b7a9d5e4ee1ffc234fd5d003186d3e1904f70bc14038642c13" |
diff --git a/meta-python/recipes-devtools/python/python3-changelog-chug_0.0.3.bb b/meta-python/recipes-devtools/python/python3-changelog-chug_0.0.3.bb new file mode 100644 index 0000000000..a34cbebe91 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-changelog-chug_0.0.3.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | SUMMARY = "Parser library for project Change Log documents." | ||
2 | HOMEPAGE = "https://git.sr.ht/~bignose/changelog-chug" | ||
3 | LICENSE = "AGPL-3.0-only" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=7a9d97a1655c1051f8a9351e15ea3122" | ||
5 | |||
6 | SRC_URI[sha256sum] = "98ee1e8be75b6e9d512c35292c3c293a124541a4ec2014a6ec3cf33a3d265d2d" | ||
7 | |||
8 | inherit pypi python_setuptools_build_meta | ||
9 | |||
10 | PYPI_PACKAGE = "changelog_chug" | ||
11 | |||
12 | DEPENDS += " \ | ||
13 | python3-semver-native \ | ||
14 | python3-docutils-native \ | ||
15 | " | ||
16 | |||
17 | RDEPENDS:${PN} += "\ | ||
18 | python3-core \ | ||
19 | python3-semver \ | ||
20 | python3-docutils \ | ||
21 | " | ||
22 | |||
23 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-charset-normalizer_3.3.2.bb b/meta-python/recipes-devtools/python/python3-charset-normalizer_3.3.2.bb deleted file mode 100644 index ca9a88ccfb..0000000000 --- a/meta-python/recipes-devtools/python/python3-charset-normalizer_3.3.2.bb +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | SUMMARY = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet." | ||
2 | HOMEPAGE = "https://github.com/ousret/charset_normalizer" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0974a390827087287db39928f7c524b5" | ||
5 | |||
6 | SRC_URI[sha256sum] = "f30c3cb33b24454a82faecaf01b19c18562b1e89558fb6c56de4d9118a032fd5" | ||
7 | |||
8 | inherit pypi setuptools3 | ||
9 | |||
10 | RDEPENDS:${PN} += " \ | ||
11 | python3-core \ | ||
12 | python3-logging \ | ||
13 | python3-codecs \ | ||
14 | python3-json \ | ||
15 | " | ||
16 | |||
17 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.2.bb b/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.2.bb new file mode 100644 index 0000000000..e62306fff3 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.2.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | SUMMARY = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet." | ||
2 | HOMEPAGE = "https://github.com/ousret/charset_normalizer" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=48178f3fc1374ad7e830412f812bde05" | ||
5 | |||
6 | SRC_URI[sha256sum] = "5baececa9ecba31eff645232d59845c07aa030f0c81ee70184a90d35099a0e63" | ||
7 | |||
8 | DEPENDS += "python3-setuptools-scm-native python3-mypy-native" | ||
9 | |||
10 | inherit pypi python_setuptools_build_meta ptest-python-pytest | ||
11 | |||
12 | PYPI_PACKAGE = "charset_normalizer" | ||
13 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
14 | |||
15 | RDEPENDS:${PN} += " \ | ||
16 | python3-core \ | ||
17 | python3-logging \ | ||
18 | python3-mypy \ | ||
19 | python3-codecs \ | ||
20 | python3-json \ | ||
21 | " | ||
22 | |||
23 | RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-charmap-gb18030 glibc-charmaps" | ||
24 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-cheetah_3.2.6.post1.bb b/meta-python/recipes-devtools/python/python3-cheetah_3.2.6.post1.bb index 448772960b..e7b404cd8f 100644 --- a/meta-python/recipes-devtools/python/python3-cheetah_3.2.6.post1.bb +++ b/meta-python/recipes-devtools/python/python3-cheetah_3.2.6.post1.bb | |||
@@ -4,10 +4,12 @@ LICENSE = "MIT" | |||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=15e13a4ed0e5880e3e55ec88b0921181" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=15e13a4ed0e5880e3e55ec88b0921181" |
5 | 5 | ||
6 | PYPI_PACKAGE = "Cheetah3" | 6 | PYPI_PACKAGE = "Cheetah3" |
7 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
8 | |||
7 | inherit pypi setuptools3 | 9 | inherit pypi setuptools3 |
8 | 10 | ||
9 | RDEPENDS:${PN} = "python3-pickle python3-pprint" | 11 | RDEPENDS:${PN} = "python3-pickle python3-pprint" |
10 | RDEPENDS:${PN}:class-native = "" | 12 | RDEPENDS:${PN}:class-native = "python3-legacy-cgi-native" |
11 | 13 | ||
12 | BBCLASSEXTEND = "native nativesdk" | 14 | BBCLASSEXTEND = "native nativesdk" |
13 | 15 | ||
diff --git a/meta-python/recipes-devtools/python/python3-classes_0.4.1.bb b/meta-python/recipes-devtools/python/python3-classes_0.4.1.bb index d9240e1383..8daf82481f 100644 --- a/meta-python/recipes-devtools/python/python3-classes_0.4.1.bb +++ b/meta-python/recipes-devtools/python/python3-classes_0.4.1.bb | |||
@@ -5,6 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=155fbcc756c8ae5265d252d23e20908f" | |||
5 | 5 | ||
6 | SRC_URI[sha256sum] = "4de4fdd6c5c38607bbd8ad76703d7cc4dbe007cfa78e8ef1f62fc6ac55303e23" | 6 | SRC_URI[sha256sum] = "4de4fdd6c5c38607bbd8ad76703d7cc4dbe007cfa78e8ef1f62fc6ac55303e23" |
7 | 7 | ||
8 | inherit pypi setuptools3 | 8 | inherit pypi python_poetry_core |
9 | 9 | ||
10 | RDEPENDS:${PN} += "python3-typing-extensions" | 10 | RDEPENDS:${PN} += "python3-typing-extensions" |
diff --git a/meta-python/recipes-devtools/python/python3-click-repl_0.3.0.bb b/meta-python/recipes-devtools/python/python3-click-repl_0.3.0.bb index b773ed6b8b..46cf1b3784 100644 --- a/meta-python/recipes-devtools/python/python3-click-repl_0.3.0.bb +++ b/meta-python/recipes-devtools/python/python3-click-repl_0.3.0.bb | |||
@@ -5,6 +5,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=580facc4832cac548fad94845542da44" | |||
5 | 5 | ||
6 | SRC_URI[sha256sum] = "17849c23dba3d667247dc4defe1757fff98694e90fe37474f3feebb69ced26a9" | 6 | SRC_URI[sha256sum] = "17849c23dba3d667247dc4defe1757fff98694e90fe37474f3feebb69ced26a9" |
7 | 7 | ||
8 | inherit pypi setuptools3 | 8 | inherit pypi python_setuptools_build_meta |
9 | 9 | ||
10 | RDEPENDS:${PN} = "python3-click python3-prompt-toolkit" | 10 | RDEPENDS:${PN} += " \ |
11 | python3-click \ | ||
12 | python3-prompt-toolkit \ | ||
13 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-click-spinner_0.1.10.bb b/meta-python/recipes-devtools/python/python3-click-spinner_0.1.10.bb index b3e1328c75..7f19cc3458 100644 --- a/meta-python/recipes-devtools/python/python3-click-spinner_0.1.10.bb +++ b/meta-python/recipes-devtools/python/python3-click-spinner_0.1.10.bb | |||
@@ -4,7 +4,6 @@ LICENSE = "MIT" | |||
4 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489" | 4 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489" |
5 | 5 | ||
6 | SRC_URI += "file://0001-Update-Versioneer-to-0.22.patch" | 6 | SRC_URI += "file://0001-Update-Versioneer-to-0.22.patch" |
7 | SRC_URI[md5sum] = "ab68ed404401421819c81cc6c0677a87" | ||
8 | SRC_URI[sha256sum] = "87eacf9d7298973a25d7615ef57d4782aebf913a532bba4b28a37e366e975daf" | 7 | SRC_URI[sha256sum] = "87eacf9d7298973a25d7615ef57d4782aebf913a532bba4b28a37e366e975daf" |
9 | 8 | ||
10 | inherit pypi setuptools3 | 9 | inherit pypi setuptools3 |
diff --git a/meta-python/recipes-devtools/python/python3-cloudpickle_3.0.0.bb b/meta-python/recipes-devtools/python/python3-cloudpickle_3.1.1.bb index fce5a5b408..7e2fadda1c 100644 --- a/meta-python/recipes-devtools/python/python3-cloudpickle_3.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-cloudpickle_3.1.1.bb | |||
@@ -14,5 +14,5 @@ inherit pypi python_flit_core | |||
14 | 14 | ||
15 | SRC_URI += "https://raw.githubusercontent.com/cloudpipe/cloudpickle/v${PV}/LICENSE;downloadfilename=LICENSE.cloudpickle;name=license" | 15 | SRC_URI += "https://raw.githubusercontent.com/cloudpipe/cloudpickle/v${PV}/LICENSE;downloadfilename=LICENSE.cloudpickle;name=license" |
16 | 16 | ||
17 | SRC_URI[sha256sum] = "996d9a482c6fb4f33c1a35335cf8afd065d2a56e973270364840712d9131a882" | 17 | SRC_URI[sha256sum] = "b216fa8ae4019d5482a8ac3c95d8f6346115d8835911fd4aefd1a445e4242c64" |
18 | SRC_URI[license.sha256sum] = "3029ea34173e9fdc233ad315dc6b100bd1ea71f529b1c1af97664a272fdc55f5" | 18 | SRC_URI[license.sha256sum] = "3029ea34173e9fdc233ad315dc6b100bd1ea71f529b1c1af97664a272fdc55f5" |
diff --git a/meta-python/recipes-devtools/python/python3-cmake/run-cmake-from-path.patch b/meta-python/recipes-devtools/python/python3-cmake/run-cmake-from-path.patch index d4d2903d5e..7b4190a70f 100644 --- a/meta-python/recipes-devtools/python/python3-cmake/run-cmake-from-path.patch +++ b/meta-python/recipes-devtools/python/python3-cmake/run-cmake-from-path.patch | |||
@@ -1,13 +1,13 @@ | |||
1 | Upstream-Status: Pending | 1 | Upstream-Status: Pending |
2 | 2 | ||
3 | --- cmake-3.25.2/src/cmake/__init__.py.old 2023-03-10 09:40:43.582315753 +0100 | 3 | --- cmake-3.25.2/src/cmake/__init__.py.old 2024-12-12 20:25:48.207389622 +0000 |
4 | +++ cmake-3.25.2/src/cmake/__init__.py 2023-03-10 09:41:38.030874047 +0100 | 4 | +++ cmake-3.25.2/src/cmake/__init__.py 2024-12-12 20:25:48.207389622 +0000 |
5 | @@ -36,7 +36,7 @@ | 5 | @@ -44,7 +44,7 @@ |
6 | 6 | ||
7 | 7 | ||
8 | def _program(name, args): | 8 | def _program(name: str, args: Iterable[str]) -> int: |
9 | - return subprocess.call([os.path.join(CMAKE_BIN_DIR, name)] + args, close_fds=False) | 9 | - return subprocess.call([os.path.join(CMAKE_BIN_DIR, name), *args], close_fds=False) |
10 | + return subprocess.call([name] + args, close_fds=False) | 10 | + return subprocess.call([name] + args, close_fds=False) |
11 | 11 | ||
12 | 12 | def _program_exit(name: str, *args: str) -> NoReturn: | |
13 | def cmake(): | 13 | if sys.platform.startswith("win"): |
diff --git a/meta-python/recipes-devtools/python/python3-cmake_3.28.3.bb b/meta-python/recipes-devtools/python/python3-cmake_4.0.2.bb index a6c3e139b8..a0d249a962 100644 --- a/meta-python/recipes-devtools/python/python3-cmake_3.28.3.bb +++ b/meta-python/recipes-devtools/python/python3-cmake_4.0.2.bb | |||
@@ -5,13 +5,13 @@ LIC_FILES_CHKSUM = " \ | |||
5 | file://LICENSE_Apache_20;md5=19cbd64715b51267a47bf3750cc6a8a5 \ | 5 | file://LICENSE_Apache_20;md5=19cbd64715b51267a47bf3750cc6a8a5 \ |
6 | " | 6 | " |
7 | 7 | ||
8 | DEPENDS = "ninja-native cmake-native python3-scikit-build-native" | 8 | DEPENDS = "ninja-native cmake-native python3-scikit-build-native python3-scikit-build-core-native" |
9 | 9 | ||
10 | PYPI_PACKAGE = "cmake" | 10 | PYPI_PACKAGE = "cmake" |
11 | PYPI_ARCHIVE_NAME_PREFIX = "pypi-" | 11 | PYPI_ARCHIVE_NAME_PREFIX = "pypi-" |
12 | 12 | ||
13 | inherit pypi python_setuptools_build_meta | 13 | inherit pypi python_setuptools_build_meta |
14 | SRC_URI[sha256sum] = "a8092815c739da7d6775c26ec30c2645f0fca9527a29e36a682faec7d39cde89" | 14 | SRC_URI[sha256sum] = "d6ce25b2cbebc073344d38b603ba223f8e633a07335f8056375f397a0f0027e5" |
15 | 15 | ||
16 | SRC_URI += " \ | 16 | SRC_URI += " \ |
17 | file://CMakeLists.txt \ | 17 | file://CMakeLists.txt \ |
@@ -32,6 +32,7 @@ do_install:append () { | |||
32 | RDEPENDS:${PN} = " \ | 32 | RDEPENDS:${PN} = " \ |
33 | cmake \ | 33 | cmake \ |
34 | python3-scikit-build \ | 34 | python3-scikit-build \ |
35 | python3-scikit-build-core \ | ||
35 | " | 36 | " |
36 | 37 | ||
37 | BBCLASSEXTEND = "native nativesdk" | 38 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-python/recipes-devtools/python/python3-cmd2_2.4.3.bb b/meta-python/recipes-devtools/python/python3-cmd2_2.6.1.bb index 3d37e8b3c7..4cb8305fb5 100644 --- a/meta-python/recipes-devtools/python/python3-cmd2_2.4.3.bb +++ b/meta-python/recipes-devtools/python/python3-cmd2_2.6.1.bb | |||
@@ -1,13 +1,13 @@ | |||
1 | SUMMARY = "Extra features for standard library's cmd module" | 1 | SUMMARY = "Extra features for standard library's cmd module" |
2 | HOMEPAGE = "https://github.com/python-cmd2/cmd2" | 2 | HOMEPAGE = "https://github.com/python-cmd2/cmd2" |
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=fad7740aa21780c8b9a214f5b320b4ad" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=01d2b71040983a2abc614fc4d0284771" |
5 | 5 | ||
6 | DEPENDS += "python3-setuptools-scm-native" | 6 | DEPENDS += "python3-setuptools-scm-native" |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "71873c11f72bd19e2b1db578214716f0d4f7c8fa250093c601265a9a717dee52" | 8 | SRC_URI[sha256sum] = "650a5892bf29b233d3d6775b5e3cc813648cff0d79134f707981f66baaed9f42" |
9 | 9 | ||
10 | inherit pypi setuptools3 | 10 | inherit pypi python_setuptools_build_meta python3native |
11 | 11 | ||
12 | RDEPENDS:${PN} += "\ | 12 | RDEPENDS:${PN} += "\ |
13 | python3-attrs \ | 13 | python3-attrs \ |
diff --git a/meta-python/recipes-devtools/python/python3-colorama_0.4.6.bb b/meta-python/recipes-devtools/python/python3-colorama_0.4.6.bb deleted file mode 100644 index 0f364c424d..0000000000 --- a/meta-python/recipes-devtools/python/python3-colorama_0.4.6.bb +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | SUMMARY = "Cross-platform colored terminal text." | ||
2 | HOMEPAGE = "https://github.com/tartley/colorama" | ||
3 | LICENSE = "BSD-2-Clause" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b4936429a56a652b84c5c01280dcaa26" | ||
5 | |||
6 | inherit pypi python_setuptools_build_meta | ||
7 | |||
8 | SRC_URI[sha256sum] = "08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44" | ||
9 | |||
10 | DEPENDS += " \ | ||
11 | python3-hatchling-native \ | ||
12 | " | ||
13 | |||
14 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-colorclass/0001-pyproject.toml-Use-poetry-core.patch b/meta-python/recipes-devtools/python/python3-colorclass/0001-pyproject.toml-Use-poetry-core.patch new file mode 100644 index 0000000000..d3e29d0a15 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-colorclass/0001-pyproject.toml-Use-poetry-core.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From 32a8a6bff42dfa493ae3c4a722109f2d3a32108e Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 11 Apr 2025 19:14:16 -0700 | ||
4 | Subject: [PATCH] pyproject.toml: Use poetry-core | ||
5 | |||
6 | Needed for using latest poetry infrastructure | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | pyproject.toml | 6 +++--- | ||
12 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
13 | |||
14 | diff --git a/pyproject.toml b/pyproject.toml | ||
15 | index 65eaec9..50d26cc 100644 | ||
16 | --- a/pyproject.toml | ||
17 | +++ b/pyproject.toml | ||
18 | @@ -58,9 +58,9 @@ documentation = "https://github.com/matthewdeanmartin/colorclass" | ||
19 | # per vermin's estimation | ||
20 | python = ">=2.6 || >=3.0" | ||
21 | |||
22 | -[tool.poetry.dev-dependencies] | ||
23 | +[tool.poetry.group.dev.dependencies] | ||
24 | pytest = "==6.0.1" | ||
25 | |||
26 | [build-system] | ||
27 | -requires = ["poetry>=0.12"] | ||
28 | -build-backend = "poetry.masonry.api" | ||
29 | +requires = ["poetry-core"] | ||
30 | +build-backend = "poetry.core.masonry.api" | ||
diff --git a/meta-python/recipes-devtools/python/python3-colorclass_2.2.2.bb b/meta-python/recipes-devtools/python/python3-colorclass_2.2.2.bb index ff72f4c2f6..498682cd6d 100644 --- a/meta-python/recipes-devtools/python/python3-colorclass_2.2.2.bb +++ b/meta-python/recipes-devtools/python/python3-colorclass_2.2.2.bb | |||
@@ -4,11 +4,12 @@ LICENSE = "MIT" | |||
4 | SECTION = "devel/python" | 4 | SECTION = "devel/python" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1b2a533055839e54558a727657c1c73e" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1b2a533055839e54558a727657c1c73e" |
6 | 6 | ||
7 | inherit pypi setuptools3 | 7 | inherit pypi python_poetry_core |
8 | 8 | ||
9 | SRC_URI += "file://0001-pyproject.toml-Use-poetry-core.patch" | ||
9 | SRC_URI[sha256sum] = "6d4fe287766166a98ca7bc6f6312daf04a0481b1eda43e7173484051c0ab4366" | 10 | SRC_URI[sha256sum] = "6d4fe287766166a98ca7bc6f6312daf04a0481b1eda43e7173484051c0ab4366" |
10 | 11 | ||
11 | PYPI_PACKAGE="colorclass" | 12 | PYPI_PACKAGE = "colorclass" |
12 | 13 | ||
13 | RDEPENDS:${PN} += "\ | 14 | RDEPENDS:${PN} += "\ |
14 | python3-ctypes \ | 15 | python3-ctypes \ |
diff --git a/meta-python/recipes-devtools/python/python3-colorlog_6.8.2.bb b/meta-python/recipes-devtools/python/python3-colorlog_6.9.0.bb index df5fdedfc8..a418d213af 100644 --- a/meta-python/recipes-devtools/python/python3-colorlog_6.8.2.bb +++ b/meta-python/recipes-devtools/python/python3-colorlog_6.9.0.bb | |||
@@ -7,7 +7,7 @@ inherit pypi setuptools3 | |||
7 | 7 | ||
8 | PYPI_PACKAGE = "colorlog" | 8 | PYPI_PACKAGE = "colorlog" |
9 | 9 | ||
10 | SRC_URI[sha256sum] = "3e3e079a41feb5a1b64f978b5ea4f46040a94f11f0e8bbb8261e3dbbeca64d44" | 10 | SRC_URI[sha256sum] = "bfba54a1b93b94f54e1f4fe48395725a3d92fd2a4af702f6bd70946bdc0c6ac2" |
11 | 11 | ||
12 | RDEPENDS:${PN} += "python3-logging" | 12 | RDEPENDS:${PN} += "python3-logging" |
13 | 13 | ||
diff --git a/meta-python/recipes-devtools/python/python3-configargparse_1.7.bb b/meta-python/recipes-devtools/python/python3-configargparse_1.7.bb index 1c49d891d2..4d18b6392d 100644 --- a/meta-python/recipes-devtools/python/python3-configargparse_1.7.bb +++ b/meta-python/recipes-devtools/python/python3-configargparse_1.7.bb | |||
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=da746463714cc35999ed9a42339f2943" | |||
6 | SRC_URI[sha256sum] = "e7067471884de5478c58a511e529f0f9bd1c66bfef1dea90935438d6c23306d1" | 6 | SRC_URI[sha256sum] = "e7067471884de5478c58a511e529f0f9bd1c66bfef1dea90935438d6c23306d1" |
7 | 7 | ||
8 | PYPI_PACKAGE = "ConfigArgParse" | 8 | PYPI_PACKAGE = "ConfigArgParse" |
9 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
9 | 10 | ||
10 | inherit pypi setuptools3 | 11 | inherit pypi setuptools3 |
11 | 12 | ||
diff --git a/meta-python/recipes-devtools/python/python3-configobj_5.0.8.bb b/meta-python/recipes-devtools/python/python3-configobj_5.0.8.bb deleted file mode 100644 index 8dc706fdfd..0000000000 --- a/meta-python/recipes-devtools/python/python3-configobj_5.0.8.bb +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | SUMMARY = "Config file reading, writing and validation." | ||
2 | SECTION = "devel/python" | ||
3 | LICENSE = "BSD-3-Clause" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3d6f99b84d9a94610c62e48fa2e59e72" | ||
5 | |||
6 | PYPI_PACKAGE = "configobj" | ||
7 | SRC_URI[sha256sum] = "6f704434a07dc4f4dc7c9a745172c1cad449feb548febd9f7fe362629c627a97" | ||
8 | |||
9 | inherit pypi setuptools3 | ||
10 | |||
11 | RDEPENDS:${PN} += " \ | ||
12 | python3-pprint \ | ||
13 | python3-six \ | ||
14 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-configobj_5.0.9.bb b/meta-python/recipes-devtools/python/python3-configobj_5.0.9.bb new file mode 100644 index 0000000000..bd4764f4de --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-configobj_5.0.9.bb | |||
@@ -0,0 +1,15 @@ | |||
1 | SUMMARY = "Config file reading, writing and validation." | ||
2 | SECTION = "devel/python" | ||
3 | LICENSE = "BSD-3-Clause" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e2df3cb285297a24cd1097dfe6e96f95" | ||
5 | |||
6 | SRC_URI[sha256sum] = "03c881bbf23aa07bccf1b837005975993c4ab4427ba57f959afdd9d1a2386848" | ||
7 | |||
8 | inherit pypi python_setuptools_build_meta ptest-python-pytest | ||
9 | |||
10 | PTEST_PYTEST_DIR = "src/tests" | ||
11 | |||
12 | RDEPENDS:${PN} += " \ | ||
13 | python3-pprint \ | ||
14 | python3-six \ | ||
15 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-contextlib2_21.6.0.bb b/meta-python/recipes-devtools/python/python3-contextlib2_21.6.0.bb index 5a54c696f4..9d32cbba2c 100644 --- a/meta-python/recipes-devtools/python/python3-contextlib2_21.6.0.bb +++ b/meta-python/recipes-devtools/python/python3-contextlib2_21.6.0.bb | |||
@@ -1,5 +1,5 @@ | |||
1 | DESCRIPTION = "Backports and enhancements for the contextlib module" | 1 | DESCRIPTION = "Backports and enhancements for the contextlib module" |
2 | HOMEPAGE = "http://contextlib2.readthedocs.org/" | 2 | HOMEPAGE = "https://contextlib2.readthedocs.org/" |
3 | SECTION = "devel/python" | 3 | SECTION = "devel/python" |
4 | LICENSE = "PSF-2.0 & Apache-2.0" | 4 | LICENSE = "PSF-2.0 & Apache-2.0" |
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d2b6be100f1002194122ec9bfee7b8b4" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d2b6be100f1002194122ec9bfee7b8b4" |
diff --git a/meta-python/recipes-devtools/python/python3-covdefaults_2.3.0.bb b/meta-python/recipes-devtools/python/python3-covdefaults_2.3.0.bb index 7391c3ae2e..16aa5c3477 100644 --- a/meta-python/recipes-devtools/python/python3-covdefaults_2.3.0.bb +++ b/meta-python/recipes-devtools/python/python3-covdefaults_2.3.0.bb | |||
@@ -11,7 +11,6 @@ SRC_URI += " \ | |||
11 | 11 | ||
12 | SRCREV = "007f5aff5d1c817883385a5f61f742dd11776dc6" | 12 | SRCREV = "007f5aff5d1c817883385a5f61f742dd11776dc6" |
13 | 13 | ||
14 | S = "${WORKDIR}/git" | ||
15 | 14 | ||
16 | inherit setuptools3 ptest | 15 | inherit setuptools3 ptest |
17 | 16 | ||
diff --git a/meta-python/recipes-devtools/python/python3-coverage_7.5.3.bb b/meta-python/recipes-devtools/python/python3-coverage_7.9.1.bb index 0df341c543..50542889a7 100644 --- a/meta-python/recipes-devtools/python/python3-coverage_7.5.3.bb +++ b/meta-python/recipes-devtools/python/python3-coverage_7.9.1.bb | |||
@@ -3,9 +3,9 @@ HOMEPAGE = "https://coverage.readthedocs.io" | |||
3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2ee41112a44fe7014dce33e26468ba93" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2ee41112a44fe7014dce33e26468ba93" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "04aefca5190d1dc7a53a4c1a5a7f8568811306d7a8ee231c42fb69215571944f" | 6 | SRC_URI[sha256sum] = "6cf43c78c4282708a28e466316935ec7489a9c487518a77fa68f716c67909cec" |
7 | 7 | ||
8 | inherit pypi setuptools3 | 8 | inherit pypi python_setuptools_build_meta |
9 | 9 | ||
10 | RDEPENDS:${PN} += " \ | 10 | RDEPENDS:${PN} += " \ |
11 | python3-crypt \ | 11 | python3-crypt \ |
diff --git a/meta-python/recipes-devtools/python/python3-cppy_1.2.1.bb b/meta-python/recipes-devtools/python/python3-cppy_1.3.1.bb index 7817401fa4..ff463f6833 100644 --- a/meta-python/recipes-devtools/python/python3-cppy_1.2.1.bb +++ b/meta-python/recipes-devtools/python/python3-cppy_1.3.1.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://cppy.readthedocs.io/en/latest/" | |||
3 | LICENSE = "BSD-3-Clause" | 3 | LICENSE = "BSD-3-Clause" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0bfb3e39b13587f0028f17baf0e42371" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0bfb3e39b13587f0028f17baf0e42371" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "83b43bf17b1085ac15c5debdb42154f138b928234b21447358981f69d0d6fe1b" | 6 | SRC_URI[sha256sum] = "55b5307c11874f242ea135396f398cb67a5bbde4fab3e3c3294ea5fce43a6d68" |
7 | 7 | ||
8 | RDEPENDS:${PN} += "python3-setuptools" | 8 | RDEPENDS:${PN} += "python3-setuptools" |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-crc32c_2.3.bb b/meta-python/recipes-devtools/python/python3-crc32c_2.3.bb index da756ea074..0e0569ba5b 100644 --- a/meta-python/recipes-devtools/python/python3-crc32c_2.3.bb +++ b/meta-python/recipes-devtools/python/python3-crc32c_2.3.bb | |||
@@ -1,7 +1,7 @@ | |||
1 | SUMMARY = "A python package implementing the crc32c algorithmin hardware and software" | 1 | SUMMARY = "A python package implementing the crc32c algorithmin hardware and software" |
2 | HOMEPAGE = "https://github.com/ICRAR/crc32c" | 2 | HOMEPAGE = "https://github.com/ICRAR/crc32c" |
3 | 3 | ||
4 | LICENSE = "BSD-2-Clause & BSD-3-Clause & CRC32C-ADLER & LGPL-2.0-or-later" | 4 | LICENSE = "BSD-2-Clause & BSD-3-Clause & Zlib & LGPL-2.1-or-later" |
5 | LIC_FILES_CHKSUM = " \ | 5 | LIC_FILES_CHKSUM = " \ |
6 | file://LICENSE;md5=4fbd65380cdd255951079008b364516c \ | 6 | file://LICENSE;md5=4fbd65380cdd255951079008b364516c \ |
7 | file://LICENSE.google-crc32c;md5=e9ed01b5e5ac9eae23fc2bb33701220c \ | 7 | file://LICENSE.google-crc32c;md5=e9ed01b5e5ac9eae23fc2bb33701220c \ |
diff --git a/meta-python/recipes-devtools/python/python3-croniter_2.0.5.bb b/meta-python/recipes-devtools/python/python3-croniter_6.0.0.bb index 01ee048404..201074e1e3 100644 --- a/meta-python/recipes-devtools/python/python3-croniter_2.0.5.bb +++ b/meta-python/recipes-devtools/python/python3-croniter_6.0.0.bb | |||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b8ee59850b882cbf623188489ea748e2" | |||
5 | 5 | ||
6 | PYPI_PACKAGE = "croniter" | 6 | PYPI_PACKAGE = "croniter" |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "f1f8ca0af64212fbe99b1bee125ee5a1b53a9c1b433968d8bca8817b79d237f3" | 8 | SRC_URI[sha256sum] = "37c504b313956114a983ece2c2b07790b1f1094fe9d81cc94739214748255577" |
9 | 9 | ||
10 | inherit pypi setuptools3 | 10 | inherit pypi setuptools3 |
11 | 11 | ||
diff --git a/meta-python/recipes-devtools/python/python3-crypt-r_3.13.1.bb b/meta-python/recipes-devtools/python/python3-crypt-r_3.13.1.bb new file mode 100644 index 0000000000..6e6e3eba31 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-crypt-r_3.13.1.bb | |||
@@ -0,0 +1,10 @@ | |||
1 | SUMMARY = "A renamed copy of the crypt module as it was present in Python 3.12 before it was removed." | ||
2 | HOMEPAGE = "https://github.com/fedora-python/crypt_r" | ||
3 | LICENSE = "Python-2.0.1" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=fcf6b249c2641540219a727f35d8d2c2" | ||
5 | |||
6 | SRC_URI = "git://github.com/fedora-python/crypt_r.git;branch=main;protocol=https" | ||
7 | SRCREV = "b20e21d9f24d6fa17a6781bbc9f272ce38246eef" | ||
8 | |||
9 | |||
10 | inherit python_setuptools_build_meta | ||
diff --git a/meta-python/recipes-devtools/python/python3-custom-inherit_2.4.1.bb b/meta-python/recipes-devtools/python/python3-custom-inherit_2.4.1.bb index e7409f77e6..a8aad44943 100644 --- a/meta-python/recipes-devtools/python/python3-custom-inherit_2.4.1.bb +++ b/meta-python/recipes-devtools/python/python3-custom-inherit_2.4.1.bb | |||
@@ -4,6 +4,7 @@ LICENSE = "MIT" | |||
4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=f910a85a4c3da51edf780f17a7608434" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=f910a85a4c3da51edf780f17a7608434" |
5 | 5 | ||
6 | PYPI_PACKAGE = "custom_inherit" | 6 | PYPI_PACKAGE = "custom_inherit" |
7 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
7 | 8 | ||
8 | SRC_URI += "file://0001-versioneer.py-do-not-use-SafeConfigParser.patch" | 9 | SRC_URI += "file://0001-versioneer.py-do-not-use-SafeConfigParser.patch" |
9 | SRC_URI[sha256sum] = "7052eb337bcce83551815264391cc4efc2bf70b295a3c52aba64f1ab57c3a8a2" | 10 | SRC_URI[sha256sum] = "7052eb337bcce83551815264391cc4efc2bf70b295a3c52aba64f1ab57c3a8a2" |
diff --git a/meta-python/recipes-devtools/python/python3-cvxopt_1.3.2.bb b/meta-python/recipes-devtools/python/python3-cvxopt_1.3.2.bb index d7d4b22fbd..78402d50f4 100644 --- a/meta-python/recipes-devtools/python/python3-cvxopt_1.3.2.bb +++ b/meta-python/recipes-devtools/python/python3-cvxopt_1.3.2.bb | |||
@@ -1,5 +1,5 @@ | |||
1 | SUMMARY = "Convex optimization package" | 1 | SUMMARY = "Convex optimization package" |
2 | HOMEPAGE = "http://cvxopt.org" | 2 | HOMEPAGE = "https://cvxopt.org" |
3 | LICENSE = "GPL-3.0-only" | 3 | LICENSE = "GPL-3.0-only" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=66ec4f8e53d3e733a8c26d5ca3830fba" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=66ec4f8e53d3e733a8c26d5ca3830fba" |
5 | 5 | ||
@@ -7,7 +7,6 @@ SRC_URI = "git://github.com/cvxopt/cvxopt;protocol=https;branch=master" | |||
7 | 7 | ||
8 | SRCREV = "3b718ee560b3b97d6255c55f0ed7f64cb4b72082" | 8 | SRCREV = "3b718ee560b3b97d6255c55f0ed7f64cb4b72082" |
9 | 9 | ||
10 | S = "${WORKDIR}/git" | ||
11 | 10 | ||
12 | RDEPENDS:${PN} += "lapack suitesparse" | 11 | RDEPENDS:${PN} += "lapack suitesparse" |
13 | DEPENDS += "lapack suitesparse" | 12 | DEPENDS += "lapack suitesparse" |
diff --git a/meta-python/recipes-devtools/python/python3-cycler_0.12.1.bb b/meta-python/recipes-devtools/python/python3-cycler_0.12.1.bb index 574083b61f..fd7507193e 100644 --- a/meta-python/recipes-devtools/python/python3-cycler_0.12.1.bb +++ b/meta-python/recipes-devtools/python/python3-cycler_0.12.1.bb | |||
@@ -1,5 +1,5 @@ | |||
1 | SUMMARY = "Composable style cycles" | 1 | SUMMARY = "Composable style cycles" |
2 | HOMEPAGE = "http://github.com/matplotlib/cycler" | 2 | HOMEPAGE = "https://github.com/matplotlib/cycler" |
3 | LICENSE = "BSD-3-Clause" | 3 | LICENSE = "BSD-3-Clause" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7713fe42cd766b15c710e19392bfa811" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7713fe42cd766b15c710e19392bfa811" |
5 | 5 | ||
diff --git a/meta-python/recipes-devtools/python/python3-cytoolz_0.12.3.bb b/meta-python/recipes-devtools/python/python3-cytoolz_1.0.1.bb index f9c9704d7f..4aa110107a 100644 --- a/meta-python/recipes-devtools/python/python3-cytoolz_0.12.3.bb +++ b/meta-python/recipes-devtools/python/python3-cytoolz_1.0.1.bb | |||
@@ -5,9 +5,8 @@ SECTION = "devel/python" | |||
5 | LICENSE = "BSD-3-Clause" | 5 | LICENSE = "BSD-3-Clause" |
6 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d422ebce3e9c6447563bd410e9b22f2e" | 6 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d422ebce3e9c6447563bd410e9b22f2e" |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "4503dc59f4ced53a54643272c61dc305d1dbbfbd7d6bdf296948de9f34c3a282" | 8 | SRC_URI[sha256sum] = "89cc3161b89e1bb3ed7636f74ed2e55984fd35516904fc878cae216e42b2c7d6" |
9 | 9 | ||
10 | inherit pypi setuptools3 | 10 | inherit pypi setuptools3 cython |
11 | 11 | ||
12 | DEPENDS += "python3-cython-native" | ||
13 | RDEPENDS:${PN} += "python3-toolz" | 12 | RDEPENDS:${PN} += "python3-toolz" |
diff --git a/meta-python/recipes-devtools/python/python3-daemon_3.0.1.bb b/meta-python/recipes-devtools/python/python3-daemon_3.1.2.bb index 715d3bf120..8cf5697d10 100644 --- a/meta-python/recipes-devtools/python/python3-daemon_3.0.1.bb +++ b/meta-python/recipes-devtools/python/python3-daemon_3.1.2.bb | |||
@@ -2,17 +2,17 @@ DESCRIPTION = "Library to implement a well-behaved Unix daemon process" | |||
2 | HOMEPAGE = "https://pagure.io/python-daemon/" | 2 | HOMEPAGE = "https://pagure.io/python-daemon/" |
3 | SECTION = "devel/python" | 3 | SECTION = "devel/python" |
4 | 4 | ||
5 | DEPENDS += "python3-docutils-native" | 5 | DEPENDS += "python3-docutils-native python3-changelog-chug-native" |
6 | RDEPENDS:${PN} = "python3-docutils \ | 6 | RDEPENDS:${PN} = "python3-docutils \ |
7 | python3-lockfile (>= 0.10) \ | 7 | python3-lockfile (>= 0.10) \ |
8 | python3-resource \ | 8 | python3-resource \ |
9 | " | 9 | " |
10 | 10 | ||
11 | LICENSE = "Apache-2.0 & GPL-3.0-only" | 11 | LICENSE = "Apache-2.0 & GPL-3.0-only" |
12 | LIC_FILES_CHKSUM = "file://README;md5=a3a94c615dc969a70525f1eebbacf235" | 12 | LIC_FILES_CHKSUM = "file://COPYING;md5=55f76b1b31719284caf4bc3ecbb70d6f" |
13 | 13 | ||
14 | inherit pypi setuptools3 | 14 | inherit pypi python_setuptools_build_meta |
15 | 15 | ||
16 | SRC_URI[sha256sum] = "6c57452372f7eaff40934a1c03ad1826bf5e793558e87fef49131e6464b4dae5" | 16 | SRC_URI[sha256sum] = "f7b04335adc473de877f5117e26d5f1142f4c9f7cd765408f0877757be5afbf4" |
17 | 17 | ||
18 | PYPI_PACKAGE = "python-daemon" | 18 | PYPI_PACKAGE = "python_daemon" |
diff --git a/meta-python/recipes-devtools/python/python3-dasbus/run-ptest b/meta-python/recipes-devtools/python/python3-dasbus/run-ptest deleted file mode 100755 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-dasbus/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-dasbus_1.7.bb b/meta-python/recipes-devtools/python/python3-dasbus_1.7.bb index d1d294a284..7c759613ee 100644 --- a/meta-python/recipes-devtools/python/python3-dasbus_1.7.bb +++ b/meta-python/recipes-devtools/python/python3-dasbus_1.7.bb | |||
@@ -5,18 +5,13 @@ LICENSE = "LGPL-2.1-or-later" | |||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742" |
6 | 6 | ||
7 | SRC_URI = "git://github.com/dasbus-project/dasbus.git;protocol=https;branch=master \ | 7 | SRC_URI = "git://github.com/dasbus-project/dasbus.git;protocol=https;branch=master \ |
8 | file://run-ptest \ | ||
9 | " | 8 | " |
10 | SRCREV = "413cf9a0b7c231468f1d28d9a29dd8dd8bda15c5" | 9 | SRCREV = "413cf9a0b7c231468f1d28d9a29dd8dd8bda15c5" |
11 | 10 | ||
12 | S = "${WORKDIR}/git" | ||
13 | 11 | ||
14 | inherit setuptools3 ptest | 12 | inherit setuptools3 ptest-python-pytest |
15 | |||
16 | do_install_ptest() { | ||
17 | install -d ${D}${PTEST_PATH}/tests | ||
18 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
19 | 13 | ||
14 | do_install_ptest:append () { | ||
20 | # Remove the problematic cases | 15 | # Remove the problematic cases |
21 | # https://github.com/dasbus-project/dasbus/issues/128 | 16 | # https://github.com/dasbus-project/dasbus/issues/128 |
22 | rm -rf ${D}${PTEST_PATH}/tests/lib_dbus.py | 17 | rm -rf ${D}${PTEST_PATH}/tests/lib_dbus.py |
@@ -25,8 +20,3 @@ do_install_ptest() { | |||
25 | } | 20 | } |
26 | 21 | ||
27 | RDEPENDS:${PN} = "python3-pygobject" | 22 | RDEPENDS:${PN} = "python3-pygobject" |
28 | |||
29 | RDEPENDS:${PN}-ptest += " \ | ||
30 | python3-pytest \ | ||
31 | python3-unittest-automake-output \ | ||
32 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-dateparser_1.2.0.bb b/meta-python/recipes-devtools/python/python3-dateparser_1.2.1.bb index a08564b3f5..d3541c89c7 100644 --- a/meta-python/recipes-devtools/python/python3-dateparser_1.2.0.bb +++ b/meta-python/recipes-devtools/python/python3-dateparser_1.2.1.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/scrapinghub/dateparser" | |||
3 | LICENSE = "BSD-3-Clause" | 3 | LICENSE = "BSD-3-Clause" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3d3ed25571191e7aa3f55d0a6efe0051" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3d3ed25571191e7aa3f55d0a6efe0051" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "7975b43a4222283e0ae15be7b4999d08c9a70e2d378ac87385b1ccf2cffbbb30" | 6 | SRC_URI[sha256sum] = "7e4919aeb48481dbfc01ac9683c8e20bfe95bb715a38c1e9f6af889f4f30ccc3" |
7 | 7 | ||
8 | PYPI_PACKAGE = "dateparser" | 8 | PYPI_PACKAGE = "dateparser" |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-dbus-fast/0001-pyproject.toml-Remove-upper-version-constraint-for-C.patch b/meta-python/recipes-devtools/python/python3-dbus-fast/0001-pyproject.toml-Remove-upper-version-constraint-for-C.patch new file mode 100644 index 0000000000..fb8f4df4a6 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-dbus-fast/0001-pyproject.toml-Remove-upper-version-constraint-for-C.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From 85189fb66d3abb2645605f8a3c14d8152ef755fe Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sun, 18 May 2025 10:24:19 -0700 | ||
4 | Subject: [PATCH] pyproject.toml: Remove upper version constraint for Cython | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
8 | --- | ||
9 | pyproject.toml | 4 ++-- | ||
10 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
11 | |||
12 | diff --git a/pyproject.toml b/pyproject.toml | ||
13 | index e22ea42..f670d3d 100644 | ||
14 | --- a/pyproject.toml | ||
15 | +++ b/pyproject.toml | ||
16 | @@ -50,7 +50,7 @@ pytest-cov = ">=3,<7" | ||
17 | pytest-asyncio = ">=0.19,<0.27" | ||
18 | pycairo = "^1.21.0" | ||
19 | PyGObject = {version = ">=3.50,<3.51", python = "<4"} | ||
20 | -Cython = ">=3,<3.1.0" | ||
21 | +Cython = ">=3" | ||
22 | setuptools = ">=65.4.1,<79.0.0" | ||
23 | pytest-timeout = "^2.1.0" | ||
24 | pytest-codspeed = "^3.1.1" | ||
25 | @@ -104,7 +104,7 @@ module = "docs.*" | ||
26 | ignore_errors = true | ||
27 | |||
28 | [build-system] | ||
29 | -requires = ['setuptools>=65.4.1', 'wheel', 'Cython>=3,<3.1.0', "poetry-core>=1.0.0"] | ||
30 | +requires = ['setuptools>=65.4.1', 'wheel', 'Cython>=3', "poetry-core>=1.0.0"] | ||
31 | build-backend = "poetry.core.masonry.api" | ||
32 | |||
33 | [tool.ruff] | ||
diff --git a/meta-python/recipes-devtools/python/python3-dbus-fast_2.21.3.bb b/meta-python/recipes-devtools/python/python3-dbus-fast_2.44.1.bb index a4087d6473..f827d21bb2 100644 --- a/meta-python/recipes-devtools/python/python3-dbus-fast_2.21.3.bb +++ b/meta-python/recipes-devtools/python/python3-dbus-fast_2.44.1.bb | |||
@@ -3,11 +3,13 @@ HOMEPAGE = "https://github.com/bluetooth-devices/dbus-fast" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=729e372b5ea0168438e4fd4a00a04947" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=729e372b5ea0168438e4fd4a00a04947" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "8d0f0f61d007c1316ce79cde35ed52c0ce8ce229fd0f0bf8c9af2013ab4516a7" | 6 | SRC_URI += "file://0001-pyproject.toml-Remove-upper-version-constraint-for-C.patch" |
7 | SRC_URI[sha256sum] = "b027e96c39ed5622bb54d811dcdbbe9d9d6edec3454808a85a1ceb1867d9e25c" | ||
7 | 8 | ||
8 | PYPI_PACKAGE = "dbus_fast" | 9 | PYPI_PACKAGE = "dbus_fast" |
10 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
9 | 11 | ||
10 | inherit pypi setuptools3 | 12 | inherit pypi python_poetry_core cython |
11 | 13 | ||
12 | RDEPENDS:${PN} += " \ | 14 | RDEPENDS:${PN} += " \ |
13 | python3-core (>=3.7) \ | 15 | python3-core (>=3.7) \ |
diff --git a/meta-python/recipes-devtools/python/python3-dbus-next_0.2.3.bb b/meta-python/recipes-devtools/python/python3-dbus-next_0.2.3.bb index 9f6aa7ed7f..10c1bfda04 100644 --- a/meta-python/recipes-devtools/python/python3-dbus-next_0.2.3.bb +++ b/meta-python/recipes-devtools/python/python3-dbus-next_0.2.3.bb | |||
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=94e750c96e56788499b56c81de91431c" | |||
6 | SRC_URI[sha256sum] = "f4eae26909332ada528c0a3549dda8d4f088f9b365153952a408e28023a626a5" | 6 | SRC_URI[sha256sum] = "f4eae26909332ada528c0a3549dda8d4f088f9b365153952a408e28023a626a5" |
7 | 7 | ||
8 | PYPI_PACKAGE = "dbus_next" | 8 | PYPI_PACKAGE = "dbus_next" |
9 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
9 | 10 | ||
10 | inherit pypi setuptools3 | 11 | inherit pypi setuptools3 |
11 | 12 | ||
diff --git a/meta-python/recipes-devtools/python/python3-dbussy_1.3.bb b/meta-python/recipes-devtools/python/python3-dbussy_1.3.bb index 59da4545aa..b72d7bd401 100644 --- a/meta-python/recipes-devtools/python/python3-dbussy_1.3.bb +++ b/meta-python/recipes-devtools/python/python3-dbussy_1.3.bb | |||
@@ -8,7 +8,6 @@ SRC_URI = "git://github.com/ldo/dbussy.git;branch=master;protocol=https \ | |||
8 | 8 | ||
9 | SRCREV = "37ede4242b48def73ada46c2747a4c5cae6abf45" | 9 | SRCREV = "37ede4242b48def73ada46c2747a4c5cae6abf45" |
10 | 10 | ||
11 | S = "${WORKDIR}/git" | ||
12 | 11 | ||
13 | inherit setuptools3 | 12 | inherit setuptools3 |
14 | 13 | ||
diff --git a/meta-python/recipes-devtools/python/python3-decorator_5.1.1.bb b/meta-python/recipes-devtools/python/python3-decorator_5.2.1.bb index f330376243..e0ab87f89e 100644 --- a/meta-python/recipes-devtools/python/python3-decorator_5.1.1.bb +++ b/meta-python/recipes-devtools/python/python3-decorator_5.2.1.bb | |||
@@ -7,11 +7,11 @@ can be abused and you should not try to solve every problem with a \ | |||
7 | decorator, just because you can." | 7 | decorator, just because you can." |
8 | 8 | ||
9 | LICENSE = "BSD-2-Clause" | 9 | LICENSE = "BSD-2-Clause" |
10 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=be2fd2007972bf96c08af3293d728b22" | 10 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=69f84fd117b2398674e12b8380df27c8" |
11 | 11 | ||
12 | SRC_URI[sha256sum] = "637996211036b6385ef91435e4fae22989472f9d571faba8927ba8253acbc330" | 12 | SRC_URI[sha256sum] = "65f266143752f734b0a7cc83c46f4618af75b8c5911b00ccb61d0ac9b6da0360" |
13 | 13 | ||
14 | inherit pypi setuptools3 | 14 | inherit pypi python_setuptools_build_meta |
15 | 15 | ||
16 | RDEPENDS:${PN} += "\ | 16 | RDEPENDS:${PN} += "\ |
17 | python3-stringold \ | 17 | python3-stringold \ |
diff --git a/meta-python/recipes-devtools/python/python3-deprecated_1.2.14.bb b/meta-python/recipes-devtools/python/python3-deprecated_1.2.18.bb index 49d5f01c8f..5f52571edd 100644 --- a/meta-python/recipes-devtools/python/python3-deprecated_1.2.14.bb +++ b/meta-python/recipes-devtools/python/python3-deprecated_1.2.18.bb | |||
@@ -3,8 +3,7 @@ HOMEPAGE = "https://deprecated.readthedocs.io/en/latest/" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=44288e26f4896bdab14072d4fa35ff01" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=44288e26f4896bdab14072d4fa35ff01" |
5 | 5 | ||
6 | PYPI_PACKAGE = "Deprecated" | 6 | SRC_URI[sha256sum] = "422b6f6d859da6f2ef57857761bfb392480502a64c3028ca9bbe86085d72115d" |
7 | SRC_URI[sha256sum] = "e5323eb936458dccc2582dc6f9c322c852a775a27065ff2b0c4970b9d53d01b3" | ||
8 | 7 | ||
9 | inherit pypi setuptools3 | 8 | inherit pypi setuptools3 |
10 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-dill_0.3.8.bb b/meta-python/recipes-devtools/python/python3-dill_0.4.0.bb index 04e7f4bfb8..d421b1a887 100644 --- a/meta-python/recipes-devtools/python/python3-dill_0.3.8.bb +++ b/meta-python/recipes-devtools/python/python3-dill_0.4.0.bb | |||
@@ -1,13 +1,11 @@ | |||
1 | SUMMARY = "Serialize all of python" | 1 | SUMMARY = "Serialize all of python" |
2 | HOMEPAGE = "https://pypi.org/project/dill/" | 2 | HOMEPAGE = "https://pypi.org/project/dill/" |
3 | LICENSE = "BSD-3-Clause" | 3 | LICENSE = "BSD-3-Clause" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a41509b57cc475ed93f8cb1dbbfaeec1" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ed5ea77287d7d542949d6dd0bc288ac0" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "3ebe3c479ad625c4553aca177444d89b486b1d84982eeacded644afc0cf797ca" | 6 | SRC_URI[sha256sum] = "0633f1d2df477324f53a895b02c901fb961bdbf65a17122586ea7019292cbcf0" |
7 | 7 | ||
8 | inherit pypi setuptools3 | 8 | inherit pypi python_setuptools_build_meta |
9 | |||
10 | PYPI_PACKAGE_EXT = "tar.gz" | ||
11 | 9 | ||
12 | RDEPENDS:${PN} += "\ | 10 | RDEPENDS:${PN} += "\ |
13 | python3-multiprocessing \ | 11 | python3-multiprocessing \ |
diff --git a/meta-python/recipes-devtools/python/python3-dirty-equals_0.7.1.bb b/meta-python/recipes-devtools/python/python3-dirty-equals_0.9.0.bb index ea9303b17e..5fa86e1d8f 100644 --- a/meta-python/recipes-devtools/python/python3-dirty-equals_0.7.1.bb +++ b/meta-python/recipes-devtools/python/python3-dirty-equals_0.9.0.bb | |||
@@ -10,12 +10,18 @@ HOMEPAGE = "https://github.com/samuelcolvin/dirty-equals" | |||
10 | LICENSE = "MIT" | 10 | LICENSE = "MIT" |
11 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ab599c188b4a314d2856b3a55030c75c" | 11 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ab599c188b4a314d2856b3a55030c75c" |
12 | 12 | ||
13 | SRC_URI[sha256sum] = "a580513f3285e93656a770a04e428f8bfc513848877bf278282dbfbb907fdbb4" | 13 | SRC_URI[sha256sum] = "17f515970b04ed7900b733c95fd8091f4f85e52f1fb5f268757f25c858eb1f7b" |
14 | 14 | ||
15 | S = "${WORKDIR}/dirty_equals-${PV}" | 15 | S = "${UNPACKDIR}/dirty_equals-${PV}" |
16 | 16 | ||
17 | inherit pypi python_hatchling | 17 | inherit pypi python_hatchling |
18 | 18 | ||
19 | PYPI_PACKAGE = "dirty_equals" | 19 | PYPI_PACKAGE = "dirty_equals" |
20 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
20 | 21 | ||
21 | RDEPENDS:${PN} += "python3-pytz" | 22 | RDEPENDS:${PN} += " \ |
23 | python3-pytz \ | ||
24 | python3-core \ | ||
25 | python3-json \ | ||
26 | python3-netclient \ | ||
27 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-diskcache_5.6.3.bb b/meta-python/recipes-devtools/python/python3-diskcache_5.6.3.bb index 09b06553df..440a62352d 100644 --- a/meta-python/recipes-devtools/python/python3-diskcache_5.6.3.bb +++ b/meta-python/recipes-devtools/python/python3-diskcache_5.6.3.bb | |||
@@ -1,5 +1,5 @@ | |||
1 | DESCRIPTION = "Disk Cache -- Disk and file backed persistent cache." | 1 | DESCRIPTION = "Disk Cache -- Disk and file backed persistent cache." |
2 | HOMEPAGE = "http://www.grantjenks.com/docs/diskcache/" | 2 | HOMEPAGE = "https://www.grantjenks.com/docs/diskcache/" |
3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c60ef82f0f40155453f6d5f2c94b6e8e" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c60ef82f0f40155453f6d5f2c94b6e8e" |
5 | 5 | ||
diff --git a/meta-python/recipes-devtools/python/python3-distlib_0.3.8.bb b/meta-python/recipes-devtools/python/python3-distlib_0.3.9.bb index 41a66479cc..33e79d53e3 100644 --- a/meta-python/recipes-devtools/python/python3-distlib_0.3.8.bb +++ b/meta-python/recipes-devtools/python/python3-distlib_0.3.9.bb | |||
@@ -6,7 +6,7 @@ HOMEPAGE = "https://github.com/pypa/distlib" | |||
6 | LICENSE = "PSF-2.0" | 6 | LICENSE = "PSF-2.0" |
7 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f6a11430d5cd6e2cd3832ee94f22ddfc" | 7 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f6a11430d5cd6e2cd3832ee94f22ddfc" |
8 | 8 | ||
9 | SRC_URI[sha256sum] = "1530ea13e350031b6312d8580ddb6b27a104275a31106523b8f123787f494f64" | 9 | SRC_URI[sha256sum] = "a60f20dea646b8a33f3e7772f74dc0b2d0772d2837ee1342a00645c81edf9403" |
10 | 10 | ||
11 | BBCLASSEXTEND = "native nativesdk" | 11 | BBCLASSEXTEND = "native nativesdk" |
12 | inherit pypi python_setuptools_build_meta | 12 | inherit pypi python_setuptools_build_meta |
diff --git a/meta-python/recipes-devtools/python/python3-django-south_1.0.2.bb b/meta-python/recipes-devtools/python/python3-django-south_1.0.2.bb index 10519111fa..5b0f6c6f3b 100644 --- a/meta-python/recipes-devtools/python/python3-django-south_1.0.2.bb +++ b/meta-python/recipes-devtools/python/python3-django-south_1.0.2.bb | |||
@@ -1,2 +1,18 @@ | |||
1 | require python-django-south.inc | 1 | SUMMARY = "Migrations for Django" |
2 | inherit setuptools3 | 2 | DESCRIPTION = "South is an intelligent database migrations library for the Django web framework. It is database-independent and DVCS-friendly, as well as a whole host of other features." |
3 | HOMEPAGE = "http://south.aeracode.org/" | ||
4 | LICENSE = "Apache-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=17;endline=18;md5=2155d8ae21e7c23101d5febac696b27e" | ||
6 | |||
7 | SRC_URI[sha256sum] = "d360bd31898f9df59f6faa786551065bba45b35e7ee3c39b381b4fbfef7392f4" | ||
8 | |||
9 | PYPI_PACKAGE = "South" | ||
10 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
11 | |||
12 | inherit pypi setuptools3 | ||
13 | |||
14 | BBCLASSEXTEND = "native nativesdk" | ||
15 | |||
16 | RDEPENDS:${PN} += "\ | ||
17 | python3-django \ | ||
18 | " | ||
diff --git a/meta-python/recipes-devtools/python/python-django.inc b/meta-python/recipes-devtools/python/python3-django.inc index d9ab3fd21f..cde32be477 100644 --- a/meta-python/recipes-devtools/python/python-django.inc +++ b/meta-python/recipes-devtools/python/python3-django.inc | |||
@@ -1,12 +1,12 @@ | |||
1 | SUMMARY = "A high-level Python Web framework" | 1 | SUMMARY = "A high-level Python Web framework" |
2 | HOMEPAGE = "http://www.djangoproject.com/" | 2 | HOMEPAGE = "https://www.djangoproject.com/" |
3 | LICENSE = "BSD-3-Clause" | 3 | LICENSE = "BSD-3-Clause" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa" |
5 | 5 | ||
6 | PYPI_PACKAGE = "Django" | 6 | PYPI_PACKAGE = "Django" |
7 | inherit pypi | 7 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" |
8 | 8 | ||
9 | UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)/" | 9 | inherit pypi |
10 | 10 | ||
11 | FILES:${PN} += "${datadir}/django" | 11 | FILES:${PN} += "${datadir}/django" |
12 | 12 | ||
diff --git a/meta-python/recipes-devtools/python/python3-django/0001-Fixed-35980-Updated-setuptools-to-normalize-package.patch b/meta-python/recipes-devtools/python/python3-django/0001-Fixed-35980-Updated-setuptools-to-normalize-package.patch new file mode 100644 index 0000000000..4e28f59d8a --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-django/0001-Fixed-35980-Updated-setuptools-to-normalize-package.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From 3ae049b26b995c650c41ef918d5f60beed52b4ba Mon Sep 17 00:00:00 2001 | ||
2 | From: Nick Pope <nick@nickpope.me.uk> | ||
3 | Date: Fri, 6 Dec 2024 18:32:39 +0000 | ||
4 | Subject: [PATCH] Fixed #35980 -- Updated setuptools to normalize package names | ||
5 | in built artifacts. | ||
6 | |||
7 | Upstream-Status: Backport [https://github.com/django/django/commit/3ae049b26b995c650c41ef918d5f60beed52b4ba] | ||
8 | |||
9 | Signed-off-by: Mingli Yu <mingli.yu@windriver.com> | ||
10 | --- | ||
11 | pyproject.toml | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/pyproject.toml b/pyproject.toml | ||
15 | index f10d15d20d..b9e82334cd 100644 | ||
16 | --- a/pyproject.toml | ||
17 | +++ b/pyproject.toml | ||
18 | @@ -1,5 +1,5 @@ | ||
19 | [build-system] | ||
20 | -requires = ["setuptools>=61.0.0,<69.3.0"] | ||
21 | +requires = ["setuptools>=75.8.1"] | ||
22 | build-backend = "setuptools.build_meta" | ||
23 | |||
24 | [project] | ||
25 | -- | ||
26 | 2.34.1 | ||
27 | |||
diff --git a/meta-python/recipes-devtools/python/python3-django_4.2.11.bb b/meta-python/recipes-devtools/python/python3-django_4.2.11.bb deleted file mode 100644 index 0642b7e7c3..0000000000 --- a/meta-python/recipes-devtools/python/python3-django_4.2.11.bb +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | require python-django.inc | ||
2 | inherit setuptools3 | ||
3 | |||
4 | SRC_URI[sha256sum] = "6e6ff3db2d8dd0c986b4eec8554c8e4f919b5c1ff62a5b4390c17aff2ed6e5c4" | ||
5 | |||
6 | RDEPENDS:${PN} += "\ | ||
7 | python3-sqlparse \ | ||
8 | python3-asgiref \ | ||
9 | " | ||
10 | |||
11 | # Set DEFAULT_PREFERENCE so that the LTS version of django is built by | ||
12 | # default. To build the 4.x branch, | ||
13 | # PREFERRED_VERSION_python3-django = "4.2.11" can be added to local.conf | ||
14 | DEFAULT_PREFERENCE = "-1" | ||
diff --git a/meta-python/recipes-devtools/python/python3-django_4.2.20.bb b/meta-python/recipes-devtools/python/python3-django_4.2.20.bb new file mode 100644 index 0000000000..8644b282c6 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-django_4.2.20.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | require python3-django.inc | ||
2 | inherit python_setuptools_build_meta | ||
3 | |||
4 | SRC_URI[sha256sum] = "92bac5b4432a64532abb73b2ac27203f485e40225d2640a7fbef2b62b876e789" | ||
5 | |||
6 | RDEPENDS:${PN} += "\ | ||
7 | python3-sqlparse \ | ||
8 | python3-asgiref \ | ||
9 | " | ||
10 | |||
11 | # Set DEFAULT_PREFERENCE so that the LTS version of django is built by | ||
12 | # default. To build the 4.x branch, | ||
13 | # PREFERRED_VERSION_python3-django = "4.2.20" can be added to local.conf | ||
14 | DEFAULT_PREFERENCE = "-1" | ||
diff --git a/meta-python/recipes-devtools/python/python3-django_5.0.6.bb b/meta-python/recipes-devtools/python/python3-django_5.0.6.bb deleted file mode 100644 index 69b25742dc..0000000000 --- a/meta-python/recipes-devtools/python/python3-django_5.0.6.bb +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | require python-django.inc | ||
2 | inherit setuptools3 | ||
3 | |||
4 | SRC_URI[sha256sum] = "ff1b61005004e476e0aeea47c7f79b85864c70124030e95146315396f1e7951f" | ||
5 | |||
6 | RDEPENDS:${PN} += "\ | ||
7 | python3-sqlparse \ | ||
8 | python3-asgiref \ | ||
9 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-django_5.2.bb b/meta-python/recipes-devtools/python/python3-django_5.2.bb new file mode 100644 index 0000000000..8a20448e22 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-django_5.2.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | require python3-django.inc | ||
2 | inherit python_setuptools_build_meta | ||
3 | |||
4 | SRC_URI[sha256sum] = "1a47f7a7a3d43ce64570d350e008d2949abe8c7e21737b351b6a1611277c6d89" | ||
5 | |||
6 | SRC_URI += "\ | ||
7 | file://0001-Fixed-35980-Updated-setuptools-to-normalize-package.patch \ | ||
8 | " | ||
9 | |||
10 | RDEPENDS:${PN} += "\ | ||
11 | python3-sqlparse \ | ||
12 | python3-asgiref \ | ||
13 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-djangorestframework_3.15.1.bb b/meta-python/recipes-devtools/python/python3-djangorestframework_3.16.0.bb index 9515aa2296..ed9a09c59e 100644 --- a/meta-python/recipes-devtools/python/python3-djangorestframework_3.15.1.bb +++ b/meta-python/recipes-devtools/python/python3-djangorestframework_3.16.0.bb | |||
@@ -5,7 +5,7 @@ HOMEPAGE = "https://pypi.python.org/pypi/djangorestframework" | |||
5 | LICENSE = "MIT" | 5 | LICENSE = "MIT" |
6 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=7879a5a716147a784f7e524c9cf103c1" | 6 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=7879a5a716147a784f7e524c9cf103c1" |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "f88fad74183dfc7144b2756d0d2ac716ea5b4c7c9840995ac3bfd8ec034333c1" | 8 | SRC_URI[sha256sum] = "f022ff46613584de994c0c6a4aebbace5fd700555fbe9d33b865ebf173eba6c9" |
9 | 9 | ||
10 | PYPI_PACKAGE = "djangorestframework" | 10 | PYPI_PACKAGE = "djangorestframework" |
11 | 11 | ||
diff --git a/meta-python/recipes-devtools/python/python3-dnspython_2.6.1.bb b/meta-python/recipes-devtools/python/python3-dnspython_2.7.0.bb index 13e31afe79..9c1d4b39f2 100644 --- a/meta-python/recipes-devtools/python/python3-dnspython_2.6.1.bb +++ b/meta-python/recipes-devtools/python/python3-dnspython_2.7.0.bb | |||
@@ -1,9 +1,9 @@ | |||
1 | DESCRIPTION = "DNS toolkit for Python" | 1 | DESCRIPTION = "DNS toolkit for Python" |
2 | HOMEPAGE = "http://www.dnspython.org/" | 2 | HOMEPAGE = "https://www.dnspython.org/" |
3 | LICENSE = "ISC" | 3 | LICENSE = "ISC" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5af50906b5929837f667dfe31052bd34" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5af50906b5929837f667dfe31052bd34" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "e8f0f9c23a7b7cb99ded64e6c3a6f3e701d78f50c55e002b839dea7225cff7cc" | 6 | SRC_URI[sha256sum] = "ce9c432eda0dc91cf618a5cedf1a4e142651196bbcd2c80e89ed5a907e5cfaf1" |
7 | 7 | ||
8 | inherit pypi python_hatchling ptest | 8 | inherit pypi python_hatchling ptest |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-docopt_0.6.2.bb b/meta-python/recipes-devtools/python/python3-docopt_0.6.2.bb index a2432068cc..2f03bd37bd 100644 --- a/meta-python/recipes-devtools/python/python3-docopt_0.6.2.bb +++ b/meta-python/recipes-devtools/python/python3-docopt_0.6.2.bb | |||
@@ -5,7 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE-MIT;md5=09b77fb74986791a3d4a0e746a37d88f" | |||
5 | 5 | ||
6 | inherit setuptools3 pypi | 6 | inherit setuptools3 pypi |
7 | 7 | ||
8 | SRC_URI[md5sum] = "4bc74561b37fad5d3e7d037f82a4c3b1" | ||
9 | SRC_URI[sha256sum] = "49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491" | 8 | SRC_URI[sha256sum] = "49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491" |
10 | 9 | ||
11 | BBCLASSEXTEND = "native nativesdk" | 10 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-python/recipes-devtools/python/python3-dominate/58f7d7fdb171f80ed6ce97e6ca4409723975c47f.patch b/meta-python/recipes-devtools/python/python3-dominate/58f7d7fdb171f80ed6ce97e6ca4409723975c47f.patch new file mode 100644 index 0000000000..e3d0d485ee --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-dominate/58f7d7fdb171f80ed6ce97e6ca4409723975c47f.patch | |||
@@ -0,0 +1,40 @@ | |||
1 | From 58f7d7fdb171f80ed6ce97e6ca4409723975c47f Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> | ||
3 | Date: Sat, 3 Aug 2024 16:07:38 +0200 | ||
4 | Subject: [PATCH] Update tests for docstring dedenting in Python 3.13 | ||
5 | |||
6 | Update the `get_expected()` function to account for the fact that | ||
7 | Python 3.13 automatically dedents all the docstrings, and therefore | ||
8 | does not require explicitly removing the indent (which effectively | ||
9 | removes too much indent). | ||
10 | |||
11 | Fixes #199 | ||
12 | |||
13 | Upstream-Status: Submitted [https://github.com/Knio/dominate/pull/202] | ||
14 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
15 | --- | ||
16 | tests/test_svg.py | 7 ++++++- | ||
17 | 1 file changed, 6 insertions(+), 1 deletion(-) | ||
18 | |||
19 | diff --git a/tests/test_svg.py b/tests/test_svg.py | ||
20 | index e5bbec3..ea7d98f 100644 | ||
21 | --- a/tests/test_svg.py | ||
22 | +++ b/tests/test_svg.py | ||
23 | @@ -1,3 +1,5 @@ | ||
24 | +import sys | ||
25 | + | ||
26 | import dominate.svg | ||
27 | from dominate.tags import * | ||
28 | from dominate.svg import * | ||
29 | @@ -14,7 +16,10 @@ def base(): | ||
30 | |||
31 | |||
32 | def get_expected(func): | ||
33 | - return func.__doc__.replace('\n ', '\n').strip() | ||
34 | + doc = func.__doc__ | ||
35 | + if sys.version_info < (3, 13): | ||
36 | + doc = doc.replace('\n ', '\n') | ||
37 | + return doc.strip() | ||
38 | |||
39 | |||
40 | def output_test(func): | ||
diff --git a/meta-python/recipes-devtools/python/python3-dominate/run-ptest b/meta-python/recipes-devtools/python/python3-dominate/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-dominate/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-dominate_2.9.1.bb b/meta-python/recipes-devtools/python/python3-dominate_2.9.1.bb index 054d5236e5..a0dd638087 100644 --- a/meta-python/recipes-devtools/python/python3-dominate_2.9.1.bb +++ b/meta-python/recipes-devtools/python/python3-dominate_2.9.1.bb | |||
@@ -4,22 +4,12 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b52f2d57d10c4f7ee67a7eb9615d5d24" | |||
4 | 4 | ||
5 | SRC_URI[sha256sum] = "558284687d9b8aae1904e3d6051ad132dd4a8c0cf551b37ea4e7e42a31d19dc4" | 5 | SRC_URI[sha256sum] = "558284687d9b8aae1904e3d6051ad132dd4a8c0cf551b37ea4e7e42a31d19dc4" |
6 | 6 | ||
7 | inherit pypi ptest python_setuptools_build_meta | 7 | inherit pypi ptest-python-pytest python_setuptools_build_meta |
8 | 8 | ||
9 | SRC_URI += " \ | 9 | SRC_URI += " \ |
10 | file://run-ptest \ | 10 | file://58f7d7fdb171f80ed6ce97e6ca4409723975c47f.patch \ |
11 | " | 11 | " |
12 | 12 | ||
13 | RDEPENDS:${PN}-ptest += " \ | ||
14 | python3-pytest \ | ||
15 | python3-unittest-automake-output \ | ||
16 | " | ||
17 | |||
18 | do_install_ptest() { | ||
19 | install -d ${D}${PTEST_PATH}/tests | ||
20 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
21 | } | ||
22 | |||
23 | RDEPENDS:${PN} += "\ | 13 | RDEPENDS:${PN} += "\ |
24 | python3-numbers \ | 14 | python3-numbers \ |
25 | python3-threading \ | 15 | python3-threading \ |
diff --git a/meta-python/recipes-devtools/python/python3-dynamic-dispatch_1.0.3.bb b/meta-python/recipes-devtools/python/python3-dynamic-dispatch_1.0.3.bb index eeb013d4fe..227e97c46c 100644 --- a/meta-python/recipes-devtools/python/python3-dynamic-dispatch_1.0.3.bb +++ b/meta-python/recipes-devtools/python/python3-dynamic-dispatch_1.0.3.bb | |||
@@ -8,9 +8,7 @@ inherit pypi setuptools3 | |||
8 | SRC_URI[sha256sum] = "fbc676aaedc8ec542056c21e5e206b8b62b8d11c3f3c5cfb32b273936da89604" | 8 | SRC_URI[sha256sum] = "fbc676aaedc8ec542056c21e5e206b8b62b8d11c3f3c5cfb32b273936da89604" |
9 | 9 | ||
10 | PYPI_PACKAGE = "dynamic_dispatch" | 10 | PYPI_PACKAGE = "dynamic_dispatch" |
11 | 11 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | |
12 | UPSTREAM_CHECK_URI = "https://pypi.org/project/dynamic-dispatch/" | ||
13 | UPSTREAM_CHECK_REGEX = "/dynamic-dispatch/(?P<pver>(\d+[\.\-_]*)+)" | ||
14 | 12 | ||
15 | DEPENDS += "python3-setuptools-scm-native" | 13 | DEPENDS += "python3-setuptools-scm-native" |
16 | RDEPENDS:${PN} += "\ | 14 | RDEPENDS:${PN} += "\ |
diff --git a/meta-python/recipes-devtools/python/python3-ecdsa/run-ptest b/meta-python/recipes-devtools/python/python3-ecdsa/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-ecdsa/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-ecdsa_0.19.0.bb b/meta-python/recipes-devtools/python/python3-ecdsa_0.19.1.bb index 8e967f9259..4e884b2d74 100644 --- a/meta-python/recipes-devtools/python/python3-ecdsa_0.19.0.bb +++ b/meta-python/recipes-devtools/python/python3-ecdsa_0.19.1.bb | |||
@@ -4,21 +4,15 @@ LICENSE = "MIT" | |||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=66ffc5e30f76cbb5358fe54b645e5a1d" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=66ffc5e30f76cbb5358fe54b645e5a1d" |
5 | 5 | ||
6 | PYPI_PACKAGE = "ecdsa" | 6 | PYPI_PACKAGE = "ecdsa" |
7 | SRC_URI[sha256sum] = "60eaad1199659900dd0af521ed462b793bbdf867432b3948e87416ae4caf6bf8" | 7 | SRC_URI[sha256sum] = "478cba7b62555866fcb3bb3fe985e06decbdb68ef55713c4e5ab98c57d508e61" |
8 | 8 | ||
9 | inherit pypi setuptools3 python3native ptest | 9 | inherit pypi setuptools3 python3native ptest-python-pytest |
10 | |||
11 | SRC_URI += " \ | ||
12 | file://run-ptest \ | ||
13 | " | ||
14 | 10 | ||
15 | RDEPENDS:${PN}-ptest += " \ | 11 | RDEPENDS:${PN}-ptest += " \ |
16 | python3-hypothesis \ | 12 | python3-hypothesis \ |
17 | python3-pytest \ | ||
18 | python3-unittest-automake-output \ | ||
19 | " | 13 | " |
20 | 14 | ||
21 | do_install_ptest() { | 15 | do_install_ptest:append () { |
22 | install -d ${D}${PTEST_PATH}/tests | 16 | install -d ${D}${PTEST_PATH}/tests |
23 | cp -rf ${S}/src/ecdsa/* ${D}${PTEST_PATH}/tests/ | 17 | cp -rf ${S}/src/ecdsa/* ${D}${PTEST_PATH}/tests/ |
24 | } | 18 | } |
diff --git a/meta-python/recipes-devtools/python/python3-editor_1.0.4.bb b/meta-python/recipes-devtools/python/python3-editor_1.0.4.bb index 335461c435..6ec72d02aa 100644 --- a/meta-python/recipes-devtools/python/python3-editor_1.0.4.bb +++ b/meta-python/recipes-devtools/python/python3-editor_1.0.4.bb | |||
@@ -2,7 +2,6 @@ DESCRIPTION = "Programmatically open and editor, capture the result" | |||
2 | LICENSE = "Apache-2.0" | 2 | LICENSE = "Apache-2.0" |
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314" | 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314" |
4 | 4 | ||
5 | SRC_URI[md5sum] = "0e52648a4a6e7c89e3be44e9456530b4" | ||
6 | SRC_URI[sha256sum] = "51fda6bcc5ddbbb7063b2af7509e43bd84bfc32a4ff71349ec7847713882327b" | 5 | SRC_URI[sha256sum] = "51fda6bcc5ddbbb7063b2af7509e43bd84bfc32a4ff71349ec7847713882327b" |
7 | 6 | ||
8 | PYPI_PACKAGE = "python-editor" | 7 | PYPI_PACKAGE = "python-editor" |
diff --git a/meta-python/recipes-devtools/python/python3-elementpath_4.4.0.bb b/meta-python/recipes-devtools/python/python3-elementpath_5.0.2.bb index e095cb8a32..f766ed002b 100644 --- a/meta-python/recipes-devtools/python/python3-elementpath_4.4.0.bb +++ b/meta-python/recipes-devtools/python/python3-elementpath_5.0.2.bb | |||
@@ -3,10 +3,11 @@ HOMEPAGE = "https://github.com/sissaschool/elementpath" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5dbb7fb7d72da3921202dd7b995d3ecf" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5dbb7fb7d72da3921202dd7b995d3ecf" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "dfc4b8ca3d87966dcb0df40b5b6d04a98f053683271930fad9e7fa000924dfb2" | 6 | SRC_URI[sha256sum] = "26224a33ad9edc82bfa5b26a767a640c8407fbbf9e019b1c369f718dd21823fb" |
7 | 7 | ||
8 | PYPI_PACKAGE = "elementpath" | 8 | PYPI_PACKAGE = "elementpath" |
9 | inherit pypi setuptools3 | 9 | |
10 | inherit pypi python_setuptools_build_meta | ||
10 | 11 | ||
11 | RDEPENDS:${PN} += " \ | 12 | RDEPENDS:${PN} += " \ |
12 | python3-xml \ | 13 | python3-xml \ |
diff --git a/meta-python/recipes-devtools/python/python3-email-validator_2.1.1.bb b/meta-python/recipes-devtools/python/python3-email-validator_2.2.0.bb index 90a22e5a0e..104e6ef295 100644 --- a/meta-python/recipes-devtools/python/python3-email-validator_2.1.1.bb +++ b/meta-python/recipes-devtools/python/python3-email-validator_2.2.0.bb | |||
@@ -1,11 +1,12 @@ | |||
1 | SUMMARY = "A robust email address syntax and deliverability validation library." | 1 | SUMMARY = "A robust email address syntax and deliverability validation library." |
2 | SECTION = "devel/python" | 2 | SECTION = "devel/python" |
3 | LICENSE = "CC0-1.0" | 3 | LICENSE = "Unlicense" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2890aee62bd2a4c3197e2059016a397e" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2890aee62bd2a4c3197e2059016a397e" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "200a70680ba08904be6d1eef729205cc0d687634399a5924d842533efb824b84" | 6 | SRC_URI[sha256sum] = "cb690f344c617a714f22e66ae771445a1ceb46821152df8e165c5f9a364582b7" |
7 | 7 | ||
8 | PYPI_PACKAGE = "email_validator" | 8 | PYPI_PACKAGE = "email_validator" |
9 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
9 | 10 | ||
10 | inherit pypi setuptools3 | 11 | inherit pypi setuptools3 |
11 | 12 | ||
diff --git a/meta-python/recipes-devtools/python/python3-et-xmlfile_1.1.0.bb b/meta-python/recipes-devtools/python/python3-et-xmlfile_2.0.0.bb index 50ae7fa5e4..9439deef0a 100644 --- a/meta-python/recipes-devtools/python/python3-et-xmlfile_1.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-et-xmlfile_2.0.0.bb | |||
@@ -8,7 +8,7 @@ SECTION = "devel/python" | |||
8 | LICENSE = "MIT" | 8 | LICENSE = "MIT" |
9 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489" | 9 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489" |
10 | 10 | ||
11 | SRC_URI[sha256sum] = "8eb9e2bc2f8c97e37a2dc85a09ecdcdec9d8a396530a6d5a33b30b9a92da0c5c" | 11 | SRC_URI[sha256sum] = "dab3f4764309081ce75662649be815c4c9081e88f0837825f90fd28317d4da54" |
12 | 12 | ||
13 | RDEPENDS:${PN} += " \ | 13 | RDEPENDS:${PN} += " \ |
14 | python3-compression \ | 14 | python3-compression \ |
@@ -21,3 +21,4 @@ RDEPENDS:${PN} += " \ | |||
21 | inherit setuptools3 pypi | 21 | inherit setuptools3 pypi |
22 | 22 | ||
23 | PYPI_PACKAGE = "et_xmlfile" | 23 | PYPI_PACKAGE = "et_xmlfile" |
24 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
diff --git a/meta-python/recipes-devtools/python/python3-eth-abi_5.1.0.bb b/meta-python/recipes-devtools/python/python3-eth-abi_5.2.0.bb index e8bfb437fb..e1459653ea 100644 --- a/meta-python/recipes-devtools/python/python3-eth-abi_5.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-eth-abi_5.2.0.bb | |||
@@ -2,11 +2,12 @@ SUMMARY = "Python utilities for working with Ethereum ABI definitions, especiall | |||
2 | HOMEPAGE = "https://github.com/ethereum/eth-abi" | 2 | HOMEPAGE = "https://github.com/ethereum/eth-abi" |
3 | SECTION = "devel/python" | 3 | SECTION = "devel/python" |
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=731f4de9c79bfeba6d8d55f83d0d2423" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2b6a85414b7d058ab1c58e11611c21b2" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "33ddd756206e90f7ddff1330cc8cac4aa411a824fe779314a0a52abea2c8fc14" | 7 | SRC_URI[sha256sum] = "178703fa98c07d8eecd5ae569e7e8d159e493ebb6eeb534a8fe973fbc4e40ef0" |
8 | 8 | ||
9 | PYPI_PACKAGE = "eth_abi" | 9 | PYPI_PACKAGE = "eth_abi" |
10 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
10 | 11 | ||
11 | inherit pypi setuptools3 | 12 | inherit pypi setuptools3 |
12 | 13 | ||
diff --git a/meta-python/recipes-devtools/python/python3-eth-hash_0.7.0.bb b/meta-python/recipes-devtools/python/python3-eth-hash_0.7.0.bb deleted file mode 100644 index 0f548cf86f..0000000000 --- a/meta-python/recipes-devtools/python/python3-eth-hash_0.7.0.bb +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | SUMMARY = "The Ethereum hashing function, keccak256, sometimes (erroneously) called sha3." | ||
2 | HOMEPAGE = "https://github.com/ethereum/eth-hash" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3d7bdfe69b1ffbde073ca6e96f5c53f7" | ||
6 | |||
7 | SRC_URI[sha256sum] = "bacdc705bfd85dadd055ecd35fd1b4f846b671add101427e089a4ca2e8db310a" | ||
8 | |||
9 | inherit pypi setuptools3 | ||
10 | |||
11 | RDEPENDS:${PN} = "\ | ||
12 | python3-logging \ | ||
13 | python3-pycryptodome \ | ||
14 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-eth-hash_0.7.1.bb b/meta-python/recipes-devtools/python/python3-eth-hash_0.7.1.bb new file mode 100644 index 0000000000..ce67505659 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-eth-hash_0.7.1.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | SUMMARY = "eth-hash: The Ethereum hashing function, keccak256, sometimes (erroneously) called sha3" | ||
2 | HOMEPAGE = "https://github.com/ethereum/eth-hash" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3ef06eb4d4373222e59a338e2eb9a795" | ||
5 | |||
6 | SRC_URI[sha256sum] = "d2411a403a0b0a62e8247b4117932d900ffb4c8c64b15f92620547ca5ce46be5" | ||
7 | |||
8 | inherit pypi python_setuptools_build_meta | ||
9 | |||
10 | PACKAGECONFIG ?= "" | ||
11 | PACKAGECONFIG[dev] = ",,,python3-build python3-bumpversion python3-ipython python3-pre-commit python3-pytest python3-pytest-xdist python3-sphinx python3-sphinx_rtd_theme python3-towncrier python3-tox python3-twine python3-wheel" | ||
12 | PACKAGECONFIG[docs] = ",,,python3-sphinx python3-sphinx_rtd_theme python3-towncrier" | ||
13 | PACKAGECONFIG[pycryptodome] = ",,,python3-pycryptodome" | ||
14 | PACKAGECONFIG[pysha3python-version-smaller-3-dot-9] = ",,,python3-pysha3" | ||
15 | PACKAGECONFIG[pysha3python-version-bigger--equals-3-dot-9] = ",,,python3-safe-pysha3" | ||
16 | PACKAGECONFIG[test] = ",,,python3-pytest python3-pytest-xdist" | ||
17 | |||
18 | RDEPENDS:${PN} += "python3-core python3-logging python3-pycryptodome" | ||
19 | |||
20 | PYPI_PACKAGE = "eth_hash" | ||
diff --git a/meta-python/recipes-devtools/python/python3-eth-keyfile_0.7.0.bb b/meta-python/recipes-devtools/python/python3-eth-keyfile_0.8.0.bb index 2afc288bce..741db5ced0 100644 --- a/meta-python/recipes-devtools/python/python3-eth-keyfile_0.7.0.bb +++ b/meta-python/recipes-devtools/python/python3-eth-keyfile_0.8.0.bb | |||
@@ -4,7 +4,7 @@ SECTION = "devel/python" | |||
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=6749008d847c14b9718949c2e24d5c0a" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=6749008d847c14b9718949c2e24d5c0a" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "6bdb8110c3a50439deb68a04c93c9d5ddd5402353bfae1bf4cfca1d6dff14fcf" | 7 | SRC_URI[sha256sum] = "02e3c2e564c7403b92db3fef8ecae3d21123b15787daecd5b643a57369c530f9" |
8 | 8 | ||
9 | inherit pypi setuptools3 | 9 | inherit pypi setuptools3 |
10 | 10 | ||
diff --git a/meta-python/recipes-devtools/python/python3-eth-typing_4.1.0.bb b/meta-python/recipes-devtools/python/python3-eth-typing_4.1.0.bb deleted file mode 100644 index 4491de979c..0000000000 --- a/meta-python/recipes-devtools/python/python3-eth-typing_4.1.0.bb +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | SUMMARY = "Common type annotations for ethereum python packages." | ||
2 | HOMEPAGE = "https://github.com/ethereum/eth-typing" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3d7bdfe69b1ffbde073ca6e96f5c53f7" | ||
6 | |||
7 | SRC_URI[sha256sum] = "ed52b0c6b049240fd810bc87c8857c7ea39370f060f70b9ca3876285269f2938" | ||
8 | |||
9 | inherit pypi setuptools3 | ||
diff --git a/meta-python/recipes-devtools/python/python3-eth-typing_5.2.1.bb b/meta-python/recipes-devtools/python/python3-eth-typing_5.2.1.bb new file mode 100644 index 0000000000..727a19aab6 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-eth-typing_5.2.1.bb | |||
@@ -0,0 +1,15 @@ | |||
1 | SUMMARY = "Common type annotations for ethereum python packages." | ||
2 | HOMEPAGE = "https://github.com/ethereum/eth-typing" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3ef06eb4d4373222e59a338e2eb9a795" | ||
6 | |||
7 | SRC_URI[sha256sum] = "7557300dbf02a93c70fa44af352b5c4a58f94e997a0fd6797fb7d1c29d9538ee" | ||
8 | |||
9 | PYPI_PACKAGE = "eth_typing" | ||
10 | |||
11 | inherit pypi setuptools3 | ||
12 | |||
13 | RDEPENDS:${PN} += " \ | ||
14 | python3-typing-extensions \ | ||
15 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-eth-utils_4.1.1.bb b/meta-python/recipes-devtools/python/python3-eth-utils_5.3.0.bb index 54bd9a67ce..84db8b32b3 100644 --- a/meta-python/recipes-devtools/python/python3-eth-utils_4.1.1.bb +++ b/meta-python/recipes-devtools/python/python3-eth-utils_5.3.0.bb | |||
@@ -2,11 +2,12 @@ SUMMARY = "Common utility functions for codebases which interact with ethereum." | |||
2 | HOMEPAGE = "https://github.com/ethereum/eth-utils" | 2 | HOMEPAGE = "https://github.com/ethereum/eth-utils" |
3 | SECTION = "devel/python" | 3 | SECTION = "devel/python" |
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=6749008d847c14b9718949c2e24d5c0a" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d3f53e7cc5bf80b16eff1f4a38c73182" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "71c8d10dec7494aeed20fa7a4d52ec2ce4a2e52fdce80aab4f5c3c19f3648b25" | 7 | SRC_URI[sha256sum] = "1f096867ac6be895f456fa3acb26e9573ae66e753abad9208f316d24d6178156" |
8 | 8 | ||
9 | PYPI_PACKAGE = "eth_utils" | 9 | PYPI_PACKAGE = "eth_utils" |
10 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
10 | 11 | ||
11 | inherit pypi setuptools3 | 12 | inherit pypi setuptools3 |
12 | 13 | ||
@@ -15,4 +16,5 @@ RDEPENDS:${PN} += " \ | |||
15 | python3-eth-typing \ | 16 | python3-eth-typing \ |
16 | python3-setuptools \ | 17 | python3-setuptools \ |
17 | python3-toolz \ | 18 | python3-toolz \ |
19 | python3-pydantic \ | ||
18 | " | 20 | " |
diff --git a/meta-python/recipes-devtools/python/python3-evdev_1.7.1.bb b/meta-python/recipes-devtools/python/python3-evdev_1.7.1.bb deleted file mode 100644 index dcf50f339d..0000000000 --- a/meta-python/recipes-devtools/python/python3-evdev_1.7.1.bb +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | SUMMARY = "Python evdev lib" | ||
2 | HOMEPAGE = "https://github.com/gvalkov/python-evdev" | ||
3 | LICENSE = "BSD-3-Clause" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0ff275b442f45fc06287544cf713016f" | ||
5 | |||
6 | SRC_URI[sha256sum] = "0c72c370bda29d857e188d931019c32651a9c1ea977c08c8d939b1ced1637fde" | ||
7 | |||
8 | inherit pypi setuptools3 | ||
9 | |||
10 | do_compile:prepend() { | ||
11 | rm -rf ${S}/evdev/ecodes.c | ||
12 | } | ||
13 | |||
14 | SETUPTOOLS_BUILD_ARGS = "build_ecodes --evdev-headers ${STAGING_DIR_TARGET}/usr/include/linux/input.h:${STAGING_DIR_TARGET}/usr/include/linux/input-event-codes.h" | ||
15 | |||
16 | RDEPENDS:${PN} += "\ | ||
17 | python3-ctypes \ | ||
18 | python3-fcntl \ | ||
19 | python3-io \ | ||
20 | python3-shell \ | ||
21 | python3-stringold \ | ||
22 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-evdev_1.9.2.bb b/meta-python/recipes-devtools/python/python3-evdev_1.9.2.bb new file mode 100644 index 0000000000..993dfca1e6 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-evdev_1.9.2.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | SUMMARY = "Python evdev lib" | ||
2 | HOMEPAGE = "https://github.com/gvalkov/python-evdev" | ||
3 | LICENSE = "BSD-3-Clause" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d7bd1cc4c71b706c7e2d4053aef50f2a" | ||
5 | |||
6 | SRC_URI[sha256sum] = "5d3278892ce1f92a74d6bf888cc8525d9f68af85dbe336c95d1c87fb8f423069" | ||
7 | |||
8 | inherit pypi python_setuptools_build_meta ptest-python-pytest | ||
9 | |||
10 | do_compile:prepend() { | ||
11 | rm -rf ${S}/evdev/ecodes.c | ||
12 | } | ||
13 | |||
14 | PEP517_BUILD_OPTS = "--config-setting=--build-option='build_ecodes \ | ||
15 | --evdev-headers ${STAGING_DIR_TARGET}/usr/include/linux/input.h:${STAGING_DIR_TARGET}/usr/include/linux/input-event-codes.h:${STAGING_DIR_TARGET}/usr/include/linux/uinput.h \ | ||
16 | --reproducible'" | ||
17 | |||
18 | RDEPENDS:${PN} += "\ | ||
19 | python3-ctypes \ | ||
20 | python3-fcntl \ | ||
21 | python3-io \ | ||
22 | python3-shell \ | ||
23 | python3-stringold \ | ||
24 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-eventlet/d19ad6cc086684ee74db250f5fd35227c98e678a.patch b/meta-python/recipes-devtools/python/python3-eventlet/d19ad6cc086684ee74db250f5fd35227c98e678a.patch new file mode 100644 index 0000000000..fd0fc91d25 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-eventlet/d19ad6cc086684ee74db250f5fd35227c98e678a.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From d19ad6cc086684ee74db250f5fd35227c98e678a Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz> | ||
3 | Date: Thu, 6 Jun 2024 10:29:29 +0200 | ||
4 | Subject: [PATCH] Add new thread attributes from Python 3.13 | ||
5 | |||
6 | Does not fix https://github.com/eventlet/eventlet/issues/964 yet | ||
7 | Upstream-Status: Backport [https://github.com/eventlet/eventlet/pull/965] | ||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | --- | ||
10 | eventlet/green/thread.py | 7 +++++++ | ||
11 | 1 file changed, 7 insertions(+) | ||
12 | |||
13 | diff --git a/eventlet/green/thread.py b/eventlet/green/thread.py | ||
14 | index 224cd1c..c70c9e8 100644 | ||
15 | --- a/eventlet/green/thread.py | ||
16 | +++ b/eventlet/green/thread.py | ||
17 | @@ -174,5 +174,12 @@ from eventlet.corolocal import local as _local | ||
18 | if hasattr(__thread, 'daemon_threads_allowed'): | ||
19 | daemon_threads_allowed = __thread.daemon_threads_allowed | ||
20 | |||
21 | +if hasattr(__thread, 'start_joinable_thread'): | ||
22 | + start_joinable_thread = __thread.start_joinable_thread | ||
23 | + _shutdown = __thread._shutdown | ||
24 | + _make_thread_handle = __thread._make_thread_handle | ||
25 | + _ThreadHandle = __thread._ThreadHandle | ||
26 | + _get_main_thread_ident = __thread._get_main_thread_ident | ||
27 | + | ||
28 | if hasattr(__thread, '_shutdown'): | ||
29 | _shutdown = __thread._shutdown | ||
30 | -- | ||
31 | 2.43.0 | ||
32 | |||
diff --git a/meta-python/recipes-devtools/python/python3-eventlet_0.36.1.bb b/meta-python/recipes-devtools/python/python3-eventlet_0.36.1.bb deleted file mode 100644 index f70099ab94..0000000000 --- a/meta-python/recipes-devtools/python/python3-eventlet_0.36.1.bb +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | DESCRIPTION = "Highly concurrent networking library" | ||
2 | HOMEPAGE = "http://pypi.python.org/pypi/eventlet" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=56472ad6de4caf50e05332a34b66e778" | ||
6 | |||
7 | SRC_URI[sha256sum] = "d227fe76a63d9e6a6cef53beb8ad0b2dc40a5e7737c801f4b474cfae1db07bc5" | ||
8 | |||
9 | inherit pypi setuptools3 | ||
10 | |||
11 | RDEPENDS:${PN} += " \ | ||
12 | python3-dnspython \ | ||
13 | python3-six \ | ||
14 | python3-greenlet \ | ||
15 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-eventlet_0.40.0.bb b/meta-python/recipes-devtools/python/python3-eventlet_0.40.0.bb new file mode 100644 index 0000000000..88c3d06967 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-eventlet_0.40.0.bb | |||
@@ -0,0 +1,18 @@ | |||
1 | DESCRIPTION = "Highly concurrent networking library" | ||
2 | HOMEPAGE = "https://pypi.python.org/pypi/eventlet" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=56472ad6de4caf50e05332a34b66e778" | ||
6 | |||
7 | SRC_URI += "file://d19ad6cc086684ee74db250f5fd35227c98e678a.patch" | ||
8 | SRC_URI[sha256sum] = "f659d735e06795a26167b666008798c7a203fcd8119b08b84036e41076432ff1" | ||
9 | |||
10 | inherit pypi python_hatchling | ||
11 | |||
12 | DEPENDS += "python3-hatch-vcs-native" | ||
13 | |||
14 | RDEPENDS:${PN} += " \ | ||
15 | python3-dnspython \ | ||
16 | python3-six \ | ||
17 | python3-greenlet \ | ||
18 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-execnet/run-ptest b/meta-python/recipes-devtools/python/python3-execnet/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-execnet/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-execnet_2.1.1.bb b/meta-python/recipes-devtools/python/python3-execnet_2.1.1.bb index 94c1a228e3..54c102bec7 100644 --- a/meta-python/recipes-devtools/python/python3-execnet_2.1.1.bb +++ b/meta-python/recipes-devtools/python/python3-execnet_2.1.1.bb | |||
@@ -11,21 +11,11 @@ DEPENDS += "\ | |||
11 | python3-hatch-vcs-native \ | 11 | python3-hatch-vcs-native \ |
12 | " | 12 | " |
13 | 13 | ||
14 | SRC_URI += "file://run-ptest \ | ||
15 | " | ||
16 | SRC_URI[sha256sum] = "5189b52c6121c24feae288166ab41b32549c7e2348652736540b9e6e7d4e72e3" | 14 | SRC_URI[sha256sum] = "5189b52c6121c24feae288166ab41b32549c7e2348652736540b9e6e7d4e72e3" |
17 | 15 | ||
18 | inherit ptest pypi python_hatchling | 16 | inherit ptest-python-pytest pypi python_hatchling |
19 | 17 | ||
20 | do_install_ptest() { | 18 | PTEST_PYTEST_DIR = "testing" |
21 | install -d ${D}${PTEST_PATH}/tests | ||
22 | cp -rf ${S}/testing/* ${D}${PTEST_PATH}/tests/ | ||
23 | } | ||
24 | |||
25 | RDEPENDS:${PN}-ptest += "\ | ||
26 | python3-pytest \ | ||
27 | python3-unittest-automake-output \ | ||
28 | " | ||
29 | 19 | ||
30 | RDEPENDS:${PN} += "python3-core python3-crypt python3-ctypes python3-fcntl python3-io python3-shell python3-threading" | 20 | RDEPENDS:${PN} += "python3-core python3-crypt python3-ctypes python3-fcntl python3-io python3-shell python3-threading" |
31 | 21 | ||
diff --git a/meta-python/recipes-devtools/python/python3-executing_2.0.1.bb b/meta-python/recipes-devtools/python/python3-executing_2.2.0.bb index 3ee1e66f97..2941f6f0ee 100644 --- a/meta-python/recipes-devtools/python/python3-executing_2.0.1.bb +++ b/meta-python/recipes-devtools/python/python3-executing_2.2.0.bb | |||
@@ -6,4 +6,4 @@ DEPENDS = "python3-setuptools-scm-native" | |||
6 | 6 | ||
7 | inherit pypi python_setuptools_build_meta | 7 | inherit pypi python_setuptools_build_meta |
8 | 8 | ||
9 | SRC_URI[sha256sum] = "35afe2ce3affba8ee97f2d69927fa823b08b472b7b994e36a52a964b93d16147" | 9 | SRC_URI[sha256sum] = "5d108c028108fe2551d1a7b2e8b713341e2cb4fc0aa7dcf966fa4327a5226755" |
diff --git a/meta-python/recipes-devtools/python/python3-expandvars_0.12.0.bb b/meta-python/recipes-devtools/python/python3-expandvars_1.0.0.bb index 6183c310ed..6741bc3826 100644 --- a/meta-python/recipes-devtools/python/python3-expandvars_0.12.0.bb +++ b/meta-python/recipes-devtools/python/python3-expandvars_1.0.0.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/sayanarijit/expandvars" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8b2e744064bd184728ac09dbfb52aaf4" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8b2e744064bd184728ac09dbfb52aaf4" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "7d1adfa55728cf4b5d812ece3d087703faea953e0c0a1a78415de9df5024d844" | 6 | SRC_URI[sha256sum] = "f04070b8260264185f81142cd85e5df9ceef7229e836c5844302c4ccfa00c30d" |
7 | 7 | ||
8 | inherit pypi python_hatchling python_setuptools_build_meta | 8 | inherit pypi python_hatchling python_setuptools_build_meta |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-fann2_1.1.2.bb b/meta-python/recipes-devtools/python/python3-fann2_1.1.2.bb index 2fbc277139..3053ca5d71 100644 --- a/meta-python/recipes-devtools/python/python3-fann2_1.1.2.bb +++ b/meta-python/recipes-devtools/python/python3-fann2_1.1.2.bb | |||
@@ -1,9 +1,8 @@ | |||
1 | SUMMARY = "Python bindings for Fast Artificial Neural Networks 2.2.0 (FANN >= 2.2.0)" | 1 | SUMMARY = "Python bindings for Fast Artificial Neural Networks 2.2.0 (FANN >= 2.2.0)" |
2 | SECTION = "devel/python" | 2 | SECTION = "devel/python" |
3 | LICENSE = "LGPL-2.0-only" | 3 | LICENSE = "LGPL-2.1-only" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c73b943dc75f6f65e007c56ac6515c8f" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c73b943dc75f6f65e007c56ac6515c8f" |
5 | 5 | ||
6 | SRC_URI[md5sum] = "0b85b418018746d63ed66b55465697a9" | ||
7 | SRC_URI[sha256sum] = "cdca0a65ad48e08320672affe38c3dd4ea15e27821e5e1db9fa2b34299bdd41e" | 6 | SRC_URI[sha256sum] = "cdca0a65ad48e08320672affe38c3dd4ea15e27821e5e1db9fa2b34299bdd41e" |
8 | 7 | ||
9 | SRC_URI += " file://0001-setup.py-Don-t-hardcode-swig-and-fann2-binary-locati.patch" | 8 | SRC_URI += " file://0001-setup.py-Don-t-hardcode-swig-and-fann2-binary-locati.patch" |
diff --git a/meta-python/recipes-devtools/python/python3-fastjsonschema/run-ptest b/meta-python/recipes-devtools/python/python3-fastjsonschema/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-fastjsonschema/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-fastjsonschema_2.18.0.bb b/meta-python/recipes-devtools/python/python3-fastjsonschema_2.21.1.bb index b2e969c5c1..11fc6de8d6 100644 --- a/meta-python/recipes-devtools/python/python3-fastjsonschema_2.18.0.bb +++ b/meta-python/recipes-devtools/python/python3-fastjsonschema_2.21.1.bb | |||
@@ -6,29 +6,19 @@ HOMEPAGE = "https://github.com/seznam/python-fastjsonschema" | |||
6 | LICENSE = "BSD-3-Clause" | 6 | LICENSE = "BSD-3-Clause" |
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=18950e8362b69c0c617b42b8bd8e7532" | 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=18950e8362b69c0c617b42b8bd8e7532" |
8 | 8 | ||
9 | SRCREV = "756540088687cda351390f687b92e602feaa7dc6" | 9 | SRC_URI[sha256sum] = "794d4f0a58f848961ba16af7b9c85a3e88cd360df008c59aac6fc5ae9323b5d4" |
10 | PYPI_SRC_URI = "git://github.com/horejsek/python-fastjsonschema;protocol=https;branch=master" | ||
11 | 10 | ||
12 | SRC_URI += "file://run-ptest" | 11 | inherit ptest-python-pytest pypi setuptools3 |
13 | |||
14 | inherit ptest pypi setuptools3 | ||
15 | |||
16 | S = "${WORKDIR}/git" | ||
17 | |||
18 | do_install_ptest() { | ||
19 | install -d ${D}${PTEST_PATH}/tests | ||
20 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
21 | } | ||
22 | 12 | ||
13 | # python3-misc for timeit.py | ||
23 | RDEPENDS:${PN}-ptest += "\ | 14 | RDEPENDS:${PN}-ptest += "\ |
24 | python3-colorama \ | 15 | python3-colorama \ |
25 | python3-jsonschema \ | 16 | python3-jsonschema \ |
17 | python3-misc \ | ||
26 | python3-pylint \ | 18 | python3-pylint \ |
27 | python3-pytest \ | ||
28 | python3-pytest-benchmark \ | 19 | python3-pytest-benchmark \ |
29 | python3-pytest-cache \ | 20 | python3-pytest-cache \ |
30 | python3-statistics \ | 21 | python3-statistics \ |
31 | python3-unittest-automake-output \ | ||
32 | " | 22 | " |
33 | RDEPENDS:${PN} += "\ | 23 | RDEPENDS:${PN} += "\ |
34 | python3-core \ | 24 | python3-core \ |
diff --git a/meta-python/recipes-devtools/python/python3-fastnumbers_5.1.0.bb b/meta-python/recipes-devtools/python/python3-fastnumbers_5.1.0.bb deleted file mode 100644 index 01aa8b3b44..0000000000 --- a/meta-python/recipes-devtools/python/python3-fastnumbers_5.1.0.bb +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | SUMMARY = "Super-fast and clean conversions to numbers." | ||
2 | SECTION = "devel/python" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d32431d1b650010945da4e078011c8fa" | ||
5 | |||
6 | PYPI_PACKAGE = "fastnumbers" | ||
7 | |||
8 | SRC_URI[sha256sum] = "e092d33f8b95c3171a2fb34e579efe0c54b0290dd7f96ffaa2762437601d90a7" | ||
9 | |||
10 | inherit pypi setuptools3 | ||
diff --git a/meta-python/recipes-devtools/python/python3-fastnumbers_5.1.1.bb b/meta-python/recipes-devtools/python/python3-fastnumbers_5.1.1.bb new file mode 100644 index 0000000000..3a92fe0ab4 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-fastnumbers_5.1.1.bb | |||
@@ -0,0 +1,19 @@ | |||
1 | SUMMARY = "Super-fast and clean conversions to numbers." | ||
2 | SECTION = "devel/python" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d32431d1b650010945da4e078011c8fa" | ||
5 | |||
6 | PYPI_PACKAGE = "fastnumbers" | ||
7 | |||
8 | SRC_URI[sha256sum] = "183fa021cdc052edaeede5c23e3086461deb7562b567614edf71b29515f5fa4b" | ||
9 | |||
10 | inherit pypi python_setuptools_build_meta ptest-python-pytest | ||
11 | |||
12 | DEPENDS += "python3-setuptools-scm-native" | ||
13 | |||
14 | RDEPENDS:${PN}-ptest += "\ | ||
15 | python3-ctypes \ | ||
16 | python3-hypothesis \ | ||
17 | python3-numpy \ | ||
18 | python3-typing-extensions \ | ||
19 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-file-magic_0.4.1.bb b/meta-python/recipes-devtools/python/python3-file-magic_0.4.1.bb index 5289ad3745..0491d02b1d 100644 --- a/meta-python/recipes-devtools/python/python3-file-magic_0.4.1.bb +++ b/meta-python/recipes-devtools/python/python3-file-magic_0.4.1.bb | |||
@@ -7,9 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=0e949c0b3fb4fd86232f00c6ee0bdef3" | |||
7 | 7 | ||
8 | SRC_URI[sha256sum] = "a91d1483117f7ed48cd0238ad9be36b04824d57e9c38ea7523113989e81b9c53" | 8 | SRC_URI[sha256sum] = "a91d1483117f7ed48cd0238ad9be36b04824d57e9c38ea7523113989e81b9c53" |
9 | 9 | ||
10 | PYPI_PACKAGE="file-magic" | 10 | inherit pypi python_setuptools_build_meta |
11 | |||
12 | inherit pypi setuptools3 | ||
13 | 11 | ||
14 | RDEPENDS:${PN} += " \ | 12 | RDEPENDS:${PN} += " \ |
15 | file \ | 13 | file \ |
diff --git a/meta-python/recipes-devtools/python/python3-filelock_3.15.3.bb b/meta-python/recipes-devtools/python/python3-filelock_3.18.0.bb index 3bbf723194..9c4721d4bf 100644 --- a/meta-python/recipes-devtools/python/python3-filelock_3.15.3.bb +++ b/meta-python/recipes-devtools/python/python3-filelock_3.18.0.bb | |||
@@ -1,14 +1,14 @@ | |||
1 | # SPDX-License-Identifier: MIT | 1 | # SPDX-License-Identifier: MIT |
2 | # Copyright (C) 2023 iris-GmbH infrared & intelligent sensors | 2 | # Copyright (C) 2023 iris-GmbH infrared & intelligent sensors |
3 | |||
4 | SUMMARY = "A single module, which implements a platform independent file lock in Python, which provides a simple way of inter-process communication" | 3 | SUMMARY = "A single module, which implements a platform independent file lock in Python, which provides a simple way of inter-process communication" |
5 | HOMEPAGE = "https://py-filelock.readthedocs.io/" | 4 | HOMEPAGE = "https://py-filelock.readthedocs.io/" |
6 | LICENSE = "Unlicense" | 5 | LICENSE = "Unlicense" |
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=911690f51af322440237a253d695d19f" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=911690f51af322440237a253d695d19f" |
8 | 7 | ||
9 | SRC_URI[sha256sum] = "e1199bf5194a2277273dacd50269f0d87d0682088a3c561c15674ea9005d8635" | 8 | SRC_URI[sha256sum] = "adbc88eabb99d2fec8c9c1b229b171f18afa655400173ddc653d5d01501fb9f2" |
10 | 9 | ||
11 | BBCLASSEXTEND = "native nativesdk" | 10 | BBCLASSEXTEND = "native nativesdk" |
11 | |||
12 | inherit pypi python_hatchling | 12 | inherit pypi python_hatchling |
13 | 13 | ||
14 | DEPENDS += "\ | 14 | DEPENDS += "\ |
diff --git a/meta-python/recipes-devtools/python/python3-flask-babel_4.0.0.bb b/meta-python/recipes-devtools/python/python3-flask-babel_4.0.0.bb index b445ec0e1c..4923eb9d58 100644 --- a/meta-python/recipes-devtools/python/python3-flask-babel_4.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-flask-babel_4.0.0.bb | |||
@@ -5,6 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=51917f3e8e858f5ae295a7d0e2eb3cc9" | |||
5 | SRC_URI[sha256sum] = "dbeab4027a3f4a87678a11686496e98e1492eb793cbdd77ab50f4e9a2602a593" | 5 | SRC_URI[sha256sum] = "dbeab4027a3f4a87678a11686496e98e1492eb793cbdd77ab50f4e9a2602a593" |
6 | 6 | ||
7 | PYPI_PACKAGE = "flask_babel" | 7 | PYPI_PACKAGE = "flask_babel" |
8 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
8 | 9 | ||
9 | inherit pypi python_poetry_core | 10 | inherit pypi python_poetry_core |
10 | 11 | ||
diff --git a/meta-python/recipes-devtools/python/python3-flask-bootstrap_3.3.7.1.bb b/meta-python/recipes-devtools/python/python3-flask-bootstrap_3.3.7.1.bb index 877c754361..13a224a9d8 100644 --- a/meta-python/recipes-devtools/python/python3-flask-bootstrap_3.3.7.1.bb +++ b/meta-python/recipes-devtools/python/python3-flask-bootstrap_3.3.7.1.bb | |||
@@ -1,2 +1,16 @@ | |||
1 | DESCRIPTION = "An extension that includes Bootstrap in your project, without any boilerplate code." | ||
2 | LICENSE = "Apache-2.0 & MIT & BSD-3-Clause" | ||
3 | LIC_FILES_CHKSUM = "file://PKG-INFO;md5=a03749709f06118a17349deb5a210619" | ||
4 | |||
5 | SRC_URI[sha256sum] = "cb08ed940183f6343a64e465e83b3a3f13c53e1baabb8d72b5da4545ef123ac8" | ||
6 | |||
7 | PYPI_PACKAGE = "Flask-Bootstrap" | ||
8 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
9 | |||
1 | inherit pypi setuptools3 | 10 | inherit pypi setuptools3 |
2 | require python-flask-bootstrap.inc | 11 | |
12 | RDEPENDS:${PN} += "\ | ||
13 | python3-dominate \ | ||
14 | python3-flask \ | ||
15 | python3-visitor \ | ||
16 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-flask-cors/CVE-2024-6221.patch b/meta-python/recipes-devtools/python/python3-flask-cors/CVE-2024-6221.patch new file mode 100644 index 0000000000..9049b2ffe6 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-flask-cors/CVE-2024-6221.patch | |||
@@ -0,0 +1,110 @@ | |||
1 | From 7ae310c56ac30e0b94fb42129aa377bf633256ec Mon Sep 17 00:00:00 2001 | ||
2 | From: Adriano Sela Aviles <adriano.selaviles@gmail.com> | ||
3 | Date: Fri, 30 Aug 2024 12:14:31 -0400 | ||
4 | Subject: [PATCH] Backwards Compatible Fix for CVE-2024-6221 (#363) | ||
5 | |||
6 | CVE: CVE-2024-6221 | ||
7 | |||
8 | Upstream-Status: Backport [https://github.com/corydolphin/flask-cors/commit/7ae310c56ac30e0b94fb42129aa377bf633256ec] | ||
9 | |||
10 | Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com> | ||
11 | --- | ||
12 | docs/configuration.rst | 14 ++++++++++++++ | ||
13 | flask_cors/core.py | 8 +++++--- | ||
14 | flask_cors/extension.py | 16 ++++++++++++++++ | ||
15 | 3 files changed, 35 insertions(+), 3 deletions(-) | ||
16 | |||
17 | diff --git a/docs/configuration.rst b/docs/configuration.rst | ||
18 | index 91282d3..c750cf4 100644 | ||
19 | --- a/docs/configuration.rst | ||
20 | +++ b/docs/configuration.rst | ||
21 | @@ -23,6 +23,19 @@ CORS_ALLOW_HEADERS (:py:class:`~typing.List` or :py:class:`str`) | ||
22 | Headers to accept from the client. | ||
23 | Headers in the :http:header:`Access-Control-Request-Headers` request header (usually part of the preflight OPTIONS request) matching headers in this list will be included in the :http:header:`Access-Control-Allow-Headers` response header. | ||
24 | |||
25 | +CORS_ALLOW_PRIVATE_NETWORK (:py:class:`bool`) | ||
26 | + If True, the response header :http:header:`Access-Control-Allow-Private-Network` | ||
27 | + will be set with the value 'true' whenever the request header | ||
28 | + :http:header:`Access-Control-Request-Private-Network` has a value 'true'. | ||
29 | + | ||
30 | + If False, the reponse header :http:header:`Access-Control-Allow-Private-Network` | ||
31 | + will be set with the value 'false' whenever the request header | ||
32 | + :http:header:`Access-Control-Request-Private-Network` has a value of 'true'. | ||
33 | + | ||
34 | + If the request header :http:header:`Access-Control-Request-Private-Network` is | ||
35 | + not present or has a value other than 'true', the response header | ||
36 | + :http:header:`Access-Control-Allow-Private-Network` will not be set. | ||
37 | + | ||
38 | CORS_ALWAYS_SEND (:py:class:`bool`) | ||
39 | Usually, if a request doesn't include an :http:header:`Origin` header, the client did not request CORS. | ||
40 | This means we can ignore this request. | ||
41 | @@ -83,6 +96,7 @@ Default values | ||
42 | ~~~~~~~~~~~~~~ | ||
43 | |||
44 | * CORS_ALLOW_HEADERS: "*" | ||
45 | +* CORS_ALLOW_PRIVATE_NETWORK: True | ||
46 | * CORS_ALWAYS_SEND: True | ||
47 | * CORS_AUTOMATIC_OPTIONS: True | ||
48 | * CORS_EXPOSE_HEADERS: None | ||
49 | diff --git a/flask_cors/core.py b/flask_cors/core.py | ||
50 | index 5358036..bd011f4 100644 | ||
51 | --- a/flask_cors/core.py | ||
52 | +++ b/flask_cors/core.py | ||
53 | @@ -36,7 +36,7 @@ CONFIG_OPTIONS = ['CORS_ORIGINS', 'CORS_METHODS', 'CORS_ALLOW_HEADERS', | ||
54 | 'CORS_MAX_AGE', 'CORS_SEND_WILDCARD', | ||
55 | 'CORS_AUTOMATIC_OPTIONS', 'CORS_VARY_HEADER', | ||
56 | 'CORS_RESOURCES', 'CORS_INTERCEPT_EXCEPTIONS', | ||
57 | - 'CORS_ALWAYS_SEND'] | ||
58 | + 'CORS_ALWAYS_SEND', 'CORS_ALLOW_PRIVATE_NETWORK'] | ||
59 | # Attribute added to request object by decorator to indicate that CORS | ||
60 | # was evaluated, in case the decorator and extension are both applied | ||
61 | # to a view. | ||
62 | @@ -56,7 +56,8 @@ DEFAULT_OPTIONS = dict(origins='*', | ||
63 | vary_header=True, | ||
64 | resources=r'/*', | ||
65 | intercept_exceptions=True, | ||
66 | - always_send=True) | ||
67 | + always_send=True, | ||
68 | + allow_private_network=True) | ||
69 | |||
70 | |||
71 | def parse_resources(resources): | ||
72 | @@ -186,7 +187,8 @@ def get_cors_headers(options, request_headers, request_method): | ||
73 | |||
74 | if ACL_REQUEST_HEADER_PRIVATE_NETWORK in request_headers \ | ||
75 | and request_headers.get(ACL_REQUEST_HEADER_PRIVATE_NETWORK) == 'true': | ||
76 | - headers[ACL_RESPONSE_PRIVATE_NETWORK] = 'true' | ||
77 | + allow_private_network = 'true' if options.get('allow_private_network') else 'false' | ||
78 | + headers[ACL_RESPONSE_PRIVATE_NETWORK] = allow_private_network | ||
79 | |||
80 | # This is a preflight request | ||
81 | # http://www.w3.org/TR/cors/#resource-preflight-requests | ||
82 | diff --git a/flask_cors/extension.py b/flask_cors/extension.py | ||
83 | index c00cbff..694953f 100644 | ||
84 | --- a/flask_cors/extension.py | ||
85 | +++ b/flask_cors/extension.py | ||
86 | @@ -136,6 +136,22 @@ class CORS(object): | ||
87 | |||
88 | Default : True | ||
89 | :type vary_header: bool | ||
90 | + | ||
91 | + :param allow_private_network: | ||
92 | + If True, the response header `Access-Control-Allow-Private-Network` | ||
93 | + will be set with the value 'true' whenever the request header | ||
94 | + `Access-Control-Request-Private-Network` has a value 'true'. | ||
95 | + | ||
96 | + If False, the reponse header `Access-Control-Allow-Private-Network` | ||
97 | + will be set with the value 'false' whenever the request header | ||
98 | + `Access-Control-Request-Private-Network` has a value of 'true'. | ||
99 | + | ||
100 | + If the request header `Access-Control-Request-Private-Network` is | ||
101 | + not present or has a value other than 'true', the response header | ||
102 | + `Access-Control-Allow-Private-Network` will not be set. | ||
103 | + | ||
104 | + Default : True | ||
105 | + :type allow_private_network: bool | ||
106 | """ | ||
107 | |||
108 | def __init__(self, app=None, **kwargs): | ||
109 | -- | ||
110 | 2.40.0 | ||
diff --git a/meta-python/recipes-devtools/python/python3-flask-cors_4.0.0.bb b/meta-python/recipes-devtools/python/python3-flask-cors_4.0.0.bb index 1d0d86b4e7..6606b3037a 100644 --- a/meta-python/recipes-devtools/python/python3-flask-cors_4.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-flask-cors_4.0.0.bb | |||
@@ -8,6 +8,11 @@ LICENSE = "MIT" | |||
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=118fecaa576ab51c1520f95e98db61ce" | 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=118fecaa576ab51c1520f95e98db61ce" |
9 | 9 | ||
10 | PYPI_PACKAGE = "Flask-Cors" | 10 | PYPI_PACKAGE = "Flask-Cors" |
11 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
12 | |||
13 | SRC_URI += " \ | ||
14 | file://CVE-2024-6221.patch \ | ||
15 | " | ||
11 | 16 | ||
12 | SRC_URI[sha256sum] = "f268522fcb2f73e2ecdde1ef45e2fd5c71cc48fe03cffb4b441c6d1b40684eb0" | 17 | SRC_URI[sha256sum] = "f268522fcb2f73e2ecdde1ef45e2fd5c71cc48fe03cffb4b441c6d1b40684eb0" |
13 | 18 | ||
diff --git a/meta-python/recipes-devtools/python/python3-flask-httpauth_4.8.0.bb b/meta-python/recipes-devtools/python/python3-flask-httpauth_4.8.0.bb index 51b907e6db..1b43b834c1 100644 --- a/meta-python/recipes-devtools/python/python3-flask-httpauth_4.8.0.bb +++ b/meta-python/recipes-devtools/python/python3-flask-httpauth_4.8.0.bb | |||
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b69377f79f3f48c661701236d5a6a85" | |||
6 | inherit pypi python_setuptools_build_meta | 6 | inherit pypi python_setuptools_build_meta |
7 | 7 | ||
8 | PYPI_PACKAGE = "Flask-HTTPAuth" | 8 | PYPI_PACKAGE = "Flask-HTTPAuth" |
9 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
9 | 10 | ||
10 | SRC_URI[sha256sum] = "66568a05bc73942c65f1e2201ae746295816dc009edd84b482c44c758d75097a" | 11 | SRC_URI[sha256sum] = "66568a05bc73942c65f1e2201ae746295816dc009edd84b482c44c758d75097a" |
11 | 12 | ||
diff --git a/meta-python/recipes-devtools/python/python3-flask-jsonpify_1.5.0.bb b/meta-python/recipes-devtools/python/python3-flask-jsonpify_1.5.0.bb index 76c6fb7731..d653b8adbf 100644 --- a/meta-python/recipes-devtools/python/python3-flask-jsonpify_1.5.0.bb +++ b/meta-python/recipes-devtools/python/python3-flask-jsonpify_1.5.0.bb | |||
@@ -5,8 +5,8 @@ LICENSE = "MIT" | |||
5 | LIC_FILES_CHKSUM = "file://README.rst;md5=bd59445a234a0c8250b39178d42e3148" | 5 | LIC_FILES_CHKSUM = "file://README.rst;md5=bd59445a234a0c8250b39178d42e3148" |
6 | 6 | ||
7 | PYPI_PACKAGE = "Flask-Jsonpify" | 7 | PYPI_PACKAGE = "Flask-Jsonpify" |
8 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
8 | 9 | ||
9 | SRC_URI[md5sum] = "8a10e37942c43d93d107644a3fe77d98" | ||
10 | SRC_URI[sha256sum] = "8ac4c732aa5b11d9f6c2de58065d3b669f139518ca8f529bce943817e2fedbfb" | 10 | SRC_URI[sha256sum] = "8ac4c732aa5b11d9f6c2de58065d3b669f139518ca8f529bce943817e2fedbfb" |
11 | 11 | ||
12 | inherit pypi setuptools3 | 12 | inherit pypi setuptools3 |
diff --git a/meta-python/recipes-devtools/python/python3-flask-jwt-extended_4.6.0.bb b/meta-python/recipes-devtools/python/python3-flask-jwt-extended_4.6.0.bb index cc07c92f47..e188f2b09c 100644 --- a/meta-python/recipes-devtools/python/python3-flask-jwt-extended_4.6.0.bb +++ b/meta-python/recipes-devtools/python/python3-flask-jwt-extended_4.6.0.bb | |||
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=9166295d7c482b9440bbb2b5c0fa43ac" | |||
6 | inherit pypi setuptools3 | 6 | inherit pypi setuptools3 |
7 | 7 | ||
8 | PYPI_PACKAGE = "Flask-JWT-Extended" | 8 | PYPI_PACKAGE = "Flask-JWT-Extended" |
9 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
9 | 10 | ||
10 | SRC_URI[sha256sum] = "9215d05a9413d3855764bcd67035e75819d23af2fafb6b55197eb5a3313fdfb2" | 11 | SRC_URI[sha256sum] = "9215d05a9413d3855764bcd67035e75819d23af2fafb6b55197eb5a3313fdfb2" |
11 | 12 | ||
diff --git a/meta-python/recipes-devtools/python/python3-flask-jwt_0.3.2.bb b/meta-python/recipes-devtools/python/python3-flask-jwt_0.3.2.bb index 35bcbc00ae..462d065a0e 100644 --- a/meta-python/recipes-devtools/python/python3-flask-jwt_0.3.2.bb +++ b/meta-python/recipes-devtools/python/python3-flask-jwt_0.3.2.bb | |||
@@ -5,8 +5,8 @@ LICENSE = "MIT" | |||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ff00db41c47ec84b4567a8b3c246a959" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ff00db41c47ec84b4567a8b3c246a959" |
6 | 6 | ||
7 | PYPI_PACKAGE = "Flask-JWT" | 7 | PYPI_PACKAGE = "Flask-JWT" |
8 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
8 | 9 | ||
9 | SRC_URI[md5sum] = "878ad79a12afa70ad38a12d5ffd2dc1e" | ||
10 | SRC_URI[sha256sum] = "49c0672fbde0f1cd3374bd834918d28956e3c521c7e00089cdc5380d323bd0ad" | 10 | SRC_URI[sha256sum] = "49c0672fbde0f1cd3374bd834918d28956e3c521c7e00089cdc5380d323bd0ad" |
11 | 11 | ||
12 | inherit pypi setuptools3 | 12 | inherit pypi setuptools3 |
diff --git a/meta-python/recipes-devtools/python/python3-flask-login_0.6.3.bb b/meta-python/recipes-devtools/python/python3-flask-login_0.6.3.bb index d990d4e80b..f197119bbc 100644 --- a/meta-python/recipes-devtools/python/python3-flask-login_0.6.3.bb +++ b/meta-python/recipes-devtools/python/python3-flask-login_0.6.3.bb | |||
@@ -9,6 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=8aa87a1cd9fa41d969ad32cfdac2c596" | |||
9 | SRC_URI[sha256sum] = "5e23d14a607ef12806c699590b89d0f0e0d67baeec599d75947bf9c147330333" | 9 | SRC_URI[sha256sum] = "5e23d14a607ef12806c699590b89d0f0e0d67baeec599d75947bf9c147330333" |
10 | 10 | ||
11 | PYPI_PACKAGE = "Flask-Login" | 11 | PYPI_PACKAGE = "Flask-Login" |
12 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
12 | 13 | ||
13 | inherit pypi setuptools3 | 14 | inherit pypi setuptools3 |
14 | 15 | ||
diff --git a/meta-python/recipes-devtools/python/python3-flask-mail_0.9.1.bb b/meta-python/recipes-devtools/python/python3-flask-mail_0.9.1.bb index 1aca3a1619..c5b839eb72 100644 --- a/meta-python/recipes-devtools/python/python3-flask-mail_0.9.1.bb +++ b/meta-python/recipes-devtools/python/python3-flask-mail_0.9.1.bb | |||
@@ -4,10 +4,10 @@ HOMEPAGE = " https://github.com/rduplain/flask-email" | |||
4 | LICENSE = "BSD-3-Clause" | 4 | LICENSE = "BSD-3-Clause" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5b16dfa6d3f275ace5985bb92949f770" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5b16dfa6d3f275ace5985bb92949f770" |
6 | 6 | ||
7 | SRC_URI[md5sum] = "04b35a42a44ec7aa724ec8ce55e2e08e" | ||
8 | SRC_URI[sha256sum] = "22e5eb9a940bf407bcf30410ecc3708f3c56cc44b29c34e1726fe85006935f41" | 7 | SRC_URI[sha256sum] = "22e5eb9a940bf407bcf30410ecc3708f3c56cc44b29c34e1726fe85006935f41" |
9 | 8 | ||
10 | PYPI_PACKAGE = "Flask-Mail" | 9 | PYPI_PACKAGE = "Flask-Mail" |
10 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
11 | 11 | ||
12 | inherit pypi setuptools3 | 12 | inherit pypi setuptools3 |
13 | 13 | ||
diff --git a/meta-python/recipes-devtools/python/python3-flask-marshmallow_1.2.1.bb b/meta-python/recipes-devtools/python/python3-flask-marshmallow_1.3.0.bb index 8408ebd7b0..631ea14c3d 100644 --- a/meta-python/recipes-devtools/python/python3-flask-marshmallow_1.2.1.bb +++ b/meta-python/recipes-devtools/python/python3-flask-marshmallow_1.3.0.bb | |||
@@ -6,8 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=27586b20700d7544c06933afe56f7df4" | |||
6 | inherit pypi python_setuptools_build_meta | 6 | inherit pypi python_setuptools_build_meta |
7 | 7 | ||
8 | PYPI_PACKAGE = "flask_marshmallow" | 8 | PYPI_PACKAGE = "flask_marshmallow" |
9 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
9 | 10 | ||
10 | SRC_URI[sha256sum] = "00ee96399ed664963afff3b5d6ee518640b0f91dbc2aace2b5abcf32f40ef23a" | 11 | SRC_URI[sha256sum] = "27a35d0ce5dcba161cc5f2f4764afbc2536c93fa439a793250b827835e3f3be6" |
11 | 12 | ||
12 | RDEPENDS:${PN} += "\ | 13 | RDEPENDS:${PN} += "\ |
13 | python3-flask \ | 14 | python3-flask \ |
diff --git a/meta-python/recipes-devtools/python/python3-flask-migrate_4.0.7.bb b/meta-python/recipes-devtools/python/python3-flask-migrate_4.0.7.bb index bfd854ac05..bacf7851aa 100644 --- a/meta-python/recipes-devtools/python/python3-flask-migrate_4.0.7.bb +++ b/meta-python/recipes-devtools/python/python3-flask-migrate_4.0.7.bb | |||
@@ -5,6 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b69377f79f3f48c661701236d5a6a85" | |||
5 | SRC_URI[sha256sum] = "dff7dd25113c210b069af280ea713b883f3840c1e3455274745d7355778c8622" | 5 | SRC_URI[sha256sum] = "dff7dd25113c210b069af280ea713b883f3840c1e3455274745d7355778c8622" |
6 | 6 | ||
7 | PYPI_PACKAGE = "Flask-Migrate" | 7 | PYPI_PACKAGE = "Flask-Migrate" |
8 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
8 | 9 | ||
9 | inherit pypi python_setuptools_build_meta | 10 | inherit pypi python_setuptools_build_meta |
10 | 11 | ||
diff --git a/meta-python/recipes-devtools/python/python3-flask-nav_0.6.bb b/meta-python/recipes-devtools/python/python3-flask-nav_0.6.bb index 3855909fbc..3d58461488 100644 --- a/meta-python/recipes-devtools/python/python3-flask-nav_0.6.bb +++ b/meta-python/recipes-devtools/python/python3-flask-nav_0.6.bb | |||
@@ -2,7 +2,6 @@ DESCRIPTION = "Easily create navigation for Flask applications." | |||
2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
3 | LIC_FILES_CHKSUM = "file://PKG-INFO;md5=2729ee82259d601d90d28b0574d12416" | 3 | LIC_FILES_CHKSUM = "file://PKG-INFO;md5=2729ee82259d601d90d28b0574d12416" |
4 | 4 | ||
5 | SRC_URI[md5sum] = "4d51cfd06d58f8d0fe85775a6696c0e5" | ||
6 | SRC_URI[sha256sum] = "44e40b755380a1e68ab521a2f9174de259a2c94ddcdaabf36b3aca2e110a33f4" | 5 | SRC_URI[sha256sum] = "44e40b755380a1e68ab521a2f9174de259a2c94ddcdaabf36b3aca2e110a33f4" |
7 | 6 | ||
8 | PYPI_PACKAGE = "flask-nav" | 7 | PYPI_PACKAGE = "flask-nav" |
diff --git a/meta-python/recipes-devtools/python/python3-flask-pymongo_2.3.0.bb b/meta-python/recipes-devtools/python/python3-flask-pymongo_2.3.0.bb index 1cd4a4b699..75a52a033e 100644 --- a/meta-python/recipes-devtools/python/python3-flask-pymongo_2.3.0.bb +++ b/meta-python/recipes-devtools/python/python3-flask-pymongo_2.3.0.bb | |||
@@ -5,10 +5,10 @@ SECTION = "devel/python" | |||
5 | LICENSE = "BSD-2-Clause" | 5 | LICENSE = "BSD-2-Clause" |
6 | LIC_FILES_CHKSUM = "file://flask_pymongo/wrappers.py;beginline=1;endline=24;md5=424c4e1047d28e01b4e4634a069c019d" | 6 | LIC_FILES_CHKSUM = "file://flask_pymongo/wrappers.py;beginline=1;endline=24;md5=424c4e1047d28e01b4e4634a069c019d" |
7 | 7 | ||
8 | SRC_URI[md5sum] = "94df71e6800b1d7915cc91a74b70f959" | ||
9 | SRC_URI[sha256sum] = "620eb02dc8808a5fcb90f26cab6cba9d6bf497b15032ae3ca99df80366e33314" | 8 | SRC_URI[sha256sum] = "620eb02dc8808a5fcb90f26cab6cba9d6bf497b15032ae3ca99df80366e33314" |
10 | 9 | ||
11 | PYPI_PACKAGE = "Flask-PyMongo" | 10 | PYPI_PACKAGE = "Flask-PyMongo" |
11 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
12 | 12 | ||
13 | inherit pypi setuptools3 | 13 | inherit pypi setuptools3 |
14 | 14 | ||
diff --git a/meta-python/recipes-devtools/python/python3-flask-restful_0.3.10.bb b/meta-python/recipes-devtools/python/python3-flask-restful_0.3.10.bb index 8ea455c633..0f97fbc259 100644 --- a/meta-python/recipes-devtools/python/python3-flask-restful_0.3.10.bb +++ b/meta-python/recipes-devtools/python/python3-flask-restful_0.3.10.bb | |||
@@ -11,5 +11,6 @@ SRC_URI[sha256sum] = "fe4af2ef0027df8f9b4f797aba20c5566801b6ade995ac63b588abf1a5 | |||
11 | inherit pypi setuptools3 | 11 | inherit pypi setuptools3 |
12 | 12 | ||
13 | PYPI_PACKAGE = "Flask-RESTful" | 13 | PYPI_PACKAGE = "Flask-RESTful" |
14 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
14 | 15 | ||
15 | RDEPENDS:${PN} = "python3-flask" | 16 | RDEPENDS:${PN} = "python3-flask" |
diff --git a/meta-python/recipes-devtools/python/python3-flask-sijax_0.4.1.bb b/meta-python/recipes-devtools/python/python3-flask-sijax_0.4.1.bb index e9a65c4aef..e74f315c4a 100644 --- a/meta-python/recipes-devtools/python/python3-flask-sijax_0.4.1.bb +++ b/meta-python/recipes-devtools/python/python3-flask-sijax_0.4.1.bb | |||
@@ -1,4 +1,18 @@ | |||
1 | DESCRIPTION = "An extension for the Flask microframework that adds Sijax support." | ||
2 | HOMEPAGE = "https://github.com/spantaleev/flask-sijax" | ||
3 | LICENSE = "BSD-3-Clause" | ||
4 | |||
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=266adc7b911b7c84b837bf77196e1ba6" | ||
6 | |||
7 | SRC_URI[sha256sum] = "fb2bf2d4f75408185102195055d75549fee8d9c9e954dca2427186925cdc429f" | ||
8 | |||
9 | PYPI_PACKAGE = "Flask-Sijax" | ||
10 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
11 | |||
1 | inherit pypi setuptools3 | 12 | inherit pypi setuptools3 |
2 | require python-flask-sijax.inc | ||
3 | 13 | ||
4 | SRC_URI[sha256sum] = "fb2bf2d4f75408185102195055d75549fee8d9c9e954dca2427186925cdc429f" \ No newline at end of file | 14 | RDEPENDS:${PN} += " \ |
15 | python3-flask \ | ||
16 | python3-sijax \ | ||
17 | python3-werkzeug \ | ||
18 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-flask-socketio_5.3.6.bb b/meta-python/recipes-devtools/python/python3-flask-socketio_5.3.6.bb index 6b76e03f8d..7371d7646c 100644 --- a/meta-python/recipes-devtools/python/python3-flask-socketio_5.3.6.bb +++ b/meta-python/recipes-devtools/python/python3-flask-socketio_5.3.6.bb | |||
@@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=38cc21254909604298ce763a6e4440a0" | |||
8 | inherit pypi python_setuptools_build_meta | 8 | inherit pypi python_setuptools_build_meta |
9 | 9 | ||
10 | PYPI_PACKAGE = "Flask-SocketIO" | 10 | PYPI_PACKAGE = "Flask-SocketIO" |
11 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
11 | 12 | ||
12 | SRC_URI[sha256sum] = "bb8f9f9123ef47632f5ce57a33514b0c0023ec3696b2384457f0fcaa5b70501c" | 13 | SRC_URI[sha256sum] = "bb8f9f9123ef47632f5ce57a33514b0c0023ec3696b2384457f0fcaa5b70501c" |
13 | 14 | ||
diff --git a/meta-python/recipes-devtools/python/python3-flask-sqlalchemy_3.1.1.bb b/meta-python/recipes-devtools/python/python3-flask-sqlalchemy_3.1.1.bb index f5fe1cc446..9f3db38959 100644 --- a/meta-python/recipes-devtools/python/python3-flask-sqlalchemy_3.1.1.bb +++ b/meta-python/recipes-devtools/python/python3-flask-sqlalchemy_3.1.1.bb | |||
@@ -5,8 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=ffeffa59c90c9c4a033c7574f8f3fb75" | |||
5 | SRC_URI[sha256sum] = "e4b68bb881802dda1a7d878b2fc84c06d1ee57fb40b874d3dc97dabfa36b8312" | 5 | SRC_URI[sha256sum] = "e4b68bb881802dda1a7d878b2fc84c06d1ee57fb40b874d3dc97dabfa36b8312" |
6 | 6 | ||
7 | PYPI_PACKAGE = "flask_sqlalchemy" | 7 | PYPI_PACKAGE = "flask_sqlalchemy" |
8 | UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/Flask-SQLAlchemy" | 8 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" |
9 | UPSTREAM_CHECK_REGEX = "/Flask-SQLAlchemy/(?P<pver>(\d+[\.\-_]*)+)" | ||
10 | 9 | ||
11 | inherit pypi python_setuptools_build_meta | 10 | inherit pypi python_setuptools_build_meta |
12 | 11 | ||
diff --git a/meta-python/recipes-devtools/python/python3-flask-uploads_0.2.1.bb b/meta-python/recipes-devtools/python/python3-flask-uploads_0.2.1.bb index 9ac321dec7..fa2b321814 100644 --- a/meta-python/recipes-devtools/python/python3-flask-uploads_0.2.1.bb +++ b/meta-python/recipes-devtools/python/python3-flask-uploads_0.2.1.bb | |||
@@ -2,10 +2,10 @@ DESCRIPTION = "Flexible and efficient upload handling for Flask" | |||
2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
3 | LIC_FILES_CHKSUM = "file://PKG-INFO;md5=b712ac634b39469660c9bdfb8d03421c" | 3 | LIC_FILES_CHKSUM = "file://PKG-INFO;md5=b712ac634b39469660c9bdfb8d03421c" |
4 | 4 | ||
5 | SRC_URI[md5sum] = "e5eee34aa92b64a4d22847672b3858a1" | ||
6 | SRC_URI[sha256sum] = "53ecbd6033667d50ae02b63adebbaa33c7fc56c09e5293025810cf9d841ecb02" | 5 | SRC_URI[sha256sum] = "53ecbd6033667d50ae02b63adebbaa33c7fc56c09e5293025810cf9d841ecb02" |
7 | 6 | ||
8 | PYPI_PACKAGE = "Flask-Uploads" | 7 | PYPI_PACKAGE = "Flask-Uploads" |
8 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
9 | 9 | ||
10 | inherit pypi setuptools3 | 10 | inherit pypi setuptools3 |
11 | 11 | ||
diff --git a/meta-python/recipes-devtools/python/python3-flask-user_0.6.19.bb b/meta-python/recipes-devtools/python/python3-flask-user_0.6.19.bb index ac449361a4..fadfabd0c0 100644 --- a/meta-python/recipes-devtools/python/python3-flask-user_0.6.19.bb +++ b/meta-python/recipes-devtools/python/python3-flask-user_0.6.19.bb | |||
@@ -6,10 +6,10 @@ HOMEPAGE = " https://github.com/lingthio/Flask-User" | |||
6 | LICENSE = "BSD-2-Clause" | 6 | LICENSE = "BSD-2-Clause" |
7 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=97de97cd9d6e23c88129d884588ce71a" | 7 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=97de97cd9d6e23c88129d884588ce71a" |
8 | 8 | ||
9 | SRC_URI[md5sum] = "f7965e66ca139c8436896da07e66c21f" | ||
10 | SRC_URI[sha256sum] = "601abcc0343dfbae0c56273d98362d5cdc266ac84d20b3f65a212e4a2c83b302" | 9 | SRC_URI[sha256sum] = "601abcc0343dfbae0c56273d98362d5cdc266ac84d20b3f65a212e4a2c83b302" |
11 | 10 | ||
12 | PYPI_PACKAGE = "Flask-User" | 11 | PYPI_PACKAGE = "Flask-User" |
12 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
13 | 13 | ||
14 | inherit pypi setuptools3 | 14 | inherit pypi setuptools3 |
15 | 15 | ||
diff --git a/meta-python/recipes-devtools/python/python3-flask-versioned_0.9.4-20101221.bb b/meta-python/recipes-devtools/python/python3-flask-versioned_0.9.4-20101221.bb index 7aaf439b83..4e2d5e6095 100644 --- a/meta-python/recipes-devtools/python/python3-flask-versioned_0.9.4-20101221.bb +++ b/meta-python/recipes-devtools/python/python3-flask-versioned_0.9.4-20101221.bb | |||
@@ -4,6 +4,8 @@ LICENSE = "BSD-3-Clause" | |||
4 | LIC_FILES_CHKSUM = "file://flaskext/versioned/__init__.py;md5=dcb7d97884bf08c256ff5795766bcd24" | 4 | LIC_FILES_CHKSUM = "file://flaskext/versioned/__init__.py;md5=dcb7d97884bf08c256ff5795766bcd24" |
5 | 5 | ||
6 | PYPI_PACKAGE = "Flask-Versioned" | 6 | PYPI_PACKAGE = "Flask-Versioned" |
7 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
8 | |||
7 | SRC_URI[sha256sum] = "516694dc860a1bc4f22ab60b324a85083c0150522be109282a3bed681057fd34" | 9 | SRC_URI[sha256sum] = "516694dc860a1bc4f22ab60b324a85083c0150522be109282a3bed681057fd34" |
8 | 10 | ||
9 | inherit pypi setuptools3 | 11 | inherit pypi setuptools3 |
diff --git a/meta-python/recipes-devtools/python/python3-flask-wtf_1.2.1.bb b/meta-python/recipes-devtools/python/python3-flask-wtf_1.2.2.bb index 509be463f8..0ce3de0856 100644 --- a/meta-python/recipes-devtools/python/python3-flask-wtf_1.2.1.bb +++ b/meta-python/recipes-devtools/python/python3-flask-wtf_1.2.2.bb | |||
@@ -2,11 +2,10 @@ DESCRIPTION = "Simple integration of Flask and WTForms." | |||
2 | LICENSE = "BSD-3-Clause" | 2 | LICENSE = "BSD-3-Clause" |
3 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=d98d089889e14b227732d45dac3aacc4" | 3 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=d98d089889e14b227732d45dac3aacc4" |
4 | 4 | ||
5 | SRC_URI[sha256sum] = "8bb269eb9bb46b87e7c8233d7e7debdf1f8b74bf90cc1789988c29b37a97b695" | 5 | SRC_URI[sha256sum] = "79d2ee1e436cf570bccb7d916533fa18757a2f18c290accffab1b9a0b684666b" |
6 | 6 | ||
7 | PYPI_PACKAGE = "flask_wtf" | 7 | PYPI_PACKAGE = "flask_wtf" |
8 | UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/Flask-WTF" | 8 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" |
9 | UPSTREAM_CHECK_REGEX = "/Flask-WTF/(?P<pver>(\d+[\.\-_]*)+)" | ||
10 | 9 | ||
11 | inherit pypi python_hatchling | 10 | inherit pypi python_hatchling |
12 | 11 | ||
diff --git a/meta-python/recipes-devtools/python/python-flask-xstatic/remove-pip-requires.patch b/meta-python/recipes-devtools/python/python3-flask-xstatic/remove-pip-requires.patch index ba06d670e3..ba06d670e3 100644 --- a/meta-python/recipes-devtools/python/python-flask-xstatic/remove-pip-requires.patch +++ b/meta-python/recipes-devtools/python/python3-flask-xstatic/remove-pip-requires.patch | |||
diff --git a/meta-python/recipes-devtools/python/python3-flask-xstatic_0.0.1.bb b/meta-python/recipes-devtools/python/python3-flask-xstatic_0.0.1.bb index 5412befdb5..b8d73c8170 100644 --- a/meta-python/recipes-devtools/python/python3-flask-xstatic_0.0.1.bb +++ b/meta-python/recipes-devtools/python/python3-flask-xstatic_0.0.1.bb | |||
@@ -1,2 +1,17 @@ | |||
1 | DESCRIPTION = "XStatic support for flask" | ||
2 | LICENSE = "BSD-2-Clause" | ||
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=659968f6ebd4b70b6c3190d20b4a924c" | ||
4 | |||
5 | SRC_URI[sha256sum] = "226ea8e97065a9488b59bfe5c94af4c6e2ea70a25052e301fb231a1381490133" | ||
6 | |||
7 | SRC_URI += "file://remove-pip-requires.patch" | ||
8 | |||
9 | PYPI_PACKAGE = "Flask-XStatic" | ||
10 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
11 | |||
12 | RDEPENDS:${PN} += "\ | ||
13 | python3-flask \ | ||
14 | python3-xstatic \ | ||
15 | " | ||
16 | |||
1 | inherit pypi setuptools3 | 17 | inherit pypi setuptools3 |
2 | require python-flask-xstatic.inc | ||
diff --git a/meta-python/recipes-devtools/python/python3-flask/run-ptest b/meta-python/recipes-devtools/python/python3-flask/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-flask/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-flask_3.0.3.bb b/meta-python/recipes-devtools/python/python3-flask_3.0.3.bb deleted file mode 100644 index 98e773008c..0000000000 --- a/meta-python/recipes-devtools/python/python3-flask_3.0.3.bb +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | SUMMARY = "A microframework based on Werkzeug, Jinja2 and good intentions" | ||
2 | DESCRIPTION = "\ | ||
3 | Flask is a microframework for Python based on Werkzeug, Jinja 2 and good \ | ||
4 | intentions. And before you ask: It’s BSD licensed!" | ||
5 | HOMEPAGE = "https://github.com/mitsuhiko/flask/" | ||
6 | LICENSE = "BSD-3-Clause" | ||
7 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ffeffa59c90c9c4a033c7574f8f3fb75" | ||
8 | |||
9 | SRC_URI[sha256sum] = "ceb27b0af3823ea2737928a4d99d125a06175b8512c445cbd9a9ce200ef76842" | ||
10 | |||
11 | SRC_URI += " \ | ||
12 | file://run-ptest \ | ||
13 | " | ||
14 | |||
15 | UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/Flask" | ||
16 | UPSTREAM_CHECK_REGEX = "/Flask/(?P<pver>(\d+[\.\-_]*)+)" | ||
17 | |||
18 | inherit pypi python_setuptools_build_meta ptest | ||
19 | |||
20 | CLEANBROKEN = "1" | ||
21 | |||
22 | RDEPENDS:${PN} = " \ | ||
23 | python3-blinker \ | ||
24 | python3-click \ | ||
25 | python3-itsdangerous \ | ||
26 | python3-jinja2 \ | ||
27 | python3-profile \ | ||
28 | python3-werkzeug \ | ||
29 | " | ||
30 | |||
31 | do_install_ptest() { | ||
32 | install -d ${D}${PTEST_PATH}/tests | ||
33 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
34 | } | ||
diff --git a/meta-python/recipes-devtools/python/python3-flask_3.1.1.bb b/meta-python/recipes-devtools/python/python3-flask_3.1.1.bb new file mode 100644 index 0000000000..a1bea8e69b --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-flask_3.1.1.bb | |||
@@ -0,0 +1,26 @@ | |||
1 | SUMMARY = "A microframework based on Werkzeug, Jinja2 and good intentions" | ||
2 | DESCRIPTION = "\ | ||
3 | Flask is a microframework for Python based on Werkzeug, Jinja 2 and good \ | ||
4 | intentions. And before you ask: It’s BSD licensed!" | ||
5 | HOMEPAGE = "https://github.com/pallets/flask" | ||
6 | LICENSE = "BSD-3-Clause" | ||
7 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ffeffa59c90c9c4a033c7574f8f3fb75" | ||
8 | |||
9 | SRC_URI[sha256sum] = "284c7b8f2f58cb737f0cf1c30fd7eaf0ccfcde196099d24ecede3fc2005aa59e" | ||
10 | |||
11 | inherit pypi python_setuptools_build_meta ptest-python-pytest | ||
12 | |||
13 | CLEANBROKEN = "1" | ||
14 | |||
15 | RDEPENDS:${PN} = " \ | ||
16 | python3-blinker \ | ||
17 | python3-click \ | ||
18 | python3-importlib-metadata \ | ||
19 | python3-itsdangerous \ | ||
20 | python3-jinja2 \ | ||
21 | python3-werkzeug \ | ||
22 | " | ||
23 | |||
24 | RDEPENDS:${PN}-ptest += "\ | ||
25 | python3-asgiref \ | ||
26 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-flexcache/run-ptest b/meta-python/recipes-devtools/python/python3-flexcache/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-flexcache/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-flexcache_0.3.bb b/meta-python/recipes-devtools/python/python3-flexcache_0.3.bb index 1bee774022..35769b45c4 100644 --- a/meta-python/recipes-devtools/python/python3-flexcache_0.3.bb +++ b/meta-python/recipes-devtools/python/python3-flexcache_0.3.bb | |||
@@ -5,22 +5,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=32f547dac365c355d2cdbcd7ebea9144" | |||
5 | DEPENDS += "python3-setuptools-scm-native" | 5 | DEPENDS += "python3-setuptools-scm-native" |
6 | SRC_URI[sha256sum] = "18743bd5a0621bfe2cf8d519e4c3bfdf57a269c15d1ced3fb4b64e0ff4600656" | 6 | SRC_URI[sha256sum] = "18743bd5a0621bfe2cf8d519e4c3bfdf57a269c15d1ced3fb4b64e0ff4600656" |
7 | 7 | ||
8 | inherit pypi python_setuptools_build_meta ptest | 8 | inherit pypi python_setuptools_build_meta ptest-python-pytest |
9 | PYPI_PACKAGE = "flexcache" | 9 | PYPI_PACKAGE = "flexcache" |
10 | 10 | ||
11 | SRC_URI += " \ | 11 | PTEST_PYTEST_DIR = "flexcache/testsuite" |
12 | file://run-ptest \ | ||
13 | " | ||
14 | |||
15 | RDEPENDS:${PN}-ptest += " \ | ||
16 | python3-pytest \ | ||
17 | python3-unittest-automake-output \ | ||
18 | " | ||
19 | |||
20 | do_install_ptest() { | ||
21 | install -d ${D}${PTEST_PATH}/testsuite | ||
22 | cp -rf ${S}/flexcache/testsuite/* ${D}${PTEST_PATH}/testsuite/ | ||
23 | } | ||
24 | 12 | ||
25 | RDEPENDS:${PN} += " \ | 13 | RDEPENDS:${PN} += " \ |
26 | python3-compression \ | 14 | python3-compression \ |
diff --git a/meta-python/recipes-devtools/python/python3-flexparser/run-ptest b/meta-python/recipes-devtools/python/python3-flexparser/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-flexparser/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-flexparser_0.3.bb b/meta-python/recipes-devtools/python/python3-flexparser_0.3.bb deleted file mode 100644 index e45175f5a5..0000000000 --- a/meta-python/recipes-devtools/python/python3-flexparser_0.3.bb +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | SUMMARY = "Parsing made fun ... using typing." | ||
2 | HOMEPAGE = "https://github.com/hgrecco/flexparser" | ||
3 | LICENSE = "BSD-3-Clause" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=32f547dac365c355d2cdbcd7ebea9144" | ||
5 | |||
6 | DEPENDS += "python3-setuptools-scm-native" | ||
7 | SRC_URI[sha256sum] = "692e7524d9e14b2b1231b772b091d7d6296951deb383f5a67bfbd0ecb0b9fa9a" | ||
8 | |||
9 | inherit pypi python_setuptools_build_meta ptest | ||
10 | |||
11 | PYPI_PACKAGE = "flexparser" | ||
12 | |||
13 | SRC_URI += " \ | ||
14 | file://run-ptest \ | ||
15 | " | ||
16 | |||
17 | RDEPENDS:${PN}-ptest += " \ | ||
18 | python3-pytest \ | ||
19 | python3-unittest-automake-output \ | ||
20 | " | ||
21 | |||
22 | do_install_ptest() { | ||
23 | install -d ${D}${PTEST_PATH}/testsuite | ||
24 | cp -rf ${S}/flexparser/testsuite/* ${D}${PTEST_PATH}/testsuite/ | ||
25 | } | ||
26 | |||
27 | RDEPENDS:${PN} += " \ | ||
28 | python3-compression \ | ||
29 | python3-email \ | ||
30 | python3-logging \ | ||
31 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-flexparser_0.4.bb b/meta-python/recipes-devtools/python/python3-flexparser_0.4.bb new file mode 100644 index 0000000000..c3d8fe28ac --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-flexparser_0.4.bb | |||
@@ -0,0 +1,19 @@ | |||
1 | SUMMARY = "Parsing made fun ... using typing." | ||
2 | HOMEPAGE = "https://github.com/hgrecco/flexparser" | ||
3 | LICENSE = "BSD-3-Clause" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=32f547dac365c355d2cdbcd7ebea9144" | ||
5 | |||
6 | DEPENDS += "python3-setuptools-scm-native" | ||
7 | SRC_URI[sha256sum] = "266d98905595be2ccc5da964fe0a2c3526fbbffdc45b65b3146d75db992ef6b2" | ||
8 | |||
9 | inherit pypi python_setuptools_build_meta ptest-python-pytest | ||
10 | |||
11 | PYPI_PACKAGE = "flexparser" | ||
12 | |||
13 | PTEST_PYTEST_DIR = "flexparser/testsuite" | ||
14 | |||
15 | RDEPENDS:${PN} += " \ | ||
16 | python3-compression \ | ||
17 | python3-email \ | ||
18 | python3-logging \ | ||
19 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-freezegun/run-ptest b/meta-python/recipes-devtools/python/python3-freezegun/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-freezegun/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-freezegun_1.5.1.bb b/meta-python/recipes-devtools/python/python3-freezegun_1.5.2.bb index 8b5750df43..56674c448b 100644 --- a/meta-python/recipes-devtools/python/python3-freezegun_1.5.1.bb +++ b/meta-python/recipes-devtools/python/python3-freezegun_1.5.2.bb | |||
@@ -3,25 +3,14 @@ HOMEPAGE = "https://github.com/spulec/freezegun" | |||
3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=acf1d209bb6eddae4cbe6ffd6a0144fe" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=acf1d209bb6eddae4cbe6ffd6a0144fe" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "b29dedfcda6d5e8e083ce71b2b542753ad48cfec44037b3fc79702e2980a89e9" | 6 | SRC_URI[sha256sum] = "a54ae1d2f9c02dbf42e02c18a3ab95ab4295818b549a34dac55592d72a905181" |
7 | 7 | ||
8 | inherit pypi python_setuptools_build_meta ptest | 8 | inherit pypi python_setuptools_build_meta ptest-python-pytest |
9 | |||
10 | SRC_URI += " \ | ||
11 | file://run-ptest \ | ||
12 | " | ||
13 | 9 | ||
14 | RDEPENDS:${PN}-ptest += " \ | 10 | RDEPENDS:${PN}-ptest += " \ |
15 | python3-pytest \ | ||
16 | python3-sqlite3 \ | 11 | python3-sqlite3 \ |
17 | python3-unittest-automake-output \ | ||
18 | " | 12 | " |
19 | 13 | ||
20 | do_install_ptest() { | ||
21 | install -d ${D}${PTEST_PATH}/tests | ||
22 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
23 | } | ||
24 | |||
25 | RDEPENDS:${PN} = "\ | 14 | RDEPENDS:${PN} = "\ |
26 | python3-asyncio \ | 15 | python3-asyncio \ |
27 | python3-dateutil \ | 16 | python3-dateutil \ |
diff --git a/meta-python/recipes-devtools/python/python3-frozenlist_1.4.1.bb b/meta-python/recipes-devtools/python/python3-frozenlist_1.7.0.bb index 4288f2922e..7d813a026c 100644 --- a/meta-python/recipes-devtools/python/python3-frozenlist_1.4.1.bb +++ b/meta-python/recipes-devtools/python/python3-frozenlist_1.7.0.bb | |||
@@ -3,13 +3,12 @@ HOMEPAGE = "https://github.com/aio-libs/frozenlist" | |||
3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=cf056e8e7a0a5477451af18b7b5aa98c" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=cf056e8e7a0a5477451af18b7b5aa98c" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "c037a86e8513059a2613aaba4d817bb90b9d9b6b69aace3ce9c877e8c8ed402b" | 6 | SRC_URI[sha256sum] = "2e310d81923c2437ea8670467121cc3e9b0f76d3043cc1d2331d56c7fb7a3a8f" |
7 | 7 | ||
8 | inherit pypi python_setuptools_build_meta | 8 | inherit pypi python_setuptools_build_meta cython |
9 | 9 | ||
10 | DEPENDS += " \ | 10 | DEPENDS += " \ |
11 | python3-expandvars-native \ | 11 | python3-expandvars-native \ |
12 | python3-cython-native \ | ||
13 | " | 12 | " |
14 | 13 | ||
15 | BBCLASSEXTEND = "native nativesdk" | 14 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-python/recipes-devtools/python/python3-fsspec_2025.5.1.bb b/meta-python/recipes-devtools/python/python3-fsspec_2025.5.1.bb new file mode 100644 index 0000000000..c65111e5cc --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-fsspec_2025.5.1.bb | |||
@@ -0,0 +1,25 @@ | |||
1 | SUMMARY = "A specification that python filesystems should adhere to." | ||
2 | HOMEPAGE = "https://github.com/fsspec/filesystem_spec" | ||
3 | LICENSE = "BSD-3-Clause" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b38a11bf4dcdfc66307f8515ce1fbaa6" | ||
5 | |||
6 | SRC_URI[sha256sum] = "2e55e47a540b91843b755e83ded97c6e897fa0942b11490113f09e9c443c2475" | ||
7 | |||
8 | inherit pypi python_hatchling ptest | ||
9 | |||
10 | PYPI_PACKAGE = "fsspec" | ||
11 | |||
12 | DEPENDS = "python3-hatch-vcs-native python3-hatchling-native" | ||
13 | |||
14 | RDEPENDS:${PN}-ptest += "\ | ||
15 | python3-pytest \ | ||
16 | python3-pytest-mock \ | ||
17 | python3-pytest-asyncio \ | ||
18 | python3-pytest-cov \ | ||
19 | python3-pytest-benchmark \ | ||
20 | python3-aiohttp \ | ||
21 | python3-numpy \ | ||
22 | python3-requests \ | ||
23 | " | ||
24 | |||
25 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-gast_0.5.4.bb b/meta-python/recipes-devtools/python/python3-gast_0.6.0.bb index 9c750ea3b0..af46c3feb7 100644 --- a/meta-python/recipes-devtools/python/python3-gast_0.5.4.bb +++ b/meta-python/recipes-devtools/python/python3-gast_0.6.0.bb | |||
@@ -4,7 +4,7 @@ SECTION = "devel/python" | |||
4 | LICENSE = "BSD-3-Clause" | 4 | LICENSE = "BSD-3-Clause" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a3ad9b6802e713fc5e307e1230f1ea90" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a3ad9b6802e713fc5e307e1230f1ea90" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "9c270fe5f4b130969b54174de7db4e764b09b4f7f67ccfc32480e29f78348d97" | 7 | SRC_URI[sha256sum] = "88fc5300d32c7ac6ca7b515310862f71e6fdf2c029bbec7c66c0f5dd47b6b1fb" |
8 | 8 | ||
9 | inherit pypi setuptools3 | 9 | inherit pypi setuptools3 |
10 | 10 | ||
diff --git a/meta-python/recipes-devtools/python/python3-gcovr/0001-pyproject.toml-Support-newer-versions.patch b/meta-python/recipes-devtools/python/python3-gcovr/0001-pyproject.toml-Support-newer-versions.patch new file mode 100644 index 0000000000..b06acdf333 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-gcovr/0001-pyproject.toml-Support-newer-versions.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 99d7788bab614ff5a451f09204139b4cae40be3e Mon Sep 17 00:00:00 2001 | ||
2 | From: Leon Anavi <leon.anavi@konsulko.com> | ||
3 | Date: Tue, 4 Mar 2025 13:30:48 +0000 | ||
4 | Subject: [PATCH] pyproject.toml: Support newer versions | ||
5 | |||
6 | Support newer versions when building through bitbake. | ||
7 | |||
8 | Upstream-Status: Inappropriate [oe specific] | ||
9 | |||
10 | Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> | ||
11 | --- | ||
12 | pyproject.toml | 6 +++--- | ||
13 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
14 | |||
15 | diff --git a/pyproject.toml b/pyproject.toml | ||
16 | index f8e54eb03..e6242f042 100644 | ||
17 | --- a/pyproject.toml | ||
18 | +++ b/pyproject.toml | ||
19 | @@ -1,9 +1,9 @@ | ||
20 | |||
21 | [build-system] | ||
22 | requires = [ | ||
23 | - "hatchling==1.26.1", | ||
24 | - "hatch-vcs==0.4.0", | ||
25 | - "hatch-fancy-pypi-readme==24.1.0" | ||
26 | + "hatchling>=1.26.1", | ||
27 | + "hatch-vcs>=0.4.0", | ||
28 | + "hatch-fancy-pypi-readme>=24.1.0" | ||
29 | ] | ||
30 | build-backend = "hatchling.build" | ||
31 | |||
diff --git a/meta-python/recipes-devtools/python/python3-gcovr_7.2.bb b/meta-python/recipes-devtools/python/python3-gcovr_7.2.bb deleted file mode 100644 index 517124742a..0000000000 --- a/meta-python/recipes-devtools/python/python3-gcovr_7.2.bb +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | DESCRIPTION = "generate GCC code coverage reports" | ||
2 | HOMEPAGE = "https://gcovr.com" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "BSD-3-Clause" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c5a58ca91c1758a53f896ba89d8aaac2" | ||
6 | |||
7 | SRC_URI = "git://github.com/gcovr/gcovr.git;branch=main;protocol=https" | ||
8 | SRCREV = "c4b74b0859611283be646d590c7915e787911b6f" | ||
9 | |||
10 | S = "${WORKDIR}/git" | ||
11 | |||
12 | inherit setuptools3 | ||
13 | |||
14 | RDEPENDS:${PN} += " \ | ||
15 | python3-colorlog \ | ||
16 | python3-jinja2 \ | ||
17 | python3-lxml \ | ||
18 | python3-multiprocessing \ | ||
19 | python3-pygments \ | ||
20 | python3-setuptools \ | ||
21 | " | ||
22 | |||
23 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-gcovr_8.3.bb b/meta-python/recipes-devtools/python/python3-gcovr_8.3.bb new file mode 100644 index 0000000000..4f0b6bb150 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-gcovr_8.3.bb | |||
@@ -0,0 +1,31 @@ | |||
1 | DESCRIPTION = "generate GCC code coverage reports" | ||
2 | HOMEPAGE = "https://gcovr.com" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "BSD-3-Clause" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ae27363fce24765bc79a095313a3b002" | ||
6 | |||
7 | SRC_URI = " \ | ||
8 | git://github.com/gcovr/gcovr.git;branch=main;protocol=https \ | ||
9 | file://0001-pyproject.toml-Support-newer-versions.patch \ | ||
10 | " | ||
11 | SRCREV = "fe536afac4da31e86909191ef31708755ab8cf83" | ||
12 | |||
13 | |||
14 | inherit python_hatchling | ||
15 | |||
16 | DEPENDS += " \ | ||
17 | python3-hatchling-native \ | ||
18 | python3-hatch-vcs-native \ | ||
19 | python3-hatch-fancy-pypi-readme-native \ | ||
20 | " | ||
21 | |||
22 | RDEPENDS:${PN} += " \ | ||
23 | python3-colorlog \ | ||
24 | python3-jinja2 \ | ||
25 | python3-lxml \ | ||
26 | python3-multiprocessing \ | ||
27 | python3-pygments \ | ||
28 | python3-setuptools \ | ||
29 | " | ||
30 | |||
31 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-geojson/run-ptest b/meta-python/recipes-devtools/python/python3-geojson/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-geojson/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-geojson_3.1.0.bb b/meta-python/recipes-devtools/python/python3-geojson_3.1.0.bb deleted file mode 100644 index 742f921e59..0000000000 --- a/meta-python/recipes-devtools/python/python3-geojson_3.1.0.bb +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | SUMMARY = "Python bindings and utilities for GeoJSON" | ||
2 | HOMEPAGE = "https://pypi.org/project/geojson/" | ||
3 | LICENSE = "BSD-3-Clause" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=f77f2ed49768c8d4c79ba874c0f94d8a" | ||
5 | |||
6 | SRC_URI[sha256sum] = "58a7fa40727ea058efc28b0e9ff0099eadf6d0965e04690830208d3ef571adac" | ||
7 | |||
8 | inherit pypi setuptools3 ptest | ||
9 | |||
10 | SRC_URI += " \ | ||
11 | file://run-ptest \ | ||
12 | " | ||
13 | |||
14 | RDEPENDS:${PN}-ptest += " \ | ||
15 | python3-pytest \ | ||
16 | python3-unittest-automake-output \ | ||
17 | " | ||
18 | |||
19 | do_install_ptest() { | ||
20 | install -d ${D}${PTEST_PATH}/tests | ||
21 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
22 | } | ||
23 | |||
24 | RDEPENDS:${PN} += "python3-simplejson python3-math" | ||
25 | |||
26 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-geojson_3.2.0.bb b/meta-python/recipes-devtools/python/python3-geojson_3.2.0.bb new file mode 100644 index 0000000000..9ee6d580b2 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-geojson_3.2.0.bb | |||
@@ -0,0 +1,12 @@ | |||
1 | SUMMARY = "Python bindings and utilities for GeoJSON" | ||
2 | HOMEPAGE = "https://pypi.org/project/geojson/" | ||
3 | LICENSE = "BSD-3-Clause" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=f77f2ed49768c8d4c79ba874c0f94d8a" | ||
5 | |||
6 | SRC_URI[sha256sum] = "b860baba1e8c6f71f8f5f6e3949a694daccf40820fa8f138b3f712bd85804903" | ||
7 | |||
8 | inherit pypi setuptools3 ptest-python-pytest | ||
9 | |||
10 | RDEPENDS:${PN} += "python3-simplejson python3-math" | ||
11 | |||
12 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-geomet_1.1.0.bb b/meta-python/recipes-devtools/python/python3-geomet_1.1.0.bb index ceba10b65b..7339484379 100644 --- a/meta-python/recipes-devtools/python/python3-geomet_1.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-geomet_1.1.0.bb | |||
@@ -6,13 +6,9 @@ LICENSE = "Apache-2.0" | |||
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314" |
7 | SRCNAME = "geomet" | 7 | SRCNAME = "geomet" |
8 | 8 | ||
9 | SRC_URI[sha256sum] = "cb52411978ee01ff104ab48f108d7333b14423ae7a15a65fee25b7d29bda2e1b" | 9 | SRC_URI[sha256sum] = "51e92231a0ef6aaa63ac20c443377ba78a303fd2ecd179dc3567de79f3c11605" |
10 | 10 | ||
11 | S = "${WORKDIR}/git" | 11 | inherit pypi python_setuptools_build_meta |
12 | SRC_URI = "git://github.com/geomet/geomet.git;protocol=https;branch=master" | ||
13 | SRCREV = "6ac73c312b52aca328db2e61d90c5e363b62639f" | ||
14 | |||
15 | inherit setuptools3 | ||
16 | 12 | ||
17 | RDEPENDS:${PN} += "\ | 13 | RDEPENDS:${PN} += "\ |
18 | python3-click \ | 14 | python3-click \ |
diff --git a/meta-python/recipes-devtools/python/python3-gevent/not-final.patch b/meta-python/recipes-devtools/python/python3-gevent/not-final.patch deleted file mode 100644 index 444a195da4..0000000000 --- a/meta-python/recipes-devtools/python/python3-gevent/not-final.patch +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | gevent fails to build with Cython 3.0.10. As per | ||
2 | https://github.com/gevent/gevent/issues/2031, removing the | ||
3 | cython.final decorator works around this. | ||
4 | |||
5 | Upstream-Status: Pending | ||
6 | Signed-off-by: Ross Burton <ross.burton@arm.com> | ||
7 | |||
8 | --- a/src/gevent/_gevent_cqueue.pxd | ||
9 | +++ b/src/gevent/_gevent_cqueue.pxd | ||
10 | @@ -75,7 +75,6 @@ cdef class ItemWaiter(Waiter): | ||
11 | cdef readonly Queue queue | ||
12 | |||
13 | |||
14 | -@cython.final | ||
15 | cdef class UnboundQueue(Queue): | ||
16 | pass | ||
diff --git a/meta-python/recipes-devtools/python/python3-gevent_24.2.1.bb b/meta-python/recipes-devtools/python/python3-gevent_25.4.2.bb index 0a74f52820..b66fd5c8cf 100644 --- a/meta-python/recipes-devtools/python/python3-gevent_24.2.1.bb +++ b/meta-python/recipes-devtools/python/python3-gevent_25.4.2.bb | |||
@@ -1,10 +1,10 @@ | |||
1 | SUMMARY = "A coroutine-based Python networking library" | 1 | SUMMARY = "A coroutine-based Python networking library" |
2 | DESCRIPTION = "gevent is a coroutine-based Python networking library that uses greenlet to provide \ | 2 | DESCRIPTION = "gevent is a coroutine-based Python networking library that uses greenlet to provide \ |
3 | a high-level synchronous API on top of the libevent event loop." | 3 | a high-level synchronous API on top of the libevent event loop." |
4 | HOMEPAGE = "http://www.gevent.org" | 4 | HOMEPAGE = "https://www.gevent.org" |
5 | LICENSE = "MIT & Python-2.0" | 5 | LICENSE = "MIT & Python-2.0" |
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4de99aac27b470c29c6c309e0c279b65" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4de99aac27b470c29c6c309e0c279b65" |
7 | DEPENDS += "python3-greenlet libev libuv c-ares python3-cython-native" | 7 | DEPENDS += "python3-greenlet-native python3-greenlet libev libuv python3-cffi-native" |
8 | 8 | ||
9 | RDEPENDS:${PN} = "python3-greenlet \ | 9 | RDEPENDS:${PN} = "python3-greenlet \ |
10 | python3-mime \ | 10 | python3-mime \ |
@@ -13,12 +13,11 @@ RDEPENDS:${PN} = "python3-greenlet \ | |||
13 | python3-zopeinterface \ | 13 | python3-zopeinterface \ |
14 | " | 14 | " |
15 | 15 | ||
16 | SRC_URI += "file://0001-_setuputils.py-Do-not-add-sys_inc_dir.patch \ | 16 | SRC_URI += "file://0001-_setuputils.py-Do-not-add-sys_inc_dir.patch" |
17 | file://not-final.patch" | ||
18 | 17 | ||
19 | SRC_URI[sha256sum] = "432fc76f680acf7cf188c2ee0f5d3ab73b63c1f03114c7cd8a34cebbe5aa2056" | 18 | SRC_URI[sha256sum] = "7ffba461458ed28a85a01285ea0e0dc14f883204d17ce5ed82fa839a9d620028" |
20 | 19 | ||
21 | inherit pypi setuptools3 | 20 | inherit pypi python_setuptools_build_meta cython |
22 | 21 | ||
23 | # Don't embed libraries, link to the system provided libs instead | 22 | # Don't embed libraries, link to the system provided libs instead |
24 | export GEVENTSETUP_EMBED_CARES = "0" | 23 | export GEVENTSETUP_EMBED_CARES = "0" |
@@ -33,6 +32,7 @@ do_configure:append() { | |||
33 | rm -rf ${S}/src/gevent/*.c | 32 | rm -rf ${S}/src/gevent/*.c |
34 | } | 33 | } |
35 | 34 | ||
36 | do_compile:append() { | 35 | # http://errors.yoctoproject.org/Errors/Details/766918/ |
37 | sed -i -e 's#${WORKDIR}##g' ${S}/src/gevent/*.c ${S}/src/gevent/libev/*.c ${S}/src/gevent/resolver/*.c | 36 | # src/gevent/queue.c:11894:83: error: passing argument 1 of '__pyx_vtabptr_6gevent_14_gevent_cqueue_UnboundQueue->__pyx_base.put' from incompatible pointer type [-Wincompatible-pointer-types] |
38 | } | 37 | # src/gevent/queue.c:11894:114: error: passing argument 4 of '__pyx_vtabptr_6gevent_14_gevent_cqueue_UnboundQueue->__pyx_base.put' from incompatible pointer type [-Wincompatible-pointer-types] |
38 | CFLAGS += "-Wno-error=incompatible-pointer-types" | ||
diff --git a/meta-python/recipes-devtools/python/python3-git-pw_2.6.0.bb b/meta-python/recipes-devtools/python/python3-git-pw_2.7.1.bb index c0b6a60814..6308732f49 100644 --- a/meta-python/recipes-devtools/python/python3-git-pw_2.6.0.bb +++ b/meta-python/recipes-devtools/python/python3-git-pw_2.7.1.bb | |||
@@ -3,7 +3,8 @@ HOMEPAGE = "https://github.com/getpatchwork/git-pw" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=26e1a171d943c64f00c51f90c256b9d4" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=26e1a171d943c64f00c51f90c256b9d4" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "e118e31bbe259ed9ae540d627cc563a6ece553d02aed11b1a92bbac408a0da0e" | 6 | SRC_URI[sha256sum] = "f69c57aafd13d21d6fa604dff680c4f9113a8f31bf3f65dd663bad0e1839b0e1" |
7 | PYPI_PACKAGE = "git_pw" | ||
7 | 8 | ||
8 | inherit pypi python_setuptools_build_meta | 9 | inherit pypi python_setuptools_build_meta |
9 | 10 | ||
diff --git a/meta-python/recipes-devtools/python/python3-gmpy2/0001-src-fix-python-3.12-builds.patch b/meta-python/recipes-devtools/python/python3-gmpy2/0001-src-fix-python-3.12-builds.patch deleted file mode 100644 index 1171322e26..0000000000 --- a/meta-python/recipes-devtools/python/python3-gmpy2/0001-src-fix-python-3.12-builds.patch +++ /dev/null | |||
@@ -1,263 +0,0 @@ | |||
1 | From 43f132103cedfd92b85173bcdacfbabd5916d9fc Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex@linutronix.de> | ||
3 | Date: Wed, 27 Dec 2023 14:52:16 +0100 | ||
4 | Subject: [PATCH] src: fix python 3.12 builds | ||
5 | |||
6 | This is a backport for 3.1.x versions provided separately in https://github.com/aleaxit/gmpy/issues/446 | ||
7 | |||
8 | Upstream-Status: Inappropriate [can be dropped when 2.2.x is released] | ||
9 | |||
10 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
11 | --- | ||
12 | src/gmpy2_convert.h | 21 +++++++ | ||
13 | src/gmpy2_convert_gmp.c | 129 +++++++++++++------------------------- | ||
14 | src/gmpy2_convert_utils.c | 2 +- | ||
15 | 3 files changed, 65 insertions(+), 87 deletions(-) | ||
16 | |||
17 | diff --git a/src/gmpy2_convert.h b/src/gmpy2_convert.h | ||
18 | index f887d47..3e8cb2b 100644 | ||
19 | --- a/src/gmpy2_convert.h | ||
20 | +++ b/src/gmpy2_convert.h | ||
21 | @@ -142,6 +142,27 @@ extern "C" { | ||
22 | #define IS_TYPE_COMPLEX_ONLY(x) ((x > OBJ_TYPE_REAL) && \ | ||
23 | (x < OBJ_TYPE_COMPLEX)) | ||
24 | |||
25 | +/* Compatibility macros (to work with PyLongObject internals). | ||
26 | + */ | ||
27 | + | ||
28 | +#if PY_VERSION_HEX >= 0x030C0000 | ||
29 | +# define TAG_FROM_SIGN_AND_SIZE(is_neg, size) ((is_neg?2:(size==0)) | (((size_t)size) << 3)) | ||
30 | +# define _PyLong_SetSignAndDigitCount(obj, is_neg, size) (obj->long_value.lv_tag = TAG_FROM_SIGN_AND_SIZE(is_neg, size)) | ||
31 | +#elif PY_VERSION_HEX >= 0x030900A4 | ||
32 | +# define _PyLong_SetSignAndDigitCount(obj, is_neg, size) (Py_SET_SIZE(obj, (is_neg?-1:1)*size)) | ||
33 | +#else | ||
34 | +# define _PyLong_SetSignAndDigitCount(obj, is_neg, size) (Py_SIZE(obj) = (is_neg?-1:1)*size) | ||
35 | +#endif | ||
36 | + | ||
37 | +#if PY_VERSION_HEX >= 0x030C0000 | ||
38 | +# define GET_OB_DIGIT(obj) obj->long_value.ob_digit | ||
39 | +# define _PyLong_IsNegative(obj) ((obj->long_value.lv_tag & 3) == 2) | ||
40 | +# define _PyLong_DigitCount(obj) (obj->long_value.lv_tag >> 3) | ||
41 | +#else | ||
42 | +# define GET_OB_DIGIT(obj) obj->ob_digit | ||
43 | +# define _PyLong_IsNegative(obj) (Py_SIZE(obj) < 0) | ||
44 | +# define _PyLong_DigitCount(obj) (_PyLong_IsNegative(obj)? -Py_SIZE(obj):Py_SIZE(obj)) | ||
45 | +#endif | ||
46 | |||
47 | /* Since the macros are used in gmpy2's codebase, these functions are skipped | ||
48 | * until they are needed for the C API in the future. | ||
49 | diff --git a/src/gmpy2_convert_gmp.c b/src/gmpy2_convert_gmp.c | ||
50 | index cf0891e..8b8df81 100644 | ||
51 | --- a/src/gmpy2_convert_gmp.c | ||
52 | +++ b/src/gmpy2_convert_gmp.c | ||
53 | @@ -59,33 +59,24 @@ GMPy_MPZ_From_PyIntOrLong(PyObject *obj, CTXT_Object *context) | ||
54 | } | ||
55 | #endif | ||
56 | |||
57 | - switch (Py_SIZE(templong)) { | ||
58 | - case -1: | ||
59 | - mpz_set_si(result->z, -(sdigit)templong->ob_digit[0]); | ||
60 | + len = _PyLong_DigitCount(templong); | ||
61 | + negative = _PyLong_IsNegative(templong); | ||
62 | + | ||
63 | + switch (len) { | ||
64 | + case 1: | ||
65 | + mpz_set_si(result->z, (sdigit)GET_OB_DIGIT(templong)[0]); | ||
66 | break; | ||
67 | case 0: | ||
68 | mpz_set_si(result->z, 0); | ||
69 | break; | ||
70 | - case 1: | ||
71 | - mpz_set_si(result->z, templong->ob_digit[0]); | ||
72 | - break; | ||
73 | default: | ||
74 | - mpz_set_si(result->z, 0); | ||
75 | - | ||
76 | - if (Py_SIZE(templong) < 0) { | ||
77 | - len = - Py_SIZE(templong); | ||
78 | - negative = 1; | ||
79 | - } else { | ||
80 | - len = Py_SIZE(templong); | ||
81 | - negative = 0; | ||
82 | - } | ||
83 | - | ||
84 | - mpz_import(result->z, len, -1, sizeof(templong->ob_digit[0]), 0, | ||
85 | - sizeof(templong->ob_digit[0])*8 - PyLong_SHIFT, templong->ob_digit); | ||
86 | + mpz_import(result->z, len, -1, sizeof(GET_OB_DIGIT(templong)[0]), 0, | ||
87 | + sizeof(GET_OB_DIGIT(templong)[0])*8 - PyLong_SHIFT, | ||
88 | + GET_OB_DIGIT(templong)); | ||
89 | + } | ||
90 | |||
91 | - if (negative) { | ||
92 | - mpz_neg(result->z, result->z); | ||
93 | - } | ||
94 | + if (negative) { | ||
95 | + mpz_neg(result->z, result->z); | ||
96 | } | ||
97 | return result; | ||
98 | } | ||
99 | @@ -105,33 +96,24 @@ mpz_set_PyIntOrLong(mpz_t z, PyObject *obj) | ||
100 | } | ||
101 | #endif | ||
102 | |||
103 | - switch (Py_SIZE(templong)) { | ||
104 | - case -1: | ||
105 | - mpz_set_si(z, -(sdigit)templong->ob_digit[0]); | ||
106 | + len = _PyLong_DigitCount(templong); | ||
107 | + negative = _PyLong_IsNegative(templong); | ||
108 | + | ||
109 | + switch (len) { | ||
110 | + case 1: | ||
111 | + mpz_set_si(z, (sdigit)GET_OB_DIGIT(templong)[0]); | ||
112 | break; | ||
113 | case 0: | ||
114 | mpz_set_si(z, 0); | ||
115 | break; | ||
116 | - case 1: | ||
117 | - mpz_set_si(z, templong->ob_digit[0]); | ||
118 | - break; | ||
119 | default: | ||
120 | - mpz_set_si(z, 0); | ||
121 | - | ||
122 | - if (Py_SIZE(templong) < 0) { | ||
123 | - len = - Py_SIZE(templong); | ||
124 | - negative = 1; | ||
125 | - } else { | ||
126 | - len = Py_SIZE(templong); | ||
127 | - negative = 0; | ||
128 | - } | ||
129 | - | ||
130 | - mpz_import(z, len, -1, sizeof(templong->ob_digit[0]), 0, | ||
131 | - sizeof(templong->ob_digit[0])*8 - PyLong_SHIFT, templong->ob_digit); | ||
132 | + mpz_import(z, len, -1, sizeof(GET_OB_DIGIT(templong)[0]), 0, | ||
133 | + sizeof(GET_OB_DIGIT(templong)[0])*8 - PyLong_SHIFT, | ||
134 | + GET_OB_DIGIT(templong)); | ||
135 | + } | ||
136 | |||
137 | - if (negative) { | ||
138 | - mpz_neg(z, z); | ||
139 | - } | ||
140 | + if (negative) { | ||
141 | + mpz_neg(z, z); | ||
142 | } | ||
143 | return; | ||
144 | } | ||
145 | @@ -186,12 +168,7 @@ GMPy_PyLong_From_MPZ(MPZ_Object *obj, CTXT_Object *context) | ||
146 | |||
147 | /* Assume gmp uses limbs as least as large as the builtin longs do */ | ||
148 | |||
149 | - if (mpz_sgn(obj->z) < 0) { | ||
150 | - negative = 1; | ||
151 | - } else { | ||
152 | - negative = 0; | ||
153 | - } | ||
154 | - | ||
155 | + negative = mpz_sgn(obj->z) < 0; | ||
156 | size = (mpz_sizeinbase(obj->z, 2) + PyLong_SHIFT - 1) / PyLong_SHIFT; | ||
157 | |||
158 | if (!(result = _PyLong_New(size))) { | ||
159 | @@ -200,31 +177,20 @@ GMPy_PyLong_From_MPZ(MPZ_Object *obj, CTXT_Object *context) | ||
160 | /* LCOV_EXCL_STOP */ | ||
161 | } | ||
162 | |||
163 | - mpz_export(result->ob_digit, &count, -1, sizeof(result->ob_digit[0]), 0, | ||
164 | - sizeof(result->ob_digit[0])*8 - PyLong_SHIFT, obj->z); | ||
165 | + mpz_export(GET_OB_DIGIT(result), &count, -1, sizeof(GET_OB_DIGIT(result)[0]), 0, | ||
166 | + sizeof(GET_OB_DIGIT(result)[0])*8 - PyLong_SHIFT, obj->z); | ||
167 | |||
168 | if (count == 0) { | ||
169 | - result->ob_digit[0] = 0; | ||
170 | + GET_OB_DIGIT(result)[0] = 0; | ||
171 | } | ||
172 | |||
173 | /* long_normalize() is file-static so we must reimplement it */ | ||
174 | /* longobjp = long_normalize(longobjp); */ | ||
175 | - while ((size>0) && (result->ob_digit[size-1] == 0)) { | ||
176 | + while ((size>0) && (GET_OB_DIGIT(result)[size-1] == 0)) { | ||
177 | size--; | ||
178 | } | ||
179 | -#if PY_VERSION_HEX >= 0x030900A4 | ||
180 | - Py_SET_SIZE(result, size); | ||
181 | -#else | ||
182 | - Py_SIZE(result) = size; | ||
183 | -#endif | ||
184 | |||
185 | - if (negative) { | ||
186 | -#if PY_VERSION_HEX >= 0x030900A4 | ||
187 | - Py_SET_SIZE(result, - Py_SIZE(result)); | ||
188 | -#else | ||
189 | - Py_SIZE(result) = - Py_SIZE(result); | ||
190 | -#endif | ||
191 | - } | ||
192 | + _PyLong_SetSignAndDigitCount(result, negative, size); | ||
193 | return (PyObject*)result; | ||
194 | } | ||
195 | |||
196 | @@ -476,33 +442,24 @@ GMPy_XMPZ_From_PyIntOrLong(PyObject *obj, CTXT_Object *context) | ||
197 | } | ||
198 | #endif | ||
199 | |||
200 | - switch (Py_SIZE(templong)) { | ||
201 | - case -1: | ||
202 | - mpz_set_si(result->z, -(sdigit)templong->ob_digit[0]); | ||
203 | + len = _PyLong_DigitCount(templong); | ||
204 | + negative = _PyLong_IsNegative(templong); | ||
205 | + | ||
206 | + switch (len) { | ||
207 | + case 1: | ||
208 | + mpz_set_si(result->z, (sdigit)GET_OB_DIGIT(templong)[0]); | ||
209 | break; | ||
210 | case 0: | ||
211 | mpz_set_si(result->z, 0); | ||
212 | break; | ||
213 | - case 1: | ||
214 | - mpz_set_si(result->z, templong->ob_digit[0]); | ||
215 | - break; | ||
216 | default: | ||
217 | - mpz_set_si(result->z, 0); | ||
218 | - | ||
219 | - if (Py_SIZE(templong) < 0) { | ||
220 | - len = - Py_SIZE(templong); | ||
221 | - negative = 1; | ||
222 | - } else { | ||
223 | - len = Py_SIZE(templong); | ||
224 | - negative = 0; | ||
225 | - } | ||
226 | - | ||
227 | - mpz_import(result->z, len, -1, sizeof(templong->ob_digit[0]), 0, | ||
228 | - sizeof(templong->ob_digit[0])*8 - PyLong_SHIFT, templong->ob_digit); | ||
229 | + mpz_import(result->z, len, -1, sizeof(GET_OB_DIGIT(templong)[0]), 0, | ||
230 | + sizeof(GET_OB_DIGIT(templong)[0])*8 - PyLong_SHIFT, | ||
231 | + GET_OB_DIGIT(templong)); | ||
232 | + } | ||
233 | |||
234 | - if (negative) { | ||
235 | - mpz_neg(result->z, result->z); | ||
236 | - } | ||
237 | + if (negative) { | ||
238 | + mpz_neg(result->z, result->z); | ||
239 | } | ||
240 | return result; | ||
241 | } | ||
242 | @@ -639,7 +596,7 @@ GMPy_MPQ_From_PyStr(PyObject *s, int base, CTXT_Object *context) | ||
243 | } | ||
244 | |||
245 | cp = PyBytes_AsString(ascii_str); | ||
246 | - | ||
247 | + | ||
248 | { | ||
249 | char *whereslash = strchr((char*)cp, '/'); | ||
250 | char *wheredot = strchr((char*)cp, '.'); | ||
251 | diff --git a/src/gmpy2_convert_utils.c b/src/gmpy2_convert_utils.c | ||
252 | index d676eaf..8908d17 100644 | ||
253 | --- a/src/gmpy2_convert_utils.c | ||
254 | +++ b/src/gmpy2_convert_utils.c | ||
255 | @@ -123,7 +123,7 @@ static unsigned long | ||
256 | GMPy_Integer_AsUnsignedLongWithType_v2(PyObject *x, int xtype) | ||
257 | { | ||
258 | if IS_TYPE_PyInteger(xtype) { | ||
259 | - if (Py_SIZE(x) < 0) { | ||
260 | + if (_PyLong_IsNegative(((PyLongObject*)x))) { | ||
261 | VALUE_ERROR("n must be > 0"); | ||
262 | return (unsigned long)-1; | ||
263 | } | ||
diff --git a/meta-python/recipes-devtools/python/python3-gmpy2_2.1.5.bb b/meta-python/recipes-devtools/python/python3-gmpy2_2.2.1.bb index d9e9bd50e5..15599bfad7 100644 --- a/meta-python/recipes-devtools/python/python3-gmpy2_2.1.5.bb +++ b/meta-python/recipes-devtools/python/python3-gmpy2_2.2.1.bb | |||
@@ -6,10 +6,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ | |||
6 | 6 | ||
7 | DEPENDS += "gmp mpfr libmpc" | 7 | DEPENDS += "gmp mpfr libmpc" |
8 | 8 | ||
9 | PYPI_PACKAGE = "gmpy2" | 9 | SRC_URI[sha256sum] = "e83e07567441b78cb87544910cb3cc4fe94e7da987e93ef7622e76fb96650432" |
10 | SRC_URI[sha256sum] = "bc297f1fd8c377ae67a4f493fc0f926e5d1b157e5c342e30a4d84dc7b9f95d96" | ||
11 | 10 | ||
12 | inherit pypi setuptools3 python3native | 11 | inherit pypi python_setuptools_build_meta python3native |
13 | SRC_URI += "file://0001-src-fix-python-3.12-builds.patch" | ||
14 | 12 | ||
15 | BBCLASSEXTEND = "native nativesdk" | 13 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-python/recipes-devtools/python/python3-gmqtt_0.6.16.bb b/meta-python/recipes-devtools/python/python3-gmqtt_0.7.0.bb index 20cdee80ff..f4dfaa345b 100644 --- a/meta-python/recipes-devtools/python/python3-gmqtt_0.6.16.bb +++ b/meta-python/recipes-devtools/python/python3-gmqtt_0.7.0.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/wialon/gmqtt" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=903f1792621a3b35ee546da75d139177" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=903f1792621a3b35ee546da75d139177" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "ddd1fdc1c6ae604e74377cf70e99f067e579c03c1c71a6acd494e199e93b7fa4" | 6 | SRC_URI[sha256sum] = "bedfec7bac26b6b4ce1f0c4c32cff3d663526a54c882d323d41560fc3b9b44a2" |
7 | 7 | ||
8 | inherit pypi setuptools3 | 8 | inherit pypi setuptools3 |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-gnupg_0.5.2.bb b/meta-python/recipes-devtools/python/python3-gnupg_0.5.4.bb index b69e2c465e..5de9a7be0e 100644 --- a/meta-python/recipes-devtools/python/python3-gnupg_0.5.2.bb +++ b/meta-python/recipes-devtools/python/python3-gnupg_0.5.4.bb | |||
@@ -4,7 +4,7 @@ LICENSE = "BSD-3-Clause" | |||
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5dabe659eadd6d97325b1582e41cfc11" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5dabe659eadd6d97325b1582e41cfc11" |
5 | 5 | ||
6 | PYPI_PACKAGE = "python-gnupg" | 6 | PYPI_PACKAGE = "python-gnupg" |
7 | SRC_URI[sha256sum] = "01d8013931c9fa3f45824bbea7054c03d6e11f258a72e7e086e168dbcb91854c" | 7 | SRC_URI[sha256sum] = "f2fdb5fb29615c77c2743e1cb3d9314353a6e87b10c37d238d91ae1c6feae086" |
8 | 8 | ||
9 | inherit pypi python_setuptools_build_meta | 9 | inherit pypi python_setuptools_build_meta |
10 | 10 | ||
diff --git a/meta-python/recipes-devtools/python/python3-google-api-core_2.19.0.bb b/meta-python/recipes-devtools/python/python3-google-api-core_2.19.1.bb index d177fcde5f..f21b41aab7 100644 --- a/meta-python/recipes-devtools/python/python3-google-api-core_2.19.0.bb +++ b/meta-python/recipes-devtools/python/python3-google-api-core_2.19.1.bb | |||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | |||
5 | 5 | ||
6 | inherit pypi setuptools3 | 6 | inherit pypi setuptools3 |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "cf1b7c2694047886d2af1128a03ae99e391108a08804f87cfd35970e49c9cd10" | 8 | SRC_URI[sha256sum] = "f4695f1e3650b316a795108a76a1c416e6afb036199d1c1f1f110916df479ffd" |
9 | 9 | ||
10 | RDEPENDS:${PN} += "\ | 10 | RDEPENDS:${PN} += "\ |
11 | python3-asyncio \ | 11 | python3-asyncio \ |
diff --git a/meta-python/recipes-devtools/python/python3-google-api-python-client_2.131.0.bb b/meta-python/recipes-devtools/python/python3-google-api-python-client_2.136.0.bb index 91889fa4e4..629f1b9e23 100644 --- a/meta-python/recipes-devtools/python/python3-google-api-python-client_2.131.0.bb +++ b/meta-python/recipes-devtools/python/python3-google-api-python-client_2.136.0.bb | |||
@@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/googleapis/google-api-python-client" | |||
4 | LICENSE = "Apache-2.0" | 4 | LICENSE = "Apache-2.0" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "1c03e24af62238a8817ecc24e9d4c32ddd4cb1f323b08413652d9a9a592fc00d" | 7 | SRC_URI[sha256sum] = "161c722c8864e7ed39393e2b7eea76ef4e1c933a6a59f9d7c70409b6635f225d" |
8 | 8 | ||
9 | inherit pypi setuptools3 | 9 | inherit pypi setuptools3 |
10 | 10 | ||
diff --git a/meta-python/recipes-devtools/python/python3-google-auth/run-ptest b/meta-python/recipes-devtools/python/python3-google-auth/run-ptest index f1c8729f0e..e2f6d49fd0 100644 --- a/meta-python/recipes-devtools/python/python3-google-auth/run-ptest +++ b/meta-python/recipes-devtools/python/python3-google-auth/run-ptest | |||
@@ -1,4 +1,4 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | pytest --automake | 3 | # Ignore mtls test until https://github.com/googleapis/google-api-python-client/issues/2554 is fixed |
4 | 4 | pytest --automake --deselect tests/transport/test__mtls_helper.py::TestDecryptPrivateKey | |
diff --git a/meta-python/recipes-devtools/python/python3-google-auth_2.29.0.bb b/meta-python/recipes-devtools/python/python3-google-auth_2.40.3.bb index e8d438df02..b7498dcc99 100644 --- a/meta-python/recipes-devtools/python/python3-google-auth_2.29.0.bb +++ b/meta-python/recipes-devtools/python/python3-google-auth_2.40.3.bb | |||
@@ -5,21 +5,25 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" | |||
5 | 5 | ||
6 | inherit pypi setuptools3 ptest | 6 | inherit pypi setuptools3 ptest |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "672dff332d073227550ffc7457868ac4218d6c500b155fe6cc17d2b13602c360" | 8 | SRC_URI[sha256sum] = "500c3a29adedeb36ea9cf24b8d10858e152f2412e3ca37829b3fa18e33d63b77" |
9 | |||
10 | SRC_URI += " \ | 9 | SRC_URI += " \ |
11 | file://run-ptest \ | 10 | file://run-ptest \ |
12 | " | 11 | " |
13 | 12 | ||
13 | PYPI_PACKAGE = "google_auth" | ||
14 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
15 | |||
14 | RDEPENDS:${PN}-ptest += " \ | 16 | RDEPENDS:${PN}-ptest += " \ |
17 | python3-aioresponses \ | ||
15 | python3-cryptography \ | 18 | python3-cryptography \ |
16 | python3-flask \ | 19 | python3-flask \ |
17 | python3-freezegun \ | 20 | python3-freezegun \ |
18 | python3-grpcio \ | 21 | python3-grpcio \ |
19 | python3-mock \ | 22 | python3-mock \ |
20 | python3-oauth2client \ | 23 | python3-pyjwt \ |
21 | python3-pyopenssl \ | 24 | python3-pyopenssl \ |
22 | python3-pytest \ | 25 | python3-pytest \ |
26 | python3-pytest-asyncio \ | ||
23 | python3-pytest-localserver \ | 27 | python3-pytest-localserver \ |
24 | python3-pyu2f \ | 28 | python3-pyu2f \ |
25 | python3-requests \ | 29 | python3-requests \ |
diff --git a/meta-python/recipes-devtools/python/python3-googleapis-common-protos_1.63.0.bb b/meta-python/recipes-devtools/python/python3-googleapis-common-protos_1.63.2.bb index aee2337267..5539d19f68 100644 --- a/meta-python/recipes-devtools/python/python3-googleapis-common-protos_1.63.0.bb +++ b/meta-python/recipes-devtools/python/python3-googleapis-common-protos_1.63.2.bb | |||
@@ -1,11 +1,11 @@ | |||
1 | DESCRIPTION = "Common protobufs used in Google APIs" | 1 | DESCRIPTION = "Common protobufs used in Google APIs" |
2 | HOMEPAGE = "https://github.com/googleapis/python-api-common-protos" | 2 | HOMEPAGE = "https://github.com/googleapis/python-api-common-protos" |
3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
4 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" |
5 | 5 | ||
6 | inherit pypi setuptools3 | 6 | inherit pypi setuptools3 |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "17ad01b11d5f1d0171c06d3ba5c04c54474e883b66b949722b4938ee2694ef4e" | 8 | SRC_URI[sha256sum] = "27c5abdffc4911f28101e635de1533fb4cfd2c37fbaa9174587c799fac90aa87" |
9 | 9 | ||
10 | RDEPENDS:${PN} += "\ | 10 | RDEPENDS:${PN} += "\ |
11 | python3-grpcio \ | 11 | python3-grpcio \ |
diff --git a/meta-python/recipes-devtools/python/python3-gpiod_2.2.0.bb b/meta-python/recipes-devtools/python/python3-gpiod_2.3.0.bb index c89fc7e920..cd05b40010 100644 --- a/meta-python/recipes-devtools/python/python3-gpiod_2.2.0.bb +++ b/meta-python/recipes-devtools/python/python3-gpiod_2.3.0.bb | |||
@@ -3,13 +3,13 @@ SUMMARY = "Python bindings for libgpiod." | |||
3 | LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later & CC-BY-SA-4.0" | 3 | LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later & CC-BY-SA-4.0" |
4 | # The actual license files live in the upstream libgpiod from which the pypi | 4 | # The actual license files live in the upstream libgpiod from which the pypi |
5 | # package is spun out. | 5 | # package is spun out. |
6 | LIC_FILES_CHKSUM = "file://setup.py;beginline=237;endline=237;md5=f5ddb56912b7f20bf94aa4d1bdcd3533" | 6 | LIC_FILES_CHKSUM = "file://pyproject.toml;beginline=13;endline=13;md5=fca786987ac89b59c767e55467de581e" |
7 | 7 | ||
8 | SRC_URI += "file://run-ptest" | 8 | SRC_URI += "file://run-ptest" |
9 | 9 | ||
10 | SRC_URI[sha256sum] = "4447f05ab42a9ea596e548a9a65389aa84bf61c95dc7a78074bb9c5f8f6a6b35" | 10 | SRC_URI[sha256sum] = "daa840ed5b691e7078a9cf21c79fe813b9a91c3ed0bdbafae0181c7b98b80300" |
11 | 11 | ||
12 | inherit setuptools3-base python_pep517 ptest pypi | 12 | inherit python_setuptools_build_meta python_pep517 ptest pypi |
13 | 13 | ||
14 | DEPENDS += " \ | 14 | DEPENDS += " \ |
15 | libgpiod \ | 15 | libgpiod \ |
@@ -21,10 +21,9 @@ RDEPENDS:${PN} += " \ | |||
21 | python3-profile \ | 21 | python3-profile \ |
22 | " | 22 | " |
23 | RDEPENDS:${PN}-ptest += " \ | 23 | RDEPENDS:${PN}-ptest += " \ |
24 | libgpiod-ptest \ | 24 | libgpiod-gpiosim \ |
25 | python3-setuptools \ | 25 | python3-setuptools \ |
26 | " | 26 | " |
27 | RRECOMMENDS:${PN}-ptest += "kernel-module-configfs" | ||
28 | 27 | ||
29 | export LINK_SYSTEM_LIBGPIOD = "1" | 28 | export LINK_SYSTEM_LIBGPIOD = "1" |
30 | 29 | ||
@@ -35,12 +34,12 @@ do_compile_ptest() { | |||
35 | 34 | ||
36 | do_install_ptest() { | 35 | do_install_ptest() { |
37 | install -d ${D}${PTEST_PATH}/gpiod-test/gpiosim | 36 | install -d ${D}${PTEST_PATH}/gpiod-test/gpiosim |
38 | install -d ${D}${PTEST_PATH}/gpiod-test/procname | 37 | install -d ${D}${PTEST_PATH}/gpiod-test/system |
39 | install -m 0644 ${S}/tests/*.py ${D}${PTEST_PATH}/gpiod-test/ | 38 | install -m 0644 ${S}/tests/*.py ${D}${PTEST_PATH}/gpiod-test/ |
40 | install -m 0644 ${B}/tests/gpiosim/_ext* ${D}${PTEST_PATH}/gpiod-test/gpiosim | 39 | install -m 0644 ${B}/tests/gpiosim/_ext* ${D}${PTEST_PATH}/gpiod-test/gpiosim |
41 | install -m 0644 ${S}/tests/gpiosim/*.py ${D}${PTEST_PATH}/gpiod-test/gpiosim | 40 | install -m 0644 ${S}/tests/gpiosim/*.py ${D}${PTEST_PATH}/gpiod-test/gpiosim |
42 | install -m 0644 ${B}/tests/procname/_ext* ${D}${PTEST_PATH}/gpiod-test/procname | 41 | install -m 0644 ${B}/tests/system/_ext* ${D}${PTEST_PATH}/gpiod-test/system |
43 | install -m 0644 ${S}/tests/procname/*.py ${D}${PTEST_PATH}/gpiod-test/procname | 42 | install -m 0644 ${S}/tests/system/*.py ${D}${PTEST_PATH}/gpiod-test/system |
44 | } | 43 | } |
45 | 44 | ||
46 | INSANE_SKIP:${PN}-ptest += "buildpaths" | 45 | INSANE_SKIP:${PN}-ptest += "buildpaths" |
diff --git a/meta-python/recipes-devtools/python/python3-gpsd-py3_0.3.0.bb b/meta-python/recipes-devtools/python/python3-gpsd-py3_0.3.0.bb index 50c1ebd153..e3da33a23c 100644 --- a/meta-python/recipes-devtools/python/python3-gpsd-py3_0.3.0.bb +++ b/meta-python/recipes-devtools/python/python3-gpsd-py3_0.3.0.bb | |||
@@ -2,7 +2,6 @@ DESCRIPTION = "This is a library for polling gpsd in Python3" | |||
2 | HOMEPAGE = "https://github.com/MartijnBraam/gpsd-py3" | 2 | HOMEPAGE = "https://github.com/MartijnBraam/gpsd-py3" |
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://setup.py;beginline=10;endline=10;md5=c2d9994c57f0444e39f1dab19af50254" | 4 | LIC_FILES_CHKSUM = "file://setup.py;beginline=10;endline=10;md5=c2d9994c57f0444e39f1dab19af50254" |
5 | SRC_URI[md5sum] = "041ce56e8879e2104b4d54c8119cd529" | ||
6 | SRC_URI[sha256sum] = "2908d3bd78dfb6720ecfe22f97e139b5a4a198f38df3a77215cf644a33513192" | 5 | SRC_URI[sha256sum] = "2908d3bd78dfb6720ecfe22f97e139b5a4a198f38df3a77215cf644a33513192" |
7 | 6 | ||
8 | PYPI_PACKAGE = "gpsd-py3" | 7 | PYPI_PACKAGE = "gpsd-py3" |
diff --git a/meta-python/recipes-devtools/python/python3-greenlet_3.0.3.bb b/meta-python/recipes-devtools/python/python3-greenlet_3.2.3.bb index abd6c49caf..47ebd641df 100644 --- a/meta-python/recipes-devtools/python/python3-greenlet_3.0.3.bb +++ b/meta-python/recipes-devtools/python/python3-greenlet_3.2.3.bb | |||
@@ -4,6 +4,8 @@ LICENSE = "MIT & PSF-2.0" | |||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e95668d68e4329085c7ab3535e6a7aee \ | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e95668d68e4329085c7ab3535e6a7aee \ |
5 | file://LICENSE.PSF;md5=c106931d9429eda0492617f037b8f69a" | 5 | file://LICENSE.PSF;md5=c106931d9429eda0492617f037b8f69a" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "43374442353259554ce33599da8b692d5aa96f8976d567d4badf263371fbe491" | 7 | SRC_URI[sha256sum] = "8b0dd8ae4c0d6f5e54ee55ba935eeb3d735a9b58a8a1e5b5cbab64e01a39f365" |
8 | 8 | ||
9 | inherit pypi setuptools3 | 9 | inherit pypi python_setuptools_build_meta |
10 | |||
11 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-greenstalk_2.0.2.bb b/meta-python/recipes-devtools/python/python3-greenstalk_2.1.0.bb index 33eb62d5d9..5b87f39f12 100644 --- a/meta-python/recipes-devtools/python/python3-greenstalk_2.0.2.bb +++ b/meta-python/recipes-devtools/python/python3-greenstalk_2.1.0.bb | |||
@@ -3,8 +3,8 @@ HOMEPAGE = "https://github.com/mayhewj/greenstalk" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8f98432ba1fce3933c556430fd47298f" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8f98432ba1fce3933c556430fd47298f" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "3ebde5fc9ecf986f96f6779fd6d15a53f33d432c52a2e28012e100a99ee154a4" | 6 | SRC_URI[sha256sum] = "a731ca15bc3b03dfffc438db08c96d0c4e8ce5f472403573e40a1939791c12a7" |
7 | 7 | ||
8 | RDEPENDS:${PN} += "python3-io python3-core" | 8 | RDEPENDS:${PN} += "python3-io python3-core" |
9 | 9 | ||
10 | inherit pypi python_setuptools_build_meta | 10 | inherit pypi python_setuptools_build_meta python_hatchling |
diff --git a/meta-python/recipes-devtools/python/python3-grpcio-channelz_1.62.2.bb b/meta-python/recipes-devtools/python/python3-grpcio-channelz_1.72.1.bb index ed5ede4252..0792506e03 100644 --- a/meta-python/recipes-devtools/python/python3-grpcio-channelz_1.62.2.bb +++ b/meta-python/recipes-devtools/python/python3-grpcio-channelz_1.72.1.bb | |||
@@ -1,5 +1,5 @@ | |||
1 | DESCRIPTION = "Google gRPC channelz" | 1 | DESCRIPTION = "Google gRPC channelz" |
2 | HOMEPAGE = "http://www.grpc.io/" | 2 | HOMEPAGE = "https://www.grpc.io/" |
3 | SECTION = "devel/python" | 3 | SECTION = "devel/python" |
4 | 4 | ||
5 | LICENSE = "Apache-2.0" | 5 | LICENSE = "Apache-2.0" |
@@ -8,8 +8,10 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=7145f7cdd263359b62 | |||
8 | inherit pypi setuptools3 | 8 | inherit pypi setuptools3 |
9 | 9 | ||
10 | DEPENDS += "python3-grpcio" | 10 | DEPENDS += "python3-grpcio" |
11 | PYPI_PACKAGE = "grpcio_channelz" | ||
12 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
11 | 13 | ||
12 | SRC_URI[sha256sum] = "6e4ac2c43d76b245c5f66d98f523db08786b186128a655ee6f20a30a7e68e4f9" | 14 | SRC_URI[sha256sum] = "7dec124f2cefe6d2f2b9176d578496a938a8407ea196eb7a27494f4a40793a0a" |
13 | 15 | ||
14 | RDEPENDS:${PN} = "python3-grpcio" | 16 | RDEPENDS:${PN} = "python3-grpcio" |
15 | 17 | ||
diff --git a/meta-python/recipes-devtools/python/python3-grpcio-reflection_1.62.2.bb b/meta-python/recipes-devtools/python/python3-grpcio-reflection_1.72.1.bb index 478c5b33ec..a922dcd873 100644 --- a/meta-python/recipes-devtools/python/python3-grpcio-reflection_1.62.2.bb +++ b/meta-python/recipes-devtools/python/python3-grpcio-reflection_1.72.1.bb | |||
@@ -1,5 +1,5 @@ | |||
1 | DESCRIPTION = "Google gRPC reflection" | 1 | DESCRIPTION = "Google gRPC reflection" |
2 | HOMEPAGE = "http://www.grpc.io/" | 2 | HOMEPAGE = "https://www.grpc.io/" |
3 | SECTION = "devel/python" | 3 | SECTION = "devel/python" |
4 | 4 | ||
5 | LICENSE = "Apache-2.0" | 5 | LICENSE = "Apache-2.0" |
@@ -8,8 +8,10 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=7145f7cdd263359b62 | |||
8 | inherit pypi setuptools3 | 8 | inherit pypi setuptools3 |
9 | 9 | ||
10 | DEPENDS += "python3-grpcio" | 10 | DEPENDS += "python3-grpcio" |
11 | PYPI_PACKAGE = "grpcio_reflection" | ||
12 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
11 | 13 | ||
12 | SRC_URI[sha256sum] = "2dd44806d68d0006636529bda573012b19a42281478c2d051cdaaebb91e2516c" | 14 | SRC_URI[sha256sum] = "f04f0c8c21937162c3a7d2b9532a42e568fd4096327bec8eb1cff8e7d8146150" |
13 | 15 | ||
14 | RDEPENDS:${PN} = "python3-grpcio" | 16 | RDEPENDS:${PN} = "python3-grpcio" |
15 | 17 | ||
diff --git a/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch b/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch index 67505d0ce1..cb12fb4983 100644 --- a/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch +++ b/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 64d737318656286f69ddc5ad654072785ddcbbed Mon Sep 17 00:00:00 2001 | 1 | From ded393c799d4d970d69a75c458f3672b03099aeb Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 16 Sep 2022 19:09:15 -0700 | 3 | Date: Fri, 16 Sep 2022 19:09:15 -0700 |
4 | Subject: [PATCH] protobuf: Disable musttail attribute on mips | 4 | Subject: [PATCH] protobuf: Disable musttail attribute on mips |
@@ -9,12 +9,14 @@ Upstream-Status: Pending | |||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
10 | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> | 10 | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> |
11 | --- | 11 | --- |
12 | third_party/protobuf/src/google/protobuf/port_def.inc | 3 ++- | 12 | third_party/protobuf/src/google/protobuf/port_def.inc | 1 + |
13 | 1 file changed, 2 insertions(+), 1 deletion(-) | 13 | 1 file changed, 1 insertion(+) |
14 | 14 | ||
15 | diff --git a/third_party/protobuf/src/google/protobuf/port_def.inc b/third_party/protobuf/src/google/protobuf/port_def.inc | ||
16 | index 56f995e..4d36c2f 100644 | ||
15 | --- a/third_party/protobuf/src/google/protobuf/port_def.inc | 17 | --- a/third_party/protobuf/src/google/protobuf/port_def.inc |
16 | +++ b/third_party/protobuf/src/google/protobuf/port_def.inc | 18 | +++ b/third_party/protobuf/src/google/protobuf/port_def.inc |
17 | @@ -298,6 +298,7 @@ | 19 | @@ -227,6 +227,7 @@ static_assert(PROTOBUF_ABSL_MIN(20230125, 3), |
18 | #error PROTOBUF_TAILCALL was previously defined | 20 | #error PROTOBUF_TAILCALL was previously defined |
19 | #endif | 21 | #endif |
20 | #if ABSL_HAVE_CPP_ATTRIBUTE(clang::musttail) && !defined(__arm__) && \ | 22 | #if ABSL_HAVE_CPP_ATTRIBUTE(clang::musttail) && !defined(__arm__) && \ |
diff --git a/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch b/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch index 07276c17f6..439b337bda 100644 --- a/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch +++ b/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 9b2f1d400db8b8d0045f5a58a748a2dc52b5c9ef Mon Sep 17 00:00:00 2001 | 1 | From f1bf68aaa5417bcb7ad4996f1be8d2c0f53c521c Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Wed, 17 Feb 2021 13:38:55 -0800 | 3 | Date: Wed, 17 Feb 2021 13:38:55 -0800 |
4 | Subject: [PATCH] setup.py: Do not mix C and C++ compiler options | 4 | Subject: [PATCH] setup.py: Do not mix C and C++ compiler options |
@@ -23,37 +23,37 @@ Upstream-Status: Inappropriate [oe specific] | |||
23 | 23 | ||
24 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 24 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
25 | --- | 25 | --- |
26 | setup.py | 9 ++++++--- | 26 | setup.py | 10 ++++++---- |
27 | 1 file changed, 6 insertions(+), 3 deletions(-) | 27 | 1 file changed, 6 insertions(+), 4 deletions(-) |
28 | 28 | ||
29 | diff --git a/setup.py b/setup.py | 29 | diff --git a/setup.py b/setup.py |
30 | index cc53e79..be3bc78 100644 | 30 | index 1a997df..86e3ad1 100644 |
31 | --- a/setup.py | 31 | --- a/setup.py |
32 | +++ b/setup.py | 32 | +++ b/setup.py |
33 | @@ -88,9 +88,11 @@ | 33 | @@ -90,9 +90,11 @@ def check_linker_need_libatomic(): |
34 | b"#include <atomic>\n" | 34 | b"#include <atomic>\n" |
35 | + b"int main() { return std::atomic<int64_t>{}; }" | 35 | + b"int main() { return std::atomic<int64_t>{}; }" |
36 | ) | 36 | ) |
37 | - cxx = os.environ.get("CXX", "c++") | 37 | - cxx = os.environ.get("CXX", "c++") |
38 | - cpp_test = subprocess.Popen( | 38 | - cpp_test = subprocess.Popen( |
39 | - [cxx, "-x", "c++", "-std=c++14", "-"], | 39 | - [cxx, "-x", "c++", "-std=c++17", "-"], |
40 | + cxx, cxx_args = os.environ.get('CXX').split(' ', 1) or 'c++' | 40 | + cxx, cxx_args = os.environ.get('CXX').split(' ', 1) or 'c++' |
41 | + if not cxx_args: | 41 | + if not cxx_args: |
42 | + cxx_args = "-g" | 42 | + cxx_args = "-g" |
43 | + | 43 | + |
44 | + cpp_test = subprocess.Popen([cxx, cxx_args, '-x', 'c++', '-std=c++14', '-'], | 44 | + cpp_test = subprocess.Popen([cxx, cxx_args, '-x', 'c++', '-std=c++17', '-'], |
45 | stdin=PIPE, | 45 | stdin=PIPE, |
46 | stdout=PIPE, | 46 | stdout=PIPE, |
47 | stderr=PIPE, | 47 | stderr=PIPE, |
48 | @@ -101,7 +103,7 @@ | 48 | @@ -103,7 +105,7 @@ def check_linker_need_libatomic(): |
49 | # Double-check to see if -latomic actually can solve the problem. | 49 | # Double-check to see if -latomic actually can solve the problem. |
50 | # https://github.com/grpc/grpc/issues/22491 | 50 | # https://github.com/grpc/grpc/issues/22491 |
51 | cpp_test = subprocess.Popen( | 51 | cpp_test = subprocess.Popen( |
52 | - [cxx, "-x", "c++", "-std=c++14", "-", "-latomic"], | 52 | - [cxx, "-x", "c++", "-std=c++17", "-", "-latomic"], |
53 | + [cxx, cxx_args, '-x', 'c++', '-std=c++14', '-', '-latomic'], | 53 | + [cxx, cxx_args, '-x', 'c++', '-std=c++17', '-', '-latomic'], |
54 | stdin=PIPE, | 54 | stdin=PIPE, |
55 | stdout=PIPE, | 55 | stdout=PIPE, |
56 | stderr=PIPE, | 56 | stderr=PIPE, |
57 | -- | 57 | -- |
58 | 2.25.1 | 58 | 2.43.0 |
59 | 59 | ||
diff --git a/meta-python/recipes-devtools/python/python3-grpcio-tools_1.62.2.bb b/meta-python/recipes-devtools/python/python3-grpcio-tools_1.72.1.bb index e05b8734d6..52d68c71a9 100644 --- a/meta-python/recipes-devtools/python/python3-grpcio-tools_1.62.2.bb +++ b/meta-python/recipes-devtools/python/python3-grpcio-tools_1.72.1.bb | |||
@@ -1,5 +1,5 @@ | |||
1 | DESCRIPTION = "Google gRPC tools" | 1 | DESCRIPTION = "Google gRPC tools" |
2 | HOMEPAGE = "http://www.grpc.io/" | 2 | HOMEPAGE = "https://www.grpc.io/" |
3 | SECTION = "devel/python" | 3 | SECTION = "devel/python" |
4 | 4 | ||
5 | LICENSE = "Apache-2.0" | 5 | LICENSE = "Apache-2.0" |
@@ -7,13 +7,22 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=7145f7cdd263359b62 | |||
7 | 7 | ||
8 | inherit pypi setuptools3 | 8 | inherit pypi setuptools3 |
9 | 9 | ||
10 | PYPI_PACKAGE = "grpcio_tools" | ||
11 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
12 | |||
10 | DEPENDS += "python3-grpcio" | 13 | DEPENDS += "python3-grpcio" |
11 | 14 | ||
12 | SRC_URI += "file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch \ | 15 | SRC_URI += "file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch \ |
13 | file://0001-protobuf-Disable-musttail-attribute-on-mips.patch \ | 16 | file://0001-protobuf-Disable-musttail-attribute-on-mips.patch \ |
14 | " | 17 | " |
15 | SRC_URI[sha256sum] = "5fd5e1582b678e6b941ee5f5809340be5e0724691df5299aae8226640f94e18f" | 18 | SRC_URI[sha256sum] = "a11afb21d0e960eb41f3c3053206e9271ec42579582c13193b99a0dca6be86d1" |
16 | 19 | ||
17 | RDEPENDS:${PN} = "python3-grpcio" | 20 | RDEPENDS:${PN} = "python3-grpcio" |
18 | 21 | ||
22 | do_compile:prepend() { | ||
23 | export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="${@oe.utils.parallel_make(d, False)}" | ||
24 | } | ||
25 | |||
19 | BBCLASSEXTEND = "native nativesdk" | 26 | BBCLASSEXTEND = "native nativesdk" |
27 | |||
28 | CVE_PRODUCT += "grpc:grpc" | ||
diff --git a/meta-python/recipes-devtools/python/python3-grpcio/0001-Include-missing-cstdint-header.patch b/meta-python/recipes-devtools/python/python3-grpcio/0001-Include-missing-cstdint-header.patch deleted file mode 100644 index 5cd94dee9c..0000000000 --- a/meta-python/recipes-devtools/python/python3-grpcio/0001-Include-missing-cstdint-header.patch +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | From 252aa78526287fe033c5656cd166e551fa5daa88 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 30 Jan 2023 10:31:10 -0800 | ||
4 | Subject: [PATCH] Include missing <cstdint> header | ||
5 | |||
6 | gcc 13 moved some includes around and as a result <cstdint> is | ||
7 | no longer transitively included [1]. Explicitly include it for | ||
8 | int32_t. | ||
9 | |||
10 | [1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes | ||
11 | |||
12 | Upstream-Status: Submitted [https://code-review.googlesource.com/c/re2/+/60970] | ||
13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
14 | |||
15 | --- | ||
16 | third_party/re2/util/pcre.h | 1 + | ||
17 | 1 file changed, 1 insertion(+) | ||
18 | |||
19 | diff --git a/third_party/re2/util/pcre.h b/third_party/re2/util/pcre.h | ||
20 | index 896b0bd..271a005 100644 | ||
21 | --- a/third_party/re2/util/pcre.h | ||
22 | +++ b/third_party/re2/util/pcre.h | ||
23 | @@ -163,6 +163,7 @@ | ||
24 | |||
25 | #include "util/util.h" | ||
26 | #include "re2/stringpiece.h" | ||
27 | +#include <cstdint> | ||
28 | |||
29 | #ifdef USEPCRE | ||
30 | #include <pcre.h> | ||
diff --git a/meta-python/recipes-devtools/python/python3-grpcio/0001-PR-1644-unscaledcycleclock-remove-RISC-V-support.patch b/meta-python/recipes-devtools/python/python3-grpcio/0001-PR-1644-unscaledcycleclock-remove-RISC-V-support.patch deleted file mode 100644 index 82f15f88cd..0000000000 --- a/meta-python/recipes-devtools/python/python3-grpcio/0001-PR-1644-unscaledcycleclock-remove-RISC-V-support.patch +++ /dev/null | |||
@@ -1,82 +0,0 @@ | |||
1 | From 7335a36d0b5c1c597566f9aa3f458a5b6817c3b4 Mon Sep 17 00:00:00 2001 | ||
2 | From: aurel32 <aurelien@aurel32.net> | ||
3 | Date: Fri, 22 Mar 2024 14:21:13 -0700 | ||
4 | Subject: [PATCH] PR #1644: unscaledcycleclock: remove RISC-V support | ||
5 | |||
6 | Imported from GitHub PR https://github.com/abseil/abseil-cpp/pull/1644 | ||
7 | |||
8 | Starting with Linux 6.6 [1], RDCYCLE is a privileged instruction on RISC-V and can't be used directly from userland. There is a sysctl option to change that as a transition period, but it will eventually disappear. | ||
9 | |||
10 | The RDTIME instruction is another less accurate alternative, however its frequency varies from board to board, and there is currently now way to get its frequency from userland [2]. | ||
11 | |||
12 | Therefore this patch just removes the code for unscaledcycleclock on RISC-V. Without processor specific implementation, abseil relies on std::chrono::steady_clock::now().time_since_epoch() which is basically a wrapper around clock_gettime (CLOCK_MONOTONIC), which in turns use __vdso_clock_gettime(). On RISC-V this VDSO is just a wrapper around RDTIME correctly scaled to use nanoseconds units. | ||
13 | |||
14 | This fixes the testsuite on riscv64, tested on a VisionFive 2 board. | ||
15 | |||
16 | [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cc4c07c89aada16229084eeb93895c95b7eabaa3 | ||
17 | [2] https://github.com/abseil/abseil-cpp/pull/1631 | ||
18 | Merge 43356a2548cfde76e164d446cb69004b488c6a71 into 76f8011beabdaee872b5fde7546e02407b220cb1 | ||
19 | |||
20 | Merging this change closes #1644 | ||
21 | |||
22 | COPYBARA_INTEGRATE_REVIEW=https://github.com/abseil/abseil-cpp/pull/1644 from aurel32:rv64-no-unscaledcycleclock 43356a2548cfde76e164d446cb69004b488c6a71 | ||
23 | PiperOrigin-RevId: 618286262 | ||
24 | Change-Id: Ie4120a727e7d0bb185df6e06ea145c780ebe6652 | ||
25 | |||
26 | Upstream-Status: Backport [https://github.com/abseil/abseil-cpp/commit/7335a36d] | ||
27 | [Adapted to apply on top of meta-oe's patch stack] | ||
28 | Signed-off-by: Scott Murray <scott.murray@konsulko.com> | ||
29 | --- | ||
30 | .../absl/base/internal/unscaledcycleclock.cc | 12 ------------ | ||
31 | .../absl/base/internal/unscaledcycleclock_config.h | 5 ++--- | ||
32 | 2 files changed, 2 insertions(+), 15 deletions(-) | ||
33 | |||
34 | diff --git a/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc b/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc | ||
35 | index f11fecb..103b4f6 100644 | ||
36 | --- a/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc | ||
37 | +++ b/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc | ||
38 | @@ -121,18 +121,6 @@ double UnscaledCycleClock::Frequency() { | ||
39 | return aarch64_timer_frequency; | ||
40 | } | ||
41 | |||
42 | -#elif defined(__riscv) | ||
43 | - | ||
44 | -int64_t UnscaledCycleClock::Now() { | ||
45 | - int64_t virtual_timer_value; | ||
46 | - asm volatile("rdcycle %0" : "=r"(virtual_timer_value)); | ||
47 | - return virtual_timer_value; | ||
48 | -} | ||
49 | - | ||
50 | -double UnscaledCycleClock::Frequency() { | ||
51 | - return base_internal::NominalCPUFrequency(); | ||
52 | -} | ||
53 | - | ||
54 | #elif defined(_M_IX86) || defined(_M_X64) | ||
55 | |||
56 | #pragma intrinsic(__rdtsc) | ||
57 | diff --git a/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock_config.h b/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock_config.h | ||
58 | index 5e232c1..83552fc 100644 | ||
59 | --- a/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock_config.h | ||
60 | +++ b/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock_config.h | ||
61 | @@ -22,7 +22,6 @@ | ||
62 | // The following platforms have an implementation of a hardware counter. | ||
63 | #if defined(__i386__) || defined(__x86_64__) || defined(__aarch64__) || \ | ||
64 | ((defined(__powerpc__) || defined(__ppc__)) && defined(__GLIBC__)) || \ | ||
65 | - defined(__riscv) || \ | ||
66 | defined(_M_IX86) || (defined(_M_X64) && !defined(_M_ARM64EC)) | ||
67 | #define ABSL_HAVE_UNSCALED_CYCLECLOCK_IMPLEMENTATION 1 | ||
68 | #else | ||
69 | @@ -54,8 +53,8 @@ | ||
70 | #if ABSL_USE_UNSCALED_CYCLECLOCK | ||
71 | // This macro can be used to test if UnscaledCycleClock::Frequency() | ||
72 | // is NominalCPUFrequency() on a particular platform. | ||
73 | -#if (defined(__i386__) || defined(__x86_64__) || defined(__riscv) || \ | ||
74 | - defined(_M_IX86) || defined(_M_X64)) | ||
75 | +#if (defined(__i386__) || defined(__x86_64__) || defined(_M_IX86) || \ | ||
76 | + defined(_M_X64)) | ||
77 | #define ABSL_INTERNAL_UNSCALED_CYCLECLOCK_FREQUENCY_IS_CPU_FREQUENCY | ||
78 | #endif | ||
79 | #endif | ||
80 | -- | ||
81 | 2.44.0 | ||
82 | |||
diff --git a/meta-python/recipes-devtools/python/python3-grpcio/0001-crypto-use-_Generic-only-if-defined-__cplusplus.patch b/meta-python/recipes-devtools/python/python3-grpcio/0001-crypto-use-_Generic-only-if-defined-__cplusplus.patch deleted file mode 100644 index d830d92284..0000000000 --- a/meta-python/recipes-devtools/python/python3-grpcio/0001-crypto-use-_Generic-only-if-defined-__cplusplus.patch +++ /dev/null | |||
@@ -1,74 +0,0 @@ | |||
1 | From 3359a87a71307336100b84e66b69bad385cd3cfc Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <martin.jansa@gmail.com> | ||
3 | Date: Mon, 6 May 2024 01:36:39 +0200 | ||
4 | Subject: [PATCH] crypto: use _Generic only if !defined(__cplusplus) | ||
5 | |||
6 | * fixes build with gcc-14 which has __builtin_addc and __builtin_subc | ||
7 | with gcc-13 it was already using the #else branch because of missing builtins | ||
8 | |||
9 | * fixes | ||
10 | https://github.com/grpc/grpc/issues/35945 | ||
11 | |||
12 | * _Generic was introduced in boringssl with: | ||
13 | https://boringssl.googlesource.com/boringssl/+/70ca6bc24be103dabd68e448cd3af29b929b771d%5E%21/#F4 | ||
14 | |||
15 | * but e.g. third_party/boringssl-with-bazel/src/ssl/d1_both.cc includes | ||
16 | this internal.h and from the .cc extension gcc will process it as C++ | ||
17 | where _Generic isn't available, causing: | ||
18 | |||
19 | In file included from third_party/boringssl-with-bazel/src/ssl/d1_both.cc:125: | ||
20 | third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h: In function 'uint32_t CRYPTO_addc_u32(uint32_t, uint32_t, uint32_t, uint32_t*)': | ||
21 | third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1159:7: error: expected primary-expression before 'unsigned' | ||
22 | 1159 | unsigned: __builtin_addc, \ | ||
23 | | ^~~~~~~~ | ||
24 | third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1166:10: note: in expansion of macro 'CRYPTO_GENERIC_ADDC' | ||
25 | 1166 | return CRYPTO_GENERIC_ADDC(x, y, carry, out_carry); | ||
26 | | ^~~~~~~~~~~~~~~~~~~ | ||
27 | third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1160:7: error: expected primary-expression before 'unsigned' | ||
28 | 1160 | unsigned long: __builtin_addcl, \ | ||
29 | | ^~~~~~~~ | ||
30 | third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1166:10: note: in expansion of macro 'CRYPTO_GENERIC_ADDC' | ||
31 | 1166 | return CRYPTO_GENERIC_ADDC(x, y, carry, out_carry); | ||
32 | | ^~~~~~~~~~~~~~~~~~~ | ||
33 | third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1161:7: error: expected primary-expression before 'unsigned' | ||
34 | 1161 | unsigned long long: __builtin_addcll))((x), (y), (carry), (out_carry)) | ||
35 | | ^~~~~~~~ | ||
36 | third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1166:10: note: in expansion of macro 'CRYPTO_GENERIC_ADDC' | ||
37 | 1166 | return CRYPTO_GENERIC_ADDC(x, y, carry, out_carry); | ||
38 | | ^~~~~~~~~~~~~~~~~~~ | ||
39 | third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1158:4: error: '_Generic' was not declared in this scope | ||
40 | 1158 | (_Generic((x), \ | ||
41 | | ^~~~~~~~ | ||
42 | third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1166:10: note: in expansion of macro 'CRYPTO_GENERIC_ADDC' | ||
43 | 1166 | return CRYPTO_GENERIC_ADDC(x, y, carry, out_carry); | ||
44 | | ^~~~~~~~~~~~~~~~~~~ | ||
45 | |||
46 | Signed-off-by: Martin Jansa <martin.jansa@gmail.com> | ||
47 | --- | ||
48 | Upstream-Status: Submitted [https://boringssl-review.googlesource.com/c/boringssl/+/68227 crypto: use _Generic only if !defined(__cplusplus)] | ||
49 | |||
50 | crypto/internal.h | 4 ++-- | ||
51 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
52 | |||
53 | diff --git a/crypto/internal.h b/crypto/internal.h | ||
54 | index a77102d76..30d6826dd 100644 | ||
55 | --- a/crypto/internal.h | ||
56 | +++ b/crypto/internal.h | ||
57 | @@ -1176,7 +1176,7 @@ static inline uint64_t CRYPTO_rotr_u64(uint64_t value, int shift) { | ||
58 | |||
59 | // CRYPTO_addc_* returns |x + y + carry|, and sets |*out_carry| to the carry | ||
60 | // bit. |carry| must be zero or one. | ||
61 | -#if OPENSSL_HAS_BUILTIN(__builtin_addc) | ||
62 | +#if OPENSSL_HAS_BUILTIN(__builtin_addc) && !defined(__cplusplus) | ||
63 | |||
64 | #define CRYPTO_GENERIC_ADDC(x, y, carry, out_carry) \ | ||
65 | (_Generic((x), \ | ||
66 | @@ -1228,7 +1228,7 @@ static inline uint64_t CRYPTO_addc_u64(uint64_t x, uint64_t y, uint64_t carry, | ||
67 | |||
68 | // CRYPTO_subc_* returns |x - y - borrow|, and sets |*out_borrow| to the borrow | ||
69 | // bit. |borrow| must be zero or one. | ||
70 | -#if OPENSSL_HAS_BUILTIN(__builtin_subc) | ||
71 | +#if OPENSSL_HAS_BUILTIN(__builtin_subc) && !defined(__cplusplus) | ||
72 | |||
73 | #define CRYPTO_GENERIC_SUBC(x, y, borrow, out_borrow) \ | ||
74 | (_Generic((x), \ | ||
diff --git a/meta-python/recipes-devtools/python/python3-grpcio/0001-python-enable-unbundled-cross-compilation.patch b/meta-python/recipes-devtools/python/python3-grpcio/0001-python-enable-unbundled-cross-compilation.patch new file mode 100644 index 0000000000..b2b2713559 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-grpcio/0001-python-enable-unbundled-cross-compilation.patch | |||
@@ -0,0 +1,49 @@ | |||
1 | From ed9f268774838d279e23b4ae9fb95ca7650942b2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Peter Marko <peter.marko@siemens.com> | ||
3 | Date: Wed, 5 Feb 2025 21:06:50 +0100 | ||
4 | Subject: [PATCH] python: enable unbundled cross compilation | ||
5 | |||
6 | System headers are on a sysroot path provided by the toolchain | ||
7 | options. | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | Signed-off-by: Peter Marko <peter.marko@siemens.com> | ||
11 | --- | ||
12 | setup.py | 10 +++++----- | ||
13 | 1 file changed, 5 insertions(+), 5 deletions(-) | ||
14 | |||
15 | diff --git a/setup.py b/setup.py | ||
16 | index 4d13d87..f002ab2 100644 | ||
17 | --- a/setup.py | ||
18 | +++ b/setup.py | ||
19 | @@ -318,25 +318,25 @@ if BUILD_WITH_SYSTEM_OPENSSL: | ||
20 | lambda x: "third_party/boringssl" not in x, CORE_C_FILES | ||
21 | ) | ||
22 | CORE_C_FILES = filter(lambda x: "src/boringssl" not in x, CORE_C_FILES) | ||
23 | - SSL_INCLUDE = (os.path.join("/usr", "include", "openssl"),) | ||
24 | + SSL_INCLUDE = () | ||
25 | |||
26 | if BUILD_WITH_SYSTEM_ZLIB: | ||
27 | CORE_C_FILES = filter(lambda x: "third_party/zlib" not in x, CORE_C_FILES) | ||
28 | - ZLIB_INCLUDE = (os.path.join("/usr", "include"),) | ||
29 | + ZLIB_INCLUDE = () | ||
30 | |||
31 | if BUILD_WITH_SYSTEM_CARES: | ||
32 | CORE_C_FILES = filter(lambda x: "third_party/cares" not in x, CORE_C_FILES) | ||
33 | - CARES_INCLUDE = (os.path.join("/usr", "include"),) | ||
34 | + CARES_INCLUDE = () | ||
35 | |||
36 | if BUILD_WITH_SYSTEM_RE2: | ||
37 | CORE_C_FILES = filter(lambda x: "third_party/re2" not in x, CORE_C_FILES) | ||
38 | - RE2_INCLUDE = (os.path.join("/usr", "include", "re2"),) | ||
39 | + RE2_INCLUDE = () | ||
40 | |||
41 | if BUILD_WITH_SYSTEM_ABSL: | ||
42 | CORE_C_FILES = filter( | ||
43 | lambda x: "third_party/abseil-cpp" not in x, CORE_C_FILES | ||
44 | ) | ||
45 | - ABSL_INCLUDE = (os.path.join("/usr", "include"),) | ||
46 | + ABSL_INCLUDE = () | ||
47 | |||
48 | EXTENSION_INCLUDE_DIRECTORIES = ( | ||
49 | (PYTHON_STEM,) | ||
diff --git a/meta-python/recipes-devtools/python/python3-grpcio/0001-target.h-define-proper-macro-for-ppc-ppc64.patch b/meta-python/recipes-devtools/python/python3-grpcio/0001-target.h-define-proper-macro-for-ppc-ppc64.patch deleted file mode 100644 index 0b512b1d00..0000000000 --- a/meta-python/recipes-devtools/python/python3-grpcio/0001-target.h-define-proper-macro-for-ppc-ppc64.patch +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | From b3bca013007a4a66703573d243e433f22e1e6684 Mon Sep 17 00:00:00 2001 | ||
2 | From: Changqing Li <changqing.li@windriver.com> | ||
3 | Date: Wed, 15 May 2024 16:55:09 +0800 | ||
4 | Subject: [PATCH] target.h: define proper macro for ppc/ppc64 | ||
5 | |||
6 | Fix error: | ||
7 | third_party/boringssl-with-bazel/src/include/openssl/target.h:74:2: error: #error "Unknown target CPU" | ||
8 | third_party/boringssl-with-bazel/src/include/openssl/bn.h:172:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" | ||
9 | third_party/boringssl-with-bazel/src/include/openssl/bn.h:230:44: error: 'BN_ULONG' has not been declared | ||
10 | |||
11 | BN_ULONG will be defined after set proper OPENSSL_32_BIT or OPENSSL_64_BIT | ||
12 | |||
13 | Upstream-Status: Pending | ||
14 | |||
15 | Signed-off-by: Changqing Li <changqing.li@windriver.com> | ||
16 | --- | ||
17 | third_party/boringssl-with-bazel/src/include/openssl/target.h | 4 ++++ | ||
18 | 1 file changed, 4 insertions(+) | ||
19 | |||
20 | diff --git a/third_party/boringssl-with-bazel/src/include/openssl/target.h b/third_party/boringssl-with-bazel/src/include/openssl/target.h | ||
21 | index 29b1dc6..d779813 100644 | ||
22 | --- a/third_party/boringssl-with-bazel/src/include/openssl/target.h | ||
23 | +++ b/third_party/boringssl-with-bazel/src/include/openssl/target.h | ||
24 | @@ -54,6 +54,10 @@ | ||
25 | #define OPENSSL_32_BIT | ||
26 | #elif defined(__myriad2__) | ||
27 | #define OPENSSL_32_BIT | ||
28 | +#elif defined(__PPC64__) | ||
29 | +#define OPENSSL_64_BIT | ||
30 | +#elif defined(__PPC__) | ||
31 | +#define OPENSSL_32_BIT | ||
32 | #else | ||
33 | // The list above enumerates the platforms that BoringSSL supports. For these | ||
34 | // platforms we keep a reasonable bar of not breaking them: automated test | ||
35 | -- | ||
36 | 2.25.1 | ||
37 | |||
diff --git a/meta-python/recipes-devtools/python/python3-grpcio/0001-zlib-Include-unistd.h-for-open-close-C-APIs.patch b/meta-python/recipes-devtools/python/python3-grpcio/0001-zlib-Include-unistd.h-for-open-close-C-APIs.patch deleted file mode 100644 index 34ef7874e8..0000000000 --- a/meta-python/recipes-devtools/python/python3-grpcio/0001-zlib-Include-unistd.h-for-open-close-C-APIs.patch +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | From 671618df3e48619f0c7a5a3acd8982374a5e43db Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sun, 12 Feb 2023 21:25:04 -0800 | ||
4 | Subject: [PATCH] zlib: Include unistd.h for open/close C APIs | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | --- | ||
10 | third_party/zlib/gzguts.h | 1 + | ||
11 | 1 file changed, 1 insertion(+) | ||
12 | |||
13 | diff --git a/third_party/zlib/gzguts.h b/third_party/zlib/gzguts.h | ||
14 | index f937504..341a68d 100644 | ||
15 | --- a/third_party/zlib/gzguts.h | ||
16 | +++ b/third_party/zlib/gzguts.h | ||
17 | @@ -18,6 +18,7 @@ | ||
18 | #endif | ||
19 | |||
20 | #include <stdio.h> | ||
21 | +#include <unistd.h> | ||
22 | #include "zlib.h" | ||
23 | #ifdef STDC | ||
24 | # include <string.h> | ||
diff --git a/meta-python/recipes-devtools/python/python3-grpcio/abseil-ppc-fixes.patch b/meta-python/recipes-devtools/python/python3-grpcio/abseil-ppc-fixes.patch index f39a9616d9..69e06a7918 100644 --- a/meta-python/recipes-devtools/python/python3-grpcio/abseil-ppc-fixes.patch +++ b/meta-python/recipes-devtools/python/python3-grpcio/abseil-ppc-fixes.patch | |||
@@ -1,5 +1,5 @@ | |||
1 | From 102dcce6610e6606fffd3a4986f84eb52177f8c8 Mon Sep 17 00:00:00 2001 | 1 | From a2ec96a96ff7ba016e800212a942b9f29f255415 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sat, 13 Mar 2021 10:26:25 -0800 | 3 | Date: Sat, 13 Mar 2021 10:26:25 -0800 |
4 | Subject: [PATCH] An all-in-one patch that fixes several issues: | 4 | Subject: [PATCH] An all-in-one patch that fixes several issues: |
5 | 5 | ||
@@ -13,6 +13,7 @@ Sourced from void linux | |||
13 | Upstream-Status: Pending | 13 | Upstream-Status: Pending |
14 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 14 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
15 | Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com> | 15 | Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com> |
16 | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> | ||
16 | --- | 17 | --- |
17 | .../abseil-cpp/absl/base/internal/unscaledcycleclock.cc | 4 ++-- | 18 | .../abseil-cpp/absl/base/internal/unscaledcycleclock.cc | 4 ++-- |
18 | .../absl/base/internal/unscaledcycleclock_config.h | 3 ++- | 19 | .../absl/base/internal/unscaledcycleclock_config.h | 3 ++- |
@@ -21,7 +22,7 @@ Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com> | |||
21 | 4 files changed, 12 insertions(+), 5 deletions(-) | 22 | 4 files changed, 12 insertions(+), 5 deletions(-) |
22 | 23 | ||
23 | diff --git a/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc b/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc | 24 | diff --git a/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc b/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc |
24 | index 05e0e7b..f11fecb 100644 | 25 | index a0bf3a6..103b4f6 100644 |
25 | --- a/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc | 26 | --- a/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc |
26 | +++ b/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc | 27 | +++ b/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc |
27 | @@ -20,7 +20,7 @@ | 28 | @@ -20,7 +20,7 @@ |
@@ -43,17 +44,17 @@ index 05e0e7b..f11fecb 100644 | |||
43 | int64_t UnscaledCycleClock::Now() { | 44 | int64_t UnscaledCycleClock::Now() { |
44 | #ifdef __GLIBC__ | 45 | #ifdef __GLIBC__ |
45 | diff --git a/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock_config.h b/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock_config.h | 46 | diff --git a/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock_config.h b/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock_config.h |
46 | index 24b324a..5e232c1 100644 | 47 | index 43a3dab..196a853 100644 |
47 | --- a/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock_config.h | 48 | --- a/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock_config.h |
48 | +++ b/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock_config.h | 49 | +++ b/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock_config.h |
49 | @@ -21,7 +21,8 @@ | 50 | @@ -21,7 +21,8 @@ |
50 | 51 | ||
51 | // The following platforms have an implementation of a hardware counter. | 52 | // The following platforms have an implementation of a hardware counter. |
52 | #if defined(__i386__) || defined(__x86_64__) || defined(__aarch64__) || \ | 53 | #if defined(__i386__) || defined(__x86_64__) || defined(__aarch64__) || \ |
53 | - defined(__powerpc__) || defined(__ppc__) || defined(__riscv) || \ | 54 | - defined(__powerpc__) || defined(__ppc__) || defined(_M_IX86) || \ |
54 | + ((defined(__powerpc__) || defined(__ppc__)) && defined(__GLIBC__)) || \ | 55 | + ((defined(__powerpc__) || defined(__ppc__)) && defined(__GLIBC__)) || \ |
55 | + defined(__riscv) || \ | 56 | + defined(_M_IX86) || \ |
56 | defined(_M_IX86) || (defined(_M_X64) && !defined(_M_ARM64EC)) | 57 | (defined(_M_X64) && !defined(_M_ARM64EC)) |
57 | #define ABSL_HAVE_UNSCALED_CYCLECLOCK_IMPLEMENTATION 1 | 58 | #define ABSL_HAVE_UNSCALED_CYCLECLOCK_IMPLEMENTATION 1 |
58 | #else | 59 | #else |
59 | diff --git a/third_party/abseil-cpp/absl/debugging/internal/examine_stack.cc b/third_party/abseil-cpp/absl/debugging/internal/examine_stack.cc | 60 | diff --git a/third_party/abseil-cpp/absl/debugging/internal/examine_stack.cc b/third_party/abseil-cpp/absl/debugging/internal/examine_stack.cc |
@@ -96,3 +97,6 @@ index 3929b1b..23d5e50 100644 | |||
96 | #define ABSL_STACKTRACE_INL_HEADER \ | 97 | #define ABSL_STACKTRACE_INL_HEADER \ |
97 | "absl/debugging/internal/stacktrace_powerpc-inl.inc" | 98 | "absl/debugging/internal/stacktrace_powerpc-inl.inc" |
98 | #elif defined(__aarch64__) | 99 | #elif defined(__aarch64__) |
100 | -- | ||
101 | 2.43.0 | ||
102 | |||
diff --git a/meta-python/recipes-devtools/python/python3-grpcio_1.62.2.bb b/meta-python/recipes-devtools/python/python3-grpcio_1.62.2.bb deleted file mode 100644 index 59bfbf5538..0000000000 --- a/meta-python/recipes-devtools/python/python3-grpcio_1.62.2.bb +++ /dev/null | |||
@@ -1,48 +0,0 @@ | |||
1 | DESCRIPTION = "Google gRPC" | ||
2 | HOMEPAGE = "http://www.grpc.io/" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "Apache-2.0 & BSD-3-Clause" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=731e401b36f8077ae0c134b59be5c906" | ||
6 | |||
7 | DEPENDS += "python3-protobuf" | ||
8 | |||
9 | SRC_URI += "file://0001-Include-missing-cstdint-header.patch \ | ||
10 | file://abseil-ppc-fixes.patch \ | ||
11 | file://0001-zlib-Include-unistd.h-for-open-close-C-APIs.patch \ | ||
12 | file://0001-crypto-use-_Generic-only-if-defined-__cplusplus.patch;patchdir=third_party/boringssl-with-bazel/src/ \ | ||
13 | file://0001-target.h-define-proper-macro-for-ppc-ppc64.patch \ | ||
14 | file://0001-PR-1644-unscaledcycleclock-remove-RISC-V-support.patch \ | ||
15 | " | ||
16 | SRC_URI[sha256sum] = "c77618071d96b7a8be2c10701a98537823b9c65ba256c0b9067e0594cdbd954d" | ||
17 | |||
18 | RDEPENDS:${PN} = "python3-protobuf" | ||
19 | |||
20 | inherit setuptools3 | ||
21 | inherit pypi | ||
22 | |||
23 | CFLAGS:append:libc-musl = " -D_LARGEFILE64_SOURCE" | ||
24 | |||
25 | export GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY = "1" | ||
26 | |||
27 | BORING_SSL_PLATFORM:arm = "linux-arm" | ||
28 | BORING_SSL_PLATFORM:x86-64 = "linux-x86_64" | ||
29 | BORING_SSL_PLATFORM:aarch64 = "linux-aarch64" | ||
30 | BORING_SSL_PLATFORM ?= "unsupported" | ||
31 | export GRPC_BORING_SSL_PLATFORM = "${BORING_SSL_PLATFORM}" | ||
32 | export GRPC_BUILD_OVERRIDE_BORING_SSL_ASM_PLATFORM = "${BORING_SSL_PLATFORM}" | ||
33 | |||
34 | BORING_SSL:arm = "1" | ||
35 | BORING_SSL:x86-64 = "1" | ||
36 | BORING_SSL:aarch64 = "1" | ||
37 | BORING_SSL ?= "0" | ||
38 | export GRPC_BUILD_WITH_BORING_SSL_ASM = "${BORING_SSL}" | ||
39 | |||
40 | GRPC_CFLAGS ?= "" | ||
41 | GRPC_CFLAGS:append:toolchain-clang = " -fvisibility=hidden -fno-wrapv -fno-exceptions" | ||
42 | export GRPC_PYTHON_CFLAGS = "${GRPC_CFLAGS}" | ||
43 | |||
44 | CLEANBROKEN = "1" | ||
45 | |||
46 | BBCLASSEXTEND = "native nativesdk" | ||
47 | |||
48 | CCACHE_DISABLE = "1" | ||
diff --git a/meta-python/recipes-devtools/python/python3-grpcio_1.72.1.bb b/meta-python/recipes-devtools/python/python3-grpcio_1.72.1.bb new file mode 100644 index 0000000000..79059a33cf --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-grpcio_1.72.1.bb | |||
@@ -0,0 +1,46 @@ | |||
1 | DESCRIPTION = "Google gRPC" | ||
2 | HOMEPAGE = "https://www.grpc.io/" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "Apache-2.0 & BSD-3-Clause & MPL-2.0 & MIT & BSD-2-Clause" | ||
5 | LIC_FILES_CHKSUM = " \ | ||
6 | file://LICENSE;md5=731e401b36f8077ae0c134b59be5c906 \ | ||
7 | file://third_party/utf8_range/utf8_validity.h;beginline=1;endline=5;md5=db08ddb5817e660489678e7c3653805a \ | ||
8 | file://third_party/xxhash/xxhash.h;beginline=1;endline=34;md5=d41d564db2353fc80a713956d85b1690 \ | ||
9 | " | ||
10 | |||
11 | DEPENDS += "c-ares openssl python3-protobuf re2 zlib" | ||
12 | |||
13 | SRC_URI += "file://0001-python-enable-unbundled-cross-compilation.patch \ | ||
14 | file://abseil-ppc-fixes.patch \ | ||
15 | " | ||
16 | SRC_URI[sha256sum] = "87f62c94a40947cec1a0f91f95f5ba0aa8f799f23a1d42ae5be667b6b27b959c" | ||
17 | |||
18 | RDEPENDS:${PN} = "python3-protobuf" | ||
19 | |||
20 | inherit setuptools3 | ||
21 | inherit pypi | ||
22 | |||
23 | CFLAGS:append:libc-musl = " -D_LARGEFILE64_SOURCE" | ||
24 | |||
25 | # unbundling abseil-cpp needs work on dynamic linker issue | ||
26 | #export GRPC_PYTHON_BUILD_SYSTEM_ABSL = "1" | ||
27 | export GRPC_PYTHON_BUILD_SYSTEM_CARES = "1" | ||
28 | export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL = "1" | ||
29 | export GRPC_PYTHON_BUILD_SYSTEM_RE2 = "1" | ||
30 | export GRPC_PYTHON_BUILD_SYSTEM_ZLIB = "1" | ||
31 | |||
32 | do_compile:prepend() { | ||
33 | export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="${@oe.utils.parallel_make(d, False)}" | ||
34 | } | ||
35 | |||
36 | GRPC_CFLAGS ?= "" | ||
37 | GRPC_CFLAGS:append:toolchain-clang = " -fvisibility=hidden -fno-wrapv -fno-exceptions" | ||
38 | export GRPC_PYTHON_CFLAGS = "${GRPC_CFLAGS}" | ||
39 | |||
40 | CLEANBROKEN = "1" | ||
41 | |||
42 | BBCLASSEXTEND = "native nativesdk" | ||
43 | |||
44 | CCACHE_DISABLE = "1" | ||
45 | |||
46 | CVE_PRODUCT += "grpc:grpc" | ||
diff --git a/meta-python/recipes-devtools/python/python3-gunicorn_22.0.0.bb b/meta-python/recipes-devtools/python/python3-gunicorn_23.0.0.bb index e9ad084d46..3c819a934d 100644 --- a/meta-python/recipes-devtools/python/python3-gunicorn_22.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-gunicorn_23.0.0.bb | |||
@@ -3,7 +3,7 @@ SUMMARY = "WSGI HTTP Server for UNIX" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5b70a8b30792a916f50dc96123e61ddf" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5b70a8b30792a916f50dc96123e61ddf" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "4a0b436239ff76fb33f11c07a16482c521a7e09c1ce3cc293c2330afe01bec63" | 6 | SRC_URI[sha256sum] = "f014447a0101dc57e294f6c18ca6b40227a4c90e9bdb586042628030cba004ec" |
7 | 7 | ||
8 | inherit pypi python_setuptools_build_meta ptest | 8 | inherit pypi python_setuptools_build_meta ptest |
9 | 9 | ||
@@ -11,9 +11,11 @@ SRC_URI += " \ | |||
11 | file://run-ptest \ | 11 | file://run-ptest \ |
12 | " | 12 | " |
13 | 13 | ||
14 | # python-misc for wsgiref | ||
14 | RDEPENDS:${PN}-ptest += " \ | 15 | RDEPENDS:${PN}-ptest += " \ |
15 | python3-eventlet \ | 16 | python3-eventlet \ |
16 | python3-gevent \ | 17 | python3-gevent \ |
18 | python3-misc \ | ||
17 | python3-pytest \ | 19 | python3-pytest \ |
18 | python3-unittest-automake-output \ | 20 | python3-unittest-automake-output \ |
19 | " | 21 | " |
diff --git a/meta-python/recipes-devtools/python/python3-h11_0.14.0.bb b/meta-python/recipes-devtools/python/python3-h11_0.16.0.bb index 2bddefa3f0..a47e6ab61e 100644 --- a/meta-python/recipes-devtools/python/python3-h11_0.14.0.bb +++ b/meta-python/recipes-devtools/python/python3-h11_0.16.0.bb | |||
@@ -5,6 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f5501d19c3116f4aaeef89369f458693" | |||
5 | 5 | ||
6 | inherit pypi setuptools3 | 6 | inherit pypi setuptools3 |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "8f19fbbe99e72420ff35c00b27a34cb9937e902a8b810e2c88300c6f0a3b699d" | 8 | SRC_URI[sha256sum] = "4e35b956cf45792e4caa5885e69fba00bdbc6ffafbfa020300e549b208ee5ff1" |
9 | 9 | ||
10 | RDEPENDS:${PN} += "python3-profile" | 10 | RDEPENDS:${PN} += "python3-profile" |
diff --git a/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch b/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch index 0b8555734a..e24d4f9225 100644 --- a/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch +++ b/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 6f8cee826ef9309c174aa97cb6af2ba532ed9dba Mon Sep 17 00:00:00 2001 | 1 | From 76f7c7e6efd8166342cc3c84e53d4e18dbdeda13 Mon Sep 17 00:00:00 2001 |
2 | From: Mingli Yu <mingli.yu@windriver.com> | 2 | From: Mingli Yu <mingli.yu@windriver.com> |
3 | Date: Thu, 28 Jan 2021 18:44:10 -0800 | 3 | Date: Thu, 28 Jan 2021 18:44:10 -0800 |
4 | Subject: [PATCH] setup_build.py: avoid absolute path | 4 | Subject: [PATCH] setup_build.py: avoid absolute path |
@@ -9,13 +9,12 @@ Upstream-Status: Submitted [https://github.com/h5py/h5py/pull/1803] | |||
9 | 9 | ||
10 | Signed-off-by: Mingli Yu <mingli.yu@windriver.com> | 10 | Signed-off-by: Mingli Yu <mingli.yu@windriver.com> |
11 | Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> | 11 | Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> |
12 | |||
13 | --- | 12 | --- |
14 | setup_build.py | 2 +- | 13 | setup_build.py | 2 +- |
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | 14 | 1 file changed, 1 insertion(+), 1 deletion(-) |
16 | 15 | ||
17 | diff --git a/setup_build.py b/setup_build.py | 16 | diff --git a/setup_build.py b/setup_build.py |
18 | index 78c6677..64db7f7 100644 | 17 | index 9b4766e..a411462 100644 |
19 | --- a/setup_build.py | 18 | --- a/setup_build.py |
20 | +++ b/setup_build.py | 19 | +++ b/setup_build.py |
21 | @@ -21,7 +21,7 @@ from setup_configure import BuildConfig | 20 | @@ -21,7 +21,7 @@ from setup_configure import BuildConfig |
@@ -26,4 +25,4 @@ index 78c6677..64db7f7 100644 | |||
26 | + return op.join(*args) | 25 | + return op.join(*args) |
27 | 26 | ||
28 | 27 | ||
29 | MODULES = ['defs', '_errors', '_objects', '_proxy', 'h5fd', 'h5z', | 28 | MODULES_NUMPY2 = ['_npystrings'] |
diff --git a/meta-python/recipes-devtools/python/python3-h5py_3.11.0.bb b/meta-python/recipes-devtools/python/python3-h5py_3.14.0.bb index 1cf5f5638e..da280d1253 100644 --- a/meta-python/recipes-devtools/python/python3-h5py_3.11.0.bb +++ b/meta-python/recipes-devtools/python/python3-h5py_3.14.0.bb | |||
@@ -4,16 +4,15 @@ SECTION = "devel/python" | |||
4 | LICENSE = "BSD-3-Clause" | 4 | LICENSE = "BSD-3-Clause" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=113251d71fb0384712c719b567261c5c" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=113251d71fb0384712c719b567261c5c" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "7b7e8f78072a2edec87c9836f25f34203fd492a4475709a18b417a33cfb21fa9" | 7 | SRC_URI[sha256sum] = "2372116b2e0d5d3e5e705b7f663f7c8d96fa79a4052d250484ef91d24d6a08f4" |
8 | 8 | ||
9 | SRC_URI += "file://0001-setup_build.py-avoid-absolute-path.patch" | 9 | SRC_URI += "file://0001-setup_build.py-avoid-absolute-path.patch" |
10 | 10 | ||
11 | inherit pkgconfig pypi setuptools3 | 11 | inherit pkgconfig pypi python_setuptools_build_meta cython |
12 | 12 | ||
13 | BBCLASSEXTEND = "native" | 13 | BBCLASSEXTEND = "native" |
14 | 14 | ||
15 | DEPENDS = "python3-pkgconfig-native \ | 15 | DEPENDS = "python3-pkgconfig-native \ |
16 | python3-cython-native \ | ||
17 | python3-numpy-native \ | 16 | python3-numpy-native \ |
18 | python3-six-native \ | 17 | python3-six-native \ |
19 | hdf5-native \ | 18 | hdf5-native \ |
@@ -21,19 +20,7 @@ DEPENDS = "python3-pkgconfig-native \ | |||
21 | hdf5 \ | 20 | hdf5 \ |
22 | " | 21 | " |
23 | 22 | ||
24 | PACKAGESPLITFUNCS =+ "fix_cythonized_sources" | ||
25 | |||
26 | fix_cythonized_sources() { | ||
27 | for f in `grep -l -r -e '\/* Generated by Cython.*/$' ${PKGD}${TARGET_DBGSRC_DIR}`; do | ||
28 | if [ -e $f ]; then | ||
29 | sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' $f | ||
30 | fi | ||
31 | done | ||
32 | } | ||
33 | |||
34 | RDEPENDS:${PN} = "python3-numpy \ | 23 | RDEPENDS:${PN} = "python3-numpy \ |
35 | python3-six \ | 24 | python3-six \ |
36 | python3-json \ | 25 | python3-json \ |
37 | " | 26 | " |
38 | |||
39 | export HDF5_VERSION="1.14.0" | ||
diff --git a/meta-python/recipes-devtools/python/python3-hatch-requirements-txt_0.4.1.bb b/meta-python/recipes-devtools/python/python3-hatch-requirements-txt_0.4.1.bb new file mode 100644 index 0000000000..d9026e4577 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-hatch-requirements-txt_0.4.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | SUMMARY = "Hatchling plugin to read project dependencies from requirements.txt" | ||
2 | HOMEPAGE = "https://github.com/repo-helper/hatch-requirements-txt" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=58206c261591d2c13b00ab61cec32abe" | ||
5 | |||
6 | SRC_URI[sha256sum] = "2c686e5758fd05bb55fa7d0c198fdd481f8d3aaa3c693260f5c0d74ce3547d20" | ||
7 | |||
8 | PYPI_PACKAGE = "hatch_requirements_txt" | ||
9 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
10 | |||
11 | inherit pypi python_hatchling | ||
12 | |||
13 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-haversine_2.8.1.bb b/meta-python/recipes-devtools/python/python3-haversine_2.8.1.bb deleted file mode 100644 index e45ae79860..0000000000 --- a/meta-python/recipes-devtools/python/python3-haversine_2.8.1.bb +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | SUMMARY = "Calculate the distance between 2 points on Earth" | ||
2 | LICENSE = "MIT" | ||
3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | ||
4 | |||
5 | SRC_URI[sha256sum] = "ab750caa0c8f2168bd7b00a429757a83a8393be1aa30f91c2becf6b523189e2a" | ||
6 | |||
7 | inherit pypi setuptools3 | ||
8 | |||
9 | RDEPENDS:${PN} += "python3-numpy" | ||
10 | |||
11 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-haversine_2.9.0.bb b/meta-python/recipes-devtools/python/python3-haversine_2.9.0.bb new file mode 100644 index 0000000000..2dfb3356a7 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-haversine_2.9.0.bb | |||
@@ -0,0 +1,11 @@ | |||
1 | SUMMARY = "Calculate the distance between 2 points on Earth" | ||
2 | LICENSE = "MIT" | ||
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=20a52d2c688975e989fcbee3e6c8d1a1" | ||
4 | |||
5 | SRC_URI[sha256sum] = "1103d7e1f0f108c25b31b63452c54d9d6f29389a70de7dd75fd4b908329b6fcf" | ||
6 | |||
7 | inherit pypi setuptools3 | ||
8 | |||
9 | RDEPENDS:${PN} += "python3-numpy" | ||
10 | |||
11 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-hexbytes_1.2.1.bb b/meta-python/recipes-devtools/python/python3-hexbytes_1.3.1.bb index c8e34fc401..79eb54255e 100644 --- a/meta-python/recipes-devtools/python/python3-hexbytes_1.2.1.bb +++ b/meta-python/recipes-devtools/python/python3-hexbytes_1.3.1.bb | |||
@@ -2,9 +2,9 @@ SUMMARY = "Python bytes subclass that decodes hex, with a readable console outpu | |||
2 | HOMEPAGE = "https://github.com/ethereum/hexbytes" | 2 | HOMEPAGE = "https://github.com/ethereum/hexbytes" |
3 | SECTION = "devel/python" | 3 | SECTION = "devel/python" |
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=16ffc86adf4293d4cfb204e77d62cfe6" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a26e64020156e806cf0054a6d504b301" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "515f00dddf31053db4d0d7636dd16061c1d896c3109b8e751005db4ca46bcca7" | 7 | SRC_URI[sha256sum] = "a657eebebdfe27254336f98d8af6e2236f3f83aed164b87466b6cf6c5f5a4765" |
8 | 8 | ||
9 | inherit pypi setuptools3 | 9 | inherit pypi setuptools3 |
10 | 10 | ||
diff --git a/meta-python/recipes-devtools/python/python3-html2text/run-ptest b/meta-python/recipes-devtools/python/python3-html2text/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-html2text/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-html2text_2024.2.26.bb b/meta-python/recipes-devtools/python/python3-html2text_2024.2.26.bb deleted file mode 100644 index 4a7ce1e5bc..0000000000 --- a/meta-python/recipes-devtools/python/python3-html2text_2024.2.26.bb +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | SUMMARY = "Convert HTML to Markdown-formatted text" | ||
2 | HOMEPAGE = "https://github.com/Alir3z4/html2text" | ||
3 | |||
4 | LICENSE = "GPL-3.0-only" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | ||
6 | |||
7 | SRC_URI[sha256sum] = "05f8e367d15aaabc96415376776cdd11afd5127a77fce6e36afc60c563ca2c32" | ||
8 | |||
9 | inherit pypi setuptools3 ptest | ||
10 | |||
11 | SRC_URI += " \ | ||
12 | file://run-ptest \ | ||
13 | " | ||
14 | |||
15 | RDEPENDS:${PN}-ptest += " \ | ||
16 | python3-pytest \ | ||
17 | python3-unittest-automake-output \ | ||
18 | " | ||
19 | |||
20 | RDEPENDS:${PN} += "python3-cgitb" | ||
21 | |||
22 | do_install_ptest() { | ||
23 | install -d ${D}${PTEST_PATH}/test | ||
24 | cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ | ||
25 | } | ||
26 | |||
27 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-html2text_2025.4.15.bb b/meta-python/recipes-devtools/python/python3-html2text_2025.4.15.bb new file mode 100644 index 0000000000..2734dcbdee --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-html2text_2025.4.15.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | SUMMARY = "Convert HTML to Markdown-formatted text" | ||
2 | HOMEPAGE = "https://github.com/Alir3z4/html2text" | ||
3 | |||
4 | LICENSE = "GPL-3.0-only" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | ||
6 | |||
7 | SRC_URI[sha256sum] = "948a645f8f0bc3abe7fd587019a2197a12436cd73d0d4908af95bfc8da337588" | ||
8 | |||
9 | inherit pypi python_setuptools_build_meta ptest-python-pytest | ||
10 | |||
11 | PTEST_PYTEST_DIR = "test" | ||
12 | |||
13 | DEPENDS += " \ | ||
14 | python3-setuptools-scm-native \ | ||
15 | python3-toml-native \ | ||
16 | " | ||
17 | |||
18 | RDEPENDS:${PN} += "python3-html" | ||
19 | |||
20 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-html5lib_1.1.bb b/meta-python/recipes-devtools/python/python3-html5lib_1.1.bb index d6272a07c3..94fbe0455e 100644 --- a/meta-python/recipes-devtools/python/python3-html5lib_1.1.bb +++ b/meta-python/recipes-devtools/python/python3-html5lib_1.1.bb | |||
@@ -2,7 +2,6 @@ SUMMARY = "HTML parser based on the WHATWG HTML specifcation" | |||
2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1ba5ada9e6fead1fdc32f43c9f10ba7c" | 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1ba5ada9e6fead1fdc32f43c9f10ba7c" |
4 | 4 | ||
5 | SRC_URI[md5sum] = "6748742e2ec4cb99287a6bc82bcfe2b0" | ||
6 | SRC_URI[sha256sum] = "b2e5b40261e20f354d198eae92afc10d750afb487ed5e50f9c4eaf07c184146f" | 5 | SRC_URI[sha256sum] = "b2e5b40261e20f354d198eae92afc10d750afb487ed5e50f9c4eaf07c184146f" |
7 | 6 | ||
8 | inherit pypi setuptools3 | 7 | inherit pypi setuptools3 |
diff --git a/meta-python/recipes-devtools/python/python3-httpcore_1.0.5.bb b/meta-python/recipes-devtools/python/python3-httpcore_1.0.9.bb index 6b0f8af4d5..d8f8400006 100644 --- a/meta-python/recipes-devtools/python/python3-httpcore_1.0.5.bb +++ b/meta-python/recipes-devtools/python/python3-httpcore_1.0.9.bb | |||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=1c1f23b073da202e1f4f9e426490210c" | |||
5 | 5 | ||
6 | inherit pypi python_hatchling | 6 | inherit pypi python_hatchling |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "34a38e2f9291467ee3b44e89dd52615370e152954ba21721378a87b2960f7a61" | 8 | SRC_URI[sha256sum] = "6e34463af53fd2ab5d807f399a9b45ea31c3dfa2276f15a2c3f00afff6e176e8" |
9 | 9 | ||
10 | DEPENDS += "\ | 10 | DEPENDS += "\ |
11 | python3-hatch-fancy-pypi-readme-native \ | 11 | python3-hatch-fancy-pypi-readme-native \ |
diff --git a/meta-python/recipes-devtools/python/python3-httptools/run-ptest b/meta-python/recipes-devtools/python/python3-httptools/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-httptools/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-httptools_0.6.1.bb b/meta-python/recipes-devtools/python/python3-httptools_0.6.1.bb deleted file mode 100644 index 4192697df2..0000000000 --- a/meta-python/recipes-devtools/python/python3-httptools_0.6.1.bb +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | SUMMARY = "A collection of framework independent HTTP protocol utils." | ||
2 | HOMEPAGE = "https://github.com/MagicStack/httptools" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0a2d82955bf3facdf04cb882655e840e" | ||
5 | |||
6 | inherit pypi setuptools3 ptest | ||
7 | |||
8 | SRC_URI[sha256sum] = "c6e26c30455600b95d94b1b836085138e82f177351454ee841c148f93a9bad5a" | ||
9 | |||
10 | SRC_URI += " \ | ||
11 | file://run-ptest \ | ||
12 | " | ||
13 | |||
14 | RDEPENDS:${PN}-ptest += " \ | ||
15 | python3-pytest \ | ||
16 | python3-unittest-automake-output \ | ||
17 | " | ||
18 | |||
19 | do_install_ptest() { | ||
20 | install -d ${D}${PTEST_PATH}/tests | ||
21 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
22 | } | ||
diff --git a/meta-python/recipes-devtools/python/python3-httptools_0.6.4.bb b/meta-python/recipes-devtools/python/python3-httptools_0.6.4.bb new file mode 100644 index 0000000000..49f14da206 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-httptools_0.6.4.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | SUMMARY = "A collection of framework independent HTTP protocol utils." | ||
2 | HOMEPAGE = "https://github.com/MagicStack/httptools" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0a2d82955bf3facdf04cb882655e840e" | ||
5 | |||
6 | inherit pypi setuptools3 ptest-python-pytest | ||
7 | |||
8 | SRC_URI[sha256sum] = "4e93eee4add6493b59a5c514da98c939b244fce4a0d8879cd3f466562f4b7d5c" | ||
diff --git a/meta-python/recipes-devtools/python/python3-httpx_0.27.0.bb b/meta-python/recipes-devtools/python/python3-httpx_0.28.1.bb index e4d3cbeee8..fc41d7d2b2 100644 --- a/meta-python/recipes-devtools/python/python3-httpx_0.27.0.bb +++ b/meta-python/recipes-devtools/python/python3-httpx_0.28.1.bb | |||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=c624803bdf6fc1c4ce39f5ae11d7bd05" | |||
5 | 5 | ||
6 | inherit pypi python_hatchling | 6 | inherit pypi python_hatchling |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "a0cb88a46f32dc874e04ee956e4c2764aba2aa228f650b06788ba6bda2962ab5" | 8 | SRC_URI[sha256sum] = "75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc" |
9 | 9 | ||
10 | DEPENDS += "\ | 10 | DEPENDS += "\ |
11 | python3-hatch-fancy-pypi-readme-native \ | 11 | python3-hatch-fancy-pypi-readme-native \ |
diff --git a/meta-python/recipes-devtools/python/python3-huey_2.5.0.bb b/meta-python/recipes-devtools/python/python3-huey_2.5.3.bb index c6e5606090..cb033712d9 100644 --- a/meta-python/recipes-devtools/python/python3-huey_2.5.0.bb +++ b/meta-python/recipes-devtools/python/python3-huey_2.5.3.bb | |||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5cac039fcc82f01141cc170b48f315d4" | |||
5 | 5 | ||
6 | PYPI_PACKAGE = "huey" | 6 | PYPI_PACKAGE = "huey" |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "2ffb52fb5c46a1b0d53c79d59df3622312b27e2ab68d81a580985a8ea4ca3480" | 8 | SRC_URI[sha256sum] = "089fc72b97fd26a513f15b09925c56fad6abe4a699a1f0e902170b37e85163c7" |
9 | 9 | ||
10 | RDEPENDS:${PN} += " \ | 10 | RDEPENDS:${PN} += " \ |
11 | python3-datetime \ | 11 | python3-datetime \ |
diff --git a/meta-python/recipes-devtools/python/python3-humanize_4.9.0.bb b/meta-python/recipes-devtools/python/python3-humanize_4.12.3.bb index da1eea4cf7..7b32cfba56 100644 --- a/meta-python/recipes-devtools/python/python3-humanize_4.9.0.bb +++ b/meta-python/recipes-devtools/python/python3-humanize_4.12.3.bb | |||
@@ -1,11 +1,11 @@ | |||
1 | SUMMARY = "Python humanize utilities" | 1 | SUMMARY = "Python humanize utilities" |
2 | HOMEPAGE = "http://github.com/jmoiron/humanize" | 2 | HOMEPAGE = "https://github.com/jmoiron/humanize" |
3 | SECTION = "devel/python" | 3 | SECTION = "devel/python" |
4 | 4 | ||
5 | LICENSE = "MIT" | 5 | LICENSE = "MIT" |
6 | LIC_FILES_CHKSUM = "file://LICENCE;md5=4ecc42519e84f6f3e23529464df7bd1d" | 6 | LIC_FILES_CHKSUM = "file://LICENCE;md5=4ecc42519e84f6f3e23529464df7bd1d" |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "582a265c931c683a7e9b8ed9559089dea7edcf6cc95be39a3cbc2c5d5ac2bcfa" | 8 | SRC_URI[sha256sum] = "8430be3a615106fdfceb0b2c1b41c4c98c6b0fc5cc59663a5539b111dd325fb0" |
9 | 9 | ||
10 | inherit pypi python_hatchling | 10 | inherit pypi python_hatchling |
11 | 11 | ||
diff --git a/meta-python/recipes-devtools/python/python3-icecream_2.1.3.bb b/meta-python/recipes-devtools/python/python3-icecream_2.1.4.bb index ec3a4b90f1..e417564fa9 100644 --- a/meta-python/recipes-devtools/python/python3-icecream_2.1.3.bb +++ b/meta-python/recipes-devtools/python/python3-icecream_2.1.4.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/gruns/icecream" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=eca5ce1610d64ed40920efdce85ff8d1" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=eca5ce1610d64ed40920efdce85ff8d1" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "0aa4a7c3374ec36153a1d08f81e3080e83d8ac1eefd97d2f4fe9544e8f9b49de" | 6 | SRC_URI[sha256sum] = "58755e58397d5350a76f25976dee7b607f5febb3c6e1cddfe6b1951896e91573" |
7 | 7 | ||
8 | inherit pypi setuptools3 | 8 | inherit pypi setuptools3 |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-icu/0001-Remove-assert-checking-for-trivial-type.patch b/meta-python/recipes-devtools/python/python3-icu/0001-Remove-assert-checking-for-trivial-type.patch new file mode 100644 index 0000000000..4c75eb5f7b --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-icu/0001-Remove-assert-checking-for-trivial-type.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From 3d58fb48bb1cef2177aab8e291167638993495f4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 3 May 2025 21:27:34 -0700 | ||
4 | Subject: [PATCH] Remove assert checking for trivial type | ||
5 | |||
6 | This fails with GCC-15, is_trivial is deprecated in C++26 | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | |||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
11 | --- | ||
12 | arg.h | 1 - | ||
13 | 1 file changed, 1 deletion(-) | ||
14 | |||
15 | diff --git a/arg.h b/arg.h | ||
16 | index a493d11..6cb232d 100644 | ||
17 | --- a/arg.h | ||
18 | +++ b/arg.h | ||
19 | @@ -853,7 +853,6 @@ public: | ||
20 | }; | ||
21 | |||
22 | #define _IS_POD(T) \ | ||
23 | - static_assert(std::is_trivial<T>::value); \ | ||
24 | static_assert(std::is_standard_layout<T>::value) | ||
25 | |||
26 | _IS_POD(AnyPythonObject); | ||
diff --git a/meta-python/recipes-devtools/python/python3-icu_2.13.1.bb b/meta-python/recipes-devtools/python/python3-icu_2.15.2.bb index 6a590de5fd..8331f9175a 100644 --- a/meta-python/recipes-devtools/python/python3-icu_2.13.1.bb +++ b/meta-python/recipes-devtools/python/python3-icu_2.15.2.bb | |||
@@ -7,13 +7,15 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=0724597863f1581ab01429e0423e779f" | |||
7 | 7 | ||
8 | DEPENDS += "icu" | 8 | DEPENDS += "icu" |
9 | 9 | ||
10 | PYPI_PACKAGE = "PyICU" | 10 | PYPI_PACKAGE = "pyicu" |
11 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
11 | 12 | ||
12 | SRC_URI[sha256sum] = "d4919085eaa07da12bade8ee721e7bbf7ade0151ca0f82946a26c8f4b98cdceb" | 13 | SRC_URI[sha256sum] = "561e77eedff17cec6839f26211f7a5ce3c071b776e8a0ec9d1207f46cbce598f" |
13 | 14 | ||
14 | SRC_URI += "file://0001-Fix-host-contamination-of-include-files.patch" | 15 | SRC_URI += "file://0001-Fix-host-contamination-of-include-files.patch \ |
16 | file://0001-Remove-assert-checking-for-trivial-type.patch" | ||
15 | 17 | ||
16 | inherit pkgconfig pypi python_setuptools_build_meta | 18 | inherit pkgconfig pypi python_setuptools_build_meta |
17 | 19 | ||
18 | # it's lowercase pyicu instead of ${PYPI_PACKAGE} in this version | 20 | # it's lowercase pyicu instead of ${PYPI_PACKAGE} in this version |
19 | S = "${WORKDIR}/pyicu-${PV}" | 21 | S = "${UNPACKDIR}/pyicu-${PV}" |
diff --git a/meta-python/recipes-devtools/python/python3-idna-ssl_1.1.0.bb b/meta-python/recipes-devtools/python/python3-idna-ssl_1.1.0.bb index 503b79d667..331dc0355c 100644 --- a/meta-python/recipes-devtools/python/python3-idna-ssl_1.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-idna-ssl_1.1.0.bb | |||
@@ -6,10 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a61b9c5aec8796b64a6bf15d42605073" | |||
6 | SRC_URI[sha256sum] = "a933e3bb13da54383f9e8f35dc4f9cb9eb9b3b78c6b36f311254d6d0d92c6c7c" | 6 | SRC_URI[sha256sum] = "a933e3bb13da54383f9e8f35dc4f9cb9eb9b3b78c6b36f311254d6d0d92c6c7c" |
7 | 7 | ||
8 | PYPI_PACKAGE = "idna-ssl" | 8 | PYPI_PACKAGE = "idna-ssl" |
9 | inherit pypi setuptools3 | 9 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" |
10 | 10 | ||
11 | UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/idna_ssl/" | 11 | inherit pypi setuptools3 |
12 | UPSTREAM_CHECK_REGEX = "/idna_ssl/(?P<pver>(\d+[\.\-_]*)+)" | ||
13 | 12 | ||
14 | RDEPENDS:${PN} += " \ | 13 | RDEPENDS:${PN} += " \ |
15 | python3-idna \ | 14 | python3-idna \ |
diff --git a/meta-python/recipes-devtools/python/python3-imageio_2.34.1.bb b/meta-python/recipes-devtools/python/python3-imageio_2.37.0.bb index 45772ef8e1..5de9ee466c 100644 --- a/meta-python/recipes-devtools/python/python3-imageio_2.34.1.bb +++ b/meta-python/recipes-devtools/python/python3-imageio_2.37.0.bb | |||
@@ -5,7 +5,7 @@ SECTION = "devel/python" | |||
5 | LICENSE = "BSD-2-Clause" | 5 | LICENSE = "BSD-2-Clause" |
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=24cb9a367a9e641b459a01c4d15256ba" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=24cb9a367a9e641b459a01c4d15256ba" |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "f13eb76e4922f936ac4a7fec77ce8a783e63b93543d4ea3e40793a6cabd9ac7d" | 8 | SRC_URI[sha256sum] = "71b57b3669666272c818497aebba2b4c5f20d5b37c81720e5e1a56d59c492996" |
9 | 9 | ||
10 | inherit pypi setuptools3 | 10 | inherit pypi setuptools3 |
11 | 11 | ||
diff --git a/meta-python/recipes-devtools/python/python3-imgtool_2.1.0.bb b/meta-python/recipes-devtools/python/python3-imgtool_2.2.0.bb index aafcf38272..192c8e895a 100644 --- a/meta-python/recipes-devtools/python/python3-imgtool_2.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-imgtool_2.2.0.bb | |||
@@ -3,7 +3,7 @@ SUMMARY = "MCUboot's image signing and key management tool" | |||
3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
4 | LIC_FILES_CHKSUM = "file://imgtool/main.py;beginline=3;endline=18;md5=0645fb61e2f961a110302fbfdb227446" | 4 | LIC_FILES_CHKSUM = "file://imgtool/main.py;beginline=3;endline=18;md5=0645fb61e2f961a110302fbfdb227446" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "4f7fbcdf53c44eaaa6226504510ccb52f7ef00c997503cf94934b330c9607b60" | 6 | SRC_URI[sha256sum] = "5c873a11895e36d0eb99e8366a43a3ae2270cc4f419e36b693428918255164cf" |
7 | 7 | ||
8 | inherit pypi setuptools3 | 8 | inherit pypi setuptools3 |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-importlib-metadata_8.7.0.bb b/meta-python/recipes-devtools/python/python3-importlib-metadata_8.7.0.bb new file mode 100644 index 0000000000..af716ffeb6 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-importlib-metadata_8.7.0.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | SUMMARY = "Read metadata from Python packages" | ||
2 | HOMEPAGE = "https://pypi.org/project/importlib-metadata/" | ||
3 | LICENSE = "Apache-2.0" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | ||
5 | |||
6 | inherit pypi python_setuptools_build_meta | ||
7 | |||
8 | PYPI_PACKAGE = "importlib_metadata" | ||
9 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
10 | |||
11 | SRC_URI[sha256sum] = "d13b81ad223b890aa16c5471f2ac3056cf76c5f10f82d6f9292f0b415f389000" | ||
12 | |||
13 | S = "${UNPACKDIR}/importlib_metadata-${PV}" | ||
14 | |||
15 | DEPENDS += "python3-setuptools-scm-native" | ||
16 | RDEPENDS:${PN} += "python3-zipp" | ||
17 | RDEPENDS:${PN}:append:class-target = " python3-misc" | ||
18 | RDEPENDS:${PN}:append:class-nativesdk = " python3-misc" | ||
19 | |||
20 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-incremental_22.10.0.bb b/meta-python/recipes-devtools/python/python3-incremental_22.10.0.bb deleted file mode 100644 index 503ef35a9e..0000000000 --- a/meta-python/recipes-devtools/python/python3-incremental_22.10.0.bb +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | DESCRIPTION = "Incremental is a small library that versions your Python projects" | ||
2 | HOMEPAGE = "https://github.com/twisted/incremental" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=6ca9b07f08e2c72d48c74d363d1e0e15" | ||
5 | |||
6 | SRC_URI[sha256sum] = "912feeb5e0f7e0188e6f42241d2f450002e11bbc0937c65865045854c24c0bd0" | ||
7 | |||
8 | inherit pypi python_setuptools_build_meta | ||
9 | |||
10 | RDEPENDS:${PN} += " \ | ||
11 | python3-twisted-core \ | ||
12 | python3-click \ | ||
13 | " | ||
14 | |||
15 | # -native is needed to build python[3]-twisted, however, we need to take steps to | ||
16 | # prevent a circular dependency. The build apparently does not use the part of | ||
17 | # python-incremental which uses python-twisted, so this hack is OK. | ||
18 | RDEPENDS:python3-incremental-native:remove = "python3-twisted-core-native" | ||
19 | BBCLASSEXTEND = "native" | ||
diff --git a/meta-python/recipes-devtools/python/python3-incremental_24.7.2.bb b/meta-python/recipes-devtools/python/python3-incremental_24.7.2.bb new file mode 100644 index 0000000000..dc8ecb3302 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-incremental_24.7.2.bb | |||
@@ -0,0 +1,33 @@ | |||
1 | DESCRIPTION = "Incremental is a small library that versions your Python projects" | ||
2 | HOMEPAGE = "https://github.com/twisted/incremental" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=6ca9b07f08e2c72d48c74d363d1e0e15" | ||
5 | |||
6 | SRC_URI[sha256sum] = "fb4f1d47ee60efe87d4f6f0ebb5f70b9760db2b2574c59c8e8912be4ebd464c9" | ||
7 | |||
8 | inherit pypi python_setuptools_build_meta | ||
9 | |||
10 | PACKAGE_BEFORE_PN = "\ | ||
11 | ${PN}-scripts \ | ||
12 | ${PN}-tests \ | ||
13 | " | ||
14 | |||
15 | FILES:${PN}-scripts = "\ | ||
16 | ${PYTHON_SITEPACKAGES_DIR}/incremental/update.py \ | ||
17 | ${PYTHON_SITEPACKAGES_DIR}/incremental/__pycache__/update*.pyc \ | ||
18 | " | ||
19 | |||
20 | RDEPENDS:${PN}-scripts = "\ | ||
21 | python3-click \ | ||
22 | " | ||
23 | |||
24 | FILES:${PN}-tests = "${PYTHON_SITEPACKAGES_DIR}/incremental/tests" | ||
25 | |||
26 | # The tests require unit testing tool 'trial' from the twisted package | ||
27 | RDEPENDS:${PN}-tests = "\ | ||
28 | ${PN}-scripts \ | ||
29 | python3-twisted \ | ||
30 | " | ||
31 | |||
32 | BBCLASSEXTEND = "native" | ||
33 | |||
diff --git a/meta-python/recipes-devtools/python/python3-inflate64_1.0.0.bb b/meta-python/recipes-devtools/python/python3-inflate64_1.0.3.bb index 2ccc98e36b..a6f0c67ab8 100644 --- a/meta-python/recipes-devtools/python/python3-inflate64_1.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-inflate64_1.0.3.bb | |||
@@ -4,11 +4,11 @@ LICENSE = "LGPL-2.1-or-later" | |||
4 | SECTION = "devel/python" | 4 | SECTION = "devel/python" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" |
6 | 6 | ||
7 | inherit setuptools3 pypi | 7 | inherit python_setuptools_build_meta pypi |
8 | 8 | ||
9 | SRC_URI[sha256sum] = "3278827b803cf006a1df251f3e13374c7d26db779e5a33329cc11789b804bc2d" | 9 | SRC_URI[sha256sum] = "a89edd416c36eda0c3a5d32f31ff1555db2c5a3884aa8df95e8679f8203e12ee" |
10 | 10 | ||
11 | PYPI_PACKAGE = "inflate64" | 11 | DEPENDS += "python3-setuptools-scm-native" |
12 | 12 | ||
13 | RDEPENDS:${PN} += "\ | 13 | RDEPENDS:${PN} += "\ |
14 | python3-core \ | 14 | python3-core \ |
diff --git a/meta-python/recipes-devtools/python/python3-inflection/run-ptest b/meta-python/recipes-devtools/python/python3-inflection/run-ptest deleted file mode 100644 index f1c8729f0e..0000000000 --- a/meta-python/recipes-devtools/python/python3-inflection/run-ptest +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
4 | |||
diff --git a/meta-python/recipes-devtools/python/python3-inflection_0.5.1.bb b/meta-python/recipes-devtools/python/python3-inflection_0.5.1.bb index 5c6f4e2356..368b9e49b7 100644 --- a/meta-python/recipes-devtools/python/python3-inflection_0.5.1.bb +++ b/meta-python/recipes-devtools/python/python3-inflection_0.5.1.bb | |||
@@ -4,21 +4,11 @@ LICENSE = "MIT" | |||
4 | SECTION = "devel/python" | 4 | SECTION = "devel/python" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2fb6fa1a6f1792d78de19ad1bb653c31" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2fb6fa1a6f1792d78de19ad1bb653c31" |
6 | 6 | ||
7 | SRC_URI[md5sum] = "c3287d4f0e3bdf625a52d655cc514403" | ||
8 | SRC_URI[sha256sum] = "1a29730d366e996aaacffb2f1f1cb9593dc38e2ddd30c91250c6dde09ea9b417" | 7 | SRC_URI[sha256sum] = "1a29730d366e996aaacffb2f1f1cb9593dc38e2ddd30c91250c6dde09ea9b417" |
9 | 8 | ||
10 | inherit pypi setuptools3 ptest | 9 | inherit pypi setuptools3 ptest-python-pytest |
11 | 10 | ||
12 | SRC_URI +=" \ | 11 | do_install_ptest:append () { |
13 | file://run-ptest \ | ||
14 | " | ||
15 | |||
16 | RDEPENDS:${PN}-ptest +=" \ | ||
17 | python3-pytest \ | ||
18 | python3-unittest-automake-output \ | ||
19 | " | ||
20 | |||
21 | do_install_ptest() { | ||
22 | cp -f ${S}/test_inflection.py ${D}${PTEST_PATH}/ | 12 | cp -f ${S}/test_inflection.py ${D}${PTEST_PATH}/ |
23 | } | 13 | } |
24 | 14 | ||
diff --git a/meta-python/recipes-devtools/python/python3-inline-snapshot_0.23.2.bb b/meta-python/recipes-devtools/python/python3-inline-snapshot_0.23.2.bb new file mode 100644 index 0000000000..247ceed88d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-inline-snapshot_0.23.2.bb | |||
@@ -0,0 +1,21 @@ | |||
1 | SUMMARY = "golden master/snapshot/approval testing library which puts the values right into your source code" | ||
2 | HOMEPAGE = "https://15r10nk.github.io/inline-snapshot" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7a35eb90dfdf03953dd2074d0fdba1d4" | ||
5 | |||
6 | DEPENDS = "python3-hatchling-native" | ||
7 | SRC_URI[sha256sum] = "440060e090db0da98bd1dea5d9c346291a0c7388213ff9437411ed59885a956d" | ||
8 | |||
9 | inherit pypi python_hatchling | ||
10 | |||
11 | PYPI_PACKAGE = "inline_snapshot" | ||
12 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
13 | |||
14 | RDEPENDS:${PN} = "python3-asttokens \ | ||
15 | python3-black \ | ||
16 | python3-click \ | ||
17 | python3-executing \ | ||
18 | python3-rich \ | ||
19 | python3-tomli \ | ||
20 | python3-typing-extensions \ | ||
21 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-inotify/run-ptest b/meta-python/recipes-devtools/python/python3-inotify/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-inotify/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-inotify_git.bb b/meta-python/recipes-devtools/python/python3-inotify_git.bb index 582599bca8..e8d88250a3 100644 --- a/meta-python/recipes-devtools/python/python3-inotify_git.bb +++ b/meta-python/recipes-devtools/python/python3-inotify_git.bb | |||
@@ -8,26 +8,14 @@ SRC_URI[sha256sum] = "974a623a338482b62e16d4eb705fb863ed33ec178680fc3e96ccdf0df6 | |||
8 | SRC_URI = " \ | 8 | SRC_URI = " \ |
9 | git://github.com/dsoprea/pyinotify.git;branch=master;protocol=https \ | 9 | git://github.com/dsoprea/pyinotify.git;branch=master;protocol=https \ |
10 | file://new-test-inotify.patch \ | 10 | file://new-test-inotify.patch \ |
11 | file://run-ptest \ | ||
12 | " | 11 | " |
13 | 12 | ||
14 | SRCREV = "9be6a51d1660991562eefaaddefa757ca0e0e00f" | 13 | SRCREV = "9be6a51d1660991562eefaaddefa757ca0e0e00f" |
15 | 14 | ||
16 | S = "${WORKDIR}/git" | ||
17 | 15 | ||
18 | inherit setuptools3 ptest | 16 | inherit setuptools3 ptest-python-pytest |
19 | 17 | ||
20 | RDEPENDS:${PN} += " \ | 18 | RDEPENDS:${PN} += " \ |
21 | python3-ctypes \ | 19 | python3-ctypes \ |
22 | python3-logging \ | 20 | python3-logging \ |
23 | " | 21 | " |
24 | |||
25 | RDEPENDS:${PN}-ptest += " \ | ||
26 | python3-pytest \ | ||
27 | python3-unittest-automake-output \ | ||
28 | " | ||
29 | |||
30 | do_install_ptest() { | ||
31 | install -d ${D}${PTEST_PATH}/tests | ||
32 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
33 | } | ||
diff --git a/meta-python/recipes-devtools/python/python3-intervals/run-ptest b/meta-python/recipes-devtools/python/python3-intervals/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-intervals/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb b/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb index 3c5be47806..dd9f88748b 100644 --- a/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb +++ b/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb | |||
@@ -7,18 +7,9 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=05f1e16a8e59ce3e9a979e881816c2ab" | |||
7 | 7 | ||
8 | PYPI_PACKAGE := "python-intervals" | 8 | PYPI_PACKAGE := "python-intervals" |
9 | 9 | ||
10 | SRC_URI += " \ | 10 | inherit pypi setuptools3 ptest-python-pytest |
11 | file://run-ptest \ | ||
12 | " | ||
13 | 11 | ||
14 | inherit pypi setuptools3 ptest | 12 | do_install_ptest:append () { |
15 | |||
16 | RDEPENDS:${PN}-ptest += " \ | ||
17 | python3-pytest \ | ||
18 | python3-unittest-automake-output \ | ||
19 | " | ||
20 | |||
21 | do_install_ptest() { | ||
22 | cp -f ${S}/test_intervals.py ${D}${PTEST_PATH} | 13 | cp -f ${S}/test_intervals.py ${D}${PTEST_PATH} |
23 | cp -f ${S}/README.md ${D}${PTEST_PATH} | 14 | cp -f ${S}/README.md ${D}${PTEST_PATH} |
24 | } | 15 | } |
diff --git a/meta-python/recipes-devtools/python/python3-ipaddress_1.0.23.bb b/meta-python/recipes-devtools/python/python3-ipaddress_1.0.23.bb index 796213fc67..643878934e 100644 --- a/meta-python/recipes-devtools/python/python3-ipaddress_1.0.23.bb +++ b/meta-python/recipes-devtools/python/python3-ipaddress_1.0.23.bb | |||
@@ -3,7 +3,6 @@ HOMEPAGE = "https://github.com/phihag/ipaddress" | |||
3 | LICENSE = "Python-2.0" | 3 | LICENSE = "Python-2.0" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7f538584cc3407bf76042def7168548a" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7f538584cc3407bf76042def7168548a" |
5 | 5 | ||
6 | SRC_URI[md5sum] = "aaee67a8026782af1831148beb0d9060" | ||
7 | SRC_URI[sha256sum] = "b7f8e0369580bb4a24d5ba1d7cc29660a4a6987763faf1d8a8046830e020e7e2" | 6 | SRC_URI[sha256sum] = "b7f8e0369580bb4a24d5ba1d7cc29660a4a6987763faf1d8a8046830e020e7e2" |
8 | 7 | ||
9 | inherit pypi setuptools3 | 8 | inherit pypi setuptools3 |
diff --git a/meta-python/recipes-devtools/python/python3-ipy/run-ptest b/meta-python/recipes-devtools/python/python3-ipy/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-ipy/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-ipy_1.01.bb b/meta-python/recipes-devtools/python/python3-ipy_1.01.bb index 36d0b9ae27..6a35e12ffe 100644 --- a/meta-python/recipes-devtools/python/python3-ipy_1.01.bb +++ b/meta-python/recipes-devtools/python/python3-ipy_1.01.bb | |||
@@ -9,25 +9,13 @@ HOMEPAGE = "https://github.com/autocracy/python-ipy" | |||
9 | LICENSE = "BSD-3-Clause" | 9 | LICENSE = "BSD-3-Clause" |
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=848d24919845901b4f48bae5f13252e6" | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=848d24919845901b4f48bae5f13252e6" |
11 | 11 | ||
12 | SRC_URI[md5sum] = "d6cf83e7f418ebbd23324ba1c658b907" | ||
13 | SRC_URI[sha256sum] = "edeca741dea2d54aca568fa23740288c3fe86c0f3ea700344571e9ef14a7cc1a" | 12 | SRC_URI[sha256sum] = "edeca741dea2d54aca568fa23740288c3fe86c0f3ea700344571e9ef14a7cc1a" |
14 | 13 | ||
15 | inherit pypi setuptools3_legacy ptest | 14 | inherit pypi setuptools3_legacy ptest-python-pytest |
16 | 15 | ||
17 | SRC_URI += " \ | 16 | PTEST_PYTEST_DIR = "test" |
18 | file://run-ptest \ | ||
19 | " | ||
20 | |||
21 | RDEPENDS:${PN}-ptest += " \ | ||
22 | python3-pytest \ | ||
23 | python3-unittest-automake-output \ | ||
24 | " | ||
25 | |||
26 | do_install_ptest() { | ||
27 | install -d ${D}${PTEST_PATH}/test/ | ||
28 | cp -rf ${S}/test/* ${D}${PTEST_PATH}/test | ||
29 | } | ||
30 | 17 | ||
31 | PYPI_PACKAGE = "IPy" | 18 | PYPI_PACKAGE = "IPy" |
19 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
32 | 20 | ||
33 | BBCLASSEXTEND = "native" | 21 | BBCLASSEXTEND = "native" |
diff --git a/meta-python/recipes-devtools/python/python3-ipython-genutils_0.2.0.bb b/meta-python/recipes-devtools/python/python3-ipython-genutils_0.2.0.bb index 3261d80474..b26a9ebd53 100644 --- a/meta-python/recipes-devtools/python/python3-ipython-genutils_0.2.0.bb +++ b/meta-python/recipes-devtools/python/python3-ipython-genutils_0.2.0.bb | |||
@@ -1,14 +1,11 @@ | |||
1 | SUMMARY = "Vestigial utilities from IPython" | 1 | SUMMARY = "Vestigial utilities from IPython" |
2 | HOMEPAGE = "http://ipython.org" | 2 | HOMEPAGE = "https://ipython.org" |
3 | LICENSE = "BSD-3-Clause" | 3 | LICENSE = "BSD-3-Clause" |
4 | LIC_FILES_CHKSUM = "file://COPYING.md;md5=f7c3032c3ac398265224533a0a333a35" | 4 | LIC_FILES_CHKSUM = "file://COPYING.md;md5=f7c3032c3ac398265224533a0a333a35" |
5 | 5 | ||
6 | PYPI_PACKAGE = "ipython_genutils" | 6 | PYPI_PACKAGE = "ipython_genutils" |
7 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
7 | 8 | ||
8 | UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/ipython_genutils" | ||
9 | UPSTREAM_CHECK_REGEX = "/ipython_genutils/(?P<pver>(\d+[\.\-_]*)+)" | ||
10 | |||
11 | SRC_URI[md5sum] = "5a4f9781f78466da0ea1a648f3e1f79f" | ||
12 | SRC_URI[sha256sum] = "eb2e116e75ecef9d4d228fdc66af54269afa26ab4463042e33785b887c628ba8" | 9 | SRC_URI[sha256sum] = "eb2e116e75ecef9d4d228fdc66af54269afa26ab4463042e33785b887c628ba8" |
13 | 10 | ||
14 | inherit setuptools3 pypi | 11 | inherit setuptools3 pypi |
diff --git a/meta-python/recipes-devtools/python/python3-ipython_8.25.0.bb b/meta-python/recipes-devtools/python/python3-ipython_9.3.0.bb index 2e2d0e1c51..3fabbb1606 100644 --- a/meta-python/recipes-devtools/python/python3-ipython_8.25.0.bb +++ b/meta-python/recipes-devtools/python/python3-ipython_9.3.0.bb | |||
@@ -3,9 +3,7 @@ HOMEPAGE = "https://ipython.org" | |||
3 | LICENSE = "BSD-3-Clause" | 3 | LICENSE = "BSD-3-Clause" |
4 | LIC_FILES_CHKSUM = "file://COPYING.rst;md5=59b20262b8663cdd094005bddf47af5f" | 4 | LIC_FILES_CHKSUM = "file://COPYING.rst;md5=59b20262b8663cdd094005bddf47af5f" |
5 | 5 | ||
6 | PYPI_PACKAGE = "ipython" | 6 | SRC_URI[sha256sum] = "79eb896f9f23f50ad16c3bc205f686f6e030ad246cc309c6279a242b14afe9d8" |
7 | |||
8 | SRC_URI[sha256sum] = "c6ed726a140b6e725b911528f80439c534fac915246af3efc39440a6b0f9d716" | ||
9 | 7 | ||
10 | RDEPENDS:${PN} = "\ | 8 | RDEPENDS:${PN} = "\ |
11 | python3-setuptools \ | 9 | python3-setuptools \ |
@@ -25,4 +23,4 @@ RDEPENDS:${PN} = "\ | |||
25 | python3-stack-data \ | 23 | python3-stack-data \ |
26 | " | 24 | " |
27 | 25 | ||
28 | inherit setuptools3 pypi | 26 | inherit python_setuptools_build_meta pypi |
diff --git a/meta-python/recipes-devtools/python/python3-iso3166/run-ptest b/meta-python/recipes-devtools/python/python3-iso3166/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-iso3166/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-iso3166_2.1.1.bb b/meta-python/recipes-devtools/python/python3-iso3166_2.1.1.bb index 3aa084d10a..6b96f5775c 100644 --- a/meta-python/recipes-devtools/python/python3-iso3166_2.1.1.bb +++ b/meta-python/recipes-devtools/python/python3-iso3166_2.1.1.bb | |||
@@ -5,21 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5e2f4edc7e7408a82e4a1d05f229b695" | |||
5 | 5 | ||
6 | SRC_URI[sha256sum] = "fcd551b8dda66b44e9f9e6d6bbbee3a1145a22447c0a556e5d0fb1ad1e491719" | 6 | SRC_URI[sha256sum] = "fcd551b8dda66b44e9f9e6d6bbbee3a1145a22447c0a556e5d0fb1ad1e491719" |
7 | 7 | ||
8 | inherit pypi python_setuptools_build_meta ptest | 8 | inherit pypi python_setuptools_build_meta ptest-python-pytest |
9 | |||
10 | SRC_URI += " \ | ||
11 | file://run-ptest \ | ||
12 | " | ||
13 | |||
14 | RDEPENDS:${PN}-ptest += " \ | ||
15 | python3-pytest \ | ||
16 | python3-unittest-automake-output \ | ||
17 | " | ||
18 | |||
19 | do_install_ptest() { | ||
20 | install -d ${D}${PTEST_PATH}/tests | ||
21 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
22 | } | ||
23 | 9 | ||
24 | RDEPENDS:${PN} += "python3-numbers" | 10 | RDEPENDS:${PN} += "python3-numbers" |
25 | 11 | ||
diff --git a/meta-python/recipes-devtools/python/python3-isort_5.13.2.bb b/meta-python/recipes-devtools/python/python3-isort_6.0.1.bb index 60d44181c0..cf04452102 100644 --- a/meta-python/recipes-devtools/python/python3-isort_5.13.2.bb +++ b/meta-python/recipes-devtools/python/python3-isort_6.0.1.bb | |||
@@ -2,11 +2,13 @@ SUMMARY = "A Python utility / library to sort Python imports." | |||
2 | HOMEPAGE = "https://pypi.python.org/pypi/isort" | 2 | HOMEPAGE = "https://pypi.python.org/pypi/isort" |
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | SECTION = "devel/python" | 4 | SECTION = "devel/python" |
5 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=8227180126797a0148f94f483f3e1489" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=197c46995787b46a2dbf0d519c1754cf" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "48fdfcb9face5d58a4f6dde2e72a1fb8dcaf8ab26f95ab49fab84c2ddefb0109" | 7 | SRC_URI[sha256sum] = "1cb5df28dfbc742e490c5e41bad6da41b805b0a8be7bc93cd0fb2a8a890ac450" |
8 | 8 | ||
9 | inherit pypi python_poetry_core | 9 | inherit pypi python_hatchling |
10 | |||
11 | DEPENDS += "python3-hatch-vcs-native python3-hatchling-native" | ||
10 | 12 | ||
11 | RDEPENDS:${PN} += " \ | 13 | RDEPENDS:${PN} += " \ |
12 | python3-compression \ | 14 | python3-compression \ |
diff --git a/meta-python/recipes-devtools/python/python3-itsdangerous_2.1.2.bb b/meta-python/recipes-devtools/python/python3-itsdangerous_2.2.0.bb index 5af1d594b3..fc43e2854d 100644 --- a/meta-python/recipes-devtools/python/python3-itsdangerous_2.1.2.bb +++ b/meta-python/recipes-devtools/python/python3-itsdangerous_2.2.0.bb | |||
@@ -1,11 +1,11 @@ | |||
1 | SUMMARY = "Various helpers to pass trusted data to untrusted environments and back." | 1 | SUMMARY = "Various helpers to pass trusted data to untrusted environments and back." |
2 | HOMEPAGE = "http://github.com/mitsuhiko/itsdangerous" | 2 | HOMEPAGE = "https://github.com/mitsuhiko/itsdangerous" |
3 | LICENSE = "BSD-3-Clause" | 3 | LICENSE = "BSD-3-Clause" |
4 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=4cda9a0ebd516714f360b0e9418cfb37" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4cda9a0ebd516714f360b0e9418cfb37" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "5dbbc68b317e5e42f327f9021763545dc3fc3bfe22e6deb96aaf1fc38874156a" | 6 | SRC_URI[sha256sum] = "e0050c0b7da1eea53ffaf149c0cfbb5c6e2e2b69c4bef22c81fa6eb73e5f6173" |
7 | 7 | ||
8 | inherit pypi setuptools3 | 8 | inherit pypi python_setuptools_build_meta |
9 | 9 | ||
10 | CLEANBROKEN = "1" | 10 | CLEANBROKEN = "1" |
11 | 11 | ||
diff --git a/meta-python/recipes-devtools/python/python3-janus_1.0.0.bb b/meta-python/recipes-devtools/python/python3-janus_2.0.0.bb index c709bcfbff..9209f96d66 100644 --- a/meta-python/recipes-devtools/python/python3-janus_1.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-janus_2.0.0.bb | |||
@@ -3,7 +3,7 @@ SECTION = "devel/python" | |||
3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=23878c357ebb4c8ce1109be365043349" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=23878c357ebb4c8ce1109be365043349" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "df976f2cdcfb034b147a2d51edfc34ff6bfb12d4e2643d3ad0e10de058cb1612" | 6 | SRC_URI[sha256sum] = "0970f38e0e725400496c834a368a67ee551dc3b5ad0a257e132f5b46f2e77770" |
7 | 7 | ||
8 | inherit pypi python_setuptools_build_meta | 8 | inherit pypi python_setuptools_build_meta |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-jdatetime_5.0.0.bb b/meta-python/recipes-devtools/python/python3-jdatetime_5.2.0.bb index f1dd368ea0..257ac93fbf 100644 --- a/meta-python/recipes-devtools/python/python3-jdatetime_5.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-jdatetime_5.2.0.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/slashmili/python-jalali" | |||
3 | LICENSE = "Python-2.0" | 3 | LICENSE = "Python-2.0" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c80be45b33471b4a23cf53d06a8172be" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c80be45b33471b4a23cf53d06a8172be" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "2cc603d913c0d8e328928454d3d295261cb037e9950227f67c9629ab4710fdf9" | 6 | SRC_URI[sha256sum] = "c81d5898717b82b609a3ce2a73f8b8d3230b0c757e5c0de9d6b1acfdc224f551" |
7 | 7 | ||
8 | PYPI_PACKAGE = "jdatetime" | 8 | PYPI_PACKAGE = "jdatetime" |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-jdcal/run-ptest b/meta-python/recipes-devtools/python/python3-jdcal/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-jdcal/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-jdcal_1.4.1.bb b/meta-python/recipes-devtools/python/python3-jdcal_1.4.1.bb index afabe14a8a..d947a73cf0 100644 --- a/meta-python/recipes-devtools/python/python3-jdcal_1.4.1.bb +++ b/meta-python/recipes-devtools/python/python3-jdcal_1.4.1.bb | |||
@@ -7,22 +7,12 @@ HOMEPAGE = "https://github.com/phn/jdcal" | |||
7 | LICENSE = "BSD-2-Clause" | 7 | LICENSE = "BSD-2-Clause" |
8 | LIC_FILES_CHKSUM = "file://PKG-INFO;md5=bd236e1f590973467a427bb354be0f46" | 8 | LIC_FILES_CHKSUM = "file://PKG-INFO;md5=bd236e1f590973467a427bb354be0f46" |
9 | 9 | ||
10 | inherit pypi setuptools3 ptest | 10 | inherit pypi setuptools3 ptest-python-pytest |
11 | 11 | ||
12 | SRC_URI[md5sum] = "e05bdb60fa80f25bc60e73e0c6b7c5dc" | ||
13 | SRC_URI[sha256sum] = "472872e096eb8df219c23f2689fc336668bdb43d194094b5cc1707e1640acfc8" | 12 | SRC_URI[sha256sum] = "472872e096eb8df219c23f2689fc336668bdb43d194094b5cc1707e1640acfc8" |
14 | 13 | ||
15 | RDEPENDS:${PN} += "python3-compression python3-io python3-pprint python3-shell" | 14 | RDEPENDS:${PN} += "python3-compression python3-io python3-pprint python3-shell" |
16 | 15 | ||
17 | SRC_URI += " \ | 16 | do_install_ptest:append () { |
18 | file://run-ptest \ | ||
19 | " | ||
20 | |||
21 | RDEPENDS:${PN}-ptest += " \ | ||
22 | python3-pytest \ | ||
23 | python3-unittest-automake-output \ | ||
24 | " | ||
25 | |||
26 | do_install_ptest() { | ||
27 | cp -f ${S}/test_jdcal.py ${D}${PTEST_PATH}/ | 17 | cp -f ${S}/test_jdcal.py ${D}${PTEST_PATH}/ |
28 | } | 18 | } |
diff --git a/meta-python/recipes-devtools/python/python3-jedi_0.19.1.bb b/meta-python/recipes-devtools/python/python3-jedi_0.19.2.bb index 56395c3b5d..1a150c38db 100644 --- a/meta-python/recipes-devtools/python/python3-jedi_0.19.1.bb +++ b/meta-python/recipes-devtools/python/python3-jedi_0.19.2.bb | |||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5ed06eebfcb244cd66ebf6cef9c23ab4" | |||
5 | 5 | ||
6 | PYPI_PACKAGE = "jedi" | 6 | PYPI_PACKAGE = "jedi" |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "cf0496f3651bc65d7174ac1b7d043eff454892c708a87d1b683e57b569927ffd" | 8 | SRC_URI[sha256sum] = "4770dc3de41bde3966b02eb84fbcf557fb33cce26ad23da12c742fb50ecb11f0" |
9 | 9 | ||
10 | RDEPENDS:${PN} = " \ | 10 | RDEPENDS:${PN} = " \ |
11 | python3-parso \ | 11 | python3-parso \ |
diff --git a/meta-python/recipes-devtools/python/python3-joblib_1.4.2.bb b/meta-python/recipes-devtools/python/python3-joblib_1.5.1.bb index 13d2a448db..a678f881b8 100644 --- a/meta-python/recipes-devtools/python/python3-joblib_1.4.2.bb +++ b/meta-python/recipes-devtools/python/python3-joblib_1.5.1.bb | |||
@@ -2,9 +2,9 @@ SUMMARY = "Joblib is a set of tools to provide lightweight pipelining in Python. | |||
2 | LICENSE = "BSD-3-Clause" | 2 | LICENSE = "BSD-3-Clause" |
3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2e481820abf0a70a18011a30153df066" | 3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2e481820abf0a70a18011a30153df066" |
4 | 4 | ||
5 | inherit setuptools3 pypi | 5 | inherit python_setuptools_build_meta pypi |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "2382c5816b2636fbd20a09e0f4e9dad4736765fdfb7dca582943b9c1366b3f0e" | 7 | SRC_URI[sha256sum] = "f4f86e351f39fe3d0d32a9f2c3d8af1ee4cec285aafcb27003dda5205576b444" |
8 | 8 | ||
9 | RDEPENDS:${PN} += " \ | 9 | RDEPENDS:${PN} += " \ |
10 | python3-asyncio \ | 10 | python3-asyncio \ |
diff --git a/meta-python/recipes-devtools/python/python3-jsbeautifier_1.15.1.bb b/meta-python/recipes-devtools/python/python3-jsbeautifier_1.15.4.bb index 5a0e5a8499..ad24df2da6 100644 --- a/meta-python/recipes-devtools/python/python3-jsbeautifier_1.15.1.bb +++ b/meta-python/recipes-devtools/python/python3-jsbeautifier_1.15.4.bb | |||
@@ -6,9 +6,9 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148 | |||
6 | 6 | ||
7 | inherit pypi setuptools3 | 7 | inherit pypi setuptools3 |
8 | 8 | ||
9 | SRC_URI[sha256sum] = "ebd733b560704c602d744eafc839db60a1ee9326e30a2a80c4adb8718adc1b24" | 9 | SRC_URI[sha256sum] = "5bb18d9efb9331d825735fbc5360ee8f1aac5e52780042803943aa7f854f7592" |
10 | 10 | ||
11 | PYPI_PACKAGE="jsbeautifier" | 11 | PYPI_PACKAGE = "jsbeautifier" |
12 | 12 | ||
13 | RDEPENDS:${PN} += "\ | 13 | RDEPENDS:${PN} += "\ |
14 | python3-core \ | 14 | python3-core \ |
diff --git a/meta-python/recipes-devtools/python/python3-jsonrpcclient_4.0.3.bb b/meta-python/recipes-devtools/python/python3-jsonrpcclient_4.0.3.bb index 459726199e..99f583e717 100644 --- a/meta-python/recipes-devtools/python/python3-jsonrpcclient_4.0.3.bb +++ b/meta-python/recipes-devtools/python/python3-jsonrpcclient_4.0.3.bb | |||
@@ -8,7 +8,6 @@ SRC_URI = "git://github.com/explodinglabs/jsonrpcclient.git;branch=main;protocol | |||
8 | 8 | ||
9 | inherit python_setuptools_build_meta | 9 | inherit python_setuptools_build_meta |
10 | 10 | ||
11 | S = "${WORKDIR}/git" | ||
12 | 11 | ||
13 | RDEPENDS:${PN} += "\ | 12 | RDEPENDS:${PN} += "\ |
14 | python3-json \ | 13 | python3-json \ |
diff --git a/meta-python/recipes-devtools/python/python3-kconfiglib_14.1.0.bb b/meta-python/recipes-devtools/python/python3-kconfiglib_14.1.0.bb index b9c1c4e384..c3c39ad385 100644 --- a/meta-python/recipes-devtools/python/python3-kconfiglib_14.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-kconfiglib_14.1.0.bb | |||
@@ -2,7 +2,6 @@ DESCRIPTION = "Kconfiglib is a Kconfig implementation in Python" | |||
2 | LICENSE = "ISC" | 2 | LICENSE = "ISC" |
3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=712177a72a3937909543eda3ad1bfb7c" | 3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=712177a72a3937909543eda3ad1bfb7c" |
4 | 4 | ||
5 | SRC_URI[md5sum] = "4ad68618824d4bad1d1de1d7eb838bba" | ||
6 | SRC_URI[sha256sum] = "bed2cc2216f538eca4255a83a4588d8823563cdd50114f86cf1a2674e602c93c" | 5 | SRC_URI[sha256sum] = "bed2cc2216f538eca4255a83a4588d8823563cdd50114f86cf1a2674e602c93c" |
7 | 6 | ||
8 | inherit pypi setuptools3 | 7 | inherit pypi setuptools3 |
diff --git a/meta-python/recipes-devtools/python/python3-keras-applications_1.0.8.bb b/meta-python/recipes-devtools/python/python3-keras-applications_1.0.8.bb index ba1819979b..ce965b3e43 100644 --- a/meta-python/recipes-devtools/python/python3-keras-applications_1.0.8.bb +++ b/meta-python/recipes-devtools/python/python3-keras-applications_1.0.8.bb | |||
@@ -9,7 +9,6 @@ SRCREV ?= "3b180cb10eda683dda7913ecee2e6487288d292d" | |||
9 | 9 | ||
10 | inherit setuptools3 | 10 | inherit setuptools3 |
11 | 11 | ||
12 | S = "${WORKDIR}/git" | ||
13 | 12 | ||
14 | BBCLASSEXTEND = "native" | 13 | BBCLASSEXTEND = "native" |
15 | 14 | ||
diff --git a/meta-python/recipes-devtools/python/python3-keras-preprocessing_1.1.2.bb b/meta-python/recipes-devtools/python/python3-keras-preprocessing_1.1.2.bb index 749b6c8c9b..8f382c99b4 100644 --- a/meta-python/recipes-devtools/python/python3-keras-preprocessing_1.1.2.bb +++ b/meta-python/recipes-devtools/python/python3-keras-preprocessing_1.1.2.bb | |||
@@ -6,11 +6,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1744b320500cc2e3112964d00cce7aa4" | |||
6 | 6 | ||
7 | inherit pypi setuptools3 | 7 | inherit pypi setuptools3 |
8 | 8 | ||
9 | SRC_URI[md5sum] = "d2a0e10437cfa5c2d09458a84fb58d05" | ||
10 | SRC_URI[sha256sum] = "add82567c50c8bc648c14195bf544a5ce7c1f76761536956c3d2978970179ef3" | 9 | SRC_URI[sha256sum] = "add82567c50c8bc648c14195bf544a5ce7c1f76761536956c3d2978970179ef3" |
11 | 10 | ||
12 | PYPI_PACKAGE = "Keras_Preprocessing" | 11 | PYPI_PACKAGE = "Keras_Preprocessing" |
13 | PYPI_SRC_URI = "https://files.pythonhosted.org/packages/5e/f1/b44337faca48874333769a29398fe4666686733c8880aa160b9fd5dfe600/Keras_Preprocessing-${PV}.tar.gz" | 12 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" |
14 | 13 | ||
15 | BBCLASSEXTEND = "native" | 14 | BBCLASSEXTEND = "native" |
16 | 15 | ||
diff --git a/meta-python/recipes-devtools/python/python3-kivy/0001-Remove-old-Python-2-long-from-Cython-files-fixes-bui.patch b/meta-python/recipes-devtools/python/python3-kivy/0001-Remove-old-Python-2-long-from-Cython-files-fixes-bui.patch new file mode 100644 index 0000000000..c68e227482 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-kivy/0001-Remove-old-Python-2-long-from-Cython-files-fixes-bui.patch | |||
@@ -0,0 +1,63 @@ | |||
1 | From 288e3d5ecff1bc5e7de29d9daddb83d697280004 Mon Sep 17 00:00:00 2001 | ||
2 | From: Mirko Galimberti <me@mirkogalimberti.com> | ||
3 | Date: Sun, 18 May 2025 09:38:14 +0200 | ||
4 | Subject: [PATCH] Remove old Python 2 long from Cython files, fixes build with | ||
5 | Cython `3.1.x` (#9056) | ||
6 | |||
7 | Upstream-Status: Backport [https://github.com/kivy/kivy/commit/5a1b27d7d3bdee6cedb55440bfae9c4e66fb3c68] | ||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | --- | ||
10 | kivy/graphics/context_instructions.pyx | 2 +- | ||
11 | kivy/graphics/opengl.pyx | 4 ++-- | ||
12 | kivy/weakproxy.pyx | 3 --- | ||
13 | 3 files changed, 3 insertions(+), 6 deletions(-) | ||
14 | |||
15 | diff --git a/kivy/graphics/context_instructions.pyx b/kivy/graphics/context_instructions.pyx | ||
16 | index 0d4b8f548..1c23c0e1c 100644 | ||
17 | --- a/kivy/graphics/context_instructions.pyx | ||
18 | +++ b/kivy/graphics/context_instructions.pyx | ||
19 | @@ -86,7 +86,7 @@ cdef tuple rgb_to_hsv(float r, float g, float b): | ||
20 | |||
21 | cdef tuple hsv_to_rgb(float h, float s, float v): | ||
22 | if s == 0.0: return v, v, v | ||
23 | - cdef long i = long(h * 6.0) | ||
24 | + cdef long i = <long>(h * 6.0) | ||
25 | cdef float f = (h * <float>6.0) - i | ||
26 | cdef float p = v * (<float>1.0 - s) | ||
27 | cdef float q = v * (<float>1.0 - s * f) | ||
28 | diff --git a/kivy/graphics/opengl.pyx b/kivy/graphics/opengl.pyx | ||
29 | index bcca70842..f535c62a6 100644 | ||
30 | --- a/kivy/graphics/opengl.pyx | ||
31 | +++ b/kivy/graphics/opengl.pyx | ||
32 | @@ -689,7 +689,7 @@ def glDrawElements(GLenum mode, GLsizei count, GLenum type, indices): | ||
33 | cdef void *ptr = NULL | ||
34 | if isinstance(indices, bytes): | ||
35 | ptr = <void *>(<char *>(<bytes>indices)) | ||
36 | - elif isinstance(indices, (long, int)): | ||
37 | + elif isinstance(indices, int): | ||
38 | ptr = <void *>(<unsigned int>indices) | ||
39 | else: | ||
40 | raise TypeError("Argument 'indices' has incorrect type (expected bytes or int).") | ||
41 | @@ -1539,7 +1539,7 @@ def glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean norma | ||
42 | cdef void *ptr = NULL | ||
43 | if isinstance(data, bytes): | ||
44 | ptr = <void *>(<char *>(<bytes>data)) | ||
45 | - elif isinstance(data, (long, int)): | ||
46 | + elif isinstance(data, int): | ||
47 | ptr = <void *>(<unsigned int>data) | ||
48 | else: | ||
49 | raise TypeError("Argument 'data' has incorrect type (expected bytes or int).") | ||
50 | diff --git a/kivy/weakproxy.pyx b/kivy/weakproxy.pyx | ||
51 | index cac4fe66b..e8e1c0b77 100644 | ||
52 | --- a/kivy/weakproxy.pyx | ||
53 | +++ b/kivy/weakproxy.pyx | ||
54 | @@ -253,9 +253,6 @@ cdef class WeakProxy(object): | ||
55 | def __int__(self): | ||
56 | return int(self.__ref__()) | ||
57 | |||
58 | - def __long__(self): | ||
59 | - return long(self.__ref__()) | ||
60 | - | ||
61 | def __float__(self): | ||
62 | return float(self.__ref__()) | ||
63 | |||
diff --git a/meta-python/recipes-devtools/python/python3-kivy_2.3.0.bb b/meta-python/recipes-devtools/python/python3-kivy_2.3.1.bb index 991aa0f7d8..4cdc773ba6 100644 --- a/meta-python/recipes-devtools/python/python3-kivy_2.3.0.bb +++ b/meta-python/recipes-devtools/python/python3-kivy_2.3.1.bb | |||
@@ -4,7 +4,7 @@ HOMEPAGE = "https://kivy.org/" | |||
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=6d3bc49400e35d5a2279d14c40dcfb09" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=6d3bc49400e35d5a2279d14c40dcfb09" |
6 | 6 | ||
7 | inherit setuptools3 pkgconfig features_check | 7 | inherit setuptools3 pkgconfig features_check cython |
8 | 8 | ||
9 | # Kivy's setup files only look for GLES libraries for Android, iOS, RPi, | 9 | # Kivy's setup files only look for GLES libraries for Android, iOS, RPi, |
10 | # and mali-based OS's. We need to patch the setup file to tell Kivy setup | 10 | # and mali-based OS's. We need to patch the setup file to tell Kivy setup |
@@ -12,11 +12,11 @@ inherit setuptools3 pkgconfig features_check | |||
12 | # Also, if using SDL2 as backend, SDL2 needs to be configured with gles | 12 | # Also, if using SDL2 as backend, SDL2 needs to be configured with gles |
13 | SRC_URI = "git://github.com/kivy/kivy.git;protocol=https;branch=stable \ | 13 | SRC_URI = "git://github.com/kivy/kivy.git;protocol=https;branch=stable \ |
14 | file://0001-add-support-for-glesv2.patch \ | 14 | file://0001-add-support-for-glesv2.patch \ |
15 | file://0001-Remove-old-Python-2-long-from-Cython-files-fixes-bui.patch \ | ||
15 | " | 16 | " |
16 | 17 | ||
17 | SRCREV = "9ef218027178115a66b417ae34b21f488bdd3617" | 18 | SRCREV = "20d74dcd30f143abbd1aa94c76bafc5bd934d5bd" |
18 | 19 | ||
19 | S = "${WORKDIR}/git" | ||
20 | 20 | ||
21 | PACKAGES += "${PN}-examples" | 21 | PACKAGES += "${PN}-examples" |
22 | FILES:${PN}-examples = "/usr/share/kivy-examples" | 22 | FILES:${PN}-examples = "/usr/share/kivy-examples" |
@@ -36,7 +36,7 @@ export USE_X11 | |||
36 | KIVY_GRAPHICS = "gles" | 36 | KIVY_GRAPHICS = "gles" |
37 | export KIVY_GRAPHICS | 37 | export KIVY_GRAPHICS |
38 | 38 | ||
39 | KIVY_CROSS_SYSROOT="${RECIPE_SYSROOT}" | 39 | KIVY_CROSS_SYSROOT = "${RECIPE_SYSROOT}" |
40 | export KIVY_CROSS_SYSROOT | 40 | export KIVY_CROSS_SYSROOT |
41 | 41 | ||
42 | REQUIRED_DISTRO_FEATURES += "opengl gobject-introspection-data" | 42 | REQUIRED_DISTRO_FEATURES += "opengl gobject-introspection-data" |
@@ -46,13 +46,11 @@ ANY_OF_DISTRO_FEATURES = "x11 wayland" | |||
46 | DEPENDS += " \ | 46 | DEPENDS += " \ |
47 | gstreamer1.0 \ | 47 | gstreamer1.0 \ |
48 | gstreamer1.0-python \ | 48 | gstreamer1.0-python \ |
49 | libsdl2 \ | 49 | virtual/libsdl2 \ |
50 | libsdl2-ttf \ | 50 | libsdl2-ttf \ |
51 | libsdl2-image \ | 51 | libsdl2-image \ |
52 | libsdl2-mixer \ | 52 | libsdl2-mixer \ |
53 | pango \ | 53 | pango \ |
54 | python3 \ | ||
55 | python3-cython-native \ | ||
56 | " | 54 | " |
57 | 55 | ||
58 | RDEPENDS:${PN} = " \ | 56 | RDEPENDS:${PN} = " \ |
@@ -70,3 +68,8 @@ RDEPENDS:${PN} = " \ | |||
70 | python3-pillow \ | 68 | python3-pillow \ |
71 | python3-pygments \ | 69 | python3-pygments \ |
72 | " | 70 | " |
71 | |||
72 | # http://errors.yoctoproject.org/Errors/Details/766917/ | ||
73 | # python3-kivy/2.3.0/git/kivy/graphics/cgl_backend/cgl_gl.c:4568:52: error: assignment to 'void (*)(GLuint, GLsizei, const GLchar **, const GLint *)' {aka 'void (*)(unsigned int, int, const char **, const int *)'} from incompatible pointer type 'void (*)(GLuint, GLsizei, const GLchar * const*, const GLint *)' {aka 'void (*)(unsigned int, int, const char * const*, const int *)'} [-Wincompatible-pointer-types] | ||
74 | # python3-kivy/2.3.0/git/kivy/core/window/_window_sdl2.c:8781:23: error: passing argument 1 of 'SDL_SetEventFilter' from incompatible pointer type [-Wincompatible-pointer-types] | ||
75 | CFLAGS += "-Wno-error=incompatible-pointer-types" | ||
diff --git a/meta-python/recipes-devtools/python/python3-kiwisolver_1.4.5.bb b/meta-python/recipes-devtools/python/python3-kiwisolver_1.4.8.bb index a1949b1138..d3044a65c8 100644 --- a/meta-python/recipes-devtools/python/python3-kiwisolver_1.4.5.bb +++ b/meta-python/recipes-devtools/python/python3-kiwisolver_1.4.8.bb | |||
@@ -1,9 +1,9 @@ | |||
1 | SUMMARY = "A fast implementation of the Cassowary constraint solver" | 1 | SUMMARY = "A fast implementation of the Cassowary constraint solver" |
2 | HOMEPAGE = "https://github.com/nucleic/kiwi" | 2 | HOMEPAGE = "https://github.com/nucleic/kiwi" |
3 | LICENSE = "BSD-3-Clause" | 3 | LICENSE = "BSD-3-Clause" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f137eeae9cf8004d06830f6ab25b2d52" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5f7ce5ba663b186ce35b78df96a2eb0a" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "e57e563a57fb22a142da34f38acc2fc1a5c864bc29ca1517a88abc963e60d6ec" | 6 | SRC_URI[sha256sum] = "23d5f023bdc8c7e54eb65f03ca5d5bb25b601eac4d7f1a042888a1f45237987e" |
7 | 7 | ||
8 | inherit pypi python_setuptools_build_meta | 8 | inherit pypi python_setuptools_build_meta |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-langtable_0.0.66.bb b/meta-python/recipes-devtools/python/python3-langtable_0.0.68.bb index 26a4f19215..64eb57dd38 100644 --- a/meta-python/recipes-devtools/python/python3-langtable_0.0.66.bb +++ b/meta-python/recipes-devtools/python/python3-langtable_0.0.68.bb | |||
@@ -6,7 +6,7 @@ SECTION = "devel/python" | |||
6 | 6 | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
8 | 8 | ||
9 | SRC_URI[sha256sum] = "0679e9014aa25916a8184c7bb5082fe983a661ab958d37f5fb75461abf5fb342" | 9 | SRC_URI[sha256sum] = "3965a4d57a066a595ea8a87f6a5295412e65a7f39dbaad95c7327d48b11799fe" |
10 | 10 | ||
11 | inherit pypi setuptools3 python3native | 11 | inherit pypi setuptools3 python3native |
12 | 12 | ||
diff --git a/meta-python/recipes-devtools/python/python3-lazy-object-proxy_1.10.0.bb b/meta-python/recipes-devtools/python/python3-lazy-object-proxy_1.10.0.bb deleted file mode 100644 index 263c46869f..0000000000 --- a/meta-python/recipes-devtools/python/python3-lazy-object-proxy_1.10.0.bb +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | SUMMARY = "A fast and thorough lazy object proxy" | ||
2 | HOMEPAGE = "https://python-lazy-object-proxy.readthedocs.io/" | ||
3 | LICENSE = "BSD-2-Clause" | ||
4 | SECTION = "devel/python" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d606e94f56c21c8e0cdde0b622dcdf57" | ||
6 | |||
7 | DEPENDS += "python3-setuptools-scm-native python3-pip-native" | ||
8 | |||
9 | SRC_URI[sha256sum] = "78247b6d45f43a52ef35c25b5581459e85117225408a4128a3daf8bf9648ac69" | ||
10 | |||
11 | inherit pypi setuptools3 | ||
diff --git a/meta-python/recipes-devtools/python/python3-lazy-object-proxy_1.11.0.bb b/meta-python/recipes-devtools/python/python3-lazy-object-proxy_1.11.0.bb new file mode 100644 index 0000000000..ebf9f84951 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-lazy-object-proxy_1.11.0.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | SUMMARY = "A fast and thorough lazy object proxy" | ||
2 | HOMEPAGE = "https://python-lazy-object-proxy.readthedocs.io/" | ||
3 | LICENSE = "BSD-2-Clause" | ||
4 | SECTION = "devel/python" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b44e35194fc96f303ff4302a2a5759dd" | ||
6 | |||
7 | DEPENDS += "python3-setuptools-scm-native" | ||
8 | |||
9 | SRC_URI[sha256sum] = "18874411864c9fbbbaa47f9fc1dd7aea754c86cfde21278ef427639d1dd78e9c" | ||
10 | |||
11 | PYPI_PACKAGE = "lazy_object_proxy" | ||
12 | |||
13 | inherit pypi python_setuptools_build_meta | ||
diff --git a/meta-python/recipes-devtools/python/python3-lazy_1.6.bb b/meta-python/recipes-devtools/python/python3-lazy_1.6.bb index 97517f89a6..222489302d 100644 --- a/meta-python/recipes-devtools/python/python3-lazy_1.6.bb +++ b/meta-python/recipes-devtools/python/python3-lazy_1.6.bb | |||
@@ -5,4 +5,4 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=7df3865e8640604acfa474235d2db76b" | |||
5 | 5 | ||
6 | SRC_URI[sha256sum] = "7127324ec709e8324f08cb4611c1abe01776bda53bb9ce68dc5dfa46ca0ed3e9" | 6 | SRC_URI[sha256sum] = "7127324ec709e8324f08cb4611c1abe01776bda53bb9ce68dc5dfa46ca0ed3e9" |
7 | 7 | ||
8 | inherit pypi setuptools3 | 8 | inherit pypi python_setuptools_build_meta |
diff --git a/meta-python/recipes-devtools/python/python3-legacy-cgi/0001-cgi.py-fixup-interpreter-according-to-OE.patch b/meta-python/recipes-devtools/python/python3-legacy-cgi/0001-cgi.py-fixup-interpreter-according-to-OE.patch new file mode 100644 index 0000000000..0af8ef4842 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-legacy-cgi/0001-cgi.py-fixup-interpreter-according-to-OE.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From eaa9964cd6d22564fa5f1270d194eb65ebaef57c Mon Sep 17 00:00:00 2001 | ||
2 | From: Your Name <you@example.com> | ||
3 | Date: Wed, 12 Mar 2025 17:44:39 +0000 | ||
4 | Subject: [PATCH] cgi.py: fixup interpreter according to OE | ||
5 | |||
6 | The underlying distribution is required to update the interpreter | ||
7 | by design. This can be referenced from the notice that is found | ||
8 | on top of the same file being patched here. | ||
9 | |||
10 | Upstream-Status: Inappropriate [OE specific] | ||
11 | Signed-off-by: Awais Belal <awais.belal@gmail.com> | ||
12 | --- | ||
13 | cgi.py | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/cgi.py b/cgi.py | ||
17 | index 22897a1..f86db84 100755 | ||
18 | --- a/cgi.py | ||
19 | +++ b/cgi.py | ||
20 | @@ -1,4 +1,4 @@ | ||
21 | -#! /usr/local/bin/python | ||
22 | +#!/usr/bin/env python | ||
23 | |||
24 | # NOTE: the above "/usr/local/bin/python" is NOT a mistake. It is | ||
25 | # intentionally NOT "/usr/bin/env python". On many systems | ||
26 | -- | ||
27 | 2.43.0 | ||
28 | |||
diff --git a/meta-python/recipes-devtools/python/python3-legacy-cgi_2.6.2.bb b/meta-python/recipes-devtools/python/python3-legacy-cgi_2.6.2.bb new file mode 100644 index 0000000000..2b2840ae14 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-legacy-cgi_2.6.2.bb | |||
@@ -0,0 +1,22 @@ | |||
1 | SUMMARY = "Fork of the standard library cgi and cgitb modules, being deprecated in PEP-594" | ||
2 | HOMEPAGE = "https://github.com/jackrosenthal/legacy-cgi" | ||
3 | LICENSE = "PSF-2.0" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4b8801e752a2c70ac41a5f9aa243f766" | ||
5 | |||
6 | PYPI_PACKAGE = "legacy_cgi" | ||
7 | |||
8 | inherit python_poetry_core pypi | ||
9 | |||
10 | SRC_URI += "\ | ||
11 | file://0001-cgi.py-fixup-interpreter-according-to-OE.patch \ | ||
12 | " | ||
13 | |||
14 | DEPENDS += "\ | ||
15 | ${PYTHON_PN}-setuptools-scm-native \ | ||
16 | " | ||
17 | |||
18 | #RDEPENDS:${PN} = "python3-core" | ||
19 | |||
20 | BBCLASSEXTEND = "native nativesdk" | ||
21 | |||
22 | SRC_URI[sha256sum] = "9952471ceb304043b104c22d00b4f333cac27a6abe446d8a528fc437cf13c85f" | ||
diff --git a/meta-python/recipes-devtools/python/python3-libconf_2.0.1.bb b/meta-python/recipes-devtools/python/python3-libconf_2.0.1.bb index 80bc59d97b..a4ee7bdddc 100644 --- a/meta-python/recipes-devtools/python/python3-libconf_2.0.1.bb +++ b/meta-python/recipes-devtools/python/python3-libconf_2.0.1.bb | |||
@@ -5,7 +5,6 @@ LICENSE = "MIT" | |||
5 | 5 | ||
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=05f696c084eaaf5d75bc150f70975758" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=05f696c084eaaf5d75bc150f70975758" |
7 | 7 | ||
8 | SRC_URI[md5sum] = "e212611cbf6a696e05742a983b3a0c57" | ||
9 | SRC_URI[sha256sum] = "2f907258953ba60a95a82d5633726b47c81f2d5cf8d8801b092579016d757f4a" | 8 | SRC_URI[sha256sum] = "2f907258953ba60a95a82d5633726b47c81f2d5cf8d8801b092579016d757f4a" |
10 | 9 | ||
11 | inherit pypi setuptools3 | 10 | inherit pypi setuptools3 |
diff --git a/meta-python/recipes-devtools/python/python3-libevdev_0.11.bb b/meta-python/recipes-devtools/python/python3-libevdev_0.12.bb index 27e336710c..cabcfd8df6 100644 --- a/meta-python/recipes-devtools/python/python3-libevdev_0.11.bb +++ b/meta-python/recipes-devtools/python/python3-libevdev_0.12.bb | |||
@@ -3,10 +3,9 @@ HOMEPAGE = "https://gitlab.freedesktop.org/libevdev/python-libevdev" | |||
3 | SECTION = "devel/python" | 3 | SECTION = "devel/python" |
4 | 4 | ||
5 | LICENSE = "MIT" | 5 | LICENSE = "MIT" |
6 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=d94c10c546b419eddc6296157ec40747" |
7 | 7 | ||
8 | SRC_URI[md5sum] = "34b48098c1fba26de79a0d67a17a588a" | 8 | SRC_URI[sha256sum] = "02e952632ec6c249cbb9c66f6fa00012ea448b06606c77cd139133bc2fe46b08" |
9 | SRC_URI[sha256sum] = "e9ca006a4df2488a60bd9a740011ee948d81904be2364f017e560169508f560f" | ||
10 | 9 | ||
11 | inherit pypi setuptools3 | 10 | inherit pypi setuptools3 |
12 | 11 | ||
diff --git a/meta-python/recipes-devtools/python/python3-libusb1_3.3.1.bb b/meta-python/recipes-devtools/python/python3-libusb1_3.3.1.bb new file mode 100644 index 0000000000..1c2d60e6b8 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-libusb1_3.3.1.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | SUMMARY = "Pure-python wrapper for libusb-1.0" | ||
2 | HOMEPAGE = "https://github.com/vpelletier/python-libusb1" | ||
3 | LICENSE = "GPL-2.0-only & LGPL-2.1-only" | ||
4 | LIC_FILES_CHKSUM = " \ | ||
5 | file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ | ||
6 | file://COPYING.LESSER;md5=4fbd65380cdd255951079008b364516c \ | ||
7 | " | ||
8 | |||
9 | SRC_URI[sha256sum] = "3951d360f2daf0e0eacf839e15d2d1d2f4f5e7830231eb3188eeffef2dd17bad" | ||
10 | |||
11 | RDEPENDS:${PN} = "libusb1" | ||
12 | |||
13 | inherit setuptools3 pypi | ||
diff --git a/meta-python/recipes-devtools/python/python3-lief/0001-build-requirements.txt-Allow-newer-versions.patch b/meta-python/recipes-devtools/python/python3-lief/0001-build-requirements.txt-Allow-newer-versions.patch new file mode 100644 index 0000000000..9c61f0bdee --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-lief/0001-build-requirements.txt-Allow-newer-versions.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | From d6686206658aadc74d21a29c781320e2e13fe8f3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Leon Anavi <leon.anavi@konsulko.com> | ||
3 | Date: Mon, 27 Jan 2025 17:05:53 +0000 | ||
4 | Subject: [PATCH] build-requirements.txt: Allow newer versions | ||
5 | |||
6 | Allowing building with newer version | ||
7 | |||
8 | Upstream-Status: Inappropriate [oe specific] | ||
9 | |||
10 | Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> | ||
11 | --- | ||
12 | api/python/build-requirements.txt | 14 +++++++------- | ||
13 | 1 file changed, 7 insertions(+), 7 deletions(-) | ||
14 | |||
15 | --- a/api/python/build-requirements.txt | ||
16 | +++ b/api/python/build-requirements.txt | ||
17 | @@ -1,10 +1,10 @@ | ||
18 | -tomli==2.2.1 | ||
19 | -scikit-build-core==0.11.1 | ||
20 | +tomli>=2.2.1 | ||
21 | +scikit-build-core>=0.11.1 | ||
22 | # For Ninja: msvc.msvc14_get_vc_env | ||
23 | -setuptools==70.2.0 | ||
24 | +setuptools>=70.2.0 | ||
25 | # For the "env" feature | ||
26 | -pydantic==2.11.3 | ||
27 | +pydantic>=2.11.3 | ||
28 | # Implicit from scikit-build-core | ||
29 | -pathspec==0.12.1 | ||
30 | -build==1.2.1 | ||
31 | -wheel==0.45.1 | ||
32 | +pathspec>=0.12.1 | ||
33 | +build>=1.2.1 | ||
34 | +wheel>=0.45.1 | ||
diff --git a/meta-python/recipes-devtools/python/python3-lief/0002-api-python-config-default.toml-Debug.patch b/meta-python/recipes-devtools/python/python3-lief/0002-api-python-config-default.toml-Debug.patch new file mode 100644 index 0000000000..cb8d4e921d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-lief/0002-api-python-config-default.toml-Debug.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From 064f361f113e1e4496f40dd0a075f89d21bad5a3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Leon Anavi <leon.anavi@konsulko.com> | ||
3 | Date: Tue, 28 Jan 2025 12:25:31 +0000 | ||
4 | Subject: [PATCH] api/python/config-default.toml: Debug | ||
5 | |||
6 | Fixes do_package: QA Issue: [already-stripped] | ||
7 | |||
8 | Upstream-Status: Inappropriate [oe specific] | ||
9 | |||
10 | Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> | ||
11 | --- | ||
12 | api/python/config-default.toml | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | --- a/api/python/config-default.toml | ||
16 | +++ b/api/python/config-default.toml | ||
17 | @@ -1,8 +1,11 @@ | ||
18 | [lief.build] | ||
19 | -type = "Release" | ||
20 | -cache = true | ||
21 | +type = "RelWithDebInfo" | ||
22 | +cache = false | ||
23 | ninja = true | ||
24 | parallel-jobs = 0 | ||
25 | +extra-cmake-opt = [ | ||
26 | + "-DCMAKE_MODULE_PATH=/cmake/linux/", | ||
27 | +] | ||
28 | |||
29 | [lief.formats] | ||
30 | elf = true | ||
diff --git a/meta-python/recipes-devtools/python/python3-lief_0.16.5.bb b/meta-python/recipes-devtools/python/python3-lief_0.16.5.bb new file mode 100644 index 0000000000..8a0e30133c --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-lief_0.16.5.bb | |||
@@ -0,0 +1,34 @@ | |||
1 | SUMMARY = "Library to instrument executable formats" | ||
2 | DESCRIPTION = "LIEF: Library to Instrument Executable Formats" | ||
3 | HOMEPAGE = "https://github.com/lief-project/LIEF" | ||
4 | LICENSE = "Apache-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=9ab5db472ff936b441055522f5000547" | ||
6 | SECTION = "libs" | ||
7 | |||
8 | SRC_URI = " \ | ||
9 | git://github.com/lief-project/LIEF.git;protocol=https;branch=main \ | ||
10 | file://0001-build-requirements.txt-Allow-newer-versions.patch \ | ||
11 | file://0002-api-python-config-default.toml-Debug.patch \ | ||
12 | " | ||
13 | SRCREV = "abcf929efb748c7846dd59007cbb807e108db311" | ||
14 | PV .= "+git" | ||
15 | |||
16 | PEP517_SOURCE_PATH = "${S}/api/python" | ||
17 | |||
18 | export LIEF_BUILD_DIR = "${B}" | ||
19 | |||
20 | inherit python_setuptools_build_meta | ||
21 | |||
22 | DEPENDS += "\ | ||
23 | python3-scikit-build-native \ | ||
24 | python3-scikit-build-core-native \ | ||
25 | python3-tomli-native \ | ||
26 | python3-pydantic-native \ | ||
27 | ninja-native \ | ||
28 | ccache-native \ | ||
29 | python3-typing-inspection \ | ||
30 | " | ||
31 | # https://github.com/lief-project/LIEF/commit/3def579f75965aa19c021d840a759bce2afc0a31#r152197203 | ||
32 | COMPATIBLE_HOST:x86 = "null" | ||
33 | |||
34 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-linux-procfs_0.7.3.bb b/meta-python/recipes-devtools/python/python3-linux-procfs_0.7.3.bb index 8c53d38ce3..26da91b16b 100644 --- a/meta-python/recipes-devtools/python/python3-linux-procfs_0.7.3.bb +++ b/meta-python/recipes-devtools/python/python3-linux-procfs_0.7.3.bb | |||
@@ -7,7 +7,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6a6855782848d572347212f667a2d637" | |||
7 | SRC_URI = "git://git.kernel.org/pub/scm/libs/python/python-linux-procfs/python-linux-procfs.git;branch=main" | 7 | SRC_URI = "git://git.kernel.org/pub/scm/libs/python/python-linux-procfs/python-linux-procfs.git;branch=main" |
8 | SRCREV = "59ecd1ba018141a02ffe59c16a9346991dfd0d48" | 8 | SRCREV = "59ecd1ba018141a02ffe59c16a9346991dfd0d48" |
9 | 9 | ||
10 | S = "${WORKDIR}/git" | ||
11 | 10 | ||
12 | inherit setuptools3 | 11 | inherit setuptools3 |
13 | 12 | ||
diff --git a/meta-python/recipes-devtools/python/python3-lockfile_0.12.2.bb b/meta-python/recipes-devtools/python/python3-lockfile_0.12.2.bb index af738e08ec..37025cb4da 100644 --- a/meta-python/recipes-devtools/python/python3-lockfile_0.12.2.bb +++ b/meta-python/recipes-devtools/python/python3-lockfile_0.12.2.bb | |||
@@ -6,7 +6,6 @@ HOMEPAGE = "https://pypi.org/project/lockfile/" | |||
6 | LICENSE = "MIT" | 6 | LICENSE = "MIT" |
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2340dffbbfea534b58f1349984eeef72" | 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2340dffbbfea534b58f1349984eeef72" |
8 | 8 | ||
9 | SRC_URI[md5sum] = "a6a1a82957a23afdf44cfdd039b65ff9" | ||
10 | SRC_URI[sha256sum] = "6aed02de03cba24efabcd600b30540140634fc06cfa603822d508d5361e9f799" | 9 | SRC_URI[sha256sum] = "6aed02de03cba24efabcd600b30540140634fc06cfa603822d508d5361e9f799" |
11 | 10 | ||
12 | inherit pypi setuptools3 | 11 | inherit pypi setuptools3 |
diff --git a/meta-python/recipes-devtools/python/python3-lorem_0.1.1.bb b/meta-python/recipes-devtools/python/python3-lorem_0.1.1.bb index 97b3e72364..288ce0c84f 100644 --- a/meta-python/recipes-devtools/python/python3-lorem_0.1.1.bb +++ b/meta-python/recipes-devtools/python/python3-lorem_0.1.1.bb | |||
@@ -2,7 +2,6 @@ DESCRIPTION = "Generator for random text that looks like Latin" | |||
2 | HOMEPAGE = "https://github.com/sfischer13/python-lorem" | 2 | HOMEPAGE = "https://github.com/sfischer13/python-lorem" |
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5301c01b2bcdeedba23645f94db2f179" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5301c01b2bcdeedba23645f94db2f179" |
5 | SRC_URI[md5sum] = "e3f0064a94c13e19780eb724affdb426" | ||
6 | SRC_URI[sha256sum] = "785f4109a241fc2891e59705e85d065f6e6d3ed6ad91750a8cb54d4f3e59d934" | 5 | SRC_URI[sha256sum] = "785f4109a241fc2891e59705e85d065f6e6d3ed6ad91750a8cb54d4f3e59d934" |
7 | 6 | ||
8 | SRC_URI += "\ | 7 | SRC_URI += "\ |
diff --git a/meta-python/recipes-devtools/python/python3-lrparsing_1.0.17.bb b/meta-python/recipes-devtools/python/python3-lrparsing_1.0.17.bb index 8cd60d3a0f..1022724814 100644 --- a/meta-python/recipes-devtools/python/python3-lrparsing_1.0.17.bb +++ b/meta-python/recipes-devtools/python/python3-lrparsing_1.0.17.bb | |||
@@ -3,7 +3,7 @@ SECTION = "devel/python" | |||
3 | LICENSE = "AGPL-3.0-only" | 3 | LICENSE = "AGPL-3.0-only" |
4 | LIC_FILES_CHKSUM = "file://agpl-3.0.txt;md5=73f1eb20517c55bf9493b7dd6e480788" | 4 | LIC_FILES_CHKSUM = "file://agpl-3.0.txt;md5=73f1eb20517c55bf9493b7dd6e480788" |
5 | 5 | ||
6 | HOMEPAGE = "http://lrparsing.sourceforge.net/" | 6 | HOMEPAGE = "https://lrparsing.sourceforge.net/" |
7 | BUGTRACKER = "https://sourceforge.net/p/lrparsing/tickets/" | 7 | BUGTRACKER = "https://sourceforge.net/p/lrparsing/tickets/" |
8 | UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/lrparsing/files/" | 8 | UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/lrparsing/files/" |
9 | UPSTREAM_CHECK_REGEX = "lrparsing-(?P<pver>\d+(\.\d+)+)" | 9 | UPSTREAM_CHECK_REGEX = "lrparsing-(?P<pver>\d+(\.\d+)+)" |
@@ -18,6 +18,6 @@ RDEPENDS:${PN} = " \ | |||
18 | 18 | ||
19 | inherit setuptools3 | 19 | inherit setuptools3 |
20 | 20 | ||
21 | S = "${WORKDIR}/lrparsing-${PV}" | 21 | S = "${UNPACKDIR}/lrparsing-${PV}" |
22 | 22 | ||
23 | BBCLASSEXTEND = "native" | 23 | BBCLASSEXTEND = "native" |
diff --git a/meta-python/recipes-devtools/python/python3-lru-dict_1.3.0.bb b/meta-python/recipes-devtools/python/python3-lru-dict_1.3.0.bb index e9535fa6f1..236daca490 100644 --- a/meta-python/recipes-devtools/python/python3-lru-dict_1.3.0.bb +++ b/meta-python/recipes-devtools/python/python3-lru-dict_1.3.0.bb | |||
@@ -1,11 +1,9 @@ | |||
1 | SUMMARY = "A fixed size dict like container which evicts Least Recently Used (LRU) items once size limit is exceeded." | 1 | DESCRIPTION = "A fixed size dict like container which evicts Least Recently Used (LRU) items once size limit is exceeded." |
2 | HOMEPAGE = "https://github.com/amitdev/lru-dict" | 2 | HOMEPAGE = "https://github.com/amitdev/lru-dict" |
3 | SECTION = "devel/python" | 3 | SECTION = "devel/python" |
4 | LICENSE = "BSD-3-Clause" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=9d10a486ee04034fdef5162fd791f153" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=9d10a486ee04034fdef5162fd791f153" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "54fd1966d6bd1fcde781596cb86068214edeebff1db13a2cea11079e3fd07b6b" | 7 | SRC_URI[sha256sum] = "54fd1966d6bd1fcde781596cb86068214edeebff1db13a2cea11079e3fd07b6b" |
8 | 8 | ||
9 | inherit pypi setuptools3 | 9 | inherit pypi python_setuptools_build_meta |
10 | |||
11 | SRC_URI += "${PYPI_SRC_URI}" | ||
diff --git a/meta-python/recipes-devtools/python/python3-luma-core_2.4.2.bb b/meta-python/recipes-devtools/python/python3-luma-core_2.4.2.bb index 90967f8e56..7c03aef40e 100644 --- a/meta-python/recipes-devtools/python/python3-luma-core_2.4.2.bb +++ b/meta-python/recipes-devtools/python/python3-luma-core_2.4.2.bb | |||
@@ -9,6 +9,7 @@ inherit pypi python_setuptools_build_meta | |||
9 | SRC_URI[sha256sum] = "963c264164d4374f549d57db09599e0ca458cea1bd05e16939897619be4e6dbd" | 9 | SRC_URI[sha256sum] = "963c264164d4374f549d57db09599e0ca458cea1bd05e16939897619be4e6dbd" |
10 | 10 | ||
11 | PYPI_PACKAGE = "luma.core" | 11 | PYPI_PACKAGE = "luma.core" |
12 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
12 | 13 | ||
13 | RDEPENDS:${PN} += " \ | 14 | RDEPENDS:${PN} += " \ |
14 | python3-pillow \ | 15 | python3-pillow \ |
diff --git a/meta-python/recipes-devtools/python/python3-luma-oled_3.13.0.bb b/meta-python/recipes-devtools/python/python3-luma-oled_3.14.0.bb index 95f066affe..0c0906cedc 100644 --- a/meta-python/recipes-devtools/python/python3-luma-oled_3.13.0.bb +++ b/meta-python/recipes-devtools/python/python3-luma-oled_3.14.0.bb | |||
@@ -4,15 +4,14 @@ A small library to drive an OLED device with either SSD1306 , SSD1309, SSD1322, | |||
4 | SSD1325, SSD1327, SSD1331, SSD1351 or SH1106 chipset" | 4 | SSD1325, SSD1327, SSD1331, SSD1351 or SH1106 chipset" |
5 | HOMEPAGE = "https://github.com/rm-hull/luma.oled" | 5 | HOMEPAGE = "https://github.com/rm-hull/luma.oled" |
6 | LICENSE = "MIT" | 6 | LICENSE = "MIT" |
7 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=5ec447eb69733e20a55838de7e8cb991" | 7 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=95cba8b3a40c6f55d5d901980fe6e067" |
8 | 8 | ||
9 | inherit pypi setuptools3 | 9 | inherit pypi python_setuptools_build_meta |
10 | 10 | ||
11 | SRC_URI[sha256sum] = "7e2a0d6a4c968c64980255d681ec27914d9abd5a66a9019b289bf3ad050c2125" | 11 | SRC_URI[sha256sum] = "36218565eda0614c8cf44ef42cb9a5904ddf808e4516e99ddae111fc93c5a206" |
12 | 12 | ||
13 | CLEANBROKEN = "1" | 13 | PYPI_PACKAGE = "luma_oled" |
14 | 14 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | |
15 | PYPI_PACKAGE = "luma.oled" | ||
16 | 15 | ||
17 | RDEPENDS:${PN} += " \ | 16 | RDEPENDS:${PN} += " \ |
18 | python3-luma-core \ | 17 | python3-luma-core \ |
diff --git a/meta-python/recipes-devtools/python/python3-lz4/run-ptest b/meta-python/recipes-devtools/python/python3-lz4/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-lz4/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-lz4_4.3.3.bb b/meta-python/recipes-devtools/python/python3-lz4_4.4.4.bb index 746926da4e..8d336df4a9 100644 --- a/meta-python/recipes-devtools/python/python3-lz4_4.3.3.bb +++ b/meta-python/recipes-devtools/python/python3-lz4_4.4.4.bb | |||
@@ -9,24 +9,19 @@ DEPENDS += " \ | |||
9 | python3-pkgconfig-native \ | 9 | python3-pkgconfig-native \ |
10 | " | 10 | " |
11 | 11 | ||
12 | SRC_URI += "file://run-ptest" | 12 | SRC_URI[sha256sum] = "070fd0627ec4393011251a094e08ed9fdcc78cb4e7ab28f507638eee4e39abda" |
13 | 13 | ||
14 | SRC_URI[sha256sum] = "01fe674ef2889dbb9899d8a67361e0c4a2c833af5aeb37dd505727cf5d2a131e" | 14 | inherit pkgconfig pypi python_setuptools_build_meta ptest-python-pytest |
15 | |||
16 | inherit pkgconfig pypi python_setuptools_build_meta ptest | ||
17 | 15 | ||
18 | RDEPENDS:${PN}-ptest += "\ | 16 | RDEPENDS:${PN}-ptest += "\ |
19 | python3-coverage \ | 17 | python3-coverage \ |
20 | python3-pytest \ | ||
21 | python3-pytest-cov \ | 18 | python3-pytest-cov \ |
22 | python3-pytest-runner \ | 19 | python3-pytest-runner \ |
23 | python3-multiprocessing \ | 20 | python3-multiprocessing \ |
24 | python3-psutil \ | 21 | python3-psutil \ |
25 | python3-unittest-automake-output \ | ||
26 | " | 22 | " |
27 | 23 | ||
28 | do_install_ptest() { | 24 | do_install_ptest:append () { |
29 | cp -rf ${S}/tests/ ${D}${PTEST_PATH}/ | ||
30 | # The stream API is experimental and not enabled yet, so don't ship the test suite | 25 | # The stream API is experimental and not enabled yet, so don't ship the test suite |
31 | rm -rf ${D}${PTEST_PATH}/tests/stream | 26 | rm -rf ${D}${PTEST_PATH}/tests/stream |
32 | } | 27 | } |
diff --git a/meta-python/recipes-devtools/python/python3-m2crypto/0001-setup.py-Make-the-cmd-available.patch b/meta-python/recipes-devtools/python/python3-m2crypto/0001-setup.py-Make-the-cmd-available.patch new file mode 100644 index 0000000000..c4262985ba --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-m2crypto/0001-setup.py-Make-the-cmd-available.patch | |||
@@ -0,0 +1,37 @@ | |||
1 | From eaeb95ec64762a58dde7cf368fc17188382e7df6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Mingli Yu <mingli.yu@windriver.com> | ||
3 | Date: Fri, 28 Mar 2025 12:13:26 +0800 | ||
4 | Subject: [PATCH] setup.py: Make the cmd available | ||
5 | |||
6 | The cmd will be None in OE environment as below. | ||
7 | >>> import os | ||
8 | >>> os.environ.get('CC', 'gcc') | ||
9 | 'x86_64-wrs-linux-gcc -m64 -march=nehalem -mtune=generic -mfpmath=sse -msse4.2 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/buildarea/tmp/work/corei7-64-wrs-linux/python3-m2crypto/0.44.0/recipe-sysroot' | ||
10 | >>> import shutil | ||
11 | >>> shutil.which(os.environ.get('CC', 'gcc')) | ||
12 | >>> cmd = [shutil.which(os.environ.get('CC', 'gcc'))] | ||
13 | >>> print(cmd) | ||
14 | [None] | ||
15 | |||
16 | So change the check logic to get the expected cmd. | ||
17 | |||
18 | Upstream-Status: Inappropriate [oe specific] | ||
19 | |||
20 | Signed-off-by: Mingli Yu <mingli.yu@windriver.com> | ||
21 | --- | ||
22 | setup.py | 2 +- | ||
23 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
24 | |||
25 | diff --git a/setup.py b/setup.py | ||
26 | index 9938e67..21e2346 100644 | ||
27 | --- a/setup.py | ||
28 | +++ b/setup.py | ||
29 | @@ -230,7 +230,7 @@ class _M2CryptoBuildExt(build_ext.build_ext): | ||
30 | with open( | ||
31 | "src/SWIG/x509_v_flag.h", "w", encoding="utf-8" | ||
32 | ) as x509_v_h: | ||
33 | - cmd = [shutil.which(os.environ.get('CC', 'gcc'))] | ||
34 | + cmd = os.environ.get('CC', 'gcc').split() | ||
35 | cflags = os.environ.get("CFLAGS") | ||
36 | if cflags is not None: | ||
37 | cmd += cflags.split() | ||
diff --git a/meta-python/recipes-devtools/python/python3-m2crypto/0001-setup.py-address-openssl-3.x-build-issue.patch b/meta-python/recipes-devtools/python/python3-m2crypto/0001-setup.py-address-openssl-3.x-build-issue.patch deleted file mode 100644 index c67e50803b..0000000000 --- a/meta-python/recipes-devtools/python/python3-m2crypto/0001-setup.py-address-openssl-3.x-build-issue.patch +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | From 0d824e5c2ab13e761ffaeabdccf9513d5b8f280d Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex@linutronix.de> | ||
3 | Date: Fri, 8 Oct 2021 11:18:35 +0200 | ||
4 | Subject: [PATCH] setup.py: address openssl 3.x build issue | ||
5 | |||
6 | swig throws: | ||
7 | | /home/alex/development/poky/build-metaoe/tmp/work/x86_64-linux/python3-m2crypto-native/0.38.0-r0/recipe-sysroot-native/usr/include/openssl/macros.h:155: Error: CPP #error ""OPENSSL_API_COMPAT expresses an impossible API compatibility level"". Use the -cpperraswarn option to continue swig processing. | ||
8 | |||
9 | I'm not sure why; upstream should take a look. | ||
10 | |||
11 | Upstream-Status: Inappropriate [workaround] | ||
12 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
13 | --- | ||
14 | setup.py | 1 + | ||
15 | 1 file changed, 1 insertion(+) | ||
16 | |||
17 | diff --git a/setup.py b/setup.py | ||
18 | index 2c65404..74704bc 100644 | ||
19 | --- a/setup.py | ||
20 | +++ b/setup.py | ||
21 | @@ -192,6 +192,7 @@ class _M2CryptoBuildExt(build_ext.build_ext): | ||
22 | |||
23 | self.swig_opts.append('-includeall') | ||
24 | self.swig_opts.append('-modern') | ||
25 | + self.swig_opts.append('-cpperraswarn') | ||
26 | self.swig_opts.append('-builtin') | ||
27 | |||
28 | # These two lines are a workaround for | ||
diff --git a/meta-python/recipes-devtools/python/python3-m2crypto/0001-setup.py-link-in-sysroot-not-in-host-directories.patch b/meta-python/recipes-devtools/python/python3-m2crypto/0001-setup.py-link-in-sysroot-not-in-host-directories.patch deleted file mode 100644 index 0baadfcaa5..0000000000 --- a/meta-python/recipes-devtools/python/python3-m2crypto/0001-setup.py-link-in-sysroot-not-in-host-directories.patch +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | From dfb83a41aaeae326e9b6f02b233af375bc7b8815 Mon Sep 17 00:00:00 2001 | ||
2 | From: Koen Kooi <koen@dominion.thruhere.net> | ||
3 | Date: Fri, 29 Mar 2013 15:17:17 +0100 | ||
4 | Subject: [PATCH] setup.py: link in sysroot, not in host directories | ||
5 | |||
6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
7 | |||
8 | Upstream-Status: Pending [Unknown] | ||
9 | --- | ||
10 | setup.py | 6 +++--- | ||
11 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
12 | |||
13 | --- a/setup.py | ||
14 | +++ b/setup.py | ||
15 | @@ -135,6 +135,7 @@ class _M2CryptoBuildExt(build_ext.build_ | ||
16 | self.set_undefined_options('build', ('bundledlls', 'bundledlls')) | ||
17 | |||
18 | self.libraries = ['ssl', 'crypto'] | ||
19 | + self.openssl = os.environ.get( "STAGING_DIR" ) | ||
20 | if sys.platform == 'win32': | ||
21 | self.libraries = ['ssleay32', 'libeay32'] | ||
22 | if self.openssl and openssl_version(self.openssl, | ||
23 | @@ -159,8 +160,8 @@ class _M2CryptoBuildExt(build_ext.build_ | ||
24 | |||
25 | if self.openssl is not None: | ||
26 | log.debug('self.openssl = %s', self.openssl) | ||
27 | - openssl_library_dir = os.path.join(self.openssl, 'lib') | ||
28 | - openssl_include_dir = os.path.join(self.openssl, 'include') | ||
29 | + openssl_library_dir = os.environ.get( "STAGING_LIBDIR" ) | ||
30 | + openssl_include_dir = os.environ.get( "STAGING_INCDIR" ) | ||
31 | |||
32 | self.library_dirs.append(openssl_library_dir) | ||
33 | self.include_dirs.append(openssl_include_dir) | ||
diff --git a/meta-python/recipes-devtools/python/python3-m2crypto/avoid-host-contamination.patch b/meta-python/recipes-devtools/python/python3-m2crypto/avoid-host-contamination.patch deleted file mode 100644 index 3cd6f7c276..0000000000 --- a/meta-python/recipes-devtools/python/python3-m2crypto/avoid-host-contamination.patch +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | Filter out '/usr/include' for swig to avoid host contamination issue. | ||
2 | |||
3 | Upstream-Status: Inappropriate [cross compile specific] | ||
4 | |||
5 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | ||
6 | --- | ||
7 | setup.py | 3 ++- | ||
8 | 1 file changed, 2 insertions(+), 1 deletion(-) | ||
9 | |||
10 | diff --git a/setup.py b/setup.py | ||
11 | index 5a12981..389d49f 100644 | ||
12 | --- a/setup.py | ||
13 | +++ b/setup.py | ||
14 | @@ -153,7 +153,8 @@ class _M2CryptoBuildExt(build_ext.build_ext): | ||
15 | self.swig_opts.append('-py3') | ||
16 | |||
17 | # swig seems to need the default header file directories | ||
18 | - self.swig_opts.extend(['-I%s' % i for i in _get_additional_includes()]) | ||
19 | + self.swig_opts.extend(['-I%s' % i for i in _get_additional_includes() | ||
20 | + if i != '/usr/include']) | ||
21 | |||
22 | log.debug('self.include_dirs = %s', self.include_dirs) | ||
23 | log.debug('self.library_dirs = %s', self.library_dirs) | ||
diff --git a/meta-python/recipes-devtools/python/python3-m2crypto/cross-compile-platform.patch b/meta-python/recipes-devtools/python/python3-m2crypto/cross-compile-platform.patch deleted file mode 100644 index 77ef7e557e..0000000000 --- a/meta-python/recipes-devtools/python/python3-m2crypto/cross-compile-platform.patch +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | Do not compute platform, this does not work in cross compile environment | ||
2 | since it pokes at the system for getting architecture values | ||
3 | |||
4 | Upstream-Status: Inappropriate | ||
5 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
6 | |||
7 | --- a/setup.py | ||
8 | +++ b/setup.py | ||
9 | @@ -169,24 +169,6 @@ class _M2CryptoBuildExt(build_ext.build_ | ||
10 | log.debug('self.include_dirs = %s', self.include_dirs) | ||
11 | log.debug('self.library_dirs = %s', self.library_dirs) | ||
12 | |||
13 | - if platform.system() == "Linux": | ||
14 | - # For RedHat-based distros, the '-D__{arch}__' option for | ||
15 | - # Swig needs to be normalized, particularly on i386. | ||
16 | - mach = platform.machine().lower() | ||
17 | - if mach in ('i386', 'i486', 'i586', 'i686'): | ||
18 | - arch = '__i386__' | ||
19 | - elif mach in ('ppc64', 'powerpc64', 'ppc64le', 'ppc64el'): | ||
20 | - arch = '__powerpc64__' | ||
21 | - elif mach in ('ppc', 'powerpc'): | ||
22 | - arch = '__powerpc__' | ||
23 | - else: | ||
24 | - arch = '__%s__' % mach | ||
25 | - self.swig_opts.append('-D%s' % arch) | ||
26 | - if mach in ('ppc64le', 'ppc64el'): | ||
27 | - self.swig_opts.append('-D_CALL_ELF=2') | ||
28 | - if mach in ('arm64_be'): | ||
29 | - self.swig_opts.append('-D__AARCH64EB__') | ||
30 | - | ||
31 | self.swig_opts.extend(['-I%s' % i for i in self.include_dirs]) | ||
32 | |||
33 | # Some Linux distributor has added the following line in | ||
diff --git a/meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb b/meta-python/recipes-devtools/python/python3-m2crypto_0.45.1.bb index 1d8c22d196..b029b2978c 100644 --- a/meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb +++ b/meta-python/recipes-devtools/python/python3-m2crypto_0.45.1.bb | |||
@@ -4,17 +4,13 @@ HOMEPAGE = "https://gitlab.com/m2crypto/m2crypto" | |||
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENCE;md5=b0e1f0b7d0ce8a62c18b1287b991800e" | 5 | LIC_FILES_CHKSUM = "file://LICENCE;md5=b0e1f0b7d0ce8a62c18b1287b991800e" |
6 | 6 | ||
7 | FILESEXTRAPATHS:prepend := "${THISDIR}/python-m2crypto:" | 7 | SRC_URI[sha256sum] = "d0fc81a8828edbf4308432b3040bf06bb26bad95abb9e7d4690b6118551e76ec" |
8 | 8 | ||
9 | SRC_URI += "file://0001-setup.py-link-in-sysroot-not-in-host-directories.patch \ | 9 | SRC_URI += " \ |
10 | file://cross-compile-platform.patch \ | 10 | file://0001-setup.py-Make-the-cmd-available.patch \ |
11 | file://avoid-host-contamination.patch \ | 11 | " |
12 | file://0001-setup.py-address-openssl-3.x-build-issue.patch \ | ||
13 | " | ||
14 | SRC_URI[sha256sum] = "bbfd113ec55708c05816252a4f09e4237df4f3bbfc8171cbbc33057d257bbb30" | ||
15 | 12 | ||
16 | PYPI_PACKAGE = "M2Crypto" | 13 | inherit pypi siteinfo python_setuptools_build_meta |
17 | inherit pypi siteinfo setuptools3 | ||
18 | 14 | ||
19 | DEPENDS += "openssl swig-native" | 15 | DEPENDS += "openssl swig-native" |
20 | RDEPENDS:${PN} += "\ | 16 | RDEPENDS:${PN} += "\ |
@@ -43,6 +39,11 @@ export SWIG_FEATURES | |||
43 | 39 | ||
44 | export STAGING_DIR | 40 | export STAGING_DIR |
45 | 41 | ||
42 | do_configure:prepend() { | ||
43 | # workaround for https://github.com/swiftlang/swift/issues/69311 | ||
44 | sed -i "/sys\/types.h/d" ${RECIPE_SYSROOT}${includedir}/openssl/e_os2.h | ||
45 | } | ||
46 | |||
46 | do_install:append() { | 47 | do_install:append() { |
47 | rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/M2Crypto/SSL/__pycache__/*.cpython-*.pyc | 48 | rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/M2Crypto/SSL/__pycache__/*.cpython-*.pyc |
48 | rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/M2Crypto/__pycache__/*.cpython-*.pyc | 49 | rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/M2Crypto/__pycache__/*.cpython-*.pyc |
diff --git a/meta-python/recipes-devtools/python/python3-markdown-it-py_3.0.0.bb b/meta-python/recipes-devtools/python/python3-markdown-it-py_3.0.0.bb new file mode 100644 index 0000000000..5ba4fc88b7 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-markdown-it-py_3.0.0.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | SUMMARY = "Python port of markdown-it. Markdown parsing, done right!" | ||
2 | HOMEPAGE = "https://github.com/executablebooks/markdown-it-py" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a38a1697260a7ad7bf29f44b362db1fc" | ||
5 | |||
6 | SRC_URI[sha256sum] = "e3f60a94fa066dc52ec76661e37c851cb232d92f9886b15cb560aaada2df8feb" | ||
7 | |||
8 | inherit pypi python_flit_core | ||
9 | |||
10 | RDEPENDS:${PN} += "python3-mdurl" | ||
11 | |||
12 | PYPI_PACKAGE = "markdown-it-py" | ||
13 | |||
14 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-marshmallow/run-ptest b/meta-python/recipes-devtools/python/python3-marshmallow/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-marshmallow/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-marshmallow_3.21.2.bb b/meta-python/recipes-devtools/python/python3-marshmallow_4.0.0.bb index 11351230c2..389a1b0ab6 100644 --- a/meta-python/recipes-devtools/python/python3-marshmallow_3.21.2.bb +++ b/meta-python/recipes-devtools/python/python3-marshmallow_4.0.0.bb | |||
@@ -6,25 +6,19 @@ LIC_FILES_CHKSUM = "\ | |||
6 | file://LICENSE;md5=27586b20700d7544c06933afe56f7df4 \ | 6 | file://LICENSE;md5=27586b20700d7544c06933afe56f7df4 \ |
7 | file://docs/license.rst;md5=13da439ad060419fb7cf364523017cfb" | 7 | file://docs/license.rst;md5=13da439ad060419fb7cf364523017cfb" |
8 | 8 | ||
9 | SRC_URI[sha256sum] = "82408deadd8b33d56338d2182d455db632c6313aa2af61916672146bb32edc56" | 9 | SRC_URI[sha256sum] = "3b6e80aac299a7935cfb97ed01d1854fb90b5079430969af92118ea1b12a8d55" |
10 | 10 | ||
11 | inherit python_flit_core pypi ptest | 11 | inherit python_flit_core pypi ptest-python-pytest |
12 | |||
13 | SRC_URI += " \ | ||
14 | file://run-ptest \ | ||
15 | " | ||
16 | 12 | ||
17 | RDEPENDS:${PN}-ptest += " \ | 13 | RDEPENDS:${PN}-ptest += " \ |
18 | python3-pytest \ | ||
19 | python3-pytz \ | 14 | python3-pytz \ |
20 | python3-simplejson \ | 15 | python3-simplejson \ |
21 | python3-unittest-automake-output \ | 16 | python3-zoneinfo \ |
17 | python3-tzdata \ | ||
22 | " | 18 | " |
23 | 19 | ||
24 | do_install_ptest() { | 20 | do_install_ptest:append () { |
25 | install -d ${D}${PTEST_PATH}/tests | 21 | rm -rf ${D}${PTEST_PATH}/tests/mypy_test_cases |
26 | rm -rf ${S}/tests/mypy_test_cases | ||
27 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
28 | } | 22 | } |
29 | 23 | ||
30 | RDEPENDS:${PN} += " \ | 24 | RDEPENDS:${PN} += " \ |
diff --git a/meta-python/recipes-devtools/python/python3-matplotlib-inline_0.1.6.bb b/meta-python/recipes-devtools/python/python3-matplotlib-inline_0.1.6.bb deleted file mode 100644 index 13210b9060..0000000000 --- a/meta-python/recipes-devtools/python/python3-matplotlib-inline_0.1.6.bb +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | SUMMARY = "Inline Matplotlib backend for Jupyter" | ||
2 | HOMEPAGE = "https://pypi.org/project/matplotlib-inline/" | ||
3 | LICENSE = "BSD-3-Clause" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d4692a0eb42ca54892399db2cb35e61e" | ||
5 | |||
6 | SRC_URI[sha256sum] = "f887e5f10ba98e8d2b150ddcf4702c1e5f8b3a20005eb0f74bfdbd360ee6f304" | ||
7 | |||
8 | inherit pypi | ||
diff --git a/meta-python/recipes-devtools/python/python3-matplotlib-inline_0.1.7.bb b/meta-python/recipes-devtools/python/python3-matplotlib-inline_0.1.7.bb new file mode 100644 index 0000000000..b7d5c8efc3 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-matplotlib-inline_0.1.7.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | SUMMARY = "Inline Matplotlib backend for Jupyter" | ||
2 | HOMEPAGE = "https://pypi.org/project/matplotlib-inline/" | ||
3 | LICENSE = "BSD-3-Clause" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d4692a0eb42ca54892399db2cb35e61e" | ||
5 | |||
6 | SRC_URI[sha256sum] = "8423b23ec666be3d16e16b60bdd8ac4e86e840ebd1dd11a30b9f117f2fa0ab90" | ||
7 | |||
8 | PYPI_PACKAGE = "matplotlib_inline" | ||
9 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
10 | |||
11 | inherit pypi python_setuptools_build_meta | ||
12 | |||
13 | RDEPENDS:${PN} = "python3-traitlets" | ||
diff --git a/meta-python/recipes-devtools/python/python3-matplotlib/0001-Change-types-for-width-height-to-match-definitions-i.patch b/meta-python/recipes-devtools/python/python3-matplotlib/0001-Change-types-for-width-height-to-match-definitions-i.patch new file mode 100644 index 0000000000..f2c85abfbe --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-matplotlib/0001-Change-types-for-width-height-to-match-definitions-i.patch | |||
@@ -0,0 +1,45 @@ | |||
1 | From 9e4624f256a256df595a0169908f28721fc4cdf3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Wed, 9 Apr 2025 23:17:12 -0700 | ||
4 | Subject: [PATCH] Change types for width/height to match definitions in | ||
5 | BufferRegion | ||
6 | |||
7 | This is found with clang | ||
8 | |||
9 | Fixes | ||
10 | ../matplotlib-3.10.1/src/_backend_agg_wrapper.cpp:253:17: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'int' in initializer list [-Wc++11-narrowing] | ||
11 | |||
12 | Upstream-Status: Submitted [https://github.com/matplotlib/matplotlib/pull/29894] | ||
13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
14 | --- | ||
15 | src/_backend_agg.h | 6 +++--- | ||
16 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
17 | |||
18 | diff --git a/src/_backend_agg.h b/src/_backend_agg.h | ||
19 | index 8010508..29bb81a 100644 | ||
20 | --- a/src/_backend_agg.h | ||
21 | +++ b/src/_backend_agg.h | ||
22 | @@ -132,12 +132,12 @@ class RendererAgg | ||
23 | |||
24 | virtual ~RendererAgg(); | ||
25 | |||
26 | - unsigned int get_width() | ||
27 | + int get_width() | ||
28 | { | ||
29 | return width; | ||
30 | } | ||
31 | |||
32 | - unsigned int get_height() | ||
33 | + int get_height() | ||
34 | { | ||
35 | return height; | ||
36 | } | ||
37 | @@ -205,7 +205,7 @@ class RendererAgg | ||
38 | void restore_region(BufferRegion ®); | ||
39 | void restore_region(BufferRegion ®ion, int xx1, int yy1, int xx2, int yy2, int x, int y); | ||
40 | |||
41 | - unsigned int width, height; | ||
42 | + int width, height; | ||
43 | double dpi; | ||
44 | size_t NUMBYTES; // the number of bytes in buffer | ||
45 | |||
diff --git a/meta-python/recipes-devtools/python/python3-matplotlib/0001-Do-not-download-external-dependency-tarballs-via-mes.patch b/meta-python/recipes-devtools/python/python3-matplotlib/0001-Do-not-download-external-dependency-tarballs-via-mes.patch new file mode 100644 index 0000000000..144bfac185 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-matplotlib/0001-Do-not-download-external-dependency-tarballs-via-mes.patch | |||
@@ -0,0 +1,47 @@ | |||
1 | From a6b0bc129de493f57bf79005c48a8d4ca0df68c2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Wed, 9 Apr 2025 17:34:55 -0700 | ||
4 | Subject: [PATCH] Do not download external dependency tarballs via meson | ||
5 | |||
6 | They are fetched by bitbake fetcher already | ||
7 | |||
8 | Upstream-Status: Inappropriate [ OE-Specific ] | ||
9 | |||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
11 | --- | ||
12 | subprojects/freetype-2.6.1.wrap | 7 +------ | ||
13 | subprojects/qhull.wrap | 9 ++------- | ||
14 | 2 files changed, 3 insertions(+), 13 deletions(-) | ||
15 | |||
16 | diff --git a/subprojects/freetype-2.6.1.wrap b/subprojects/freetype-2.6.1.wrap | ||
17 | index 763362b..74ecb13 100644 | ||
18 | --- a/subprojects/freetype-2.6.1.wrap | ||
19 | +++ b/subprojects/freetype-2.6.1.wrap | ||
20 | @@ -1,10 +1,5 @@ | ||
21 | [wrap-file] | ||
22 | -source_url = https://download.savannah.gnu.org/releases/freetype/freetype-old/freetype-2.6.1.tar.gz | ||
23 | -source_fallback_url = https://downloads.sourceforge.net/project/freetype/freetype2/2.6.1/freetype-2.6.1.tar.gz | ||
24 | -source_filename = freetype-2.6.1.tar.gz | ||
25 | -source_hash = 0a3c7dfbda6da1e8fce29232e8e96d987ababbbf71ebc8c75659e4132c367014 | ||
26 | - | ||
27 | -patch_directory = freetype-2.6.1-meson | ||
28 | +directory = freetype-2.6.1 | ||
29 | |||
30 | [provide] | ||
31 | freetype-2.6.1 = freetype_dep | ||
32 | diff --git a/subprojects/qhull.wrap b/subprojects/qhull.wrap | ||
33 | index c52b07d..30b6904 100644 | ||
34 | --- a/subprojects/qhull.wrap | ||
35 | +++ b/subprojects/qhull.wrap | ||
36 | @@ -1,9 +1,4 @@ | ||
37 | [wrap-file] | ||
38 | -# Also bump the cache key in `.circleci/config.yml`. | ||
39 | -# Also update the docs in `docs/devel/dependencies.rst`. | ||
40 | -directory = qhull-8.0.2 | ||
41 | -source_url = https://github.com/qhull/qhull/archive/v8.0.2/qhull-8.0.2.tar.gz | ||
42 | -source_filename = qhull-8.0.2.tgz | ||
43 | -source_hash = 8774e9a12c70b0180b95d6b0b563c5aa4bea8d5960c15e18ae3b6d2521d64f8b | ||
44 | +directory = qhull-2020.2 | ||
45 | |||
46 | -patch_directory = qhull-8.0.2 | ||
47 | +patch_directory = qhull-2020.2 | ||
diff --git a/meta-python/recipes-devtools/python/python3-matplotlib/matplotlib-disable-download.patch b/meta-python/recipes-devtools/python/python3-matplotlib/matplotlib-disable-download.patch deleted file mode 100644 index aea8f62ea7..0000000000 --- a/meta-python/recipes-devtools/python/python3-matplotlib/matplotlib-disable-download.patch +++ /dev/null | |||
@@ -1,75 +0,0 @@ | |||
1 | Disable automatic downloading of components! | ||
2 | |||
3 | Upstream-Status: Inappropriate [disable feature] | ||
4 | |||
5 | Signed-off-by: Mark Hatle <mark.hatle@xilinx.com> | ||
6 | |||
7 | Update patch to fit on 3.7.2. | ||
8 | |||
9 | Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> | ||
10 | |||
11 | diff --git a/setup.py b/setup.py | ||
12 | index 0bea13fa6f..f39d8fc871 100644 | ||
13 | --- a/setup.py | ||
14 | +++ b/setup.py | ||
15 | @@ -327,13 +327,7 @@ setup( # Finally, pass this all along to setuptools to do the heavy lifting. | ||
16 | "pillow>=6.2.0", | ||
17 | "pyparsing>=2.3.1,<3.1", | ||
18 | "python-dateutil>=2.7", | ||
19 | - ] + ( | ||
20 | - # Installing from a git checkout that is not producing a wheel. | ||
21 | - ["setuptools_scm>=7"] if ( | ||
22 | - Path(__file__).with_name(".git").exists() and | ||
23 | - os.environ.get("CIBUILDWHEEL", "0") != "1" | ||
24 | - ) else [] | ||
25 | - ), | ||
26 | + ], | ||
27 | extras_require={ | ||
28 | ':python_version<"3.10"': [ | ||
29 | "importlib-resources>=3.2.0", | ||
30 | diff --git a/setupext.py b/setupext.py | ||
31 | index a898d642d6..474172ff8f 100644 | ||
32 | --- a/setupext.py | ||
33 | +++ b/setupext.py | ||
34 | @@ -66,40 +66,7 @@ def get_from_cache_or_download(url, sha): | ||
35 | BytesIO | ||
36 | The file loaded into memory. | ||
37 | """ | ||
38 | - cache_dir = _get_xdg_cache_dir() | ||
39 | - | ||
40 | - if cache_dir is not None: # Try to read from cache. | ||
41 | - try: | ||
42 | - data = (cache_dir / sha).read_bytes() | ||
43 | - except IOError: | ||
44 | - pass | ||
45 | - else: | ||
46 | - if _get_hash(data) == sha: | ||
47 | - return BytesIO(data) | ||
48 | - | ||
49 | - # jQueryUI's website blocks direct downloads from urllib.request's | ||
50 | - # default User-Agent, but not (for example) wget; so I don't feel too | ||
51 | - # bad passing in an empty User-Agent. | ||
52 | - with urllib.request.urlopen( | ||
53 | - urllib.request.Request(url, headers={"User-Agent": ""}), | ||
54 | - context=_get_ssl_context()) as req: | ||
55 | - data = req.read() | ||
56 | - | ||
57 | - file_sha = _get_hash(data) | ||
58 | - if file_sha != sha: | ||
59 | - raise Exception( | ||
60 | - f"The downloaded file does not match the expected sha. {url} was " | ||
61 | - f"expected to have {sha} but it had {file_sha}") | ||
62 | - | ||
63 | - if cache_dir is not None: # Try to cache the downloaded file. | ||
64 | - try: | ||
65 | - cache_dir.mkdir(parents=True, exist_ok=True) | ||
66 | - with open(cache_dir / sha, "xb") as fout: | ||
67 | - fout.write(data) | ||
68 | - except IOError: | ||
69 | - pass | ||
70 | - | ||
71 | - return BytesIO(data) | ||
72 | + raise IOError(f"Automatic downloading is disabled.") | ||
73 | |||
74 | |||
75 | def get_and_extract_tarball(urls, sha, dirname): | ||
diff --git a/meta-python/recipes-devtools/python/python3-matplotlib/run-ptest b/meta-python/recipes-devtools/python/python3-matplotlib/run-ptest new file mode 100644 index 0000000000..e99c96b342 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-matplotlib/run-ptest | |||
@@ -0,0 +1,3 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake --pyargs matplotlib | ||
diff --git a/meta-python/recipes-devtools/python/python3-matplotlib_3.10.3.bb b/meta-python/recipes-devtools/python/python3-matplotlib_3.10.3.bb new file mode 100644 index 0000000000..97a2910fa2 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-matplotlib_3.10.3.bb | |||
@@ -0,0 +1,50 @@ | |||
1 | SUMMARY = "matplotlib: plotting with Python" | ||
2 | DESCRIPTION = "\ | ||
3 | Matplotlib is a Python 2D plotting library which produces \ | ||
4 | publication-quality figures in a variety of hardcopy formats \ | ||
5 | and interactive environments across platforms." | ||
6 | HOMEPAGE = "https://github.com/matplotlib/matplotlib" | ||
7 | SECTION = "devel/python" | ||
8 | LICENSE = "PSF-2.0" | ||
9 | LIC_FILES_CHKSUM = "\ | ||
10 | file://LICENSE/LICENSE;md5=afec61498aa5f0c45936687da9a53d74 \ | ||
11 | " | ||
12 | |||
13 | DEPENDS = "\ | ||
14 | python3-setuptools-scm-native \ | ||
15 | freetype \ | ||
16 | libpng \ | ||
17 | python3-pybind11 \ | ||
18 | qhull \ | ||
19 | " | ||
20 | |||
21 | SRC_URI += "file://run-ptest \ | ||
22 | file://0001-Do-not-download-external-dependency-tarballs-via-mes.patch \ | ||
23 | file://0001-Change-types-for-width-height-to-match-definitions-i.patch \ | ||
24 | " | ||
25 | SRC_URI[sha256sum] = "2f82d2c5bb7ae93aaaa4cd42aca65d76ce6376f83304fa3a630b569aca274df0" | ||
26 | |||
27 | inherit pypi pkgconfig python3targetconfig meson ptest-python-pytest | ||
28 | |||
29 | EXTRA_OEMESON += "-Dsystem-freetype=true -Dsystem-qhull=true" | ||
30 | |||
31 | # LTO with clang needs lld | ||
32 | LDFLAGS:append:toolchain-clang = " -fuse-ld=lld" | ||
33 | |||
34 | FILES:${PN}-ptest += "${PYTHON_SITEPACKAGES_DIR}/matplotlib/tests" | ||
35 | FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}/" | ||
36 | |||
37 | RDEPENDS:${PN} = "\ | ||
38 | freetype \ | ||
39 | libpng \ | ||
40 | python3-numpy \ | ||
41 | python3-pyparsing \ | ||
42 | python3-cycler \ | ||
43 | python3-dateutil \ | ||
44 | python3-kiwisolver \ | ||
45 | python3-pytz \ | ||
46 | python3-pillow \ | ||
47 | python3-packaging \ | ||
48 | " | ||
49 | |||
50 | BBCLASSEXTEND = "native" | ||
diff --git a/meta-python/recipes-devtools/python/python3-matplotlib_3.7.2.bb b/meta-python/recipes-devtools/python/python3-matplotlib_3.7.2.bb deleted file mode 100644 index 72c369100a..0000000000 --- a/meta-python/recipes-devtools/python/python3-matplotlib_3.7.2.bb +++ /dev/null | |||
@@ -1,70 +0,0 @@ | |||
1 | SUMMARY = "matplotlib: plotting with Python" | ||
2 | DESCRIPTION = "\ | ||
3 | Matplotlib is a Python 2D plotting library which produces \ | ||
4 | publication-quality figures in a variety of hardcopy formats \ | ||
5 | and interactive environments across platforms." | ||
6 | HOMEPAGE = "https://github.com/matplotlib/matplotlib" | ||
7 | SECTION = "devel/python" | ||
8 | LICENSE = "PSF-2.0" | ||
9 | LIC_FILES_CHKSUM = "\ | ||
10 | file://setup.py;beginline=293;endline=293;md5=20e7ab4d2b2b1395a0e4ab800181eb96 \ | ||
11 | file://LICENSE/LICENSE;md5=afec61498aa5f0c45936687da9a53d74 \ | ||
12 | " | ||
13 | |||
14 | DEPENDS = "\ | ||
15 | freetype \ | ||
16 | libpng \ | ||
17 | python3-numpy-native \ | ||
18 | python3-pip-native \ | ||
19 | python3-dateutil-native \ | ||
20 | python3-pytz-native \ | ||
21 | python3-certifi-native \ | ||
22 | python3-setuptools-scm-native \ | ||
23 | python3-pybind11-native \ | ||
24 | " | ||
25 | SRC_URI[sha256sum] = "a8cdb91dddb04436bd2f098b8fdf4b81352e68cf4d2c6756fcc414791076569b" | ||
26 | |||
27 | inherit pypi setuptools3 pkgconfig | ||
28 | |||
29 | # Stop the component from attempting to download when it detects a missing | ||
30 | # dependency | ||
31 | SRC_URI += "file://matplotlib-disable-download.patch \ | ||
32 | " | ||
33 | |||
34 | # This python module requires a full copy of freetype-2.6.1 | ||
35 | SRC_URI += "https://downloads.sourceforge.net/project/freetype/freetype2/2.6.1/freetype-2.6.1.tar.gz;name=freetype;subdir=matplotlib-${PV}/build" | ||
36 | SRC_URI[freetype.sha256sum] = "0a3c7dfbda6da1e8fce29232e8e96d987ababbbf71ebc8c75659e4132c367014" | ||
37 | |||
38 | # This python module requires a full copy of 'qhull-2020' | ||
39 | SRC_URI += "http://www.qhull.org/download/qhull-2020-src-8.0.2.tgz;name=qhull;subdir=matplotlib-${PV}/build" | ||
40 | SRC_URI[qhull.sha256sum] = "b5c2d7eb833278881b952c8a52d20179eab87766b00b865000469a45c1838b7e" | ||
41 | |||
42 | # LTO with clang needs lld | ||
43 | LDFLAGS:append:toolchain-clang = " -fuse-ld=lld" | ||
44 | LDFLAGS:remove:toolchain-clang:mips = "-fuse-ld=lld" | ||
45 | LDFLAGS:remove:toolchain-clang:riscv64 = "-fuse-ld=lld" | ||
46 | LDFLAGS:remove:toolchain-clang:riscv32 = "-fuse-ld=lld" | ||
47 | RDEPENDS:${PN} = "\ | ||
48 | freetype \ | ||
49 | libpng \ | ||
50 | python3-numpy \ | ||
51 | python3-pyparsing \ | ||
52 | python3-cycler \ | ||
53 | python3-dateutil \ | ||
54 | python3-kiwisolver \ | ||
55 | python3-pytz \ | ||
56 | python3-pillow \ | ||
57 | python3-packaging \ | ||
58 | " | ||
59 | |||
60 | ENABLELTO:toolchain-clang:riscv64 = "echo enable_lto = False >> ${S}/mplsetup.cfg" | ||
61 | ENABLELTO:toolchain-clang:riscv32 = "echo enable_lto = False >> ${S}/mplsetup.cfg" | ||
62 | ENABLELTO:toolchain-clang:mips = "echo enable_lto = False >> ${S}/mplsetup.cfg" | ||
63 | |||
64 | do_compile:prepend() { | ||
65 | echo [libs] > ${S}/mplsetup.cfg | ||
66 | echo system_freetype = True >> ${S}/mplsetup.cfg | ||
67 | ${ENABLELTO} | ||
68 | } | ||
69 | |||
70 | BBCLASSEXTEND = "native" | ||
diff --git a/meta-python/recipes-devtools/python/python3-mdit-py-plugins_0.4.2.bb b/meta-python/recipes-devtools/python/python3-mdit-py-plugins_0.4.2.bb new file mode 100644 index 0000000000..ef095c74a8 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-mdit-py-plugins_0.4.2.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | SUMMARY = "Collection of plugins for markdown-it-py" | ||
2 | HOMEPAGE = "https://github.com/executablebooks/mdit-py-plugins" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a38a1697260a7ad7bf29f44b362db1fc" | ||
5 | |||
6 | SRC_URI[sha256sum] = "5f2cd1fdb606ddf152d37ec30e46101a60512bc0e5fa1a7002c36647b09e26b5" | ||
7 | |||
8 | inherit pypi python_flit_core | ||
9 | |||
10 | RDEPENDS:${PN} += "python3-markdown-it-py" | ||
11 | |||
12 | PYPI_PACKAGE = "mdit_py_plugins" | ||
13 | |||
14 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-mdurl_0.1.2.bb b/meta-python/recipes-devtools/python/python3-mdurl_0.1.2.bb new file mode 100644 index 0000000000..b5b3c2ad50 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-mdurl_0.1.2.bb | |||
@@ -0,0 +1,11 @@ | |||
1 | SUMMARY = "Markdown URL utilities" | ||
2 | DESCRIPTION = "URL utilities for markdown-it (a Python port)" | ||
3 | HOMEPAGE = "https://github.com/executablebooks/mdurl" | ||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=aca1dc6b9088f1dda81c89cad2c77ad1" | ||
6 | |||
7 | SRC_URI[sha256sum] = "bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba" | ||
8 | |||
9 | inherit pypi python_flit_core | ||
10 | |||
11 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-meld3_2.0.1.bb b/meta-python/recipes-devtools/python/python3-meld3_2.0.1.bb index 7ebf9f1411..f212f8d8d6 100644 --- a/meta-python/recipes-devtools/python/python3-meld3_2.0.1.bb +++ b/meta-python/recipes-devtools/python/python3-meld3_2.0.1.bb | |||
@@ -8,12 +8,10 @@ HOMEPAGE = "https://github.com/supervisor/meld3" | |||
8 | LICENSE = "BSD-4-Clause" | 8 | LICENSE = "BSD-4-Clause" |
9 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9e7581cef5645475fcefebdc15ed7abf" | 9 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9e7581cef5645475fcefebdc15ed7abf" |
10 | 10 | ||
11 | SRC_URI[md5sum] = "1add16caefc9e6b82ef4f40532cb4918" | ||
12 | SRC_URI[sha256sum] = "3ea266994f1aa83507679a67b493b852c232a7905e29440a6b868558cad5e775" | 11 | SRC_URI[sha256sum] = "3ea266994f1aa83507679a67b493b852c232a7905e29440a6b868558cad5e775" |
13 | 12 | ||
14 | inherit pypi setuptools3 | 13 | inherit pypi setuptools3 |
15 | 14 | ||
16 | RDEPENDS:${PN} += " \ | 15 | RDEPENDS:${PN} += " \ |
17 | python3-cgitb \ | ||
18 | python3-xml \ | 16 | python3-xml \ |
19 | " | 17 | " |
diff --git a/meta-python/recipes-devtools/python/python3-mock_5.1.0.bb b/meta-python/recipes-devtools/python/python3-mock_5.2.0.bb index d9ecb9d4c8..0861518d4b 100644 --- a/meta-python/recipes-devtools/python/python3-mock_5.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-mock_5.2.0.bb | |||
@@ -1,7 +1,7 @@ | |||
1 | DESCRIPTION = "A Python Mocking and Patching Library for Testing" | 1 | DESCRIPTION = "A Python Mocking and Patching Library for Testing" |
2 | HOMEPAGE = "https://pypi.python.org/pypi/mock" | 2 | HOMEPAGE = "https://pypi.python.org/pypi/mock" |
3 | SECTION = "devel/python" | 3 | SECTION = "devel/python" |
4 | LICENSE = "Apache-2.0" | 4 | LICENSE = "BSD-2-Clause" |
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=de9dfbf780446b18aab11f00baaf5b7e" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=de9dfbf780446b18aab11f00baaf5b7e" |
6 | 6 | ||
7 | inherit pypi setuptools3 | 7 | inherit pypi setuptools3 |
@@ -16,4 +16,4 @@ RDEPENDS:${PN} += " \ | |||
16 | python3-unittest \ | 16 | python3-unittest \ |
17 | " | 17 | " |
18 | 18 | ||
19 | SRC_URI[sha256sum] = "5e96aad5ccda4718e0a229ed94b2024df75cc2d55575ba5762d31f5767b8767d" | 19 | SRC_URI[sha256sum] = "4e460e818629b4b173f32d08bf30d3af8123afbb8e04bb5707a1fd4799e503f0" |
diff --git a/meta-python/recipes-devtools/python/python3-monotonic_1.6.bb b/meta-python/recipes-devtools/python/python3-monotonic_1.6.bb index aacc32a6d6..b801c5d731 100644 --- a/meta-python/recipes-devtools/python/python3-monotonic_1.6.bb +++ b/meta-python/recipes-devtools/python/python3-monotonic_1.6.bb | |||
@@ -8,6 +8,5 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314" | |||
8 | SRCREV = "80681f6604e136e513550342f977edb98f5fc5ad" | 8 | SRCREV = "80681f6604e136e513550342f977edb98f5fc5ad" |
9 | SRC_URI = "git://github.com/atdt/monotonic.git;branch=master;protocol=https" | 9 | SRC_URI = "git://github.com/atdt/monotonic.git;branch=master;protocol=https" |
10 | 10 | ||
11 | S = "${WORKDIR}/git" | ||
12 | 11 | ||
13 | inherit setuptools3 | 12 | inherit setuptools3 |
diff --git a/meta-python/recipes-devtools/python/python3-moteus_0.3.71.bb b/meta-python/recipes-devtools/python/python3-moteus_0.3.88.bb index 54c53afe4e..b81c53652f 100644 --- a/meta-python/recipes-devtools/python/python3-moteus_0.3.71.bb +++ b/meta-python/recipes-devtools/python/python3-moteus_0.3.88.bb | |||
@@ -5,9 +5,9 @@ LIC_FILES_CHKSUM = "file://setup.py;beginline=3;endline=9;md5=24025d3c660abfc62a | |||
5 | 5 | ||
6 | inherit pypi setuptools3 | 6 | inherit pypi setuptools3 |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "7caa994ad7ed2b0a219b20e4a2e83b6bad01e549402c38a264f0d83d560d7908" | 8 | SRC_URI[sha256sum] = "e16387e5fe512a7580ef847e6b2e665d4b40549b064ab237e01fd7dec7c46232" |
9 | 9 | ||
10 | S = "${WORKDIR}/moteus-${PV}" | 10 | S = "${UNPACKDIR}/moteus-${PV}" |
11 | 11 | ||
12 | RDEPENDS:${PN} += "\ | 12 | RDEPENDS:${PN} += "\ |
13 | python3-can \ | 13 | python3-can \ |
diff --git a/meta-python/recipes-devtools/python/python3-msgpack/run-ptest b/meta-python/recipes-devtools/python/python3-msgpack/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-msgpack/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-msgpack_1.0.8.bb b/meta-python/recipes-devtools/python/python3-msgpack_1.0.8.bb deleted file mode 100644 index a000737f42..0000000000 --- a/meta-python/recipes-devtools/python/python3-msgpack_1.0.8.bb +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | SUMMARY = "MessagePack (de)serializer" | ||
2 | LICENSE = "Apache-2.0" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=cd9523181d9d4fbf7ffca52eaa2a5751" | ||
4 | |||
5 | inherit pypi setuptools3 ptest | ||
6 | |||
7 | SRC_URI[sha256sum] = "95c02b0e27e706e48d0e5426d1710ca78e0f0628d6e89d5b5a5b91a5f12274f3" | ||
8 | |||
9 | RDEPENDS:${PN}:class-target += "\ | ||
10 | python3-io \ | ||
11 | " | ||
12 | |||
13 | BBCLASSEXTEND = "native nativesdk" | ||
14 | |||
15 | SRC_URI += " \ | ||
16 | file://run-ptest \ | ||
17 | " | ||
18 | |||
19 | RDEPENDS:${PN}-ptest += " \ | ||
20 | python3-pytest \ | ||
21 | python3-unittest-automake-output \ | ||
22 | " | ||
23 | |||
24 | do_install_ptest() { | ||
25 | install -d ${D}${PTEST_PATH}/test | ||
26 | cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ | ||
27 | } | ||
diff --git a/meta-python/recipes-devtools/python/python3-msgpack_1.1.1.bb b/meta-python/recipes-devtools/python/python3-msgpack_1.1.1.bb new file mode 100644 index 0000000000..6704829f7d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-msgpack_1.1.1.bb | |||
@@ -0,0 +1,15 @@ | |||
1 | SUMMARY = "MessagePack (de)serializer" | ||
2 | LICENSE = "Apache-2.0" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=cd9523181d9d4fbf7ffca52eaa2a5751" | ||
4 | |||
5 | inherit pypi python_setuptools_build_meta ptest-python-pytest | ||
6 | |||
7 | PTEST_PYTEST_DIR = "test" | ||
8 | |||
9 | SRC_URI[sha256sum] = "77b79ce34a2bdab2594f490c8e80dd62a02d650b91a75159a63ec413b8d104cd" | ||
10 | |||
11 | RDEPENDS:${PN}:class-target += "\ | ||
12 | python3-io \ | ||
13 | " | ||
14 | |||
15 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-msm_0.8.8.bb b/meta-python/recipes-devtools/python/python3-msm_0.8.8.bb index 966ff86dee..a3bbd5d1a1 100644 --- a/meta-python/recipes-devtools/python/python3-msm_0.8.8.bb +++ b/meta-python/recipes-devtools/python/python3-msm_0.8.8.bb | |||
@@ -3,7 +3,6 @@ HOMEPAGE = "https://github.com/MycroftAI/mycroft-skills-manager" | |||
3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e23fadd6ceef8c618fc1c65191d846fa" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e23fadd6ceef8c618fc1c65191d846fa" |
5 | 5 | ||
6 | SRC_URI[md5sum] = "cf1fc0d1d86af68003cae53c71ec6288" | ||
7 | SRC_URI[sha256sum] = "a502aee54917cd394217b31c977a1ba3d9541a0120e0a045c49fd77b328e4a29" | 6 | SRC_URI[sha256sum] = "a502aee54917cd394217b31c977a1ba3d9541a0120e0a045c49fd77b328e4a29" |
8 | 7 | ||
9 | inherit pypi setuptools3 | 8 | inherit pypi setuptools3 |
diff --git a/meta-python/recipes-devtools/python/python3-multidict/run-ptest b/meta-python/recipes-devtools/python/python3-multidict/run-ptest deleted file mode 100644 index d74acaf564..0000000000 --- a/meta-python/recipes-devtools/python/python3-multidict/run-ptest +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-multidict_6.0.5.bb b/meta-python/recipes-devtools/python/python3-multidict_6.5.1.bb index b12e180d02..2a21b39471 100644 --- a/meta-python/recipes-devtools/python/python3-multidict_6.0.5.bb +++ b/meta-python/recipes-devtools/python/python3-multidict_6.5.1.bb | |||
@@ -4,27 +4,18 @@ HOMEPAGE = "https://github.com/aio-libs/multidict/" | |||
4 | LICENSE = "Apache-2.0" | 4 | LICENSE = "Apache-2.0" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b4fef6e4b0828c2401fb983363985b39" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b4fef6e4b0828c2401fb983363985b39" |
6 | 6 | ||
7 | inherit pypi setuptools3 ptest | 7 | inherit pypi python_setuptools_build_meta ptest-python-pytest |
8 | 8 | ||
9 | PV .= "+git" | 9 | PV .= "+git" |
10 | 10 | ||
11 | SRCREV = "a9b281b2ef4ab25d95d6b268aa88c428e75c3696" | 11 | SRCREV = "df0379fe7f27682359e3298a9ad1507f650cc690" |
12 | PYPI_SRC_URI = "git://github.com/aio-libs/multidict;branch=master;protocol=https" | 12 | PYPI_SRC_URI = "git://github.com/aio-libs/multidict;branch=master;protocol=https" |
13 | S = "${WORKDIR}/git" | 13 | S = "${UNPACKDIR}/python3-multidict-${PV}" |
14 | |||
15 | SRC_URI += " \ | ||
16 | file://run-ptest \ | ||
17 | " | ||
18 | 14 | ||
19 | RDEPENDS:${PN}-ptest += " \ | 15 | RDEPENDS:${PN}-ptest += " \ |
20 | python3-pytest \ | 16 | python3-objgraph \ |
21 | python3-pytest-cov \ | 17 | python3-pytest-cov \ |
22 | python3-unittest-automake-output \ | 18 | python3-pytest-codspeed \ |
23 | " | 19 | " |
24 | 20 | ||
25 | do_install_ptest() { | ||
26 | install -d ${D}${PTEST_PATH}/tests | ||
27 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
28 | } | ||
29 | |||
30 | BBCLASSEXTEND = "native nativesdk" | 21 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-python/recipes-devtools/python/python3-mypy-extensions_1.0.0.bb b/meta-python/recipes-devtools/python/python3-mypy-extensions_1.1.0.bb index 4c431431c2..9c8cb5533d 100644 --- a/meta-python/recipes-devtools/python/python3-mypy-extensions_1.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-mypy-extensions_1.1.0.bb | |||
@@ -4,9 +4,10 @@ LICENSE = "MIT" | |||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0fe3219e2470a78c0d1837019b8b426e" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0fe3219e2470a78c0d1837019b8b426e" |
5 | 5 | ||
6 | PYPI_PACKAGE = "mypy_extensions" | 6 | PYPI_PACKAGE = "mypy_extensions" |
7 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
7 | 8 | ||
8 | inherit pypi setuptools3 | 9 | inherit pypi python_setuptools_build_meta |
9 | 10 | ||
10 | SRC_URI[sha256sum] = "75dbf8955dc00442a438fc4d0666508a9a97b6bd41aa2f0ffe9d2f2725af0782" | 11 | SRC_URI[sha256sum] = "52e68efc3284861e772bbcd66823fde5ae21fd2fdb51c62a211403730b916558" |
11 | 12 | ||
12 | BBCLASSEXTEND = "native" | 13 | BBCLASSEXTEND = "native" |
diff --git a/meta-python/recipes-devtools/python/python3-mypy_1.10.0.bb b/meta-python/recipes-devtools/python/python3-mypy_1.15.0.bb index 534ff90666..ebcac51ea1 100644 --- a/meta-python/recipes-devtools/python/python3-mypy_1.10.0.bb +++ b/meta-python/recipes-devtools/python/python3-mypy_1.15.0.bb | |||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=8d62fd8f8648cb018e52857347e340b9" | |||
5 | 5 | ||
6 | inherit pypi python_setuptools_build_meta | 6 | inherit pypi python_setuptools_build_meta |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "3d087fcbec056c4ee34974da493a826ce316947485cef3901f511848e687c131" | 8 | SRC_URI[sha256sum] = "404534629d51d3efea5c800ee7c42b72a6554d6c400e6a79eafe15d11341fd43" |
9 | 9 | ||
10 | BBCLASSEXTEND = "native" | 10 | BBCLASSEXTEND = "native" |
11 | 11 | ||
diff --git a/meta-python/recipes-devtools/python/python3-myst-parser_4.0.1.bb b/meta-python/recipes-devtools/python/python3-myst-parser_4.0.1.bb new file mode 100644 index 0000000000..01c98b8db1 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-myst-parser_4.0.1.bb | |||
@@ -0,0 +1,19 @@ | |||
1 | SUMMARY = "An extended commonmark compliant parser, with bridges to docutils/sphinx" | ||
2 | HOMEPAGE = "https://github.com/executablebooks/MyST-Parser" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a38a1697260a7ad7bf29f44b362db1fc" | ||
5 | |||
6 | SRC_URI[sha256sum] = "5cfea715e4f3574138aecbf7d54132296bfd72bb614d31168f48c477a830a7c4" | ||
7 | |||
8 | inherit pypi python_flit_core | ||
9 | |||
10 | PYPI_PACKAGE = "myst_parser" | ||
11 | |||
12 | RDEPENDS:${PN} = "\ | ||
13 | python3-docutils \ | ||
14 | python3-jinja2 \ | ||
15 | python3-pyyaml \ | ||
16 | python3-sphinx \ | ||
17 | " | ||
18 | |||
19 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-nanobind_2.7.0.bb b/meta-python/recipes-devtools/python/python3-nanobind_2.7.0.bb new file mode 100644 index 0000000000..3cb75cba09 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-nanobind_2.7.0.bb | |||
@@ -0,0 +1,26 @@ | |||
1 | SUMMARY = "nanobind: tiny and efficient C++/Python bindings" | ||
2 | DESCRIPTION = "nanobind: tiny and efficient C++/Python bindings" | ||
3 | HOMEPAGE = "https://github.com/wjakob/nanobind" | ||
4 | LICENSE = "BSD-3-Clause" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7646f9ee25e49eaf53f89a10665c568c" | ||
6 | |||
7 | SRC_URI[sha256sum] = "f9f1b160580c50dcf37b6495a0fd5ec61dc0d95dae5f8004f87dd9ad7eb46b34" | ||
8 | |||
9 | inherit pypi python_setuptools_build_meta cmake lib_package | ||
10 | |||
11 | EXTRA_OECMAKE += "-DNB_TEST=OFF" | ||
12 | |||
13 | DEPENDS += "\ | ||
14 | python3-scikit-build-native \ | ||
15 | python3-scikit-build-core-native \ | ||
16 | ninja-native \ | ||
17 | " | ||
18 | |||
19 | do_install:append() { | ||
20 | install -d ${D}${base_libdir}/cmake/${PN} | ||
21 | install -m 0644 ${S}/cmake/* ${D}${base_libdir}/cmake/${PN}/ | ||
22 | } | ||
23 | |||
24 | FILES:${PN} += "${prefix_native}/* ${prefix_native}/${PN}/* ${base_libdir}/cmake/*" | ||
25 | |||
26 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-netaddr/run-ptest b/meta-python/recipes-devtools/python/python3-netaddr/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-netaddr/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-netaddr_1.3.0.bb b/meta-python/recipes-devtools/python/python3-netaddr_1.3.0.bb index b8a772566a..256b38a135 100644 --- a/meta-python/recipes-devtools/python/python3-netaddr_1.3.0.bb +++ b/meta-python/recipes-devtools/python/python3-netaddr_1.3.0.bb | |||
@@ -4,18 +4,13 @@ LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=8afa43eca873b71d5d85dd0be1f707fa" | |||
4 | 4 | ||
5 | SRC_URI[sha256sum] = "5c3c3d9895b551b763779ba7db7a03487dc1f8e3b385af819af341ae9ef6e48a" | 5 | SRC_URI[sha256sum] = "5c3c3d9895b551b763779ba7db7a03487dc1f8e3b385af819af341ae9ef6e48a" |
6 | 6 | ||
7 | inherit pypi python_setuptools_build_meta ptest | 7 | inherit pypi python_setuptools_build_meta ptest-python-pytest |
8 | 8 | ||
9 | SRC_URI += " \ | 9 | RDEPENDS:${PN} += " \ |
10 | file://run-ptest \ | 10 | python3-pprint \ |
11 | " | 11 | " |
12 | 12 | ||
13 | RDEPENDS:${PN}-ptest += " \ | 13 | do_install_ptest:append () { |
14 | python3-pytest \ | ||
15 | python3-unittest-automake-output \ | ||
16 | " | ||
17 | |||
18 | do_install_ptest() { | ||
19 | install -d ${D}${PTEST_PATH}/tests | 14 | install -d ${D}${PTEST_PATH}/tests |
20 | cp -rf ${S}/netaddr/tests/* ${D}${PTEST_PATH}/tests/ | 15 | cp -rf ${S}/netaddr/tests/* ${D}${PTEST_PATH}/tests/ |
21 | } | 16 | } |
diff --git a/meta-python/recipes-devtools/python/python3-networkx_3.1.bb b/meta-python/recipes-devtools/python/python3-networkx_3.5.bb index 2f2c3cfc3d..a386313ddd 100644 --- a/meta-python/recipes-devtools/python/python3-networkx_3.1.bb +++ b/meta-python/recipes-devtools/python/python3-networkx_3.5.bb | |||
@@ -1,11 +1,11 @@ | |||
1 | DESCRIPTION = "Python package for creating and manipulating graphs and networks" | 1 | DESCRIPTION = "Python package for creating and manipulating graphs and networks" |
2 | HOMEPAGE = "http://networkx.github.io/" | 2 | HOMEPAGE = "http://networkx.github.io/" |
3 | LICENSE = "BSD-3-Clause" | 3 | LICENSE = "BSD-3-Clause" |
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4266362445d56549f7b8973d02e5f22a" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f7592b173aee2da0e062f9cfa0378e9d" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "de346335408f84de0eada6ff9fafafff9bcda11f0a0dfaa931133debb146ab61" | 6 | SRC_URI[sha256sum] = "d4c6f9cf81f52d69230866796b82afbccdec3db7ae4fbd1b65ea750feed50037" |
7 | 7 | ||
8 | inherit pypi setuptools3 | 8 | inherit pypi python_setuptools_build_meta |
9 | 9 | ||
10 | RDEPENDS:${PN} += "\ | 10 | RDEPENDS:${PN} += "\ |
11 | python3-decorator \ | 11 | python3-decorator \ |
diff --git a/meta-python/recipes-devtools/python/python3-ninja-syntax_1.7.2.bb b/meta-python/recipes-devtools/python/python3-ninja-syntax_1.7.2.bb index 2f94f7a6a5..7e389a5772 100644 --- a/meta-python/recipes-devtools/python/python3-ninja-syntax_1.7.2.bb +++ b/meta-python/recipes-devtools/python/python3-ninja-syntax_1.7.2.bb | |||
@@ -8,7 +8,6 @@ SRC_URI[sha256sum] = "342dc97b9e88a6495bae22953ee6063f91d2f03db6f727b62ba5c3092a | |||
8 | inherit pypi setuptools3 | 8 | inherit pypi setuptools3 |
9 | 9 | ||
10 | PYPI_PACKAGE = "ninja_syntax" | 10 | PYPI_PACKAGE = "ninja_syntax" |
11 | UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/ninja_syntax/" | 11 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" |
12 | UPSTREAM_CHECK_REGEX = "/ninja_syntax/(?P<pver>(\d+[\.\-_]*)+)" | ||
13 | 12 | ||
14 | BBCLASSEXTEND = "native nativesdk" | 13 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-python/recipes-devtools/python/python3-nmap_1.6.0.bb b/meta-python/recipes-devtools/python/python3-nmap_1.9.1.bb index 5fe9ab4e39..25e382088b 100644 --- a/meta-python/recipes-devtools/python/python3-nmap_1.6.0.bb +++ b/meta-python/recipes-devtools/python/python3-nmap_1.9.1.bb | |||
@@ -1,14 +1,14 @@ | |||
1 | DESCRIPTION = "python-nmap is a python library which helps in using nmap port scanner" | 1 | DESCRIPTION = "python-nmap is a python library which helps in using nmap port scanner" |
2 | HOMEPAGE = "https://www.nmmapper.com/" | 2 | HOMEPAGE = "https://www.nmmapper.com/" |
3 | SECTION = "devel/python" | 3 | SECTION = "devel/python" |
4 | LICENSE = "MIT" | 4 | LICENSE = "GPL-3.0-only" |
5 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464" |
6 | 6 | ||
7 | DEPENDS += "python3-wheel-native" | 7 | DEPENDS += "python3-wheel-native" |
8 | 8 | ||
9 | PYPI_PACKAGE = "python3-nmap" | 9 | PYPI_PACKAGE = "python3-nmap" |
10 | 10 | ||
11 | SRC_URI[sha256sum] = "892b5091cde429fabfb8ba63382b2db8fd795193ba147558d0a7d5534c956255" | 11 | SRC_URI[sha256sum] = "8465cfb013f5cdfa8a1050c40cdae600b581ee32f1864ec404927aee49b4262c" |
12 | 12 | ||
13 | inherit pypi setuptools3 | 13 | inherit pypi setuptools3 |
14 | 14 | ||
diff --git a/meta-python/recipes-devtools/python/python3-nocasedict_2.0.3.bb b/meta-python/recipes-devtools/python/python3-nocasedict_2.1.0.bb index 105c20b5a8..a7c3f55702 100644 --- a/meta-python/recipes-devtools/python/python3-nocasedict_2.0.3.bb +++ b/meta-python/recipes-devtools/python/python3-nocasedict_2.1.0.bb | |||
@@ -3,9 +3,14 @@ HOMEPAGE = "https://github.com/pywbem/nocasedict" | |||
3 | LICENSE = "LGPL-2.1-only" | 3 | LICENSE = "LGPL-2.1-only" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "1c9226c7f5a8a97ad51dcb0ae3157a720e3f7cb9c4568d22ea3a05e3f85658a9" | 6 | SRC_URI[sha256sum] = "b563d5851cbb0e0b10fbb6189ba87e0612d22e5a6f3a004a4573ab5b38aaaa7d" |
7 | 7 | ||
8 | inherit pypi setuptools3 | 8 | inherit pypi python_setuptools_build_meta |
9 | |||
10 | DEPENDS += " \ | ||
11 | python3-setuptools-scm-native \ | ||
12 | python3-toml-native \ | ||
13 | " | ||
9 | 14 | ||
10 | RDEPENDS:${PN} += " \ | 15 | RDEPENDS:${PN} += " \ |
11 | python3-six \ | 16 | python3-six \ |
diff --git a/meta-python/recipes-devtools/python/python3-nocaselist_2.0.2.bb b/meta-python/recipes-devtools/python/python3-nocaselist_2.1.0.bb index 913b8ac5ed..ba148cbfa8 100644 --- a/meta-python/recipes-devtools/python/python3-nocaselist_2.0.2.bb +++ b/meta-python/recipes-devtools/python/python3-nocaselist_2.1.0.bb | |||
@@ -3,9 +3,14 @@ HOMEPAGE = "https://nocaselist.readthedocs.io/en/latest/" | |||
3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "32708b700a1a53133e6bb5cc53332c9775b0c7c959a5f9725793171fd2f4c8a5" | 6 | SRC_URI[sha256sum] = "fb7306f5a3e045534e737ab7ecbeee039ba5e9bafbc5b5f231f616d7e9211b65" |
7 | 7 | ||
8 | inherit pypi setuptools3 | 8 | inherit pypi python_setuptools_build_meta |
9 | |||
10 | DEPENDS += " \ | ||
11 | python3-setuptools-scm-native \ | ||
12 | python3-toml-native \ | ||
13 | " | ||
9 | 14 | ||
10 | RDEPENDS:${PN} += " \ | 15 | RDEPENDS:${PN} += " \ |
11 | python3-six \ | 16 | python3-six \ |
diff --git a/meta-python/recipes-devtools/python/python3-oauthlib_3.2.2.bb b/meta-python/recipes-devtools/python/python3-oauthlib_3.3.1.bb index 833fdbcc58..80b87c1aa8 100644 --- a/meta-python/recipes-devtools/python/python3-oauthlib_3.2.2.bb +++ b/meta-python/recipes-devtools/python/python3-oauthlib_3.3.1.bb | |||
@@ -2,9 +2,9 @@ SUMMARY = "A generic, spec-compliant, thorough implementation of the OAuth reque | |||
2 | HOMEPAGE = "https://github.com/idan/oauthlib" | 2 | HOMEPAGE = "https://github.com/idan/oauthlib" |
3 | 3 | ||
4 | LICENSE = "BSD-3-Clause" | 4 | LICENSE = "BSD-3-Clause" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=abd2675e944a2011aed7e505290ba482" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2699a9fb0d71d5eafd75d8d7c302f7df" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "9859c40929662bec5d64f34d01c99e093149682a3f38915dc0655d5a633dd918" | 7 | SRC_URI[sha256sum] = "0f0f8aa759826a193cf66c12ea1af1637f87b9b4622d46e866952bb022e538c9" |
8 | 8 | ||
9 | inherit pypi setuptools3 | 9 | inherit pypi setuptools3 |
10 | 10 | ||
diff --git a/meta-python/recipes-devtools/python/python3-obd_0.7.2.bb b/meta-python/recipes-devtools/python/python3-obd_0.7.3.bb index cf3daae6ac..8deef31d56 100644 --- a/meta-python/recipes-devtools/python/python3-obd_0.7.2.bb +++ b/meta-python/recipes-devtools/python/python3-obd_0.7.3.bb | |||
@@ -2,8 +2,8 @@ DESCRIPTION = "A python module for handling realtime sensor data from OBD-II veh | |||
2 | LICENSE = "GPL-2.0-only" | 2 | LICENSE = "GPL-2.0-only" |
3 | LIC_FILES_CHKSUM = "file://README.md;md5=176d0f9ad45c10895296260d426fa862" | 3 | LIC_FILES_CHKSUM = "file://README.md;md5=176d0f9ad45c10895296260d426fa862" |
4 | 4 | ||
5 | SRC_URI[sha256sum] = "20d38c9ded3daad1e8affab3ff367a70788d4f29ac77ab7aacddc6a6d2a43d61" | 5 | SRC_URI[sha256sum] = "27b8f043376ca700edb98bf5216e2912295ecde0e735b260999f2d9ddf342522" |
6 | 6 | ||
7 | inherit setuptools3 pypi | 7 | inherit python_setuptools_build_meta pypi |
8 | 8 | ||
9 | RDEPENDS:${PN} += "python3-pyserial python3-pint python3-setuptools python3-packaging" | 9 | RDEPENDS:${PN} += "python3-pyserial python3-pint python3-setuptools python3-packaging" |
diff --git a/meta-python/recipes-devtools/python/python3-objgraph/run-ptest b/meta-python/recipes-devtools/python/python3-objgraph/run-ptest new file mode 100644 index 0000000000..058a9ad9ee --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-objgraph/run-ptest | |||
@@ -0,0 +1,2 @@ | |||
1 | #!/bin/sh | ||
2 | pytest --automake tests.py | ||
diff --git a/meta-python/recipes-devtools/python/python3-objgraph_3.6.2.bb b/meta-python/recipes-devtools/python/python3-objgraph_3.6.2.bb new file mode 100644 index 0000000000..a17b7aa5d6 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-objgraph_3.6.2.bb | |||
@@ -0,0 +1,21 @@ | |||
1 | SUMMARY = "Draws Python object reference graphs with graphviz" | ||
2 | HOMEPAGE = "https://mg.pov.lt/objgraph/" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e48a556235f55ad7d4234475657f68a7" | ||
5 | |||
6 | SRC_URI:append = " file://run-ptest" | ||
7 | SRC_URI[sha256sum] = "00b9f2f40f7422e3c7f45a61c4dafdaf81f03ff0649d6eaec866f01030e51ad8" | ||
8 | |||
9 | inherit pypi setuptools3 ptest-python-pytest | ||
10 | |||
11 | PACKAGECONFIG ??= "" | ||
12 | PACKAGECONFIG[ipython] = ",,,python3-graphviz" | ||
13 | |||
14 | do_install_ptest:append() { | ||
15 | install -Dm 0644 ${S}/tests.py ${D}${PTEST_PATH}/tests.py | ||
16 | } | ||
17 | |||
18 | RDEPENDS:${PN} += "python3-core python3-io" | ||
19 | RDEPENDS:${PN}-ptest += "python3-tox" | ||
20 | |||
21 | PYPI_PACKAGE = "objgraph" | ||
diff --git a/meta-python/recipes-devtools/python/python3-oletools_0.60.1.bb b/meta-python/recipes-devtools/python/python3-oletools_0.60.2.bb index fbb7955d6f..991d0d1baa 100644 --- a/meta-python/recipes-devtools/python/python3-oletools_0.60.1.bb +++ b/meta-python/recipes-devtools/python/python3-oletools_0.60.2.bb | |||
@@ -1,9 +1,9 @@ | |||
1 | SUMMARY = "Python tools to analyze security characteristics of MS Office and OLE files" | 1 | SUMMARY = "Python tools to analyze security characteristics of MS Office and OLE files" |
2 | HOMEPAGE = "https://github.com/decalage2/olefile" | 2 | HOMEPAGE = "https://github.com/decalage2/olefile" |
3 | LICENSE = "BSD-2-Clause" | 3 | LICENSE = "BSD-2-Clause" |
4 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=d7dd4b0d1f7153322a546e89b5a0a632" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=062477247e75fcb78ae3e1280be9e4e1" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "67a796da4c4b8e2feb9a6b2495bef8798a3323a75512de4e5669d9dc9d1fae31" | 6 | SRC_URI[sha256sum] = "ad452099f4695ffd8855113f453348200d195ee9fa341a09e197d66ee7e0b2c3" |
7 | 7 | ||
8 | inherit pypi setuptools3 | 8 | inherit pypi setuptools3 |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-openpyxl_3.1.3.bb b/meta-python/recipes-devtools/python/python3-openpyxl_3.1.5.bb index 934bf319bc..fc0910770f 100644 --- a/meta-python/recipes-devtools/python/python3-openpyxl_3.1.3.bb +++ b/meta-python/recipes-devtools/python/python3-openpyxl_3.1.5.bb | |||
@@ -3,13 +3,13 @@ DESCRIPTION = "It was born from lack of existing library to read/write natively | |||
3 | from Python the Office Open XML format. All kudos to the PHPExcel team as openpyxl \ | 3 | from Python the Office Open XML format. All kudos to the PHPExcel team as openpyxl \ |
4 | was initially based on PHPExcel." | 4 | was initially based on PHPExcel." |
5 | 5 | ||
6 | HOMEPAGE = "http://www.python-excel.org/" | 6 | HOMEPAGE = "https://www.python-excel.org/" |
7 | LICENSE = "MIT" | 7 | LICENSE = "MIT" |
8 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489" | 8 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489" |
9 | 9 | ||
10 | inherit pypi setuptools3 | 10 | inherit pypi setuptools3 |
11 | 11 | ||
12 | SRC_URI[sha256sum] = "8dd482e5350125b2388070bb2477927be2e8ebc27df61178709bc8c8751da2f9" | 12 | SRC_URI[sha256sum] = "cf0e3cf56142039133628b5acffe8ef0c12bc902d2aadd3e0fe5878dc08d1050" |
13 | 13 | ||
14 | RDEPENDS:${PN} += "\ | 14 | RDEPENDS:${PN} += "\ |
15 | python3-compression \ | 15 | python3-compression \ |
diff --git a/meta-python/recipes-devtools/python/python3-ordered-set/run-ptest b/meta-python/recipes-devtools/python/python3-ordered-set/run-ptest deleted file mode 100644 index 64799ba008..0000000000 --- a/meta-python/recipes-devtools/python/python3-ordered-set/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake test_ordered_set.py | ||
diff --git a/meta-python/recipes-devtools/python/python3-ordered-set_4.1.0.bb b/meta-python/recipes-devtools/python/python3-ordered-set_4.1.0.bb index 64637b858d..1644dc62d5 100644 --- a/meta-python/recipes-devtools/python/python3-ordered-set_4.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-ordered-set_4.1.0.bb | |||
@@ -1,23 +1,13 @@ | |||
1 | SUMMARY = "A MutableSet that remembers its order, so that every entry has an index." | 1 | SUMMARY = "A MutableSet that remembers its order, so that every entry has an index." |
2 | HOMEPAGE = "http://github.com/LuminosoInsight/ordered-set" | 2 | HOMEPAGE = "https://github.com/LuminosoInsight/ordered-set" |
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://MIT-LICENSE;md5=3bf5e1ad64c0d99032c3143361fa234e" | 4 | LIC_FILES_CHKSUM = "file://MIT-LICENSE;md5=3bf5e1ad64c0d99032c3143361fa234e" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "694a8e44c87657c59292ede72891eb91d34131f6531463aab3009191c77364a8" | 6 | SRC_URI[sha256sum] = "694a8e44c87657c59292ede72891eb91d34131f6531463aab3009191c77364a8" |
7 | 7 | ||
8 | inherit pypi python_flit_core ptest | 8 | inherit pypi python_flit_core ptest-python-pytest |
9 | 9 | ||
10 | DEPENDS += "python3-pytest-runner-native" | 10 | PTEST_PYTEST_DIR = "test" |
11 | |||
12 | SRC_URI += " \ | ||
13 | file://run-ptest \ | ||
14 | " | ||
15 | 11 | ||
16 | RDEPENDS:${PN}-ptest += " \ | 12 | DEPENDS += "python3-pytest-runner-native" |
17 | python3-pytest \ | ||
18 | python3-unittest-automake-output \ | ||
19 | " | ||
20 | 13 | ||
21 | do_install_ptest() { | ||
22 | cp -f ${S}/test/test_ordered_set.py ${D}${PTEST_PATH}/ | ||
23 | } | ||
diff --git a/meta-python/recipes-devtools/python/python3-outcome_1.3.0.post0.bb b/meta-python/recipes-devtools/python/python3-outcome_1.3.0.post0.bb new file mode 100644 index 0000000000..308eb78a79 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-outcome_1.3.0.post0.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | SUMMARY = "Capture the outcome of Python function calls." | ||
2 | HOMEPAGE = "https://github.com/python-trio/outcome" | ||
3 | LICENSE = "Apache-2.0 & MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=fa7b86389e58dd4087a8d2b833e5fe96 \ | ||
5 | file://LICENSE.APACHE2;md5=3b83ef96387f14655fc854ddc3c6bd57 \ | ||
6 | file://LICENSE.MIT;md5=e62ba5042d5983462ad229f5aec1576c" | ||
7 | |||
8 | SRC_URI[sha256sum] = "9dcf02e65f2971b80047b377468e72a268e15c0af3cf1238e6ff14f7f91143b8" | ||
9 | |||
10 | inherit pypi setuptools3 ptest-python-pytest | ||
11 | |||
12 | RDEPENDS:${PN}-ptest += " \ | ||
13 | python3-pytest-asyncio \ | ||
14 | python3-outcome \ | ||
15 | " | ||
16 | |||
17 | RDEPENDS:${PN} += " \ | ||
18 | python3-asyncio \ | ||
19 | python3-attrs \ | ||
20 | python3-core \ | ||
21 | python3-pytest \ | ||
22 | python3-typing-extensions \ | ||
23 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-padaos_0.1.10.bb b/meta-python/recipes-devtools/python/python3-padaos_0.1.10.bb index 3af9349d44..8535cd445c 100644 --- a/meta-python/recipes-devtools/python/python3-padaos_0.1.10.bb +++ b/meta-python/recipes-devtools/python/python3-padaos_0.1.10.bb | |||
@@ -3,7 +3,6 @@ HOMEPAGE = "https://github.com/MycroftAI/padaos" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://README.md;md5=b51c3e8e53a7cd95c13c5aab6cbc8e67" | 4 | LIC_FILES_CHKSUM = "file://README.md;md5=b51c3e8e53a7cd95c13c5aab6cbc8e67" |
5 | 5 | ||
6 | SRC_URI[md5sum] = "dbf852015ef87a6694549779fb475b52" | ||
7 | SRC_URI[sha256sum] = "2ac05fcbc826873c574568aa5ce09945d6ea987bee10399e766eb8f7c6356d72" | 6 | SRC_URI[sha256sum] = "2ac05fcbc826873c574568aa5ce09945d6ea987bee10399e766eb8f7c6356d72" |
8 | 7 | ||
9 | inherit pypi setuptools3 | 8 | inherit pypi setuptools3 |
diff --git a/meta-python/recipes-devtools/python/python3-padatious_0.4.8.bb b/meta-python/recipes-devtools/python/python3-padatious_0.4.8.bb index fef6376ef7..3e4cb1c909 100644 --- a/meta-python/recipes-devtools/python/python3-padatious_0.4.8.bb +++ b/meta-python/recipes-devtools/python/python3-padatious_0.4.8.bb | |||
@@ -3,7 +3,6 @@ HOMEPAGE = "https://github.com/MycroftAI/padatious" | |||
3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
4 | LIC_FILES_CHKSUM = "file://README.md;md5=cc85c733dffe81e8a7fde2e8f8a6a404" | 4 | LIC_FILES_CHKSUM = "file://README.md;md5=cc85c733dffe81e8a7fde2e8f8a6a404" |
5 | 5 | ||
6 | SRC_URI[md5sum] = "7dd2f1830737dc142aa199f77dacf32e" | ||
7 | SRC_URI[sha256sum] = "e471f251b94e8cadf6e4214f0f3b7b36678848aaa8c51cd5638ab23ecb716f75" | 6 | SRC_URI[sha256sum] = "e471f251b94e8cadf6e4214f0f3b7b36678848aaa8c51cd5638ab23ecb716f75" |
8 | 7 | ||
9 | inherit pypi setuptools3 | 8 | inherit pypi setuptools3 |
diff --git a/meta-python/recipes-devtools/python/python3-paho-mqtt_2.1.0.bb b/meta-python/recipes-devtools/python/python3-paho-mqtt_2.1.0.bb index 0c3e6e9266..88a07f20ee 100644 --- a/meta-python/recipes-devtools/python/python3-paho-mqtt_2.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-paho-mqtt_2.1.0.bb | |||
@@ -11,7 +11,7 @@ SRC_URI[sha256sum] = "12d6e7511d4137555a3f6ea167ae846af2c7357b10bc6fa4f7c3968fc1 | |||
11 | 11 | ||
12 | PYPI_SRC_URI = "https://files.pythonhosted.org/packages/39/15/0a6214e76d4d32e7f663b109cf71fb22561c2be0f701d67f93950cd40542/paho_mqtt-${PV}.tar.gz" | 12 | PYPI_SRC_URI = "https://files.pythonhosted.org/packages/39/15/0a6214e76d4d32e7f663b109cf71fb22561c2be0f701d67f93950cd40542/paho_mqtt-${PV}.tar.gz" |
13 | 13 | ||
14 | S = "${WORKDIR}/paho_mqtt-${PV}" | 14 | S = "${UNPACKDIR}/paho_mqtt-${PV}" |
15 | 15 | ||
16 | DEPENDS += "python3-pytest-runner-native" | 16 | DEPENDS += "python3-pytest-runner-native" |
17 | 17 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pandas/0001-BLD-add-option-to-specify-numpy-header-location.patch b/meta-python/recipes-devtools/python/python3-pandas/0001-BLD-add-option-to-specify-numpy-header-location.patch new file mode 100644 index 0000000000..e83576eb62 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pandas/0001-BLD-add-option-to-specify-numpy-header-location.patch | |||
@@ -0,0 +1,61 @@ | |||
1 | From 16dd09e6c79768a24f5a50ec5985e0b6fdf17f35 Mon Sep 17 00:00:00 2001 | ||
2 | From: Gyorgy Sarvari <skandigraun@gmail.com> | ||
3 | Date: Mon, 10 Mar 2025 13:52:11 +0100 | ||
4 | Subject: [PATCH] BLD: add option to specify numpy header location | ||
5 | |||
6 | In some cases the numpy module might not be usable during build-time, | ||
7 | especially when cross-compiling. (E.g. when compiling for arm32 on a | ||
8 | x86-64 machine, the arm32 module is not usable at build time). | ||
9 | |||
10 | This makes meson fail, as it isn't able to figure out the location of | ||
11 | numpy headers. | ||
12 | |||
13 | To allow an alternative way to find these headers, introduce a meson | ||
14 | build option, where the location of the numpy headers can be specified. | ||
15 | |||
16 | In case numpy module cannot be loaded for some reason to query the | ||
17 | include folder location, fall back to the value of this meson option. | ||
18 | |||
19 | Upstream-Status: Submitted [https://github.com/pandas-dev/pandas/pull/61095] | ||
20 | |||
21 | Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> | ||
22 | --- | ||
23 | meson.options | 1 + | ||
24 | pandas/meson.build | 13 ++++++++++--- | ||
25 | 2 files changed, 11 insertions(+), 3 deletions(-) | ||
26 | create mode 100644 meson.options | ||
27 | |||
28 | --- /dev/null | ||
29 | +++ b/meson.options | ||
30 | @@ -0,0 +1 @@ | ||
31 | +option('numpy_inc_dir', type : 'string', description : 'The absolute path to the numpy headers') | ||
32 | --- a/pandas/meson.build | ||
33 | +++ b/pandas/meson.build | ||
34 | @@ -3,17 +3,24 @@ incdir_numpy = run_command(py, | ||
35 | '-c', | ||
36 | ''' | ||
37 | import os | ||
38 | -import numpy as np | ||
39 | + | ||
40 | +try: | ||
41 | + import numpy as np | ||
42 | + base_incdir = np.get_include() | ||
43 | +except Exception: | ||
44 | + base_incdir = os.getenv('NUMPY_INC_DIR') | ||
45 | + | ||
46 | try: | ||
47 | # Check if include directory is inside the pandas dir | ||
48 | # e.g. a venv created inside the pandas dir | ||
49 | # If so, convert it to a relative path | ||
50 | - incdir = os.path.relpath(np.get_include()) | ||
51 | + incdir = os.path.relpath(base_incdir) | ||
52 | except Exception: | ||
53 | - incdir = np.get_include() | ||
54 | + incdir = base_incdir | ||
55 | print(incdir) | ||
56 | ''' | ||
57 | ], | ||
58 | + env: {'NUMPY_INC_DIR': get_option('numpy_inc_dir')}, | ||
59 | check: true | ||
60 | ).stdout().strip() | ||
61 | |||
diff --git a/meta-python/recipes-devtools/python/python3-pandas/0001-pyproject.toml-don-t-pin-dependency-versions.patch b/meta-python/recipes-devtools/python/python3-pandas/0001-pyproject.toml-don-t-pin-dependency-versions.patch new file mode 100644 index 0000000000..950f25303f --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pandas/0001-pyproject.toml-don-t-pin-dependency-versions.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From d46b8720a6bccb345f6bdd7ee2f5c357e7eb227b Mon Sep 17 00:00:00 2001 | ||
2 | From: Trevor Gamblin <tgamblin@baylibre.com> | ||
3 | Date: Mon, 12 Aug 2024 11:27:36 -0400 | ||
4 | Subject: [PATCH] pyproject.toml: don't pin dependency versions | ||
5 | |||
6 | Pandas will fail to build if the exact versions aren't found, but newer | ||
7 | ones actually work. Since newer versions of pandas are adjusting the | ||
8 | requires section of pyproject toml further, just patch it for us. | ||
9 | |||
10 | Upstream-Status: Inappropriate [OE-Specific] | ||
11 | |||
12 | Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> | ||
13 | --- | ||
14 | pyproject.toml | 6 +++--- | ||
15 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
16 | |||
17 | --- a/pyproject.toml | ||
18 | +++ b/pyproject.toml | ||
19 | @@ -2,10 +2,10 @@ | ||
20 | # Minimum requirements for the build system to execute. | ||
21 | # See https://github.com/scipy/scipy/pull/12940 for the AIX issue. | ||
22 | requires = [ | ||
23 | - "meson-python==0.13.1", | ||
24 | - "meson==1.2.1", | ||
25 | + "meson-python>=0.13.1", | ||
26 | + "meson>=1.2.1", | ||
27 | "wheel", | ||
28 | - "Cython~=3.0.5", # Note: sync with setup.py, environment.yml and asv.conf.json | ||
29 | + "Cython>=3.0.5", # Note: sync with setup.py, environment.yml and asv.conf.json | ||
30 | # Force numpy higher than 2.0, so that built wheels are compatible | ||
31 | # with both numpy 1 and 2 | ||
32 | "numpy>=2.0", | ||
diff --git a/meta-python/recipes-devtools/python/python3-pandas_2.0.3.bb b/meta-python/recipes-devtools/python/python3-pandas_2.0.3.bb deleted file mode 100644 index 91e76d9919..0000000000 --- a/meta-python/recipes-devtools/python/python3-pandas_2.0.3.bb +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | SUMMARY = "pandas library for high-performance data analysis tools" | ||
2 | DESCRIPTION = "pandas is an open source, BSD-licensed library providing \ | ||
3 | high-performance, easy-to-use data structures and data analysis tools for \ | ||
4 | the Python programming language." | ||
5 | HOMEPAGE = "http://pandas.pydata.org/" | ||
6 | LICENSE = "BSD-3-Clause" | ||
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=cb819092901ddb13a7d0a4f5e05f098a" | ||
8 | |||
9 | SRC_URI[sha256sum] = "c02f372a88e0d17f36d3093a644c73cfc1788e876a7c4bcb4020a77512e2043c" | ||
10 | |||
11 | inherit pypi setuptools3 | ||
12 | |||
13 | DEPENDS += " \ | ||
14 | python3-cython-native \ | ||
15 | python3-numpy-native \ | ||
16 | python3-versioneer-native \ | ||
17 | " | ||
18 | |||
19 | PACKAGESPLITFUNCS =+ "fix_cythonized_sources" | ||
20 | |||
21 | fix_cythonized_sources() { | ||
22 | for f in `grep -l -r -e '\/* Generated by Cython.*/$' ${PKGD}${TARGET_DBGSRC_DIR}`; do | ||
23 | if [ -e $f ]; then | ||
24 | sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' $f | ||
25 | fi | ||
26 | done | ||
27 | } | ||
28 | |||
29 | CFLAGS:append:toolchain-clang = " -Wno-error=deprecated-declarations" | ||
30 | |||
31 | RDEPENDS:${PN} += " \ | ||
32 | python3-json \ | ||
33 | python3-numpy \ | ||
34 | python3-dateutil \ | ||
35 | python3-dateutil-zoneinfo \ | ||
36 | python3-pytz \ | ||
37 | python3-profile \ | ||
38 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-pandas_2.2.3.bb b/meta-python/recipes-devtools/python/python3-pandas_2.2.3.bb new file mode 100644 index 0000000000..b817b0538d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pandas_2.2.3.bb | |||
@@ -0,0 +1,48 @@ | |||
1 | SUMMARY = "pandas library for high-performance data analysis tools" | ||
2 | DESCRIPTION = "pandas is an open source, BSD-licensed library providing \ | ||
3 | high-performance, easy-to-use data structures and data analysis tools for \ | ||
4 | the Python programming language." | ||
5 | HOMEPAGE = "https://pandas.pydata.org/" | ||
6 | LICENSE = "BSD-3-Clause" | ||
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=cb819092901ddb13a7d0a4f5e05f098a" | ||
8 | |||
9 | SRC_URI += " \ | ||
10 | file://0001-pyproject.toml-don-t-pin-dependency-versions.patch \ | ||
11 | " | ||
12 | |||
13 | SRC_URI:append:class-target = " file://0001-BLD-add-option-to-specify-numpy-header-location.patch " | ||
14 | |||
15 | SRC_URI[sha256sum] = "4f18ba62b61d7e192368b84517265a99b4d7ee8912f8708660fb4a366cc82667" | ||
16 | |||
17 | inherit pkgconfig pypi python_mesonpy cython | ||
18 | |||
19 | DEPENDS += " \ | ||
20 | python3-numpy \ | ||
21 | python3-versioneer-native \ | ||
22 | " | ||
23 | |||
24 | CFLAGS:append:toolchain-clang = " -Wno-error=deprecated-declarations" | ||
25 | |||
26 | RDEPENDS:${PN} += " \ | ||
27 | python3-json \ | ||
28 | python3-numpy \ | ||
29 | python3-dateutil \ | ||
30 | python3-dateutil-zoneinfo \ | ||
31 | python3-pytz \ | ||
32 | python3-profile \ | ||
33 | " | ||
34 | |||
35 | PYTHONPATH:prepend:class-target = "${RECIPE_SYSROOT}${PYTHON_SITEPACKAGES_DIR}:" | ||
36 | export PYTHONPATH | ||
37 | |||
38 | do_compile:append() { | ||
39 | # Fix absolute paths in generated files | ||
40 | find ${B} -name "*.c" -o -name "*.cpp" | xargs -r \ | ||
41 | sed -i 's|${WORKDIR}/pandas-${PV}/|${TARGET_DBGSRC_DIR}/|g' | ||
42 | } | ||
43 | |||
44 | do_install:prepend() { | ||
45 | sed -i -e 's;${S};;g' ${B}/pandas/_libs/sparse.cpython-313-x86_64-linux-gnu.so.p/pandas/_libs/sparse.pyx.c | ||
46 | } | ||
47 | |||
48 | EXTRA_OEMESON:append:class-target = " -Dnumpy_inc_dir=${RECIPE_SYSROOT}${PYTHON_SITEPACKAGES_DIR}/numpy/_core/include " | ||
diff --git a/meta-python/recipes-devtools/python/python3-parallax_1.0.6.bb b/meta-python/recipes-devtools/python/python3-parallax_1.0.6.bb index 1fc967d953..de33e4eb6a 100644 --- a/meta-python/recipes-devtools/python/python3-parallax_1.0.6.bb +++ b/meta-python/recipes-devtools/python/python3-parallax_1.0.6.bb | |||
@@ -3,7 +3,6 @@ HOMEPAGE = "https://github.com/krig/parallax/" | |||
3 | LICENSE = "BSD-3-Clause" | 3 | LICENSE = "BSD-3-Clause" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=52c67ffa6102f288a0347f8c5802fd18" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=52c67ffa6102f288a0347f8c5802fd18" |
5 | 5 | ||
6 | SRC_URI[md5sum] = "e312397b083426af84db7076dc2a28d7" | ||
7 | SRC_URI[sha256sum] = "c16703202ff67aed4740c0727df304abe9f3e7851e653533b24de21b338d9081" | 6 | SRC_URI[sha256sum] = "c16703202ff67aed4740c0727df304abe9f3e7851e653533b24de21b338d9081" |
8 | 7 | ||
9 | inherit pypi setuptools3 | 8 | inherit pypi setuptools3 |
diff --git a/meta-python/recipes-devtools/python/python3-paramiko_3.4.0.bb b/meta-python/recipes-devtools/python/python3-paramiko_3.5.1.bb index 0d32d361cf..a69ed72804 100644 --- a/meta-python/recipes-devtools/python/python3-paramiko_3.4.0.bb +++ b/meta-python/recipes-devtools/python/python3-paramiko_3.5.1.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/paramiko/paramiko/" | |||
3 | LICENSE = "LGPL-2.1-only" | 3 | LICENSE = "LGPL-2.1-only" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=fd0120fc2e9f841c73ac707a30389af5" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=fd0120fc2e9f841c73ac707a30389af5" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "aac08f26a31dc4dffd92821527d1682d99d52f9ef6851968114a8728f3c274d3" | 6 | SRC_URI[sha256sum] = "b2c665bc45b2b215bd7d7f039901b14b067da00f3a11e6640995fd58f2664822" |
7 | 7 | ||
8 | PYPI_PACKAGE = "paramiko" | 8 | PYPI_PACKAGE = "paramiko" |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-parse-type_0.6.2.bb b/meta-python/recipes-devtools/python/python3-parse-type_0.6.3.bb index a7d8cd86ce..8932d95609 100644 --- a/meta-python/recipes-devtools/python/python3-parse-type_0.6.2.bb +++ b/meta-python/recipes-devtools/python/python3-parse-type_0.6.3.bb | |||
@@ -1,25 +1,26 @@ | |||
1 | SUMMARY = "Simplifies building parse types based on the parse module" | 1 | SUMMARY = "Simplifies building parse types based on the parse module" |
2 | HOMEPAGE = "https://github.com/jenisys/parse_type" | 2 | HOMEPAGE = "https://github.com/jenisys/parse_type" |
3 | LICENSE = "BSD-3-Clause" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2e469278ace89c246d52505acc39c3da" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2e469278ace89c246d52505acc39c3da" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "79b1f2497060d0928bc46016793f1fca1057c4aacdf15ef876aa48d75a73a355" | 6 | SRC_URI[sha256sum] = "8e99d2f52fab2f0f1f3d68ba9d026060140bf0e53680aada0111fb27b2f0e93a" |
7 | SRC_URI += " \ | ||
8 | file://run-ptest \ | ||
9 | " | ||
7 | 10 | ||
8 | PYPI_PACKAGE = "parse_type" | 11 | PYPI_PACKAGE = "parse_type" |
9 | inherit pypi ptest setuptools3 | 12 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" |
10 | 13 | ||
11 | RDEPENDS:${PN} += "python3-parse" | 14 | inherit pypi ptest python_setuptools_build_meta |
12 | 15 | ||
13 | SRC_URI += " \ | 16 | do_install_ptest() { |
14 | file://run-ptest \ | 17 | install -d ${D}${PTEST_PATH}/tests |
15 | " | 18 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ |
19 | } | ||
16 | 20 | ||
21 | RDEPENDS:${PN} += "python3-parse" | ||
17 | RDEPENDS:${PN}-ptest += " \ | 22 | RDEPENDS:${PN}-ptest += " \ |
18 | python3-pytest \ | 23 | python3-pytest \ |
24 | python3-six \ | ||
19 | python3-unittest-automake-output \ | 25 | python3-unittest-automake-output \ |
20 | " | 26 | " |
21 | |||
22 | do_install_ptest() { | ||
23 | install -d ${D}${PTEST_PATH}/tests | ||
24 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
25 | } | ||
diff --git a/meta-python/recipes-devtools/python/python3-parse_1.20.1.bb b/meta-python/recipes-devtools/python/python3-parse_1.20.2.bb index d2b91b3f30..6e7139bfbe 100644 --- a/meta-python/recipes-devtools/python/python3-parse_1.20.1.bb +++ b/meta-python/recipes-devtools/python/python3-parse_1.20.2.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/r1chardj0n3s/parse" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8ab458ad281b60e6f1b39b3feafbfc05" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8ab458ad281b60e6f1b39b3feafbfc05" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "09002ca350ad42e76629995f71f7b518670bcf93548bdde3684fd55d2be51975" | 6 | SRC_URI[sha256sum] = "b41d604d16503c79d81af5165155c0b20f6c8d6c559efa66b4b695c3e5a0a0ce" |
7 | 7 | ||
8 | SRC_URI += " \ | 8 | SRC_URI += " \ |
9 | file://run-ptest \ | 9 | file://run-ptest \ |
diff --git a/meta-python/recipes-devtools/python/python3-passlib_1.7.4.bb b/meta-python/recipes-devtools/python/python3-passlib_1.7.4.bb index 8b66e25922..6f862804ce 100644 --- a/meta-python/recipes-devtools/python/python3-passlib_1.7.4.bb +++ b/meta-python/recipes-devtools/python/python3-passlib_1.7.4.bb | |||
@@ -9,7 +9,6 @@ HOMEPAGE = "https://foss.heptapod.net/python-libs/passlib/wikis/home" | |||
9 | LICENSE = "BSD-3-Clause" | 9 | LICENSE = "BSD-3-Clause" |
10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c8449c5e10474d113ab787ed2753bafe" | 10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c8449c5e10474d113ab787ed2753bafe" |
11 | 11 | ||
12 | SRC_URI[md5sum] = "3a229cbd00dfb33e99885b43325e0591" | ||
13 | SRC_URI[sha256sum] = "defd50f72b65c5402ab2c573830a6978e5f202ad0d984793c8dde2c4152ebe04" | 12 | SRC_URI[sha256sum] = "defd50f72b65c5402ab2c573830a6978e5f202ad0d984793c8dde2c4152ebe04" |
14 | 13 | ||
15 | inherit pypi setuptools3 | 14 | inherit pypi setuptools3 |
diff --git a/meta-python/recipes-devtools/python/python3-pastedeploy_3.1.0.bb b/meta-python/recipes-devtools/python/python3-pastedeploy_3.1.0.bb index 27f32bf1af..1f6b36bd2b 100644 --- a/meta-python/recipes-devtools/python/python3-pastedeploy_3.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-pastedeploy_3.1.0.bb | |||
@@ -3,19 +3,23 @@ HOMEPAGE = "https://pylonsproject.org/" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://license.txt;md5=1798f29d55080c60365e6283cb49779c" | 4 | LIC_FILES_CHKSUM = "file://license.txt;md5=1798f29d55080c60365e6283cb49779c" |
5 | 5 | ||
6 | inherit pypi | 6 | inherit pypi python_setuptools_build_meta |
7 | |||
7 | PYPI_PACKAGE = "PasteDeploy" | 8 | PYPI_PACKAGE = "PasteDeploy" |
9 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
8 | 10 | ||
9 | SRC_URI[sha256sum] = "9ddbaf152f8095438a9fe81f82c78a6714b92ae8e066bed418b6a7ff6a095a95" | 11 | SRC_URI[sha256sum] = "9ddbaf152f8095438a9fe81f82c78a6714b92ae8e066bed418b6a7ff6a095a95" |
10 | 12 | ||
11 | S = "${WORKDIR}/PasteDeploy-${PV}" | ||
12 | |||
13 | inherit setuptools3 | ||
14 | |||
15 | # Uncomment this line to enable all the optional features. | 13 | # Uncomment this line to enable all the optional features. |
16 | #PACKAGECONFIG ?= "paste docs" | 14 | #PACKAGECONFIG ?= "paste docs" |
17 | PACKAGECONFIG[paste] = ",,,python3-paste" | 15 | PACKAGECONFIG[paste] = ",,,python3-paste" |
18 | PACKAGECONFIG[docs] = ",,,python3-sphinx python3-pylons-sphinx-themes" | 16 | PACKAGECONFIG[docs] = ",,,python3-sphinx python3-pylons-sphinx-themes" |
19 | 17 | ||
20 | DEPENDS= "python3 python3-setuptools-scm-native python3-pytest-runner-native" | 18 | RDEPENDS:${PN} += " \ |
21 | RDEPENDS:${PN} += "python3-core python3-misc python3-netclient python3-pkgutil python3-setuptools python3-threading python3-core" | 19 | python3-core \ |
20 | python3-misc \ | ||
21 | python3-netclient \ | ||
22 | python3-pkgutil \ | ||
23 | python3-setuptools \ | ||
24 | python3-threading \ | ||
25 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-path_16.14.0.bb b/meta-python/recipes-devtools/python/python3-path_17.1.0.bb index b4d290a230..066f756730 100644 --- a/meta-python/recipes-devtools/python/python3-path_16.14.0.bb +++ b/meta-python/recipes-devtools/python/python3-path_17.1.0.bb | |||
@@ -2,7 +2,7 @@ SUMMARY = "A module wrapper for os.path" | |||
2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=141643e11c48898150daa83802dbc65f" | 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=141643e11c48898150daa83802dbc65f" |
4 | 4 | ||
5 | SRC_URI[sha256sum] = "dbaaa7efd4602fd6ba8d82890dc7823d69e5de740a6e842d9919b0faaf2b6a8e" | 5 | SRC_URI[sha256sum] = "d41e05ed4fa1d4f6d702df3c1e0a1a255d7b544287432456455dc7c51e5f98e9" |
6 | 6 | ||
7 | SRC_URI += "\ | 7 | SRC_URI += "\ |
8 | file://run-ptest \ | 8 | file://run-ptest \ |
@@ -28,7 +28,7 @@ BBCLASSEXTEND = "nativesdk native" | |||
28 | 28 | ||
29 | do_install_ptest() { | 29 | do_install_ptest() { |
30 | install -d ${D}${PTEST_PATH}/test | 30 | install -d ${D}${PTEST_PATH}/test |
31 | cp -rf ${S}/test_* ${D}${PTEST_PATH}/test/ | 31 | cp -rf ${S}/tests/test_* ${D}${PTEST_PATH}/test/ |
32 | install -d ${D}${PTEST_PATH}/path | 32 | install -d ${D}${PTEST_PATH}/path |
33 | cp -rf ${S}/path/* ${D}${PTEST_PATH}/path/ | 33 | cp -rf ${S}/path/* ${D}${PTEST_PATH}/path/ |
34 | } | 34 | } |
diff --git a/meta-python/recipes-devtools/python/python3-pathlib2_2.3.7.bb b/meta-python/recipes-devtools/python/python3-pathlib2_2.3.7.bb new file mode 100644 index 0000000000..d4de40893a --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pathlib2_2.3.7.bb | |||
@@ -0,0 +1,12 @@ | |||
1 | SUMMARY = "Object-oriented filesystem paths" | ||
2 | HOMEPAGE = "https://github.com/mcmtroffaes/pathlib2" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=2dc08586cce3ab91bfa091b655c0e440" | ||
5 | |||
6 | SRC_URI[sha256sum] = "7a4329d67beff9a712e1d3ae147e4e3e108b0bfd284ffdea03a635126c76b3c0" | ||
7 | |||
8 | inherit pypi setuptools3 | ||
9 | |||
10 | RDEPENDS:${PN} += "python3-six python3-ctypes" | ||
11 | |||
12 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-pcodedmp_1.2.6.bb b/meta-python/recipes-devtools/python/python3-pcodedmp_1.2.6.bb index 185597dea1..e4246f594e 100644 --- a/meta-python/recipes-devtools/python/python3-pcodedmp_1.2.6.bb +++ b/meta-python/recipes-devtools/python/python3-pcodedmp_1.2.6.bb | |||
@@ -7,6 +7,6 @@ SRC_URI[sha256sum] = "025f8c809a126f45a082ffa820893e6a8d990d9d7ddb68694b5a9f0a6d | |||
7 | 7 | ||
8 | inherit pypi setuptools3 | 8 | inherit pypi setuptools3 |
9 | 9 | ||
10 | PYPI_PACKAGE="pcodedmp" | 10 | PYPI_PACKAGE = "pcodedmp" |
11 | 11 | ||
12 | BBCLASSEXTEND = "native nativesdk" | 12 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-python/recipes-devtools/python/python3-pdm-backend_2.3.0.bb b/meta-python/recipes-devtools/python/python3-pdm-backend_2.3.0.bb deleted file mode 100644 index 4185f78587..0000000000 --- a/meta-python/recipes-devtools/python/python3-pdm-backend_2.3.0.bb +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | SUMMARY = "The build backend used by PDM that supports latest packaging standards" | ||
2 | HOMEPAGE = "https://github.com/pdm-project/pdm-backend" | ||
3 | LICENSE = "MIT" | ||
4 | SECTION = "devel/python" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4a564297b3c5b629a528b92fd8ff61ea" | ||
6 | |||
7 | SRC_URI[sha256sum] = "e39ed2da206d90d4a6e9eb62f6dce54ed4fa65ddf172a7d5700960d0f8a09e09" | ||
8 | |||
9 | inherit pypi python_setuptools_build_meta | ||
10 | |||
11 | PYPI_PACKAGE= "pdm_backend" | ||
12 | |||
13 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-pdm_2.15.4.bb b/meta-python/recipes-devtools/python/python3-pdm_2.15.4.bb deleted file mode 100644 index 364c7c81e9..0000000000 --- a/meta-python/recipes-devtools/python/python3-pdm_2.15.4.bb +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | SUMMARY = "A modern Python package and dependency manager supporting the latest PEP standards" | ||
2 | HOMEPAGE = "https://pdm-project.org/latest/" | ||
3 | LICENSE = "MIT" | ||
4 | SECTION = "devel/python" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2eb31a2cc1a758c34b499f287dd04ef2" | ||
6 | |||
7 | SRC_URI[sha256sum] = "58e225850567dcadce42418db4638996df2b1378cd0830cd48afda1b455d9c72" | ||
8 | |||
9 | inherit pypi python_setuptools_build_meta | ||
10 | |||
11 | DEPENDS += " \ | ||
12 | python3-pdm-backend-native \ | ||
13 | " | ||
14 | |||
15 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-pep8_1.7.1.bb b/meta-python/recipes-devtools/python/python3-pep8_1.7.1.bb index 68507e2482..6c7fe4df3c 100644 --- a/meta-python/recipes-devtools/python/python3-pep8_1.7.1.bb +++ b/meta-python/recipes-devtools/python/python3-pep8_1.7.1.bb | |||
@@ -4,7 +4,6 @@ SECTION = "devel/python" | |||
4 | LICENSE = "Apache-2.0" | 4 | LICENSE = "Apache-2.0" |
5 | LIC_FILES_CHKSUM = "file://README.rst;md5=d8ebbbe831259ce010179d2f310b0f3e" | 5 | LIC_FILES_CHKSUM = "file://README.rst;md5=d8ebbbe831259ce010179d2f310b0f3e" |
6 | 6 | ||
7 | SRC_URI[md5sum] = "a03bb494859e87b42601b61b1b043a0c" | ||
8 | SRC_URI[sha256sum] = "603a46e5c358ce20ac4807a0eeafac7505d1125a4c1bd8378757ada06f61bed8" | 7 | SRC_URI[sha256sum] = "603a46e5c358ce20ac4807a0eeafac7505d1125a4c1bd8378757ada06f61bed8" |
9 | 8 | ||
10 | inherit pypi setuptools3 | 9 | inherit pypi setuptools3 |
@@ -13,5 +12,4 @@ RDEPENDS:${PN} += "python3-prettytable \ | |||
13 | python3-cmd2 \ | 12 | python3-cmd2 \ |
14 | python3-pyparsing" | 13 | python3-pyparsing" |
15 | 14 | ||
16 | SRC_URI[md5sum] = "603821d06db945c71d811b5a8d78423c" | ||
17 | SRC_URI[sha256sum] = "fe249b52e20498e59e0b5c5256aa52ee99fc295b26ec9eaa85776ffdb9fe6374" | 15 | SRC_URI[sha256sum] = "fe249b52e20498e59e0b5c5256aa52ee99fc295b26ec9eaa85776ffdb9fe6374" |
diff --git a/meta-python/recipes-devtools/python/python3-periphery_2.4.1.bb b/meta-python/recipes-devtools/python/python3-periphery_2.4.1.bb index c2764b27d2..876d89443a 100644 --- a/meta-python/recipes-devtools/python/python3-periphery_2.4.1.bb +++ b/meta-python/recipes-devtools/python/python3-periphery_2.4.1.bb | |||
@@ -1,5 +1,5 @@ | |||
1 | DESCRIPTION = "A pure Python 2/3 library for peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO, Serial) in Linux." | 1 | DESCRIPTION = "A pure Python 2/3 library for peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO, Serial) in Linux." |
2 | HOMEPAGE = "http://pythonhosted.org/python-periphery/" | 2 | HOMEPAGE = "https://pythonhosted.org/python-periphery/" |
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | 4 | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=30fe6f023a80fb33989fb3b9d773fea0" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=30fe6f023a80fb33989fb3b9d773fea0" |
diff --git a/meta-python/recipes-devtools/python/python3-petact_0.1.2.bb b/meta-python/recipes-devtools/python/python3-petact_0.1.2.bb index b7fa69ffa8..ffd5b1c92a 100644 --- a/meta-python/recipes-devtools/python/python3-petact_0.1.2.bb +++ b/meta-python/recipes-devtools/python/python3-petact_0.1.2.bb | |||
@@ -3,7 +3,6 @@ HOMEPAGE = "https://github.com/matthewscholefield/petact" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://README.md;md5=c8533d4ba77519398cdae0173db799a1" | 4 | LIC_FILES_CHKSUM = "file://README.md;md5=c8533d4ba77519398cdae0173db799a1" |
5 | 5 | ||
6 | SRC_URI[md5sum] = "47e9a6abc91b4022953e4007ddae9e68" | ||
7 | SRC_URI[sha256sum] = "5dcb0d44f86a601e41a2def9770993cd0ea45c76d37eb3f35e3dd61aa50350e6" | 6 | SRC_URI[sha256sum] = "5dcb0d44f86a601e41a2def9770993cd0ea45c76d37eb3f35e3dd61aa50350e6" |
8 | 7 | ||
9 | inherit pypi setuptools3 | 8 | inherit pypi setuptools3 |
diff --git a/meta-python/recipes-devtools/python/python3-pexpect_4.9.0.bb b/meta-python/recipes-devtools/python/python3-pexpect_4.9.0.bb index 521df9dcd4..267474c8fe 100644 --- a/meta-python/recipes-devtools/python/python3-pexpect_4.9.0.bb +++ b/meta-python/recipes-devtools/python/python3-pexpect_4.9.0.bb | |||
@@ -1,5 +1,5 @@ | |||
1 | SUMMARY = "A Pure Python Expect like Module for Python" | 1 | SUMMARY = "A Pure Python Expect like Module for Python" |
2 | HOMEPAGE = "http://pexpect.readthedocs.org/" | 2 | HOMEPAGE = "https://pexpect.readthedocs.org/" |
3 | SECTION = "devel/python" | 3 | SECTION = "devel/python" |
4 | LICENSE = "ISC" | 4 | LICENSE = "ISC" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1c7a725251880af8c6a148181665385b" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1c7a725251880af8c6a148181665385b" |
@@ -10,8 +10,6 @@ SRC_URI[sha256sum] = "ee7d41123f3c9911050ea2c2dac107568dc43b2d3b0c7557a33212c398 | |||
10 | 10 | ||
11 | inherit pypi setuptools3 | 11 | inherit pypi setuptools3 |
12 | 12 | ||
13 | UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/pexpect" | ||
14 | |||
15 | RDEPENDS:${PN} = "\ | 13 | RDEPENDS:${PN} = "\ |
16 | python3-core \ | 14 | python3-core \ |
17 | python3-io \ | 15 | python3-io \ |
diff --git a/meta-python/recipes-devtools/python/python3-pickleshare_0.7.5.bb b/meta-python/recipes-devtools/python/python3-pickleshare_0.7.5.bb index bb16c78ce8..8eb55c4604 100644 --- a/meta-python/recipes-devtools/python/python3-pickleshare_0.7.5.bb +++ b/meta-python/recipes-devtools/python/python3-pickleshare_0.7.5.bb | |||
@@ -5,7 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=905c08218089ffebea3a64c82fc4d7d0" | |||
5 | 5 | ||
6 | PYPI_PACKAGE = "pickleshare" | 6 | PYPI_PACKAGE = "pickleshare" |
7 | 7 | ||
8 | SRC_URI[md5sum] = "44ab782615894a812ab96669a122a634" | ||
9 | SRC_URI[sha256sum] = "87683d47965c1da65cdacaf31c8441d12b8044cdec9aca500cd78fc2c683afca" | 8 | SRC_URI[sha256sum] = "87683d47965c1da65cdacaf31c8441d12b8044cdec9aca500cd78fc2c683afca" |
10 | 9 | ||
11 | inherit setuptools3 pypi | 10 | inherit setuptools3 pypi |
diff --git a/meta-python/recipes-devtools/python/python3-pid_3.0.4.bb b/meta-python/recipes-devtools/python/python3-pid_3.0.4.bb index c90f551056..55667ac81c 100644 --- a/meta-python/recipes-devtools/python/python3-pid_3.0.4.bb +++ b/meta-python/recipes-devtools/python/python3-pid_3.0.4.bb | |||
@@ -4,7 +4,6 @@ HOMEPAGE = "https://github.com/trbs/pid/" | |||
4 | LICENSE = "Apache-2.0" | 4 | LICENSE = "Apache-2.0" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=83d53cbd3105063f20305bc313464e29" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=83d53cbd3105063f20305bc313464e29" |
6 | 6 | ||
7 | SRC_URI[md5sum] = "af607e6e2a51129e3fef516b7994c85b" | ||
8 | SRC_URI[sha256sum] = "0e33670e83f6a33ebb0822e43a609c3247178d4a375ff50a4689e266d853eb66" | 7 | SRC_URI[sha256sum] = "0e33670e83f6a33ebb0822e43a609c3247178d4a375ff50a4689e266d853eb66" |
9 | 8 | ||
10 | inherit pypi setuptools3 | 9 | inherit pypi setuptools3 |
diff --git a/meta-python/recipes-devtools/python/python3-pillow/0001-support-cross-compiling.patch b/meta-python/recipes-devtools/python/python3-pillow/0001-support-cross-compiling.patch index e4ba35b886..f5ef71460a 100644 --- a/meta-python/recipes-devtools/python/python3-pillow/0001-support-cross-compiling.patch +++ b/meta-python/recipes-devtools/python/python3-pillow/0001-support-cross-compiling.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From cd09b6f68aa49c72e9a9bb0765e8c666238a7b7e Mon Sep 17 00:00:00 2001 | 1 | From eee014af3a7cd8a5c3ef8bbb604acb4b53c4e17e Mon Sep 17 00:00:00 2001 |
2 | From: Leon Anavi <leon.anavi@konsulko.com> | 2 | From: Leon Anavi <leon.anavi@konsulko.com> |
3 | Date: Mon, 11 Jan 2021 13:25:12 +0000 | 3 | Date: Mon, 11 Jan 2021 13:25:12 +0000 |
4 | Subject: [PATCH] support cross compiling | 4 | Subject: [PATCH] support cross compiling |
@@ -12,10 +12,10 @@ Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> | |||
12 | 1 file changed, 3 insertions(+), 3 deletions(-) | 12 | 1 file changed, 3 insertions(+), 3 deletions(-) |
13 | 13 | ||
14 | diff --git a/setup.py b/setup.py | 14 | diff --git a/setup.py b/setup.py |
15 | index cbc2641c..302bc6e7 100755 | 15 | index 5ecd6b816..582d1a23e 100644 |
16 | --- a/setup.py | 16 | --- a/setup.py |
17 | +++ b/setup.py | 17 | +++ b/setup.py |
18 | @@ -123,7 +123,7 @@ _LIB_IMAGING = ( | 18 | @@ -134,7 +134,7 @@ _LIB_IMAGING = ( |
19 | "codec_fd", | 19 | "codec_fd", |
20 | ) | 20 | ) |
21 | 21 | ||
@@ -24,7 +24,7 @@ index cbc2641c..302bc6e7 100755 | |||
24 | 24 | ||
25 | 25 | ||
26 | class DependencyException(Exception): | 26 | class DependencyException(Exception): |
27 | @@ -408,12 +408,12 @@ class pil_build_ext(build_ext): | 27 | @@ -542,12 +542,12 @@ class pil_build_ext(build_ext): |
28 | _add_directory(library_dirs, match.group(1)) | 28 | _add_directory(library_dirs, match.group(1)) |
29 | 29 | ||
30 | # include, rpath, if set as environment variables: | 30 | # include, rpath, if set as environment variables: |
@@ -39,6 +39,3 @@ index cbc2641c..302bc6e7 100755 | |||
39 | if k in os.environ: | 39 | if k in os.environ: |
40 | for d in os.environ[k].split(os.path.pathsep): | 40 | for d in os.environ[k].split(os.path.pathsep): |
41 | _add_directory(library_dirs, d) | 41 | _add_directory(library_dirs, d) |
42 | -- | ||
43 | 2.17.1 | ||
44 | |||
diff --git a/meta-python/recipes-devtools/python/python3-pillow/run-ptest b/meta-python/recipes-devtools/python/python3-pillow/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-pillow/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-pillow_10.3.0.bb b/meta-python/recipes-devtools/python/python3-pillow_11.2.1.bb index debf488154..b9b7a74e6e 100644 --- a/meta-python/recipes-devtools/python/python3-pillow_10.3.0.bb +++ b/meta-python/recipes-devtools/python/python3-pillow_11.2.1.bb | |||
@@ -1,17 +1,18 @@ | |||
1 | SUMMARY = "Python Imaging Library (Fork). Pillow is the friendly PIL fork by Alex \ | 1 | DESCRIPTION = "Python Imaging Library (Fork). Pillow is the friendly PIL fork by Alex \ |
2 | Clark and Contributors. PIL is the Python Imaging Library by Fredrik Lundh and \ | 2 | Clark and Contributors. PIL is the Python Imaging Library by Fredrik Lundh and \ |
3 | Contributors." | 3 | Contributors." |
4 | HOMEPAGE = "https://pillow.readthedocs.io" | 4 | HOMEPAGE = "https://pillow.readthedocs.io" |
5 | LICENSE = "MIT" | 5 | LICENSE = "MIT-CMU" |
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c349a4b4b9ec2377a8fd6a7df87dbffe" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a1b708da743e3fc0e5c35e92daac0bf8" |
7 | 7 | ||
8 | SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=main;protocol=https \ | 8 | SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=main;protocol=https \ |
9 | file://0001-support-cross-compiling.patch \ | 9 | file://0001-support-cross-compiling.patch \ |
10 | file://run-ptest \ | ||
11 | " | 10 | " |
12 | SRCREV = "5c89d88eee199ba53f64581ea39b6a1bc52feb1a" | 11 | SRCREV = "339bc5db93bd95decf65a59fab273f300db6594d" |
13 | 12 | ||
14 | inherit python_setuptools_build_meta ptest | 13 | inherit python_setuptools_build_meta ptest-python-pytest |
14 | |||
15 | PTEST_PYTEST_DIR = "Tests" | ||
15 | 16 | ||
16 | PEP517_BUILD_OPTS += " \ | 17 | PEP517_BUILD_OPTS += " \ |
17 | -C platform-guessing=disable \ | 18 | -C platform-guessing=disable \ |
@@ -41,32 +42,25 @@ RDEPENDS:${PN} += " \ | |||
41 | python3-numbers \ | 42 | python3-numbers \ |
42 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxcb', '', d)} \ | 43 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxcb', '', d)} \ |
43 | " | 44 | " |
44 | 45 | # python3-compile for filecmp module | |
45 | RDEPENDS:${PN}-ptest += " \ | 46 | RDEPENDS:${PN}-ptest += " \ |
46 | bash \ | 47 | bash \ |
47 | ghostscript \ | 48 | ghostscript \ |
48 | jpeg-tools \ | 49 | jpeg-tools \ |
49 | libwebp \ | 50 | libwebp \ |
51 | python3-compile \ | ||
50 | python3-core \ | 52 | python3-core \ |
51 | python3-image \ | 53 | python3-image \ |
52 | python3-mmap \ | 54 | python3-mmap \ |
53 | python3-pytest \ | ||
54 | python3-pytest-timeout \ | 55 | python3-pytest-timeout \ |
55 | python3-resource \ | 56 | python3-resource \ |
56 | python3-unittest-automake-output \ | ||
57 | python3-unixadmin\ | 57 | python3-unixadmin\ |
58 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'tk', '', d)} \ | 58 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'tk', '', d)} \ |
59 | " | 59 | " |
60 | 60 | ||
61 | CVE_PRODUCT = "pillow" | 61 | CVE_PRODUCT = "pillow" |
62 | 62 | ||
63 | S = "${WORKDIR}/git" | ||
64 | 63 | ||
65 | RPROVIDES:${PN} += "python3-imaging" | 64 | RPROVIDES:${PN} += "python3-imaging" |
66 | 65 | ||
67 | do_install_ptest() { | ||
68 | install -d ${D}${PTEST_PATH}/Tests | ||
69 | cp -rf ${S}/Tests ${D}${PTEST_PATH}/ | ||
70 | } | ||
71 | |||
72 | BBCLASSEXTEND = "native" | 66 | BBCLASSEXTEND = "native" |
diff --git a/meta-python/recipes-devtools/python/python3-pint/run-ptest b/meta-python/recipes-devtools/python/python3-pint/run-ptest deleted file mode 100644 index 5cec711696..0000000000 --- a/meta-python/recipes-devtools/python/python3-pint/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest | ||
diff --git a/meta-python/recipes-devtools/python/python3-pint_0.23.bb b/meta-python/recipes-devtools/python/python3-pint_0.23.bb deleted file mode 100644 index 370cd7017b..0000000000 --- a/meta-python/recipes-devtools/python/python3-pint_0.23.bb +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | SUMMARY = "Physical quantities module" | ||
2 | DESCRIPTION = "Physical quantities Python module" | ||
3 | HOMEPAGE = "https://github.com/hgrecco/pint" | ||
4 | SECTION = "devel/python" | ||
5 | |||
6 | LICENSE = "BSD-3-Clause" | ||
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b" | ||
8 | |||
9 | PYPI_PACKAGE := "Pint" | ||
10 | |||
11 | inherit ptest python_setuptools_build_meta | ||
12 | |||
13 | SRCREV = "f2e4081aee38f850938048beac7fb69c4908bc5e" | ||
14 | SRC_URI = "git://github.com/hgrecco/pint;protocol=https;branch=master" | ||
15 | S = "${WORKDIR}/git" | ||
16 | #SRC_URI[sha256sum] = "e1509b91606dbc52527c600a4ef74ffac12fff70688aff20e9072409346ec9b4" | ||
17 | |||
18 | DEPENDS += "python3-setuptools-scm-native" | ||
19 | |||
20 | BBCLASSEXTEND = "native nativesdk" | ||
21 | |||
22 | SRC_URI += " \ | ||
23 | file://run-ptest \ | ||
24 | " | ||
25 | |||
26 | RDEPENDS:${PN} += " \ | ||
27 | python3-setuptools \ | ||
28 | python3-packaging \ | ||
29 | " | ||
30 | |||
31 | RDEPENDS:${PN}-ptest += " \ | ||
32 | python3-appdirs \ | ||
33 | python3-flexcache \ | ||
34 | python3-flexparser \ | ||
35 | python3-pytest \ | ||
36 | " | ||
37 | |||
38 | do_install_ptest() { | ||
39 | install -d ${D}${PTEST_PATH}/testsuite | ||
40 | cp -rf ${S}/pint/* ${D}${PTEST_PATH}/ | ||
41 | } | ||
diff --git a/meta-python/recipes-devtools/python/python3-pint_0.24.4.bb b/meta-python/recipes-devtools/python/python3-pint_0.24.4.bb new file mode 100644 index 0000000000..1bf62ca729 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pint_0.24.4.bb | |||
@@ -0,0 +1,35 @@ | |||
1 | SUMMARY = "Physical quantities module" | ||
2 | DESCRIPTION = "Physical quantities Python module" | ||
3 | HOMEPAGE = "https://github.com/hgrecco/pint" | ||
4 | SECTION = "devel/python" | ||
5 | |||
6 | LICENSE = "BSD-3-Clause" | ||
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b" | ||
8 | |||
9 | inherit pypi ptest-python-pytest python_setuptools_build_meta | ||
10 | |||
11 | SRC_URI[sha256sum] = "35275439b574837a6cd3020a5a4a73645eb125ce4152a73a2f126bf164b91b80" | ||
12 | |||
13 | DEPENDS += "python3-setuptools-scm-native" | ||
14 | |||
15 | BBCLASSEXTEND = "native nativesdk" | ||
16 | |||
17 | PTEST_PYTEST_DIR = "pint" | ||
18 | |||
19 | RDEPENDS:${PN} += " \ | ||
20 | python3-setuptools \ | ||
21 | python3-packaging \ | ||
22 | python3-platformdirs \ | ||
23 | " | ||
24 | # python3-misc for timeit.py | ||
25 | RDEPENDS:${PN}-ptest += " \ | ||
26 | python3-appdirs \ | ||
27 | python3-attrs \ | ||
28 | python3-flexcache \ | ||
29 | python3-flexparser \ | ||
30 | python3-misc \ | ||
31 | python3-pytest-benchmark \ | ||
32 | python3-pytest-subtests \ | ||
33 | python3-statistics \ | ||
34 | " | ||
35 | |||
diff --git a/meta-python/recipes-devtools/python/python3-pkcs11_0.7.0.bb b/meta-python/recipes-devtools/python/python3-pkcs11_0.7.0.bb index 816b728dc0..84bc17959a 100644 --- a/meta-python/recipes-devtools/python/python3-pkcs11_0.7.0.bb +++ b/meta-python/recipes-devtools/python/python3-pkcs11_0.7.0.bb | |||
@@ -9,12 +9,11 @@ SRC_URI[sha256sum] = "9737e0c24cabb8bc9d48bf8c57c3df2a70f8cdd96b70c50290803286f9 | |||
9 | 9 | ||
10 | PYPI_PACKAGE = "python-pkcs11" | 10 | PYPI_PACKAGE = "python-pkcs11" |
11 | 11 | ||
12 | inherit pypi setuptools3 | 12 | inherit pypi setuptools3 cython |
13 | 13 | ||
14 | BBCLASSEXTEND = "native" | 14 | BBCLASSEXTEND = "native" |
15 | 15 | ||
16 | DEPENDS += " \ | 16 | DEPENDS += " \ |
17 | python3-cython-native \ | ||
18 | python3-setuptools-scm-native \ | 17 | python3-setuptools-scm-native \ |
19 | python3 \ | 18 | python3 \ |
20 | " | 19 | " |
diff --git a/meta-python/recipes-devtools/python/python3-pkgconfig_1.5.5.bb b/meta-python/recipes-devtools/python/python3-pkgconfig_1.5.5.bb index 9ff4d1318d..8f65d3d4c5 100644 --- a/meta-python/recipes-devtools/python/python3-pkgconfig_1.5.5.bb +++ b/meta-python/recipes-devtools/python/python3-pkgconfig_1.5.5.bb | |||
@@ -1,5 +1,5 @@ | |||
1 | SUMMARY = "Python module to interface with the pkg-config command line too" | 1 | SUMMARY = "Python module to interface with the pkg-config command line too" |
2 | HOMEPAGE = "http://github.com/matze/pkgconfig" | 2 | HOMEPAGE = "https://github.com/matze/pkgconfig" |
3 | SECTION = "devel/python" | 3 | SECTION = "devel/python" |
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=faa7f82be8f220bff6156be4790344fc" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=faa7f82be8f220bff6156be4790344fc" |
diff --git a/meta-python/recipes-devtools/python/python3-platformdirs/run-ptest b/meta-python/recipes-devtools/python/python3-platformdirs/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-platformdirs/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-platformdirs_4.2.2.bb b/meta-python/recipes-devtools/python/python3-platformdirs_4.3.8.bb index 5821aedd4f..38f9f1b583 100644 --- a/meta-python/recipes-devtools/python/python3-platformdirs_4.2.2.bb +++ b/meta-python/recipes-devtools/python/python3-platformdirs_4.3.8.bb | |||
@@ -1,15 +1,11 @@ | |||
1 | SUMMARY = "A small Python module for determining appropriate platform-specific dirs" | 1 | SUMMARY = "A small Python module for determining appropriate platform-specific dirs" |
2 | HOMEPAGE = "https://github.com/platformdirs/platformdirs" | 2 | HOMEPAGE = "https://github.com/platformdirs/platformdirs" |
3 | LICENSE = "BSD-3-Clause" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4f5a41454746a9ed111e3d8723d17a" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4f5a41454746a9ed111e3d8723d17a" |
5 | 5 | ||
6 | SRC_URI += " \ | 6 | SRC_URI[sha256sum] = "3d512d96e16bcb959a814c9f348431070822a6496326a4be0911c40b5a74c2bc" |
7 | file://run-ptest \ | ||
8 | " | ||
9 | |||
10 | SRC_URI[sha256sum] = "38b7b51f512eed9e84a22788b4bce1de17c0adb134d6becb09836e37d8654cd3" | ||
11 | 7 | ||
12 | inherit pypi python_hatchling ptest | 8 | inherit pypi python_hatchling ptest-python-pytest |
13 | 9 | ||
14 | DEPENDS += " \ | 10 | DEPENDS += " \ |
15 | python3-hatch-vcs-native \ | 11 | python3-hatch-vcs-native \ |
@@ -18,15 +14,8 @@ DEPENDS += " \ | |||
18 | RDEPENDS:${PN}-ptest += " \ | 14 | RDEPENDS:${PN}-ptest += " \ |
19 | python3-appdirs \ | 15 | python3-appdirs \ |
20 | python3-covdefaults \ | 16 | python3-covdefaults \ |
21 | python3-pytest \ | ||
22 | python3-pytest-cov \ | 17 | python3-pytest-cov \ |
23 | python3-pytest-mock \ | 18 | python3-pytest-mock \ |
24 | python3-unittest-automake-output \ | ||
25 | " | 19 | " |
26 | 20 | ||
27 | do_install_ptest() { | ||
28 | install -d ${D}${PTEST_PATH} | ||
29 | cp -rf ${S}/tests ${D}${PTEST_PATH}/ | ||
30 | } | ||
31 | |||
32 | BBCLASSEXTEND = "native nativesdk" | 21 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-python/recipes-devtools/python/python3-pocketsphinx_5.0.3.bb b/meta-python/recipes-devtools/python/python3-pocketsphinx_5.0.4.bb index 4ffcb4db82..2276ea8571 100644 --- a/meta-python/recipes-devtools/python/python3-pocketsphinx_5.0.3.bb +++ b/meta-python/recipes-devtools/python/python3-pocketsphinx_5.0.4.bb | |||
@@ -6,11 +6,11 @@ LICENSE = "BSD-2-Clause | BSD-3-Clause | MIT" | |||
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c4d720cdc9c6953091f65e8b01524bb4" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c4d720cdc9c6953091f65e8b01524bb4" |
7 | 7 | ||
8 | SRC_URI += "file://0001-cython-Use-cythyon3-in-cmake-check.patch" | 8 | SRC_URI += "file://0001-cython-Use-cythyon3-in-cmake-check.patch" |
9 | SRC_URI[sha256sum] = "27f4de0ca2d2bce391ce87eaab84fe6f0bc059b306fd1702d5fe6549b66e1586" | 9 | SRC_URI[sha256sum] = "17d2971e998490def9554b6ba41886708422af5b4ae888723b1b077aab0fe8d4" |
10 | 10 | ||
11 | inherit cmake pkgconfig pypi python3native | 11 | inherit cmake pkgconfig pypi python3native cython |
12 | 12 | ||
13 | DEPENDS += "swig-native python3-cython-native python3-scikit-build-native gstreamer1.0 gstreamer1.0-plugins-base" | 13 | DEPENDS += "swig-native python3-scikit-build-native gstreamer1.0 gstreamer1.0-plugins-base" |
14 | 14 | ||
15 | EXTRA_OECMAKE += "-DBUILD_GSTREAMER=ON" | 15 | EXTRA_OECMAKE += "-DBUILD_GSTREAMER=ON" |
16 | 16 | ||
diff --git a/meta-python/recipes-devtools/python/python3-polyline/run-ptest b/meta-python/recipes-devtools/python/python3-polyline/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-polyline/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-polyline_2.0.2.bb b/meta-python/recipes-devtools/python/python3-polyline_2.0.2.bb index 00cb51be41..a91ceb76ee 100644 --- a/meta-python/recipes-devtools/python/python3-polyline_2.0.2.bb +++ b/meta-python/recipes-devtools/python/python3-polyline_2.0.2.bb | |||
@@ -5,22 +5,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1fb8d1dc685695195bb3c1e48adfef48" | |||
5 | 5 | ||
6 | SRC_URI[sha256sum] = "10541e759c5fd51f746ee304e9af94744089a4055b6257b293b3afd1df64e369" | 6 | SRC_URI[sha256sum] = "10541e759c5fd51f746ee304e9af94744089a4055b6257b293b3afd1df64e369" |
7 | 7 | ||
8 | inherit pypi python_setuptools_build_meta ptest | 8 | inherit pypi python_setuptools_build_meta ptest-python-pytest |
9 | 9 | ||
10 | RDEPENDS:${PN} += "python3-six" | 10 | RDEPENDS:${PN} += "python3-six" |
11 | 11 | ||
12 | BBCLASSEXTEND = "native nativesdk" | 12 | BBCLASSEXTEND = "native nativesdk" |
13 | 13 | ||
14 | SRC_URI += " \ | ||
15 | file://run-ptest \ | ||
16 | " | ||
17 | |||
18 | RDEPENDS:${PN}-ptest += " \ | ||
19 | python3-pytest \ | ||
20 | python3-unittest-automake-output \ | ||
21 | " | ||
22 | |||
23 | do_install_ptest() { | ||
24 | install -d ${D}${PTEST_PATH}/test | ||
25 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/test/ | ||
26 | } | ||
diff --git a/meta-python/recipes-devtools/python/python3-portion_2.4.2.bb b/meta-python/recipes-devtools/python/python3-portion_2.4.2.bb deleted file mode 100644 index 3af94b48f1..0000000000 --- a/meta-python/recipes-devtools/python/python3-portion_2.4.2.bb +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | DESCRIPTION = "Python data structure and operations for intervals" | ||
2 | HOMEPAGE = "https://github.com/AlexandreDecan/portion" | ||
3 | SECTION = "devel/python" | ||
4 | |||
5 | LICENSE = "LGPL-3.0-only" | ||
6 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=05f1e16a8e59ce3e9a979e881816c2ab" | ||
7 | |||
8 | inherit pypi setuptools3 | ||
9 | |||
10 | SRC_URI[sha256sum] = "5289b40d98959b16b3f6927781678935d3df1b7c14947f5d7778e5e04dd9a065" | ||
11 | |||
12 | RDEPENDS:${PN} = "\ | ||
13 | python3-sortedcontainers \ | ||
14 | " | ||
15 | |||
16 | BBCLASSEXTEND = "native" | ||
diff --git a/meta-python/recipes-devtools/python/python3-portion_2.6.1.bb b/meta-python/recipes-devtools/python/python3-portion_2.6.1.bb new file mode 100644 index 0000000000..942d7d5d4d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-portion_2.6.1.bb | |||
@@ -0,0 +1,21 @@ | |||
1 | DESCRIPTION = "Python data structure and operations for intervals" | ||
2 | HOMEPAGE = "https://github.com/AlexandreDecan/portion" | ||
3 | SECTION = "devel/python" | ||
4 | |||
5 | LICENSE = "LGPL-3.0-only" | ||
6 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3000208d539ec061b899bce1d9ce9404" | ||
7 | |||
8 | inherit pypi python_hatchling ptest-python-pytest | ||
9 | |||
10 | SRC_URI[sha256sum] = "44b1f7d57e052993c4157e519dc447e57b87a4e5e00a77c1c50e7044104e53c6" | ||
11 | |||
12 | RDEPENDS:${PN} += "\ | ||
13 | python3-sortedcontainers \ | ||
14 | " | ||
15 | |||
16 | do_install_ptest:append () { | ||
17 | # test_doc.py tests README.md. | ||
18 | install -Dm 0644 ${S}/README.md ${D}${PTEST_PATH}/README.md | ||
19 | } | ||
20 | |||
21 | BBCLASSEXTEND = "native" | ||
diff --git a/meta-python/recipes-devtools/python/python3-posix-ipc/0001-build_support-use-source-filename-instead-of-foo-for.patch b/meta-python/recipes-devtools/python/python3-posix-ipc/0001-build_support-use-source-filename-instead-of-foo-for.patch new file mode 100644 index 0000000000..8bb7267086 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-posix-ipc/0001-build_support-use-source-filename-instead-of-foo-for.patch | |||
@@ -0,0 +1,50 @@ | |||
1 | From 09cfcf7de2aab873a13949d5a128ccfb9e54732d Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <martin.jansa@gmail.com> | ||
3 | Date: Mon, 5 May 2025 08:15:37 +0200 | ||
4 | Subject: [PATCH] build_support: use source filename instead of 'foo' for | ||
5 | discover tests | ||
6 | |||
7 | * helps when debugging the issues | ||
8 | * use the same order of CC arguments in compile_and_run and | ||
9 | does_build_succeed just for consistency | ||
10 | * use pthread in both compile_and_run and does_build_succeed functions | ||
11 | it was added only to does_build_succeed in 5ec39f7af8cfd8525d225b1302fa93f7133b3849 | ||
12 | not sure if it was intentional | ||
13 | |||
14 | Signed-off-by: Martin Jansa <martin.jansa@gmail.com> | ||
15 | Upstream-Status: Submitted [https://github.com/osvenskan/posix_ipc/pull/77] | ||
16 | --- | ||
17 | build_support/discover_system_info.py | 6 +++--- | ||
18 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
19 | |||
20 | diff --git a/build_support/discover_system_info.py b/build_support/discover_system_info.py | ||
21 | index bc4d174..6d059d9 100644 | ||
22 | --- a/build_support/discover_system_info.py | ||
23 | +++ b/build_support/discover_system_info.py | ||
24 | @@ -60,7 +60,7 @@ def does_build_succeed(filename, linker_options=""): | ||
25 | # Rather than testing whether or not it's needed, I just specify it | ||
26 | # everywhere since it's harmless to specify it when it's not needed. | ||
27 | cc = os.getenv("CC", "cc") | ||
28 | - cmd = "%s -Wall -o ./build_support/src/foo ./build_support/src/%s %s -lpthread" % (cc, filename, linker_options) | ||
29 | + cmd = "%s -Wall -o ./build_support/src/%s ./build_support/src/%s %s -lpthread" % (cc, filename[:-2], filename, linker_options) | ||
30 | |||
31 | p = subprocess.Popen(cmd, shell=True, stdout=STDOUT, stderr=STDERR) | ||
32 | |||
33 | @@ -73,7 +73,7 @@ def compile_and_run(filename, linker_options=""): | ||
34 | # Utility function that returns the stdout output from running the | ||
35 | # compiled source file; None if the compile fails. | ||
36 | cc = os.getenv("CC", "cc") | ||
37 | - cmd = "%s -Wall -o ./build_support/src/foo %s ./build_support/src/%s" % (cc, linker_options, filename) | ||
38 | + cmd = "%s -Wall -o ./build_support/src/%s ./build_support/src/%s %s -lpthread" % (cc, filename[:-2], filename, linker_options) | ||
39 | |||
40 | p = subprocess.Popen(cmd, shell=True, stdout=STDOUT, stderr=STDERR) | ||
41 | |||
42 | @@ -82,7 +82,7 @@ def compile_and_run(filename, linker_options=""): | ||
43 | return None | ||
44 | |||
45 | try: | ||
46 | - s = subprocess.Popen(["./build_support/src/foo"], | ||
47 | + s = subprocess.Popen(["./build_support/src/%s" % filename[:-2]], | ||
48 | stdout=subprocess.PIPE).communicate()[0] | ||
49 | return s.strip().decode() | ||
50 | except Exception: | ||
diff --git a/meta-python/recipes-devtools/python/python3-posix-ipc/0002-build_support-handle-empty-max_priority-value-as-Non.patch b/meta-python/recipes-devtools/python/python3-posix-ipc/0002-build_support-handle-empty-max_priority-value-as-Non.patch new file mode 100644 index 0000000000..54c8ddaba7 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-posix-ipc/0002-build_support-handle-empty-max_priority-value-as-Non.patch | |||
@@ -0,0 +1,49 @@ | |||
1 | From 8fc46d871639dbe799f6ff0a61b046412ef5dcc6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <martin.jansa@gmail.com> | ||
3 | Date: Mon, 5 May 2025 08:16:30 +0200 | ||
4 | Subject: [PATCH] build_support: handle empty max_priority value as None | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | When cross-compiling these tests they fail when the host cannot execute | ||
10 | the binaries built for target. | ||
11 | |||
12 | On my local ubuntu-22.04 docker container running | ||
13 | build_support/src/sniff_mq_prio_max results in: | ||
14 | posix_ipc-1.2.0 $ ./build_support/src/foo | ||
15 | bash: ./build_support/src/foo: cannot execute binary file: Exec format error | ||
16 | which triggers the Exception in compile_and_run and returns None | ||
17 | |||
18 | While on some other ubuntu-22.04 containers I see: | ||
19 | posix_ipc-1.2.0$ ./build_support/src/sniff_mq_prio_max | ||
20 | /usr/lib/ld-linux-aarch64.so.1: No such file or directory | ||
21 | |||
22 | and the compile_and_run returns | ||
23 | b'' | ||
24 | which then causes | ||
25 | posix_ipc-1.2.0/build_support/discover_system_info.py", line 244, in sniff_mq_prio_max | ||
26 | if max_priority < 0: | ||
27 | ^^^^^^^^^^^^^^^^ | ||
28 | |||
29 | Handle the empty value the same as None to avoid this. | ||
30 | |||
31 | Signed-off-by: Martin Jansa <martin.jansa@gmail.com> | ||
32 | Upstream-Status: Submitted [https://github.com/osvenskan/posix_ipc/pull/77] | ||
33 | --- | ||
34 | build_support/discover_system_info.py | 2 +- | ||
35 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
36 | |||
37 | diff --git a/build_support/discover_system_info.py b/build_support/discover_system_info.py | ||
38 | index 6d059d9..f8a3c83 100644 | ||
39 | --- a/build_support/discover_system_info.py | ||
40 | +++ b/build_support/discover_system_info.py | ||
41 | @@ -223,7 +223,7 @@ def sniff_mq_prio_max(): | ||
42 | except ValueError: | ||
43 | max_priority = None | ||
44 | |||
45 | - if max_priority is None: | ||
46 | + if not max_priority: | ||
47 | # Looking for a #define didn't work; ask sysconf() instead. | ||
48 | # Note that sys.sysconf_names doesn't exist under Cygwin. | ||
49 | if hasattr(os, "sysconf_names") and \ | ||
diff --git a/meta-python/recipes-devtools/python/python3-posix-ipc/0003-build_support-use-does_build_succeed-in-compile_and_.patch b/meta-python/recipes-devtools/python/python3-posix-ipc/0003-build_support-use-does_build_succeed-in-compile_and_.patch new file mode 100644 index 0000000000..b36d1cdb3a --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-posix-ipc/0003-build_support-use-does_build_succeed-in-compile_and_.patch | |||
@@ -0,0 +1,62 @@ | |||
1 | From 760374e778fc28193cfea1416a739e206f9201c6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <martin.jansa@gmail.com> | ||
3 | Date: Mon, 5 May 2025 08:28:56 +0200 | ||
4 | Subject: [PATCH] build_support: use does_build_succeed in compile_and_run | ||
5 | |||
6 | * avoid the duplication and building the sniff_mq_prio_max.c twice | ||
7 | |||
8 | Signed-off-by: Martin Jansa <martin.jansa@gmail.com> | ||
9 | Upstream-Status: Submitted [https://github.com/osvenskan/posix_ipc/pull/77] | ||
10 | --- | ||
11 | build_support/discover_system_info.py | 27 ++++++++++----------------- | ||
12 | 1 file changed, 10 insertions(+), 17 deletions(-) | ||
13 | |||
14 | diff --git a/build_support/discover_system_info.py b/build_support/discover_system_info.py | ||
15 | index f8a3c83..f6e6c8c 100644 | ||
16 | --- a/build_support/discover_system_info.py | ||
17 | +++ b/build_support/discover_system_info.py | ||
18 | @@ -72,22 +72,17 @@ def does_build_succeed(filename, linker_options=""): | ||
19 | def compile_and_run(filename, linker_options=""): | ||
20 | # Utility function that returns the stdout output from running the | ||
21 | # compiled source file; None if the compile fails. | ||
22 | - cc = os.getenv("CC", "cc") | ||
23 | - cmd = "%s -Wall -o ./build_support/src/%s ./build_support/src/%s %s -lpthread" % (cc, filename[:-2], filename, linker_options) | ||
24 | - | ||
25 | - p = subprocess.Popen(cmd, shell=True, stdout=STDOUT, stderr=STDERR) | ||
26 | - | ||
27 | - if p.wait(): | ||
28 | + if does_build_succeed(filename, linker_options=""): | ||
29 | + try: | ||
30 | + s = subprocess.Popen(["./build_support/src/%s" % filename[:-2]], | ||
31 | + stdout=subprocess.PIPE).communicate()[0] | ||
32 | + return s.strip().decode() | ||
33 | + except Exception: | ||
34 | + # execution resulted in an error | ||
35 | + return None | ||
36 | + else: | ||
37 | # uh-oh, compile failed | ||
38 | return None | ||
39 | - | ||
40 | - try: | ||
41 | - s = subprocess.Popen(["./build_support/src/%s" % filename[:-2]], | ||
42 | - stdout=subprocess.PIPE).communicate()[0] | ||
43 | - return s.strip().decode() | ||
44 | - except Exception: | ||
45 | - # execution resulted in an error | ||
46 | - return None | ||
47 | |||
48 | |||
49 | def get_sysctl_value(name): | ||
50 | @@ -211,11 +206,9 @@ def sniff_mq_prio_max(): | ||
51 | # ref: http://www.opengroup.org/onlinepubs/009695399/basedefs/limits.h.html | ||
52 | DEFAULT_PRIORITY_MAX = 32 | ||
53 | |||
54 | - max_priority = None | ||
55 | # OS X up to and including 10.8 doesn't support POSIX messages queues and | ||
56 | # doesn't define MQ_PRIO_MAX. Maybe this aggravation will cease in 10.9? | ||
57 | - if does_build_succeed("sniff_mq_prio_max.c"): | ||
58 | - max_priority = compile_and_run("sniff_mq_prio_max.c") | ||
59 | + max_priority = compile_and_run("sniff_mq_prio_max.c") | ||
60 | |||
61 | if max_priority: | ||
62 | try: | ||
diff --git a/meta-python/recipes-devtools/python/python3-posix-ipc_1.1.1.bb b/meta-python/recipes-devtools/python/python3-posix-ipc_1.1.1.bb deleted file mode 100644 index a71187399b..0000000000 --- a/meta-python/recipes-devtools/python/python3-posix-ipc_1.1.1.bb +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | DESCRIPTION = "POSIX IPC primitives (semaphores, shared memory and message queues) for Python" | ||
2 | HOMEPAGE = "http://semanchuk.com/philip/posix_ipc/" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "BSD-3-Clause" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=513d94a7390d4d72f3475e2d45c739b5" | ||
6 | |||
7 | PYPI_PACKAGE = "posix_ipc" | ||
8 | |||
9 | SRC_URI[sha256sum] = "e2456ba0cfb2ee5ba14121450e8d825b3c4a1461fca0761220aab66d4111cbb7" | ||
10 | |||
11 | inherit setuptools3 pypi | ||
diff --git a/meta-python/recipes-devtools/python/python3-posix-ipc_1.2.0.bb b/meta-python/recipes-devtools/python/python3-posix-ipc_1.2.0.bb new file mode 100644 index 0000000000..05a73f2896 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-posix-ipc_1.2.0.bb | |||
@@ -0,0 +1,17 @@ | |||
1 | DESCRIPTION = "POSIX IPC primitives (semaphores, shared memory and message queues) for Python" | ||
2 | HOMEPAGE = "https://semanchuk.com/philip/posix_ipc/" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "BSD-3-Clause" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1a4f3bd729df04bf68f66ef877e9c7c9" | ||
6 | |||
7 | PYPI_PACKAGE = "posix_ipc" | ||
8 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
9 | |||
10 | SRC_URI[sha256sum] = "b7444e2703c156b3cb9fcb568e85d716232f3e78f04529ebc881cfb2aedb3838" | ||
11 | |||
12 | SRC_URI += " \ | ||
13 | file://0001-build_support-use-source-filename-instead-of-foo-for.patch \ | ||
14 | file://0002-build_support-handle-empty-max_priority-value-as-Non.patch \ | ||
15 | file://0003-build_support-use-does_build_succeed-in-compile_and_.patch \ | ||
16 | " | ||
17 | inherit pypi python_setuptools_build_meta | ||
diff --git a/meta-python/recipes-devtools/python/python3-prctl_1.8.1.bb b/meta-python/recipes-devtools/python/python3-prctl_1.8.1.bb index a4732993f8..c5f4c1c395 100644 --- a/meta-python/recipes-devtools/python/python3-prctl_1.8.1.bb +++ b/meta-python/recipes-devtools/python/python3-prctl_1.8.1.bb | |||
@@ -7,7 +7,6 @@ SECTION = "devel/python" | |||
7 | LICENSE = "GPL-3.0-only" | 7 | LICENSE = "GPL-3.0-only" |
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=1475481f9ec754d758859bd2c75f6f6f" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=1475481f9ec754d758859bd2c75f6f6f" |
9 | 9 | ||
10 | S = "${WORKDIR}/git" | ||
11 | B = "${S}" | 10 | B = "${S}" |
12 | 11 | ||
13 | SRCREV = "5e12e398eb5c4e30d7b29b02458c76d2cc780700" | 12 | SRCREV = "5e12e398eb5c4e30d7b29b02458c76d2cc780700" |
diff --git a/meta-python/recipes-devtools/python/python3-precise-runner/run-ptest b/meta-python/recipes-devtools/python/python3-precise-runner/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-precise-runner/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb b/meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb index 1fb72de126..53fc31ab83 100644 --- a/meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb +++ b/meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb | |||
@@ -3,21 +3,8 @@ HOMEPAGE = "https://github.com/MycroftAI/mycroft-precise" | |||
3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
4 | LIC_FILES_CHKSUM = "file://README.md;md5=2ad29e930f3107d52d2a55728bf62116" | 4 | LIC_FILES_CHKSUM = "file://README.md;md5=2ad29e930f3107d52d2a55728bf62116" |
5 | 5 | ||
6 | SRC_URI[md5sum] = "a2434be110444192e804f4dada0ccecf" | ||
7 | SRC_URI[sha256sum] = "1a464209fb4bf0a3f5d5a428310cb2a70487a01a6bc3a960d1dda90af896b80d" | 6 | SRC_URI[sha256sum] = "1a464209fb4bf0a3f5d5a428310cb2a70487a01a6bc3a960d1dda90af896b80d" |
8 | 7 | ||
9 | inherit pypi setuptools3 ptest | 8 | inherit pypi setuptools3 ptest-python-pytest |
10 | 9 | ||
11 | SRC_URI += " \ | 10 | PTEST_PYTEST_DIR = "test" |
12 | file://run-ptest \ | ||
13 | " | ||
14 | |||
15 | RDEPENDS:${PN}-ptest += " \ | ||
16 | python3-pytest \ | ||
17 | python3-unittest-automake-output \ | ||
18 | " | ||
19 | |||
20 | do_install_ptest() { | ||
21 | install -d ${D}${PTEST_PATH}/test | ||
22 | cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ | ||
23 | } | ||
diff --git a/meta-python/recipes-devtools/python/python3-prettytable/run-ptest b/meta-python/recipes-devtools/python/python3-prettytable/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-prettytable/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-prettytable_3.10.0.bb b/meta-python/recipes-devtools/python/python3-prettytable_3.16.0.bb index 35e9ab1798..abb13bb890 100644 --- a/meta-python/recipes-devtools/python/python3-prettytable_3.10.0.bb +++ b/meta-python/recipes-devtools/python/python3-prettytable_3.16.0.bb | |||
@@ -3,12 +3,9 @@ HOMEPAGE = "http://code.google.com/p/prettytable" | |||
3 | LICENSE = "BSD-3-Clause" | 3 | LICENSE = "BSD-3-Clause" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c9a6829fcd174d9535b46211917c7671" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c9a6829fcd174d9535b46211917c7671" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "3c64b31719d961bf69c9a7e03d0c1e477320906a98da63952bc6698d6164ff57" | ||
6 | 7 | ||
7 | SRC_URI[sha256sum] = "9665594d137fb08a1117518c25551e0ede1687197cf353a4fdc78d27e1073568" | 8 | inherit pypi ptest-python-pytest python_hatchling |
8 | SRC_URI += " \ | ||
9 | file://run-ptest \ | ||
10 | " | ||
11 | inherit pypi ptest python_hatchling | ||
12 | 9 | ||
13 | do_install:append() { | 10 | do_install:append() { |
14 | perm_files=`find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "*.txt" -o -name "PKG-INFO"` | 11 | perm_files=`find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "*.txt" -o -name "PKG-INFO"` |
@@ -31,15 +28,8 @@ RDEPENDS:${PN} += " \ | |||
31 | " | 28 | " |
32 | 29 | ||
33 | RDEPENDS:${PN}-ptest += " \ | 30 | RDEPENDS:${PN}-ptest += " \ |
34 | python3-pytest \ | ||
35 | python3-pytest-lazy-fixtures \ | 31 | python3-pytest-lazy-fixtures \ |
36 | python3-sqlite3 \ | 32 | python3-sqlite3 \ |
37 | python3-unittest-automake-output \ | ||
38 | " | 33 | " |
39 | 34 | ||
40 | do_install_ptest() { | ||
41 | install -d ${D}${PTEST_PATH}/tests | ||
42 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
43 | } | ||
44 | |||
45 | BBCLASSEXTEND = "native nativesdk" | 35 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-python/recipes-devtools/python/python3-progress_1.6.bb b/meta-python/recipes-devtools/python/python3-progress_1.6.bb index 59d1f90e98..4a0b0c714e 100644 --- a/meta-python/recipes-devtools/python/python3-progress_1.6.bb +++ b/meta-python/recipes-devtools/python/python3-progress_1.6.bb | |||
@@ -1,5 +1,5 @@ | |||
1 | SUMMARY = "Easy progress reporting for Python" | 1 | SUMMARY = "Easy progress reporting for Python" |
2 | HOMEPAGE = "http://github.com/verigak/progress/" | 2 | HOMEPAGE = "https://github.com/verigak/progress/" |
3 | LICENSE = "ISC" | 3 | LICENSE = "ISC" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=00ab78a4113b09aacf63d762a7bb9644" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=00ab78a4113b09aacf63d762a7bb9644" |
5 | 5 | ||
diff --git a/meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.45.bb b/meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.51.bb index e02aafdb98..77b05f7f90 100644 --- a/meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.45.bb +++ b/meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.51.bb | |||
@@ -3,11 +3,12 @@ HOMEPAGE = "https://python-prompt-toolkit.readthedocs.io/" | |||
3 | LICENSE = "BSD-3-Clause" | 3 | LICENSE = "BSD-3-Clause" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b2cde7da89f0c1f3e49bf968d00d554f" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b2cde7da89f0c1f3e49bf968d00d554f" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "07c60ee4ab7b7e90824b61afa840c8f5aad2d46b3e2e10acc33d8ecc94a49089" | 6 | SRC_URI[sha256sum] = "931a162e3b27fc90c86f1b48bb1fb2c528c2761475e57c9c06de13311c7b54ed" |
7 | 7 | ||
8 | inherit pypi setuptools3 | 8 | inherit pypi python_setuptools_build_meta |
9 | 9 | ||
10 | PYPI_PACKAGE = "prompt_toolkit" | 10 | PYPI_PACKAGE = "prompt_toolkit" |
11 | UPSTREAM_CHECK_PYPI_PACKAGE = "prompt_toolkit" | ||
11 | 12 | ||
12 | RDEPENDS:${PN} += " \ | 13 | RDEPENDS:${PN} += " \ |
13 | python3-core \ | 14 | python3-core \ |
diff --git a/meta-python/recipes-devtools/python/python3-propcache_0.3.2.bb b/meta-python/recipes-devtools/python/python3-propcache_0.3.2.bb new file mode 100644 index 0000000000..e78d7b3428 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-propcache_0.3.2.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | SUMMARY = "Fast property caching" | ||
2 | HOMEPAGE = "https://github.com/aio-libs/propcache" | ||
3 | LICENSE = "Apache-2.0" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | ||
5 | |||
6 | SRC_URI[sha256sum] = "20d7d62e4e7ef05f221e0db2856b979540686342e7dd9973b815599c7057e168" | ||
7 | |||
8 | inherit pypi python_setuptools_build_meta ptest-python-pytest cython | ||
9 | |||
10 | DEPENDS += " \ | ||
11 | python3-expandvars-native \ | ||
12 | " | ||
13 | |||
14 | RDEPENDS:${PN}-ptest += " \ | ||
15 | python3-pytest-codspeed \ | ||
16 | python3-pytest-xdist \ | ||
17 | python3-rich \ | ||
18 | python3-statistics \ | ||
19 | " | ||
20 | |||
diff --git a/meta-python/recipes-devtools/python/python3-protobuf_4.25.3.bb b/meta-python/recipes-devtools/python/python3-protobuf_4.25.3.bb deleted file mode 100644 index 9695880d02..0000000000 --- a/meta-python/recipes-devtools/python/python3-protobuf_4.25.3.bb +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | DESCRIPTION = "Protocol Buffers" | ||
2 | HOMEPAGE = "https://developers.google.com/protocol-buffers/" | ||
3 | SECTION = "devel/python" | ||
4 | |||
5 | LICENSE = "BSD-3-Clause" | ||
6 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=53dbfa56f61b90215a9f8f0d527c043d" | ||
7 | |||
8 | inherit pypi setuptools3 | ||
9 | SRC_URI[sha256sum] = "25b5d0b42fd000320bd7830b349e3b696435f3b329810427a6bcce6a5492cc5c" | ||
10 | |||
11 | # http://errors.yoctoproject.org/Errors/Details/184715/ | ||
12 | # Can't find required file: ../src/google/protobuf/descriptor.proto | ||
13 | CLEANBROKEN = "1" | ||
14 | |||
15 | UPSTREAM_CHECK_REGEX = "protobuf/(?P<pver>\d+(\.\d+)+)/" | ||
16 | |||
17 | DEPENDS += "protobuf" | ||
18 | |||
19 | RDEPENDS:${PN} += " \ | ||
20 | python3-ctypes \ | ||
21 | python3-datetime \ | ||
22 | python3-json \ | ||
23 | python3-logging \ | ||
24 | python3-netclient \ | ||
25 | python3-numbers \ | ||
26 | python3-pkgutil \ | ||
27 | python3-unittest \ | ||
28 | " | ||
29 | |||
30 | # For usage in other recipies when compiling protobuf files (e.g. by grpcio-tools) | ||
31 | BBCLASSEXTEND = "native nativesdk" | ||
32 | |||
33 | DISTUTILS_BUILD_ARGS += "--cpp_implementation" | ||
34 | DISTUTILS_INSTALL_ARGS += "--cpp_implementation" | ||
35 | |||
36 | do_compile:prepend:class-native () { | ||
37 | export KOKORO_BUILD_NUMBER="1" | ||
38 | } | ||
diff --git a/meta-python/recipes-devtools/python/python3-protobuf_6.31.1.bb b/meta-python/recipes-devtools/python/python3-protobuf_6.31.1.bb new file mode 100644 index 0000000000..bb801ffb71 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-protobuf_6.31.1.bb | |||
@@ -0,0 +1,50 @@ | |||
1 | DESCRIPTION = "Protocol Buffers" | ||
2 | HOMEPAGE = "https://developers.google.com/protocol-buffers/" | ||
3 | SECTION = "devel/python" | ||
4 | # MIT license is from utf8_range although it's packaged without this information | ||
5 | # https://github.com/protocolbuffers/protobuf/blob/main/third_party/utf8_range/LICENSE | ||
6 | LICENSE = "BSD-3-Clause & MIT" | ||
7 | LIC_FILES_CHKSUM = " \ | ||
8 | file://PKG-INFO;beginline=9;endline=9;md5=53dbfa56f61b90215a9f8f0d527c043d \ | ||
9 | file://utf8_range/utf8_range.h;beginline=1;endline=2;md5=f05b3ef36cc354d7134597075a1af64f \ | ||
10 | " | ||
11 | |||
12 | inherit pypi setuptools3 | ||
13 | SRC_URI[sha256sum] = "d8cac4c982f0b957a4dc73a80e2ea24fab08e679c0de9deb835f4a12d69aca9a" | ||
14 | |||
15 | CVE_PRODUCT += "google:protobuf protobuf:protobuf google-protobuf protobuf-python" | ||
16 | |||
17 | # http://errors.yoctoproject.org/Errors/Details/184715/ | ||
18 | # Can't find required file: ../src/google/protobuf/descriptor.proto | ||
19 | CLEANBROKEN = "1" | ||
20 | |||
21 | DEPENDS += "protobuf" | ||
22 | |||
23 | RDEPENDS:${PN} += " \ | ||
24 | python3-ctypes \ | ||
25 | python3-datetime \ | ||
26 | python3-json \ | ||
27 | python3-logging \ | ||
28 | python3-netclient \ | ||
29 | python3-numbers \ | ||
30 | python3-pkgutil \ | ||
31 | python3-unittest \ | ||
32 | " | ||
33 | |||
34 | # For usage in other recipies when compiling protobuf files (e.g. by grpcio-tools) | ||
35 | BBCLASSEXTEND = "native nativesdk" | ||
36 | |||
37 | DISTUTILS_BUILD_ARGS += "--cpp_implementation" | ||
38 | DISTUTILS_INSTALL_ARGS += "--cpp_implementation" | ||
39 | |||
40 | do_compile:prepend:class-native () { | ||
41 | export KOKORO_BUILD_NUMBER="1" | ||
42 | } | ||
43 | |||
44 | do_install:append () { | ||
45 | # Remove useless and problematic .pth file. python3-protobuf is installed in the standard | ||
46 | # location of site packages. No need for such .pth file. | ||
47 | # NOTE: do not drop this removal until the following issue in upstream cpython is resolved: | ||
48 | # https://github.com/python/cpython/issues/122220 | ||
49 | rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/protobuf-*-nspkg.pth | ||
50 | } | ||
diff --git a/meta-python/recipes-devtools/python/python3-ptyprocess/a44312974bd9084aa568d2e18ce5b2a7e0e45983.patch b/meta-python/recipes-devtools/python/python3-ptyprocess/a44312974bd9084aa568d2e18ce5b2a7e0e45983.patch new file mode 100644 index 0000000000..0f1542341d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-ptyprocess/a44312974bd9084aa568d2e18ce5b2a7e0e45983.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | From a44312974bd9084aa568d2e18ce5b2a7e0e45983 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz> | ||
3 | Date: Mon, 23 Oct 2023 15:18:02 +0200 | ||
4 | Subject: [PATCH] Remove unittest.makeSuite, gone from Python 3.13 | ||
5 | |||
6 | See https://docs.python.org/3.13/whatsnew/3.13.html | ||
7 | |||
8 | """ | ||
9 | Removed the following unittest functions, deprecated in Python 3.11: | ||
10 | |||
11 | unittest.findTestCases() | ||
12 | unittest.makeSuite() | ||
13 | unittest.getTestCaseNames() | ||
14 | """ | ||
15 | |||
16 | The removed call does not seem to have any effect when the file is executed | ||
17 | directly, run trough unittest discover or pytest. | ||
18 | |||
19 | Upstream-Status: Backport [https://github.com/pexpect/ptyprocess/pull/75] | ||
20 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
21 | --- | ||
22 | tests/test_invalid_binary.py | 3 --- | ||
23 | 1 file changed, 3 deletions(-) | ||
24 | |||
25 | diff --git a/tests/test_invalid_binary.py b/tests/test_invalid_binary.py | ||
26 | index cf28098..545f9f7 100755 | ||
27 | --- a/tests/test_invalid_binary.py | ||
28 | +++ b/tests/test_invalid_binary.py | ||
29 | @@ -69,6 +69,3 @@ def test_invalid_binary(self): | ||
30 | |||
31 | if __name__ == '__main__': | ||
32 | unittest.main() | ||
33 | - | ||
34 | -suite = unittest.makeSuite(InvalidBinaryChars,'test') | ||
35 | - | ||
diff --git a/meta-python/recipes-devtools/python/python3-ptyprocess/run-ptest b/meta-python/recipes-devtools/python/python3-ptyprocess/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-ptyprocess/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb b/meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb index 4abec0a01c..1f372d49ba 100644 --- a/meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb +++ b/meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb | |||
@@ -1,18 +1,17 @@ | |||
1 | SUMMARY = "Run a subprocess in a pseudo terminal" | 1 | SUMMARY = "Run a subprocess in a pseudo terminal" |
2 | HOMEPAGE = "http://ptyprocess.readthedocs.io/en/latest/" | 2 | HOMEPAGE = "https://ptyprocess.readthedocs.io/en/latest/" |
3 | SECTION = "devel/python" | 3 | SECTION = "devel/python" |
4 | LICENSE = "ISC" | 4 | LICENSE = "ISC" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=cfdcd51fa7d5808da4e74346ee394490" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=cfdcd51fa7d5808da4e74346ee394490" |
6 | 6 | ||
7 | SRCNAME = "ptyprocess" | 7 | SRCNAME = "ptyprocess" |
8 | 8 | ||
9 | SRC_URI += "file://a44312974bd9084aa568d2e18ce5b2a7e0e45983.patch" | ||
9 | SRC_URI[sha256sum] = "5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220" | 10 | SRC_URI[sha256sum] = "5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220" |
10 | 11 | ||
11 | inherit pypi python_flit_core | 12 | inherit pypi python_flit_core ptest-python-pytest |
12 | 13 | ||
13 | UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/ptyprocess" | 14 | S = "${UNPACKDIR}/${SRCNAME}-${PV}" |
14 | |||
15 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
16 | 15 | ||
17 | RDEPENDS:${PN} = "\ | 16 | RDEPENDS:${PN} = "\ |
18 | python3-core \ | 17 | python3-core \ |
@@ -23,22 +22,10 @@ RDEPENDS:${PN} = "\ | |||
23 | 22 | ||
24 | BBCLASSEXTEND = "native nativesdk" | 23 | BBCLASSEXTEND = "native nativesdk" |
25 | 24 | ||
26 | inherit ptest | ||
27 | |||
28 | SRC_URI += " \ | ||
29 | file://run-ptest \ | ||
30 | " | ||
31 | |||
32 | RDEPENDS:${PN}-ptest += " \ | 25 | RDEPENDS:${PN}-ptest += " \ |
33 | bash \ | 26 | bash \ |
34 | python3-fcntl \ | 27 | python3-fcntl \ |
35 | python3-pytest \ | ||
36 | python3-resource \ | 28 | python3-resource \ |
37 | python3-terminal \ | 29 | python3-terminal \ |
38 | python3-unittest-automake-output \ | ||
39 | " | 30 | " |
40 | 31 | ||
41 | do_install_ptest() { | ||
42 | install -d ${D}${PTEST_PATH}/tests | ||
43 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
44 | } | ||
diff --git a/meta-python/recipes-devtools/python/python3-pulsectl_24.4.0.bb b/meta-python/recipes-devtools/python/python3-pulsectl_24.12.0.bb index 3bc15bb08a..43bdbd34d9 100644 --- a/meta-python/recipes-devtools/python/python3-pulsectl_24.4.0.bb +++ b/meta-python/recipes-devtools/python/python3-pulsectl_24.12.0.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/mk-fg/python-pulse-control" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=f1d10048469ff90123263eb5e214061d" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=f1d10048469ff90123263eb5e214061d" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "697ed50e7d452e78678ae38e2ab935843008bec448955283cd0fb362867e3165" | 6 | SRC_URI[sha256sum] = "288d6715232ac6f3dcdb123fbecaa2c0b9a50ea4087e6e87c3f841ab0a8a07fc" |
7 | 7 | ||
8 | RDEPENDS:${PN} += " \ | 8 | RDEPENDS:${PN} += " \ |
9 | libpulse \ | 9 | libpulse \ |
diff --git a/meta-python/recipes-devtools/python/python3-pure-eval_0.2.2.bb b/meta-python/recipes-devtools/python/python3-pure-eval_0.2.3.bb index 66e4673a70..63212346c6 100644 --- a/meta-python/recipes-devtools/python/python3-pure-eval_0.2.2.bb +++ b/meta-python/recipes-devtools/python/python3-pure-eval_0.2.3.bb | |||
@@ -5,10 +5,11 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a3d6c15f7859ae235a78f2758e5a48cf" | |||
5 | DEPENDS = "python3-setuptools-scm-native" | 5 | DEPENDS = "python3-setuptools-scm-native" |
6 | 6 | ||
7 | PYPI_PACKAGE = "pure_eval" | 7 | PYPI_PACKAGE = "pure_eval" |
8 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
8 | 9 | ||
9 | inherit pypi python_setuptools_build_meta | 10 | inherit pypi python_setuptools_build_meta |
10 | 11 | ||
11 | SRC_URI[sha256sum] = "2b45320af6dfaa1750f543d714b6d1c520a1688dec6fd24d339063ce0aaa9ac3" | 12 | SRC_URI[sha256sum] = "5f4e983f40564c576c7c8635ae88db5956bb2229d7e9237d03b3c0b0190eaf42" |
12 | 13 | ||
13 | RDEPENDS:${PN} += " \ | 14 | RDEPENDS:${PN} += " \ |
14 | python3-datetime \ | 15 | python3-datetime \ |
diff --git a/meta-python/recipes-devtools/python/python3-py-cpuinfo/run-ptest b/meta-python/recipes-devtools/python/python3-py-cpuinfo/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-py-cpuinfo/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb b/meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb index 857afd1db7..8aef266e37 100644 --- a/meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb | |||
@@ -8,9 +8,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d2379ecb0d7a8299101b1e4c160cd1f7" | |||
8 | 8 | ||
9 | SRC_URI[sha256sum] = "3cdbbf3fac90dc6f118bfd64384f309edeadd902d7c8fb17f02ffa1fc3f49690" | 9 | SRC_URI[sha256sum] = "3cdbbf3fac90dc6f118bfd64384f309edeadd902d7c8fb17f02ffa1fc3f49690" |
10 | 10 | ||
11 | inherit ptest pypi setuptools3 | 11 | inherit ptest-python-pytest pypi python_setuptools_build_meta |
12 | 12 | ||
13 | SRC_URI += "file://run-ptest \ | 13 | SRC_URI += " \ |
14 | file://0001-test_cli.py-disable.patch \ | 14 | file://0001-test_cli.py-disable.patch \ |
15 | " | 15 | " |
16 | 16 | ||
@@ -21,14 +21,8 @@ do_install:append() { | |||
21 | done | 21 | done |
22 | } | 22 | } |
23 | 23 | ||
24 | do_install_ptest() { | ||
25 | install -d ${D}${PTEST_PATH}/tests | ||
26 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
27 | } | ||
28 | |||
29 | RDEPENDS:${PN}-ptest += "\ | 24 | RDEPENDS:${PN}-ptest += "\ |
30 | python3-pytest \ | 25 | python3-compile \ |
31 | python3-unittest-automake-output \ | ||
32 | " | 26 | " |
33 | 27 | ||
34 | RDEPENDS:${PN} += "python3-core python3-ctypes python3-datetime python3-json python3-io python3-mmap python3-multiprocessing python3-netclient python3-pickle python3-pprint python3-shell" | 28 | RDEPENDS:${PN} += "python3-core python3-ctypes python3-datetime python3-json python3-io python3-mmap python3-multiprocessing python3-netclient python3-pickle python3-pprint python3-shell" |
diff --git a/meta-python/recipes-devtools/python/python3-py7zr_0.21.0.bb b/meta-python/recipes-devtools/python/python3-py7zr_1.0.0.bb index cb405a535d..61a9a5569b 100644 --- a/meta-python/recipes-devtools/python/python3-py7zr_0.21.0.bb +++ b/meta-python/recipes-devtools/python/python3-py7zr_1.0.0.bb | |||
@@ -4,7 +4,7 @@ LICENSE = "LGPL-2.1-or-later" | |||
4 | SECTION = "devel/python" | 4 | SECTION = "devel/python" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "213a9cc46940fb8f63b4163643a8f5b36bbc798134746c3992d3bc6b14edab87" | 7 | SRC_URI[sha256sum] = "f6bfee81637c9032f6a9f0eb045a4bfc7a7ff4138becfc42d7cb89b54ffbfef1" |
8 | 8 | ||
9 | inherit pypi python_setuptools_build_meta | 9 | inherit pypi python_setuptools_build_meta |
10 | 10 | ||
diff --git a/meta-python/recipes-devtools/python/python3-py_1.11.0.bb b/meta-python/recipes-devtools/python/python3-py_1.11.0.bb new file mode 100644 index 0000000000..e0ef71df83 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-py_1.11.0.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | SUMMARY = "Library with cross-python path, ini-parsing, io, code, log facilities" | ||
2 | HOMEPAGE = "https://py.readthedocs.io/" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a6bb0320b04a0a503f12f69fea479de9" | ||
5 | |||
6 | SRC_URI[sha256sum] = "51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719" | ||
7 | |||
8 | DEPENDS += "python3-setuptools-scm-native" | ||
9 | |||
10 | inherit pypi python_setuptools_build_meta | ||
11 | |||
12 | BBCLASSEXTEND = "native nativesdk" | ||
13 | |||
14 | RDEPENDS:${PN} += "python3-netclient" | ||
diff --git a/meta-python/recipes-devtools/python/python3-pyais_2.9.4.bb b/meta-python/recipes-devtools/python/python3-pyais_2.9.4.bb new file mode 100644 index 0000000000..53996cc231 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyais_2.9.4.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | SUMMARY = "AIS message decoding" | ||
2 | HOMEPAGE = "https://github.com/M0r13n/pyais" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=79d9e278b76e3e5b3358cd70b328173c" | ||
5 | |||
6 | SRC_URI = "git://github.com/M0r13n/pyais;protocol=https;branch=master" | ||
7 | |||
8 | PV .= "+git" | ||
9 | SRCREV = "e7780f743b03c5e6ecc651fdeb209fa94e0e0250" | ||
10 | |||
11 | |||
12 | inherit python_setuptools_build_meta ptest-python-pytest | ||
13 | |||
14 | PYPI_PACKAGE = "pyais" | ||
15 | |||
16 | do_install_ptest:append() { | ||
17 | install -d ${D}${PTEST_PATH}/examples/ | ||
18 | install -Dm 0644 ${S}/examples/*.py ${D}${PTEST_PATH}/examples/ | ||
19 | install -Dm 0644 ${S}/examples/*.nmea ${D}${PTEST_PATH}/examples/ | ||
20 | install -Dm 0644 ${S}/examples/*.ais ${D}${PTEST_PATH}/examples/ | ||
21 | } | ||
22 | |||
23 | RDEPENDS:${PN} = "python3-attrs python3-bitarray" | ||
24 | RDEPENDS:${PN}-ptest += "\ | ||
25 | python3-coverage \ | ||
26 | python3-mypy \ | ||
27 | python3-pytest-cov \ | ||
28 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest b/meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.0.bb b/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.2.bb index 34f3639e53..e21bf4427f 100644 --- a/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.0.bb +++ b/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.2.bb | |||
@@ -6,26 +6,14 @@ HOMEPAGE = "https://github.com/etingof/pyasn1-modules" | |||
6 | LICENSE = "BSD-2-Clause" | 6 | LICENSE = "BSD-2-Clause" |
7 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=190f79253908c986e6cacf380c3a5f6d" | 7 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=190f79253908c986e6cacf380c3a5f6d" |
8 | 8 | ||
9 | SRC_URI[sha256sum] = "831dbcea1b177b28c9baddf4c6d1013c24c3accd14a1873fffaa6a2e905f17b6" | 9 | SRC_URI[sha256sum] = "677091de870a80aae844b1ca6134f54652fa2c8c5a52aa396440ac3106e941e6" |
10 | 10 | ||
11 | PYPI_PACKAGE = "pyasn1_modules" | 11 | PYPI_PACKAGE = "pyasn1_modules" |
12 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
12 | 13 | ||
13 | inherit pypi ptest setuptools3 | 14 | inherit pypi ptest-python-pytest python_setuptools_build_meta |
14 | 15 | ||
15 | RDEPENDS:${PN} = "python3-pyasn1" | 16 | RDEPENDS:${PN} = "python3-pyasn1" |
16 | 17 | ||
17 | BBCLASSEXTEND = "native nativesdk" | 18 | BBCLASSEXTEND = "native nativesdk" |
18 | 19 | ||
19 | SRC_URI += " \ | ||
20 | file://run-ptest \ | ||
21 | " | ||
22 | |||
23 | RDEPENDS:${PN}-ptest += " \ | ||
24 | python3-pytest \ | ||
25 | python3-unittest-automake-output \ | ||
26 | " | ||
27 | |||
28 | do_install_ptest() { | ||
29 | install -d ${D}${PTEST_PATH}/tests | ||
30 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
31 | } | ||
diff --git a/meta-python/recipes-devtools/python/python3-pyasyncore_1.0.4.bb b/meta-python/recipes-devtools/python/python3-pyasyncore_1.0.4.bb new file mode 100644 index 0000000000..47906cea0b --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyasyncore_1.0.4.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | SUMMARY = "Make asyncore available for Python 3.12 onwards" | ||
2 | HOMEPAGE = "https://github.com/simonrob/pyasyncore" | ||
3 | LICENSE = "Python-2.0" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d5605fc335ce1bab614032468d0a1e00" | ||
5 | |||
6 | inherit pypi setuptools3 ptest-python-pytest | ||
7 | |||
8 | SRC_URI[sha256sum] = "2c7a8b9b750ba6260f1e5a061456d61320a80579c6a43d42183417da89c7d5d6" | ||
9 | |||
10 | RDEPENDS:${PN} += "python3-core python3-io" | ||
11 | RDEPENDS:${PN}-ptest += "python3-tests" | ||
12 | |||
13 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-pyatspi_2.46.1.bb b/meta-python/recipes-devtools/python/python3-pyatspi_2.46.1.bb index 2b6a6c2c0e..cb9b61bd66 100644 --- a/meta-python/recipes-devtools/python/python3-pyatspi_2.46.1.bb +++ b/meta-python/recipes-devtools/python/python3-pyatspi_2.46.1.bb | |||
@@ -10,7 +10,6 @@ DEPENDS = "python3-dbus-native glib-2.0 dbus-glib libxml2 atk gtk+ python3-pygob | |||
10 | SRC_URI = "git://github.com/GNOME/pyatspi2.git;protocol=https;branch=master" | 10 | SRC_URI = "git://github.com/GNOME/pyatspi2.git;protocol=https;branch=master" |
11 | SRCREV = "8c69016b38d0e4caaf4c986938ea3410fb7351b6" | 11 | SRCREV = "8c69016b38d0e4caaf4c986938ea3410fb7351b6" |
12 | 12 | ||
13 | S = "${WORKDIR}/git" | ||
14 | 13 | ||
15 | # Same restriction as gtk+ | 14 | # Same restriction as gtk+ |
16 | inherit features_check setuptools3 | 15 | inherit features_check setuptools3 |
diff --git a/meta-python/recipes-devtools/python/python3-pyaudio_0.2.14.bb b/meta-python/recipes-devtools/python/python3-pyaudio_0.2.14.bb index 1599ea8347..0e2810ae74 100644 --- a/meta-python/recipes-devtools/python/python3-pyaudio_0.2.14.bb +++ b/meta-python/recipes-devtools/python/python3-pyaudio_0.2.14.bb | |||
@@ -4,10 +4,11 @@ LICENSE = "MIT" | |||
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7c3152b432b96d6dc4a1cb35397da9ec" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7c3152b432b96d6dc4a1cb35397da9ec" |
5 | 5 | ||
6 | PYPI_PACKAGE = "PyAudio" | 6 | PYPI_PACKAGE = "PyAudio" |
7 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
7 | 8 | ||
8 | SRC_URI[sha256sum] = "78dfff3879b4994d1f4fc6485646a57755c6ee3c19647a491f790a0895bd2f87" | 9 | SRC_URI[sha256sum] = "78dfff3879b4994d1f4fc6485646a57755c6ee3c19647a491f790a0895bd2f87" |
9 | 10 | ||
10 | inherit pypi setuptools3 | 11 | inherit pypi python_setuptools_build_meta |
11 | 12 | ||
12 | SRC_URI += "file://0001-Remove-absolute-paths-into-build-machine-system-dirs.patch" | 13 | SRC_URI += "file://0001-Remove-absolute-paths-into-build-machine-system-dirs.patch" |
13 | 14 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pybcj_1.0.2.bb b/meta-python/recipes-devtools/python/python3-pybcj_1.0.6.bb index 8cb176f2b5..1d3d0ee245 100644 --- a/meta-python/recipes-devtools/python/python3-pybcj_1.0.2.bb +++ b/meta-python/recipes-devtools/python/python3-pybcj_1.0.6.bb | |||
@@ -4,7 +4,7 @@ LICENSE = "LGPL-2.1-or-later" | |||
4 | SECTION = "devel/python" | 4 | SECTION = "devel/python" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "c7f5bef7f47723c53420e377bc64d2553843bee8bcac5f0ad076ab1524780018" | 7 | SRC_URI[sha256sum] = "70bbe2dc185993351955bfe8f61395038f96f5de92bb3a436acb01505781f8f2" |
8 | 8 | ||
9 | inherit pypi python_setuptools_build_meta pypi | 9 | inherit pypi python_setuptools_build_meta pypi |
10 | 10 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pybind11-json/d72ad4df929bc9d0882298fc1f85ecf589456ff6.patch b/meta-python/recipes-devtools/python/python3-pybind11-json/d72ad4df929bc9d0882298fc1f85ecf589456ff6.patch new file mode 100644 index 0000000000..c216ce66cb --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pybind11-json/d72ad4df929bc9d0882298fc1f85ecf589456ff6.patch | |||
@@ -0,0 +1,59 @@ | |||
1 | From d72ad4df929bc9d0882298fc1f85ecf589456ff6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Daniel Lundberg Pedersen <dlp@qtec.com> | ||
3 | Date: Thu, 23 Jan 2025 11:48:16 +0100 | ||
4 | Subject: [PATCH] CMakeLists.txt: Add support for pkg-config | ||
5 | |||
6 | Create and install pkg-config (.pc) file for dependency detection. | ||
7 | Upstream-Status: Submitted [https://github.com/pybind/pybind11_json/pull/75] | ||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | --- | ||
10 | CMakeLists.txt | 24 ++++++++++++++++++++++++ | ||
11 | pybind11_json.pc.in | 7 +++++++ | ||
12 | 2 files changed, 31 insertions(+) | ||
13 | create mode 100644 pybind11_json.pc.in | ||
14 | |||
15 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
16 | index c0ef675..a92240a 100644 | ||
17 | --- a/CMakeLists.txt | ||
18 | +++ b/CMakeLists.txt | ||
19 | @@ -133,3 +133,27 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/${PROJECT_NAME}Config.cmake | ||
20 | install(EXPORT ${PROJECT_NAME}-targets | ||
21 | FILE ${PROJECT_NAME}Targets.cmake | ||
22 | DESTINATION ${PYBIND11_JSON_CMAKECONFIG_INSTALL_DIR}) | ||
23 | + | ||
24 | +# pkg-config support | ||
25 | +if(NOT prefix_for_pc_file) | ||
26 | +if(IS_ABSOLUTE "${CMAKE_INSTALL_DATAROOTDIR}") | ||
27 | + set(prefix_for_pc_file "${CMAKE_INSTALL_PREFIX}") | ||
28 | +else() | ||
29 | + set(pc_datarootdir "${CMAKE_INSTALL_DATAROOTDIR}") | ||
30 | + if(CMAKE_VERSION VERSION_LESS 3.20) | ||
31 | + set(prefix_for_pc_file "\${pcfiledir}/..") | ||
32 | + while(pc_datarootdir) | ||
33 | + get_filename_component(pc_datarootdir "${pc_datarootdir}" DIRECTORY) | ||
34 | + string(APPEND prefix_for_pc_file "/..") | ||
35 | + endwhile() | ||
36 | + else() | ||
37 | + cmake_path(RELATIVE_PATH CMAKE_INSTALL_PREFIX BASE_DIRECTORY CMAKE_INSTALL_DATAROOTDIR | ||
38 | + OUTPUT_VARIABLE prefix_for_pc_file) | ||
39 | + endif() | ||
40 | +endif() | ||
41 | +endif() | ||
42 | +set(includedir_for_pc_file "\${prefix}/${CMAKE_INSTALL_INCLUDEDIR}") | ||
43 | +configure_file("${CMAKE_CURRENT_SOURCE_DIR}/pybind11_json.pc.in" | ||
44 | + "${CMAKE_CURRENT_BINARY_DIR}/pybind11_json.pc" @ONLY) | ||
45 | +install(FILES "${CMAKE_CURRENT_BINARY_DIR}/pybind11_json.pc" | ||
46 | + DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/pkgconfig/") | ||
47 | diff --git a/pybind11_json.pc.in b/pybind11_json.pc.in | ||
48 | new file mode 100644 | ||
49 | index 0000000..da5bfde | ||
50 | --- /dev/null | ||
51 | +++ b/pybind11_json.pc.in | ||
52 | @@ -0,0 +1,7 @@ | ||
53 | +prefix=@prefix_for_pc_file@ | ||
54 | +includedir=@includedir_for_pc_file@ | ||
55 | + | ||
56 | +Name: @PROJECT_NAME@ | ||
57 | +Description: Using nlohmann::json with pybind11 | ||
58 | +Version: @PROJECT_VERSION@ | ||
59 | +Cflags: -I${includedir} | ||
diff --git a/meta-python/recipes-devtools/python/python3-pybind11-json_0.2.14.bb b/meta-python/recipes-devtools/python/python3-pybind11-json_0.2.15.bb index 8211e06dce..fa4a74f925 100644 --- a/meta-python/recipes-devtools/python/python3-pybind11-json_0.2.14.bb +++ b/meta-python/recipes-devtools/python/python3-pybind11-json_0.2.15.bb | |||
@@ -2,11 +2,12 @@ SUMMARY = "Using nlohmann::json with pybind11" | |||
2 | LICENSE = "BSD-3-Clause" | 2 | LICENSE = "BSD-3-Clause" |
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0e25ff0ec476d06d366439e1120cce98" | 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0e25ff0ec476d06d366439e1120cce98" |
4 | 4 | ||
5 | SRCREV = "1399451fde59f4d931c72213f209b3e83a07290b" | 5 | SRCREV = "32043f433ed987b2c2ce99d689ec337bcbd4ba95" |
6 | SRC_URI = "git://github.com/pybind/pybind11_json;branch=master;protocol=https" | 6 | SRC_URI = "git://github.com/pybind/pybind11_json;branch=master;protocol=https \ |
7 | file://d72ad4df929bc9d0882298fc1f85ecf589456ff6.patch" | ||
7 | 8 | ||
8 | DEPENDS += "nlohmann-json python3-pybind11" | 9 | DEPENDS += "nlohmann-json python3-pybind11" |
9 | 10 | ||
10 | S = "${WORKDIR}/git" | 11 | EXTRA_OECMAKE += "-DPYBIND11_USE_CROSSCOMPILING=ON" |
11 | 12 | ||
12 | inherit cmake | 13 | inherit cmake python3native python3targetconfig |
diff --git a/meta-python/recipes-devtools/python/python3-pybind11/0001-Do-not-strip-binaries.patch b/meta-python/recipes-devtools/python/python3-pybind11/0001-Do-not-strip-binaries.patch deleted file mode 100644 index 91575d2712..0000000000 --- a/meta-python/recipes-devtools/python/python3-pybind11/0001-Do-not-strip-binaries.patch +++ /dev/null | |||
@@ -1,54 +0,0 @@ | |||
1 | From debd676cd94f92a30b3be45f1245aa13d8c398c0 Mon Sep 17 00:00:00 2001 | ||
2 | From: Philip Balister <philip@balister.org> | ||
3 | Date: Wed, 8 Jul 2020 09:41:43 -0400 | ||
4 | Subject: [PATCH] Do not strip binaries. | ||
5 | |||
6 | * OpenEmbedded strips them after creating debug packages. | ||
7 | |||
8 | Signed-off-by: Philip Balister <philip@balister.org> | ||
9 | Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> | ||
10 | |||
11 | Upstream-Status: Pending | ||
12 | --- | ||
13 | tools/pybind11NewTools.cmake | 7 ------- | ||
14 | tools/pybind11Tools.cmake | 6 ------ | ||
15 | 2 files changed, 13 deletions(-) | ||
16 | |||
17 | diff --git a/tools/pybind11NewTools.cmake b/tools/pybind11NewTools.cmake | ||
18 | index 7d7424a7..accd90c4 100644 | ||
19 | --- a/tools/pybind11NewTools.cmake | ||
20 | +++ b/tools/pybind11NewTools.cmake | ||
21 | @@ -233,13 +233,6 @@ function(pybind11_add_module target_name) | ||
22 | endif() | ||
23 | endif() | ||
24 | |||
25 | - # Use case-insensitive comparison to match the result of $<CONFIG:cfgs> | ||
26 | - string(TOUPPER "${CMAKE_BUILD_TYPE}" uppercase_CMAKE_BUILD_TYPE) | ||
27 | - if(NOT MSVC AND NOT "${uppercase_CMAKE_BUILD_TYPE}" MATCHES DEBUG|RELWITHDEBINFO) | ||
28 | - # Strip unnecessary sections of the binary on Linux/macOS | ||
29 | - pybind11_strip(${target_name}) | ||
30 | - endif() | ||
31 | - | ||
32 | if(MSVC) | ||
33 | target_link_libraries(${target_name} PRIVATE pybind11::windows_extras) | ||
34 | endif() | ||
35 | diff --git a/tools/pybind11Tools.cmake b/tools/pybind11Tools.cmake | ||
36 | index 66ad00a4..855ede41 100644 | ||
37 | --- a/tools/pybind11Tools.cmake | ||
38 | +++ b/tools/pybind11Tools.cmake | ||
39 | @@ -212,12 +212,6 @@ function(pybind11_add_module target_name) | ||
40 | endif() | ||
41 | endif() | ||
42 | |||
43 | - # Use case-insensitive comparison to match the result of $<CONFIG:cfgs> | ||
44 | - string(TOUPPER "${CMAKE_BUILD_TYPE}" uppercase_CMAKE_BUILD_TYPE) | ||
45 | - if(NOT MSVC AND NOT "${uppercase_CMAKE_BUILD_TYPE}" MATCHES DEBUG|RELWITHDEBINFO) | ||
46 | - pybind11_strip(${target_name}) | ||
47 | - endif() | ||
48 | - | ||
49 | if(MSVC) | ||
50 | target_link_libraries(${target_name} PRIVATE pybind11::windows_extras) | ||
51 | endif() | ||
52 | -- | ||
53 | 2.39.2 | ||
54 | |||
diff --git a/meta-python/recipes-devtools/python/python3-pybind11_2.11.1.bb b/meta-python/recipes-devtools/python/python3-pybind11_2.13.6.bb index 78662fe3cd..7d71767297 100644 --- a/meta-python/recipes-devtools/python/python3-pybind11_2.11.1.bb +++ b/meta-python/recipes-devtools/python/python3-pybind11_2.13.6.bb | |||
@@ -7,17 +7,15 @@ DEPENDS = "\ | |||
7 | python3-ninja-native \ | 7 | python3-ninja-native \ |
8 | " | 8 | " |
9 | 9 | ||
10 | SRCREV = "8a099e44b3d5f85b20f05828d919d2332a8de841" | 10 | SRCREV = "a2e59f0e7065404b44dfe92a28aca47ba1378dc4" |
11 | SRC_URI = "\ | 11 | SRC_URI = "\ |
12 | git://github.com/pybind/pybind11.git;branch=stable;protocol=https \ | 12 | git://github.com/pybind/pybind11.git;branch=stable;protocol=https \ |
13 | file://0001-Do-not-strip-binaries.patch \ | ||
14 | " | 13 | " |
15 | 14 | ||
16 | S = "${WORKDIR}/git" | ||
17 | 15 | ||
18 | inherit cmake python_setuptools_build_meta | 16 | inherit cmake python_setuptools_build_meta |
19 | 17 | ||
20 | EXTRA_OECMAKE = "-DPYBIND11_TEST=OFF" | 18 | EXTRA_OECMAKE = "-DPYBIND11_TEST=OFF -DPYBIND11_USE_CROSSCOMPILING=ON" |
21 | 19 | ||
22 | do_configure:append() { | 20 | do_configure:append() { |
23 | cmake_do_configure | 21 | cmake_do_configure |
diff --git a/meta-python/recipes-devtools/python/python3-pybluez_0.23.bb b/meta-python/recipes-devtools/python/python3-pybluez_0.23.bb index a38e10eec0..8887ab27d2 100644 --- a/meta-python/recipes-devtools/python/python3-pybluez_0.23.bb +++ b/meta-python/recipes-devtools/python/python3-pybluez_0.23.bb | |||
@@ -9,10 +9,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8a71d0475d08eee76d8b6d0c6dbec543" | |||
9 | 9 | ||
10 | SRC_URI += "file://0001-Use-Py_ssize_t-when-parsing-buffer-length-fix-426-42.patch \ | 10 | SRC_URI += "file://0001-Use-Py_ssize_t-when-parsing-buffer-length-fix-426-42.patch \ |
11 | file://py-3.11.patch " | 11 | file://py-3.11.patch " |
12 | SRC_URI[md5sum] = "afbe8429bb82d2c46a3d0f5f4f898f9d" | ||
13 | SRC_URI[sha256sum] = "c8f04d2e78951eaa9de486b4d49381704e8943d0a6e6e58f55fcd7b8582e90de" | 12 | SRC_URI[sha256sum] = "c8f04d2e78951eaa9de486b4d49381704e8943d0a6e6e58f55fcd7b8582e90de" |
14 | 13 | ||
15 | PYPI_PACKAGE = "PyBluez" | 14 | PYPI_PACKAGE = "PyBluez" |
15 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
16 | 16 | ||
17 | inherit pypi setuptools3 | 17 | inherit pypi setuptools3 |
18 | 18 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pycares_4.4.0.bb b/meta-python/recipes-devtools/python/python3-pycares_4.9.0.bb index b6b0de8809..a8b9ba96ea 100644 --- a/meta-python/recipes-devtools/python/python3-pycares_4.4.0.bb +++ b/meta-python/recipes-devtools/python/python3-pycares_4.9.0.bb | |||
@@ -6,11 +6,11 @@ HOMEPAGE = "https://github.com/saghul/pycares" | |||
6 | LICENSE = "MIT" | 6 | LICENSE = "MIT" |
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b1538fcaea82ebf2313ed648b96c69b1" | 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b1538fcaea82ebf2313ed648b96c69b1" |
8 | 8 | ||
9 | SRC_URI[sha256sum] = "f47579d508f2f56eddd16ce72045782ad3b1b3b678098699e2b6a1b30733e1c2" | 9 | SRC_URI[sha256sum] = "8ee484ddb23dbec4d88d14ed5b6d592c1960d2e93c385d5e52b6fad564d82395" |
10 | 10 | ||
11 | PYPI_PACKAGE = "pycares" | 11 | PYPI_PACKAGE = "pycares" |
12 | 12 | ||
13 | inherit pypi setuptools3 | 13 | inherit pypi python_setuptools_build_meta |
14 | 14 | ||
15 | DEPENDS += "python3-cffi-native" | 15 | DEPENDS += "python3-cffi-native" |
16 | 16 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pychromecast/0001-Allow-newer-version-of-wheel-and-setuptools.patch b/meta-python/recipes-devtools/python/python3-pychromecast/0001-Allow-newer-version-of-wheel-and-setuptools.patch deleted file mode 100644 index 447f679070..0000000000 --- a/meta-python/recipes-devtools/python/python3-pychromecast/0001-Allow-newer-version-of-wheel-and-setuptools.patch +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | From 5ee73f91b7f13dd5c700c69e7fc43cecab5868da Mon Sep 17 00:00:00 2001 | ||
2 | From: Tom Geelen <t.f.g.geelen@gmail.com> | ||
3 | Date: Sun, 7 Apr 2024 22:39:35 +0000 | ||
4 | Subject: [PATCH] Allow newer version of wheel and setuptools | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | Signed-off-by: Tom Geelen <t.f.g.geelen@gmail.com> | ||
8 | --- | ||
9 | pyproject.toml | 2 +- | ||
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
11 | |||
12 | diff --git a/pyproject.toml b/pyproject.toml | ||
13 | index 56df5bd..17ca62d 100644 | ||
14 | --- a/pyproject.toml | ||
15 | +++ b/pyproject.toml | ||
16 | @@ -1,5 +1,5 @@ | ||
17 | [build-system] | ||
18 | -requires = ["setuptools~=65.6", "wheel~=0.37.1"] | ||
19 | +requires = ["setuptools>=65.6", "wheel>=0.37.1"] | ||
20 | build-backend = "setuptools.build_meta" | ||
21 | |||
22 | [project] | ||
diff --git a/meta-python/recipes-devtools/python/python3-pychromecast/0001-Update-setuptools-requirement-from-78.0-65.6-to-65.6.patch b/meta-python/recipes-devtools/python/python3-pychromecast/0001-Update-setuptools-requirement-from-78.0-65.6-to-65.6.patch new file mode 100644 index 0000000000..d659af8116 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pychromecast/0001-Update-setuptools-requirement-from-78.0-65.6-to-65.6.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From 74c841c0fc3ffc13842f3544502f66f16e751a0f Mon Sep 17 00:00:00 2001 | ||
2 | From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> | ||
3 | Date: Mon, 31 Mar 2025 14:26:50 +0200 | ||
4 | Subject: [PATCH] Update setuptools requirement from <78.0,>=65.6 to | ||
5 | >=65.6,<79.0 (#1047) | ||
6 | |||
7 | Updates the requirements on [setuptools](https://github.com/pypa/setuptools) to permit the latest version. | ||
8 | - [Release notes](https://github.com/pypa/setuptools/releases) | ||
9 | - [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst) | ||
10 | - [Commits](https://github.com/pypa/setuptools/compare/v65.6.0...v78.1.0) | ||
11 | |||
12 | Upstream-Status: Backport [https://github.com/home-assistant-libs/pychromecast/pull/1047] | ||
13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
14 | --- | ||
15 | pyproject.toml | 2 +- | ||
16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
17 | |||
18 | diff --git a/pyproject.toml b/pyproject.toml | ||
19 | index 5aa8df7..34f5dc0 100644 | ||
20 | --- a/pyproject.toml | ||
21 | +++ b/pyproject.toml | ||
22 | @@ -1,5 +1,5 @@ | ||
23 | [build-system] | ||
24 | -requires = ["setuptools>=65.6,<78.0", "wheel>=0.37.1,<0.46.0"] | ||
25 | +requires = ["setuptools>=65.6,<79.0", "wheel>=0.37.1,<0.46.0"] | ||
26 | build-backend = "setuptools.build_meta" | ||
27 | |||
28 | [project] | ||
diff --git a/meta-python/recipes-devtools/python/python3-pychromecast/0001-Update-setuptools-requirement-from-79.0-65.6-to-65.6.patch b/meta-python/recipes-devtools/python/python3-pychromecast/0001-Update-setuptools-requirement-from-79.0-65.6-to-65.6.patch new file mode 100644 index 0000000000..b0d4a88c8e --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pychromecast/0001-Update-setuptools-requirement-from-79.0-65.6-to-65.6.patch | |||
@@ -0,0 +1,42 @@ | |||
1 | From ef27075e087e139921b99729a4ec7683e42c5c4a Mon Sep 17 00:00:00 2001 | ||
2 | From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> | ||
3 | Date: Mon, 21 Apr 2025 16:34:55 +0200 | ||
4 | Subject: [PATCH] Update setuptools requirement from <79.0,>=65.6 to | ||
5 | >=65.6,<80.0 (#1056) | ||
6 | |||
7 | Upstream-Status: Backport [https://github.com/home-assistant-libs/pychromecast/commit/ef27075e087e139921b99729a4ec7683e42c5c4a] | ||
8 | |||
9 | Updates the requirements on [setuptools](https://github.com/pypa/setuptools) to permit the latest version. | ||
10 | - [Release notes](https://github.com/pypa/setuptools/releases) | ||
11 | - [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst) | ||
12 | - [Commits](https://github.com/pypa/setuptools/compare/v65.6.0...v79.0.0) | ||
13 | |||
14 | --- | ||
15 | updated-dependencies: | ||
16 | - dependency-name: setuptools | ||
17 | dependency-version: 79.0.0 | ||
18 | dependency-type: direct:production | ||
19 | ... | ||
20 | |||
21 | Signed-off-by: dependabot[bot] <support@github.com> | ||
22 | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | ||
23 | |||
24 | Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> | ||
25 | --- | ||
26 | pyproject.toml | 2 +- | ||
27 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
28 | |||
29 | diff --git a/pyproject.toml b/pyproject.toml | ||
30 | index 34f5dc0..88d67fe 100644 | ||
31 | --- a/pyproject.toml | ||
32 | +++ b/pyproject.toml | ||
33 | @@ -1,5 +1,5 @@ | ||
34 | [build-system] | ||
35 | -requires = ["setuptools>=65.6,<79.0", "wheel>=0.37.1,<0.46.0"] | ||
36 | +requires = ["setuptools>=65.6,<80.0", "wheel>=0.37.1,<0.46.0"] | ||
37 | build-backend = "setuptools.build_meta" | ||
38 | |||
39 | [project] | ||
40 | -- | ||
41 | 2.39.5 | ||
42 | |||
diff --git a/meta-python/recipes-devtools/python/python3-pychromecast/0001-Update-setuptools-requirement-from-80.0-65.6-to-65.6.patch b/meta-python/recipes-devtools/python/python3-pychromecast/0001-Update-setuptools-requirement-from-80.0-65.6-to-65.6.patch new file mode 100644 index 0000000000..8630c1632d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pychromecast/0001-Update-setuptools-requirement-from-80.0-65.6-to-65.6.patch | |||
@@ -0,0 +1,42 @@ | |||
1 | From 7017a1db10a21ed97b79800e31a2f7c70abbffc3 Mon Sep 17 00:00:00 2001 | ||
2 | From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> | ||
3 | Date: Mon, 28 Apr 2025 16:43:13 +0200 | ||
4 | Subject: [PATCH] Update setuptools requirement from <80.0,>=65.6 to | ||
5 | >=65.6,<81.0 (#1060) | ||
6 | |||
7 | Upstream-Status: Backport [https://github.com/home-assistant-libs/pychromecast/commit/7017a1db10a21ed97b79800e31a2f7c70abbffc3] | ||
8 | |||
9 | Updates the requirements on [setuptools](https://github.com/pypa/setuptools) to permit the latest version. | ||
10 | - [Release notes](https://github.com/pypa/setuptools/releases) | ||
11 | - [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst) | ||
12 | - [Commits](https://github.com/pypa/setuptools/compare/v65.6.0...v80.0.0) | ||
13 | |||
14 | --- | ||
15 | updated-dependencies: | ||
16 | - dependency-name: setuptools | ||
17 | dependency-version: 80.0.0 | ||
18 | dependency-type: direct:production | ||
19 | ... | ||
20 | |||
21 | Signed-off-by: dependabot[bot] <support@github.com> | ||
22 | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | ||
23 | |||
24 | Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> | ||
25 | --- | ||
26 | pyproject.toml | 2 +- | ||
27 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
28 | |||
29 | diff --git a/pyproject.toml b/pyproject.toml | ||
30 | index 88d67fe..d5a518c 100644 | ||
31 | --- a/pyproject.toml | ||
32 | +++ b/pyproject.toml | ||
33 | @@ -1,5 +1,5 @@ | ||
34 | [build-system] | ||
35 | -requires = ["setuptools>=65.6,<80.0", "wheel>=0.37.1,<0.46.0"] | ||
36 | +requires = ["setuptools>=65.6,<81.0", "wheel>=0.37.1,<0.46.0"] | ||
37 | build-backend = "setuptools.build_meta" | ||
38 | |||
39 | [project] | ||
40 | -- | ||
41 | 2.39.5 | ||
42 | |||
diff --git a/meta-python/recipes-devtools/python/python3-pychromecast_14.0.1.bb b/meta-python/recipes-devtools/python/python3-pychromecast_14.0.7.bb index dee4bf6ebe..260f6395b7 100644 --- a/meta-python/recipes-devtools/python/python3-pychromecast_14.0.1.bb +++ b/meta-python/recipes-devtools/python/python3-pychromecast_14.0.7.bb | |||
@@ -3,10 +3,13 @@ HOMEPAGE = "https://github.com/balloob/pychromecast" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b1dbd4e85f47b389bdadee9c694669f5" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b1dbd4e85f47b389bdadee9c694669f5" |
5 | 5 | ||
6 | SRC_URI += "file://0001-Allow-newer-version-of-wheel-and-setuptools.patch" | 6 | SRC_URI += "\ |
7 | SRC_URI[sha256sum] = "e16e0a7f9488319191b8b4fa21ca0beb4bf12eeda5c9bf640241188f2bea0a3e" | 7 | file://0001-Update-setuptools-requirement-from-78.0-65.6-to-65.6.patch \ |
8 | file://0001-Update-setuptools-requirement-from-79.0-65.6-to-65.6.patch \ | ||
9 | file://0001-Update-setuptools-requirement-from-80.0-65.6-to-65.6.patch \ | ||
10 | " | ||
8 | 11 | ||
9 | PYPI_PACKAGE = "PyChromecast" | 12 | SRC_URI[sha256sum] = "7abbae80a2c9e05b93b1a7b8b4d771bbc764d88fd5e56a566f46ac1bd3f93848" |
10 | 13 | ||
11 | inherit pypi python_setuptools_build_meta | 14 | inherit pypi python_setuptools_build_meta |
12 | 15 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pycocotools/0001-downgrade-numpy-version-to-1.26.4.patch b/meta-python/recipes-devtools/python/python3-pycocotools/0001-downgrade-numpy-version-to-1.26.4.patch new file mode 100644 index 0000000000..cd3e462ddf --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pycocotools/0001-downgrade-numpy-version-to-1.26.4.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From 7222a8b9b6e05b89116ca14644aa8db79eecd3c6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 24 Aug 2024 00:19:23 -0700 | ||
4 | Subject: [PATCH] downgrade numpy version to 1.26.4+ | ||
5 | |||
6 | We can drop it when OE-core upgrades numpy to 2.x | ||
7 | |||
8 | Upstream-Status: Inappropriate [OE workaround] | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | pyproject.toml | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/pyproject.toml b/pyproject.toml | ||
15 | index 1bfbd91..cbee520 100644 | ||
16 | --- a/pyproject.toml | ||
17 | +++ b/pyproject.toml | ||
18 | @@ -1,7 +1,7 @@ | ||
19 | [build-system] | ||
20 | requires = [ | ||
21 | "cython>=0.27.3", | ||
22 | - "numpy>=2.0.0rc1", | ||
23 | + "numpy>=1.26.4", | ||
24 | "setuptools>=43.0.0", | ||
25 | "wheel", | ||
26 | ] | ||
diff --git a/meta-python/recipes-devtools/python/python3-pycocotools_2.0.8.bb b/meta-python/recipes-devtools/python/python3-pycocotools_2.0.8.bb index c9968ae379..e298dbf574 100644 --- a/meta-python/recipes-devtools/python/python3-pycocotools_2.0.8.bb +++ b/meta-python/recipes-devtools/python/python3-pycocotools_2.0.8.bb | |||
@@ -3,9 +3,11 @@ SUMMARY = "COCO is a large image dataset designed for object detection, segmenta | |||
3 | LICENSE = "BSD-2-Clause" | 3 | LICENSE = "BSD-2-Clause" |
4 | LIC_FILES_CHKSUM = "file://pycocotools/coco.py;beginline=45;endline=45;md5=12cb539683cf245df8b6ce782d78f647" | 4 | LIC_FILES_CHKSUM = "file://pycocotools/coco.py;beginline=45;endline=45;md5=12cb539683cf245df8b6ce782d78f647" |
5 | 5 | ||
6 | inherit setuptools3 pypi | 6 | inherit pypi python_setuptools_build_meta cython |
7 | |||
8 | SRC_URI += "file://0001-downgrade-numpy-version-to-1.26.4.patch" | ||
7 | 9 | ||
8 | SRC_URI[sha256sum] = "8f2bcedb786ba26c367a3680f9c4eb5b2ad9dccb2b34eaeb205e0a021e1dfb8d" | 10 | SRC_URI[sha256sum] = "8f2bcedb786ba26c367a3680f9c4eb5b2ad9dccb2b34eaeb205e0a021e1dfb8d" |
9 | 11 | ||
10 | DEPENDS = "python3-cython-native python3-numpy-native virtual/crypt" | 12 | DEPENDS = "python3-numpy-native virtual/crypt" |
11 | RDEPENDS:${PN} = "python3-matplotlib python3-pillow python3-profile" | 13 | RDEPENDS:${PN} = "python3-matplotlib python3-pillow python3-profile" |
diff --git a/meta-python/recipes-devtools/python/python3-pycodestyle_2.11.1.bb b/meta-python/recipes-devtools/python/python3-pycodestyle_2.14.0.bb index a282afb466..4389198fba 100644 --- a/meta-python/recipes-devtools/python/python3-pycodestyle_2.11.1.bb +++ b/meta-python/recipes-devtools/python/python3-pycodestyle_2.14.0.bb | |||
@@ -4,7 +4,7 @@ LICENSE = "MIT" | |||
4 | SECTION = "devel/python" | 4 | SECTION = "devel/python" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a8546d0e77f416fb05a26acd89c8b3bd" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a8546d0e77f416fb05a26acd89c8b3bd" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "41ba0e7afc9752dfb53ced5489e89f8186be00e599e712660695b7a75ff2663f" | 7 | SRC_URI[sha256sum] = "c4b5b517d278089ff9d0abdec919cd97262a3367449ea1c8b49b91529167b783" |
8 | 8 | ||
9 | inherit pypi setuptools3 | 9 | inherit pypi setuptools3 |
10 | 10 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pycurl_7.45.3.bb b/meta-python/recipes-devtools/python/python3-pycurl_7.45.6.bb index 774c1343c2..0bba73a660 100644 --- a/meta-python/recipes-devtools/python/python3-pycurl_7.45.3.bb +++ b/meta-python/recipes-devtools/python/python3-pycurl_7.45.6.bb | |||
@@ -7,12 +7,12 @@ be used to fetch objects identified by a URL from a Python program \ | |||
7 | SECTION = "devel/python" | 7 | SECTION = "devel/python" |
8 | HOMEPAGE = "http://pycurl.io/" | 8 | HOMEPAGE = "http://pycurl.io/" |
9 | 9 | ||
10 | LICENSE = "LGPL-2.0-only | MIT" | 10 | LICENSE = "LGPL-2.1-only | MIT" |
11 | LIC_FILES_CHKSUM = "file://COPYING-LGPL;md5=4fbd65380cdd255951079008b364516c \ | 11 | LIC_FILES_CHKSUM = "file://COPYING-LGPL;md5=4fbd65380cdd255951079008b364516c \ |
12 | file://COPYING-MIT;md5=be42e1b1e58c8d59c2901fd747bfc55d \ | 12 | file://COPYING-MIT;md5=be42e1b1e58c8d59c2901fd747bfc55d \ |
13 | " | 13 | " |
14 | 14 | ||
15 | SRC_URI[sha256sum] = "8c2471af9079ad798e1645ec0b0d3d4223db687379d17dd36a70637449f81d6b" | 15 | SRC_URI[sha256sum] = "2b73e66b22719ea48ac08a93fc88e57ef36d46d03cb09d972063c9aa86bb74e6" |
16 | 16 | ||
17 | DEPENDS = "curl" | 17 | DEPENDS = "curl" |
18 | 18 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pydantic-core-crates.inc b/meta-python/recipes-devtools/python/python3-pydantic-core-crates.inc index dd2027948c..86b72c0e9a 100644 --- a/meta-python/recipes-devtools/python/python3-pydantic-core-crates.inc +++ b/meta-python/recipes-devtools/python/python3-pydantic-core-crates.inc | |||
@@ -2,169 +2,191 @@ | |||
2 | 2 | ||
3 | # from Cargo.lock | 3 | # from Cargo.lock |
4 | SRC_URI += " \ | 4 | SRC_URI += " \ |
5 | crate://crates.io/ahash/0.8.7 \ | 5 | crate://crates.io/ahash/0.8.11 \ |
6 | crate://crates.io/aho-corasick/1.0.2 \ | 6 | crate://crates.io/aho-corasick/1.1.3 \ |
7 | crate://crates.io/allocator-api2/0.2.16 \ | 7 | crate://crates.io/autocfg/1.3.0 \ |
8 | crate://crates.io/autocfg/1.1.0 \ | 8 | crate://crates.io/base64/0.22.1 \ |
9 | crate://crates.io/base64/0.21.7 \ | 9 | crate://crates.io/bitvec/1.0.1 \ |
10 | crate://crates.io/bitflags/1.3.2 \ | 10 | crate://crates.io/cc/1.0.101 \ |
11 | crate://crates.io/cc/1.0.79 \ | ||
12 | crate://crates.io/cfg-if/1.0.0 \ | 11 | crate://crates.io/cfg-if/1.0.0 \ |
13 | crate://crates.io/enum_dispatch/0.3.12 \ | 12 | crate://crates.io/displaydoc/0.2.5 \ |
13 | crate://crates.io/enum_dispatch/0.3.13 \ | ||
14 | crate://crates.io/equivalent/1.0.1 \ | 14 | crate://crates.io/equivalent/1.0.1 \ |
15 | crate://crates.io/form_urlencoded/1.2.1 \ | 15 | crate://crates.io/form_urlencoded/1.2.1 \ |
16 | crate://crates.io/getrandom/0.2.10 \ | 16 | crate://crates.io/funty/2.0.0 \ |
17 | crate://crates.io/hashbrown/0.14.3 \ | 17 | crate://crates.io/getrandom/0.2.15 \ |
18 | crate://crates.io/heck/0.4.1 \ | 18 | crate://crates.io/hashbrown/0.14.5 \ |
19 | crate://crates.io/idna/0.5.0 \ | 19 | crate://crates.io/heck/0.5.0 \ |
20 | crate://crates.io/indexmap/2.0.0 \ | 20 | crate://crates.io/hex/0.4.3 \ |
21 | crate://crates.io/indoc/2.0.4 \ | 21 | crate://crates.io/icu_collections/1.5.0 \ |
22 | crate://crates.io/itoa/1.0.8 \ | 22 | crate://crates.io/icu_locid/1.5.0 \ |
23 | crate://crates.io/jiter/0.0.6 \ | 23 | crate://crates.io/icu_locid_transform/1.5.0 \ |
24 | crate://crates.io/lexical-core/0.8.5 \ | 24 | crate://crates.io/icu_locid_transform_data/1.5.0 \ |
25 | crate://crates.io/lexical-parse-float/0.8.5 \ | 25 | crate://crates.io/icu_normalizer/1.5.0 \ |
26 | crate://crates.io/lexical-parse-integer/0.8.6 \ | 26 | crate://crates.io/icu_normalizer_data/1.5.0 \ |
27 | crate://crates.io/lexical-util/0.8.5 \ | 27 | crate://crates.io/icu_properties/1.5.1 \ |
28 | crate://crates.io/lexical-write-float/0.8.5 \ | 28 | crate://crates.io/icu_properties_data/1.5.0 \ |
29 | crate://crates.io/lexical-write-integer/0.8.5 \ | 29 | crate://crates.io/icu_provider/1.5.0 \ |
30 | crate://crates.io/libc/0.2.147 \ | 30 | crate://crates.io/icu_provider_macros/1.5.0 \ |
31 | crate://crates.io/lock_api/0.4.10 \ | 31 | crate://crates.io/idna/1.0.3 \ |
32 | crate://crates.io/memchr/2.6.3 \ | 32 | crate://crates.io/idna_adapter/1.2.0 \ |
33 | crate://crates.io/memoffset/0.9.0 \ | 33 | crate://crates.io/indexmap/2.2.6 \ |
34 | crate://crates.io/num-bigint/0.4.4 \ | 34 | crate://crates.io/indoc/2.0.5 \ |
35 | crate://crates.io/num-integer/0.1.45 \ | 35 | crate://crates.io/itoa/1.0.11 \ |
36 | crate://crates.io/num-traits/0.2.16 \ | 36 | crate://crates.io/jiter/0.9.0 \ |
37 | crate://crates.io/once_cell/1.18.0 \ | 37 | crate://crates.io/lexical-parse-float/1.0.5 \ |
38 | crate://crates.io/parking_lot/0.12.1 \ | 38 | crate://crates.io/lexical-parse-integer/1.0.5 \ |
39 | crate://crates.io/parking_lot_core/0.9.8 \ | 39 | crate://crates.io/lexical-util/1.0.6 \ |
40 | crate://crates.io/libc/0.2.155 \ | ||
41 | crate://crates.io/litemap/0.7.3 \ | ||
42 | crate://crates.io/memchr/2.7.4 \ | ||
43 | crate://crates.io/memoffset/0.9.1 \ | ||
44 | crate://crates.io/num-bigint/0.4.6 \ | ||
45 | crate://crates.io/num-integer/0.1.46 \ | ||
46 | crate://crates.io/num-traits/0.2.19 \ | ||
47 | crate://crates.io/once_cell/1.19.0 \ | ||
40 | crate://crates.io/percent-encoding/2.3.1 \ | 48 | crate://crates.io/percent-encoding/2.3.1 \ |
41 | crate://crates.io/portable-atomic/1.6.0 \ | 49 | crate://crates.io/portable-atomic/1.6.0 \ |
42 | crate://crates.io/proc-macro2/1.0.76 \ | 50 | crate://crates.io/proc-macro2/1.0.86 \ |
43 | crate://crates.io/pyo3/0.20.3 \ | 51 | crate://crates.io/pyo3/0.24.1 \ |
44 | crate://crates.io/pyo3-build-config/0.20.3 \ | 52 | crate://crates.io/pyo3-build-config/0.24.1 \ |
45 | crate://crates.io/pyo3-ffi/0.20.3 \ | 53 | crate://crates.io/pyo3-ffi/0.24.1 \ |
46 | crate://crates.io/pyo3-macros/0.20.3 \ | 54 | crate://crates.io/pyo3-macros/0.24.1 \ |
47 | crate://crates.io/pyo3-macros-backend/0.20.3 \ | 55 | crate://crates.io/pyo3-macros-backend/0.24.1 \ |
48 | crate://crates.io/python3-dll-a/0.2.9 \ | 56 | crate://crates.io/python3-dll-a/0.2.13 \ |
49 | crate://crates.io/quote/1.0.35 \ | 57 | crate://crates.io/quote/1.0.36 \ |
50 | crate://crates.io/redox_syscall/0.3.5 \ | 58 | crate://crates.io/radium/0.7.0 \ |
51 | crate://crates.io/regex/1.10.2 \ | 59 | crate://crates.io/radium/1.1.0 \ |
52 | crate://crates.io/regex-automata/0.4.3 \ | 60 | crate://crates.io/regex/1.11.1 \ |
53 | crate://crates.io/regex-syntax/0.8.2 \ | 61 | crate://crates.io/regex-automata/0.4.8 \ |
54 | crate://crates.io/rustversion/1.0.13 \ | 62 | crate://crates.io/regex-syntax/0.8.5 \ |
55 | crate://crates.io/ryu/1.0.14 \ | 63 | crate://crates.io/rustversion/1.0.17 \ |
56 | crate://crates.io/scopeguard/1.1.0 \ | 64 | crate://crates.io/ryu/1.0.18 \ |
57 | crate://crates.io/serde/1.0.195 \ | 65 | crate://crates.io/serde/1.0.218 \ |
58 | crate://crates.io/serde_derive/1.0.195 \ | 66 | crate://crates.io/serde_derive/1.0.218 \ |
59 | crate://crates.io/serde_json/1.0.109 \ | 67 | crate://crates.io/serde_json/1.0.140 \ |
60 | crate://crates.io/smallvec/1.11.2 \ | 68 | crate://crates.io/smallvec/1.14.0 \ |
61 | crate://crates.io/speedate/0.13.0 \ | 69 | crate://crates.io/speedate/0.15.0 \ |
70 | crate://crates.io/stable_deref_trait/1.2.0 \ | ||
62 | crate://crates.io/static_assertions/1.1.0 \ | 71 | crate://crates.io/static_assertions/1.1.0 \ |
63 | crate://crates.io/strum/0.25.0 \ | 72 | crate://crates.io/strum/0.26.3 \ |
64 | crate://crates.io/strum_macros/0.25.3 \ | 73 | crate://crates.io/strum_macros/0.26.4 \ |
65 | crate://crates.io/syn/2.0.48 \ | 74 | crate://crates.io/syn/2.0.82 \ |
66 | crate://crates.io/target-lexicon/0.12.9 \ | 75 | crate://crates.io/synstructure/0.13.1 \ |
67 | crate://crates.io/tinyvec/1.6.0 \ | 76 | crate://crates.io/tap/1.0.1 \ |
68 | crate://crates.io/tinyvec_macros/0.1.1 \ | 77 | crate://crates.io/target-lexicon/0.13.2 \ |
69 | crate://crates.io/unicode-bidi/0.3.13 \ | 78 | crate://crates.io/tinystr/0.7.6 \ |
70 | crate://crates.io/unicode-ident/1.0.10 \ | 79 | crate://crates.io/unicode-ident/1.0.12 \ |
71 | crate://crates.io/unicode-normalization/0.1.22 \ | ||
72 | crate://crates.io/unindent/0.2.3 \ | 80 | crate://crates.io/unindent/0.2.3 \ |
73 | crate://crates.io/url/2.5.0 \ | 81 | crate://crates.io/url/2.5.4 \ |
74 | crate://crates.io/uuid/1.6.1 \ | 82 | crate://crates.io/utf16_iter/1.0.5 \ |
75 | crate://crates.io/version_check/0.9.4 \ | 83 | crate://crates.io/utf8_iter/1.0.4 \ |
84 | crate://crates.io/uuid/1.16.0 \ | ||
85 | crate://crates.io/version_check/0.9.5 \ | ||
76 | crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \ | 86 | crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \ |
77 | crate://crates.io/windows-targets/0.48.1 \ | 87 | crate://crates.io/write16/1.0.0 \ |
78 | crate://crates.io/windows_aarch64_gnullvm/0.48.0 \ | 88 | crate://crates.io/writeable/0.5.5 \ |
79 | crate://crates.io/windows_aarch64_msvc/0.48.0 \ | 89 | crate://crates.io/wyz/0.5.1 \ |
80 | crate://crates.io/windows_i686_gnu/0.48.0 \ | 90 | crate://crates.io/yoke/0.7.4 \ |
81 | crate://crates.io/windows_i686_msvc/0.48.0 \ | 91 | crate://crates.io/yoke-derive/0.7.4 \ |
82 | crate://crates.io/windows_x86_64_gnu/0.48.0 \ | 92 | crate://crates.io/zerocopy/0.7.34 \ |
83 | crate://crates.io/windows_x86_64_gnullvm/0.48.0 \ | 93 | crate://crates.io/zerocopy-derive/0.7.34 \ |
84 | crate://crates.io/windows_x86_64_msvc/0.48.0 \ | 94 | crate://crates.io/zerofrom/0.1.4 \ |
85 | crate://crates.io/zerocopy/0.7.32 \ | 95 | crate://crates.io/zerofrom-derive/0.1.4 \ |
86 | crate://crates.io/zerocopy-derive/0.7.32 \ | 96 | crate://crates.io/zerovec/0.10.4 \ |
97 | crate://crates.io/zerovec-derive/0.10.3 \ | ||
87 | " | 98 | " |
88 | 99 | ||
89 | SRC_URI[ahash-0.8.7.sha256sum] = "77c3a9648d43b9cd48db467b3f87fdd6e146bcc88ab0180006cef2179fe11d01" | 100 | SRC_URI[ahash-0.8.11.sha256sum] = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" |
90 | SRC_URI[aho-corasick-1.0.2.sha256sum] = "43f6cb1bf222025340178f382c426f13757b2960e89779dfcb319c32542a5a41" | 101 | SRC_URI[aho-corasick-1.1.3.sha256sum] = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" |
91 | SRC_URI[allocator-api2-0.2.16.sha256sum] = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5" | 102 | SRC_URI[autocfg-1.3.0.sha256sum] = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" |
92 | SRC_URI[autocfg-1.1.0.sha256sum] = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" | 103 | SRC_URI[base64-0.22.1.sha256sum] = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" |
93 | SRC_URI[base64-0.21.7.sha256sum] = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" | 104 | SRC_URI[bitvec-1.0.1.sha256sum] = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" |
94 | SRC_URI[bitflags-1.3.2.sha256sum] = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" | 105 | SRC_URI[cc-1.0.101.sha256sum] = "ac367972e516d45567c7eafc73d24e1c193dcf200a8d94e9db7b3d38b349572d" |
95 | SRC_URI[cc-1.0.79.sha256sum] = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f" | ||
96 | SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" | 106 | SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" |
97 | SRC_URI[enum_dispatch-0.3.12.sha256sum] = "8f33313078bb8d4d05a2733a94ac4c2d8a0df9a2b84424ebf4f33bfc224a890e" | 107 | SRC_URI[displaydoc-0.2.5.sha256sum] = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" |
108 | SRC_URI[enum_dispatch-0.3.13.sha256sum] = "aa18ce2bc66555b3218614519ac839ddb759a7d6720732f979ef8d13be147ecd" | ||
98 | SRC_URI[equivalent-1.0.1.sha256sum] = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" | 109 | SRC_URI[equivalent-1.0.1.sha256sum] = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" |
99 | SRC_URI[form_urlencoded-1.2.1.sha256sum] = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" | 110 | SRC_URI[form_urlencoded-1.2.1.sha256sum] = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" |
100 | SRC_URI[getrandom-0.2.10.sha256sum] = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427" | 111 | SRC_URI[funty-2.0.0.sha256sum] = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" |
101 | SRC_URI[hashbrown-0.14.3.sha256sum] = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" | 112 | SRC_URI[getrandom-0.2.15.sha256sum] = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" |
102 | SRC_URI[heck-0.4.1.sha256sum] = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" | 113 | SRC_URI[hashbrown-0.14.5.sha256sum] = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" |
103 | SRC_URI[idna-0.5.0.sha256sum] = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" | 114 | SRC_URI[heck-0.5.0.sha256sum] = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" |
104 | SRC_URI[indexmap-2.0.0.sha256sum] = "d5477fe2230a79769d8dc68e0eabf5437907c0457a5614a9e8dddb67f65eb65d" | 115 | SRC_URI[hex-0.4.3.sha256sum] = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" |
105 | SRC_URI[indoc-2.0.4.sha256sum] = "1e186cfbae8084e513daff4240b4797e342f988cecda4fb6c939150f96315fd8" | 116 | SRC_URI[icu_collections-1.5.0.sha256sum] = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526" |
106 | SRC_URI[itoa-1.0.8.sha256sum] = "62b02a5381cc465bd3041d84623d0fa3b66738b52b8e2fc3bab8ad63ab032f4a" | 117 | SRC_URI[icu_locid-1.5.0.sha256sum] = "13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637" |
107 | SRC_URI[jiter-0.0.6.sha256sum] = "87db066a99f69382be06d02313f8ce989996b53a04a8a70cfd1a6483a56227f7" | 118 | SRC_URI[icu_locid_transform-1.5.0.sha256sum] = "01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e" |
108 | SRC_URI[lexical-core-0.8.5.sha256sum] = "2cde5de06e8d4c2faabc400238f9ae1c74d5412d03a7bd067645ccbc47070e46" | 119 | SRC_URI[icu_locid_transform_data-1.5.0.sha256sum] = "fdc8ff3388f852bede6b579ad4e978ab004f139284d7b28715f773507b946f6e" |
109 | SRC_URI[lexical-parse-float-0.8.5.sha256sum] = "683b3a5ebd0130b8fb52ba0bdc718cc56815b6a097e28ae5a6997d0ad17dc05f" | 120 | SRC_URI[icu_normalizer-1.5.0.sha256sum] = "19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f" |
110 | SRC_URI[lexical-parse-integer-0.8.6.sha256sum] = "6d0994485ed0c312f6d965766754ea177d07f9c00c9b82a5ee62ed5b47945ee9" | 121 | SRC_URI[icu_normalizer_data-1.5.0.sha256sum] = "f8cafbf7aa791e9b22bec55a167906f9e1215fd475cd22adfcf660e03e989516" |
111 | SRC_URI[lexical-util-0.8.5.sha256sum] = "5255b9ff16ff898710eb9eb63cb39248ea8a5bb036bea8085b1a767ff6c4e3fc" | 122 | SRC_URI[icu_properties-1.5.1.sha256sum] = "93d6020766cfc6302c15dbbc9c8778c37e62c14427cb7f6e601d849e092aeef5" |
112 | SRC_URI[lexical-write-float-0.8.5.sha256sum] = "accabaa1c4581f05a3923d1b4cfd124c329352288b7b9da09e766b0668116862" | 123 | SRC_URI[icu_properties_data-1.5.0.sha256sum] = "67a8effbc3dd3e4ba1afa8ad918d5684b8868b3b26500753effea8d2eed19569" |
113 | SRC_URI[lexical-write-integer-0.8.5.sha256sum] = "e1b6f3d1f4422866b68192d62f77bc5c700bee84f3069f2469d7bc8c77852446" | 124 | SRC_URI[icu_provider-1.5.0.sha256sum] = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9" |
114 | SRC_URI[libc-0.2.147.sha256sum] = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" | 125 | SRC_URI[icu_provider_macros-1.5.0.sha256sum] = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6" |
115 | SRC_URI[lock_api-0.4.10.sha256sum] = "c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16" | 126 | SRC_URI[idna-1.0.3.sha256sum] = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e" |
116 | SRC_URI[memchr-2.6.3.sha256sum] = "8f232d6ef707e1956a43342693d2a31e72989554d58299d7a88738cc95b0d35c" | 127 | SRC_URI[idna_adapter-1.2.0.sha256sum] = "daca1df1c957320b2cf139ac61e7bd64fed304c5040df000a745aa1de3b4ef71" |
117 | SRC_URI[memoffset-0.9.0.sha256sum] = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" | 128 | SRC_URI[indexmap-2.2.6.sha256sum] = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26" |
118 | SRC_URI[num-bigint-0.4.4.sha256sum] = "608e7659b5c3d7cba262d894801b9ec9d00de989e8a82bd4bef91d08da45cdc0" | 129 | SRC_URI[indoc-2.0.5.sha256sum] = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5" |
119 | SRC_URI[num-integer-0.1.45.sha256sum] = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" | 130 | SRC_URI[itoa-1.0.11.sha256sum] = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" |
120 | SRC_URI[num-traits-0.2.16.sha256sum] = "f30b0abd723be7e2ffca1272140fac1a2f084c77ec3e123c192b66af1ee9e6c2" | 131 | SRC_URI[jiter-0.9.0.sha256sum] = "c024ccb0ed468a474efa325edea34d4198fb601d290c4d1bc24fe31ed11902fc" |
121 | SRC_URI[once_cell-1.18.0.sha256sum] = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" | 132 | SRC_URI[lexical-parse-float-1.0.5.sha256sum] = "de6f9cb01fb0b08060209a057c048fcbab8717b4c1ecd2eac66ebfe39a65b0f2" |
122 | SRC_URI[parking_lot-0.12.1.sha256sum] = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" | 133 | SRC_URI[lexical-parse-integer-1.0.5.sha256sum] = "72207aae22fc0a121ba7b6d479e42cbfea549af1479c3f3a4f12c70dd66df12e" |
123 | SRC_URI[parking_lot_core-0.9.8.sha256sum] = "93f00c865fe7cabf650081affecd3871070f26767e7b2070a3ffae14c654b447" | 134 | SRC_URI[lexical-util-1.0.6.sha256sum] = "5a82e24bf537fd24c177ffbbdc6ebcc8d54732c35b50a3f28cc3f4e4c949a0b3" |
135 | SRC_URI[libc-0.2.155.sha256sum] = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" | ||
136 | SRC_URI[litemap-0.7.3.sha256sum] = "643cb0b8d4fcc284004d5fd0d67ccf61dfffadb7f75e1e71bc420f4688a3a704" | ||
137 | SRC_URI[memchr-2.7.4.sha256sum] = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" | ||
138 | SRC_URI[memoffset-0.9.1.sha256sum] = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a" | ||
139 | SRC_URI[num-bigint-0.4.6.sha256sum] = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9" | ||
140 | SRC_URI[num-integer-0.1.46.sha256sum] = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" | ||
141 | SRC_URI[num-traits-0.2.19.sha256sum] = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" | ||
142 | SRC_URI[once_cell-1.19.0.sha256sum] = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" | ||
124 | SRC_URI[percent-encoding-2.3.1.sha256sum] = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" | 143 | SRC_URI[percent-encoding-2.3.1.sha256sum] = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" |
125 | SRC_URI[portable-atomic-1.6.0.sha256sum] = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0" | 144 | SRC_URI[portable-atomic-1.6.0.sha256sum] = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0" |
126 | SRC_URI[proc-macro2-1.0.76.sha256sum] = "95fc56cda0b5c3325f5fbbd7ff9fda9e02bb00bb3dac51252d2f1bfa1cb8cc8c" | 145 | SRC_URI[proc-macro2-1.0.86.sha256sum] = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" |
127 | SRC_URI[pyo3-0.20.3.sha256sum] = "53bdbb96d49157e65d45cc287af5f32ffadd5f4761438b527b055fb0d4bb8233" | 146 | SRC_URI[pyo3-0.24.1.sha256sum] = "17da310086b068fbdcefbba30aeb3721d5bb9af8db4987d6735b2183ca567229" |
128 | SRC_URI[pyo3-build-config-0.20.3.sha256sum] = "deaa5745de3f5231ce10517a1f5dd97d53e5a2fd77aa6b5842292085831d48d7" | 147 | SRC_URI[pyo3-build-config-0.24.1.sha256sum] = "e27165889bd793000a098bb966adc4300c312497ea25cf7a690a9f0ac5aa5fc1" |
129 | SRC_URI[pyo3-ffi-0.20.3.sha256sum] = "62b42531d03e08d4ef1f6e85a2ed422eb678b8cd62b762e53891c05faf0d4afa" | 148 | SRC_URI[pyo3-ffi-0.24.1.sha256sum] = "05280526e1dbf6b420062f3ef228b78c0c54ba94e157f5cb724a609d0f2faabc" |
130 | SRC_URI[pyo3-macros-0.20.3.sha256sum] = "7305c720fa01b8055ec95e484a6eca7a83c841267f0dd5280f0c8b8551d2c158" | 149 | SRC_URI[pyo3-macros-0.24.1.sha256sum] = "5c3ce5686aa4d3f63359a5100c62a127c9f15e8398e5fdeb5deef1fed5cd5f44" |
131 | SRC_URI[pyo3-macros-backend-0.20.3.sha256sum] = "7c7e9b68bb9c3149c5b0cade5d07f953d6d125eb4337723c4ccdb665f1f96185" | 150 | SRC_URI[pyo3-macros-backend-0.24.1.sha256sum] = "f4cf6faa0cbfb0ed08e89beb8103ae9724eb4750e3a78084ba4017cbe94f3855" |
132 | SRC_URI[python3-dll-a-0.2.9.sha256sum] = "d5f07cd4412be8fa09a721d40007c483981bbe072cd6a21f2e83e04ec8f8343f" | 151 | SRC_URI[python3-dll-a-0.2.13.sha256sum] = "49fe4227a288cf9493942ad0220ea3f185f4d1f2a14f197f7344d6d02f4ed4ed" |
133 | SRC_URI[quote-1.0.35.sha256sum] = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" | 152 | SRC_URI[quote-1.0.36.sha256sum] = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" |
134 | SRC_URI[redox_syscall-0.3.5.sha256sum] = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" | 153 | SRC_URI[radium-0.7.0.sha256sum] = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" |
135 | SRC_URI[regex-1.10.2.sha256sum] = "380b951a9c5e80ddfd6136919eef32310721aa4aacd4889a8d39124b026ab343" | 154 | SRC_URI[radium-1.1.0.sha256sum] = "db0b76288902db304c864a12046b73d2d895cc34a4bb8137baaeebe9978a072c" |
136 | SRC_URI[regex-automata-0.4.3.sha256sum] = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f" | 155 | SRC_URI[regex-1.11.1.sha256sum] = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" |
137 | SRC_URI[regex-syntax-0.8.2.sha256sum] = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" | 156 | SRC_URI[regex-automata-0.4.8.sha256sum] = "368758f23274712b504848e9d5a6f010445cc8b87a7cdb4d7cbee666c1288da3" |
138 | SRC_URI[rustversion-1.0.13.sha256sum] = "dc31bd9b61a32c31f9650d18add92aa83a49ba979c143eefd27fe7177b05bd5f" | 157 | SRC_URI[regex-syntax-0.8.5.sha256sum] = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" |
139 | SRC_URI[ryu-1.0.14.sha256sum] = "fe232bdf6be8c8de797b22184ee71118d63780ea42ac85b61d1baa6d3b782ae9" | 158 | SRC_URI[rustversion-1.0.17.sha256sum] = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6" |
140 | SRC_URI[scopeguard-1.1.0.sha256sum] = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" | 159 | SRC_URI[ryu-1.0.18.sha256sum] = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" |
141 | SRC_URI[serde-1.0.195.sha256sum] = "63261df402c67811e9ac6def069e4786148c4563f4b50fd4bf30aa370d626b02" | 160 | SRC_URI[serde-1.0.218.sha256sum] = "e8dfc9d19bdbf6d17e22319da49161d5d0108e4188e8b680aef6299eed22df60" |
142 | SRC_URI[serde_derive-1.0.195.sha256sum] = "46fe8f8603d81ba86327b23a2e9cdf49e1255fb94a4c5f297f6ee0547178ea2c" | 161 | SRC_URI[serde_derive-1.0.218.sha256sum] = "f09503e191f4e797cb8aac08e9a4a4695c5edf6a2e70e376d961ddd5c969f82b" |
143 | SRC_URI[serde_json-1.0.109.sha256sum] = "cb0652c533506ad7a2e353cce269330d6afd8bdfb6d75e0ace5b35aacbd7b9e9" | 162 | SRC_URI[serde_json-1.0.140.sha256sum] = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373" |
144 | SRC_URI[smallvec-1.11.2.sha256sum] = "4dccd0940a2dcdf68d092b8cbab7dc0ad8fa938bf95787e1b916b0e3d0e8e970" | 163 | SRC_URI[smallvec-1.14.0.sha256sum] = "7fcf8323ef1faaee30a44a340193b1ac6814fd9b7b4e88e9d4519a3e4abe1cfd" |
145 | SRC_URI[speedate-0.13.0.sha256sum] = "242f76c50fd18cbf098607090ade73a08d39cfd84ea835f3796a2c855223b19b" | 164 | SRC_URI[speedate-0.15.0.sha256sum] = "9a5e7adf4e07e7de39a64d77962ca14a09165e592d42d0c9f9acadb679f4f937" |
165 | SRC_URI[stable_deref_trait-1.2.0.sha256sum] = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" | ||
146 | SRC_URI[static_assertions-1.1.0.sha256sum] = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" | 166 | SRC_URI[static_assertions-1.1.0.sha256sum] = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" |
147 | SRC_URI[strum-0.25.0.sha256sum] = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125" | 167 | SRC_URI[strum-0.26.3.sha256sum] = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06" |
148 | SRC_URI[strum_macros-0.25.3.sha256sum] = "23dc1fa9ac9c169a78ba62f0b841814b7abae11bdd047b9c58f893439e309ea0" | 168 | SRC_URI[strum_macros-0.26.4.sha256sum] = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be" |
149 | SRC_URI[syn-2.0.48.sha256sum] = "0f3531638e407dfc0814761abb7c00a5b54992b849452a0646b7f65c9f770f3f" | 169 | SRC_URI[syn-2.0.82.sha256sum] = "83540f837a8afc019423a8edb95b52a8effe46957ee402287f4292fae35be021" |
150 | SRC_URI[target-lexicon-0.12.9.sha256sum] = "df8e77cb757a61f51b947ec4a7e3646efd825b73561db1c232a8ccb639e611a0" | 170 | SRC_URI[synstructure-0.13.1.sha256sum] = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" |
151 | SRC_URI[tinyvec-1.6.0.sha256sum] = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" | 171 | SRC_URI[tap-1.0.1.sha256sum] = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" |
152 | SRC_URI[tinyvec_macros-0.1.1.sha256sum] = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" | 172 | SRC_URI[target-lexicon-0.13.2.sha256sum] = "e502f78cdbb8ba4718f566c418c52bc729126ffd16baee5baa718cf25dd5a69a" |
153 | SRC_URI[unicode-bidi-0.3.13.sha256sum] = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" | 173 | SRC_URI[tinystr-0.7.6.sha256sum] = "9117f5d4db391c1cf6927e7bea3db74b9a1c1add8f7eda9ffd5364f40f57b82f" |
154 | SRC_URI[unicode-ident-1.0.10.sha256sum] = "22049a19f4a68748a168c0fc439f9516686aa045927ff767eca0a85101fb6e73" | 174 | SRC_URI[unicode-ident-1.0.12.sha256sum] = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" |
155 | SRC_URI[unicode-normalization-0.1.22.sha256sum] = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" | ||
156 | SRC_URI[unindent-0.2.3.sha256sum] = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce" | 175 | SRC_URI[unindent-0.2.3.sha256sum] = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce" |
157 | SRC_URI[url-2.5.0.sha256sum] = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633" | 176 | SRC_URI[url-2.5.4.sha256sum] = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60" |
158 | SRC_URI[uuid-1.6.1.sha256sum] = "5e395fcf16a7a3d8127ec99782007af141946b4795001f876d54fb0d55978560" | 177 | SRC_URI[utf16_iter-1.0.5.sha256sum] = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246" |
159 | SRC_URI[version_check-0.9.4.sha256sum] = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" | 178 | SRC_URI[utf8_iter-1.0.4.sha256sum] = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" |
179 | SRC_URI[uuid-1.16.0.sha256sum] = "458f7a779bf54acc9f347480ac654f68407d3aab21269a6e3c9f922acd9e2da9" | ||
180 | SRC_URI[version_check-0.9.5.sha256sum] = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" | ||
160 | SRC_URI[wasi-0.11.0+wasi-snapshot-preview1.sha256sum] = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" | 181 | SRC_URI[wasi-0.11.0+wasi-snapshot-preview1.sha256sum] = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" |
161 | SRC_URI[windows-targets-0.48.1.sha256sum] = "05d4b17490f70499f20b9e791dcf6a299785ce8af4d709018206dc5b4953e95f" | 182 | SRC_URI[write16-1.0.0.sha256sum] = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936" |
162 | SRC_URI[windows_aarch64_gnullvm-0.48.0.sha256sum] = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" | 183 | SRC_URI[writeable-0.5.5.sha256sum] = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51" |
163 | SRC_URI[windows_aarch64_msvc-0.48.0.sha256sum] = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" | 184 | SRC_URI[wyz-0.5.1.sha256sum] = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed" |
164 | SRC_URI[windows_i686_gnu-0.48.0.sha256sum] = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" | 185 | SRC_URI[yoke-0.7.4.sha256sum] = "6c5b1314b079b0930c31e3af543d8ee1757b1951ae1e1565ec704403a7240ca5" |
165 | SRC_URI[windows_i686_msvc-0.48.0.sha256sum] = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" | 186 | SRC_URI[yoke-derive-0.7.4.sha256sum] = "28cc31741b18cb6f1d5ff12f5b7523e3d6eb0852bbbad19d73905511d9849b95" |
166 | SRC_URI[windows_x86_64_gnu-0.48.0.sha256sum] = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" | 187 | SRC_URI[zerocopy-0.7.34.sha256sum] = "ae87e3fcd617500e5d106f0380cf7b77f3c6092aae37191433159dda23cfb087" |
167 | SRC_URI[windows_x86_64_gnullvm-0.48.0.sha256sum] = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" | 188 | SRC_URI[zerocopy-derive-0.7.34.sha256sum] = "15e934569e47891f7d9411f1a451d947a60e000ab3bd24fbb970f000387d1b3b" |
168 | SRC_URI[windows_x86_64_msvc-0.48.0.sha256sum] = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" | 189 | SRC_URI[zerofrom-0.1.4.sha256sum] = "91ec111ce797d0e0784a1116d0ddcdbea84322cd79e5d5ad173daeba4f93ab55" |
169 | SRC_URI[zerocopy-0.7.32.sha256sum] = "74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716be" | 190 | SRC_URI[zerofrom-derive-0.1.4.sha256sum] = "0ea7b4a3637ea8669cedf0f1fd5c286a17f3de97b8dd5a70a6c167a1730e63a5" |
170 | SRC_URI[zerocopy-derive-0.7.32.sha256sum] = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" | 191 | SRC_URI[zerovec-0.10.4.sha256sum] = "aa2b893d79df23bfb12d5461018d408ea19dfafe76c2c7ef6d4eba614f8ff079" |
192 | SRC_URI[zerovec-derive-0.10.3.sha256sum] = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6" | ||
diff --git a/meta-python/recipes-devtools/python/python3-pydantic-core/0001-Bumps-pyo3-https-github.com-pyo3-pyo3-from-0.20.2-to.patch b/meta-python/recipes-devtools/python/python3-pydantic-core/0001-Bumps-pyo3-https-github.com-pyo3-pyo3-from-0.20.2-to.patch deleted file mode 100644 index 32777e1d03..0000000000 --- a/meta-python/recipes-devtools/python/python3-pydantic-core/0001-Bumps-pyo3-https-github.com-pyo3-pyo3-from-0.20.2-to.patch +++ /dev/null | |||
@@ -1,126 +0,0 @@ | |||
1 | From a5690f973384bf8cbf4deb3b83d822b7aaefbdd8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 27 Feb 2024 11:00:46 -0800 | ||
4 | Subject: [PATCH] Bumps [pyo3](https://github.com/pyo3/pyo3) from 0.20.2 to | ||
5 | 0.20.3. | ||
6 | |||
7 | Upstream-Status: Pending | ||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | --- | ||
10 | Cargo.lock | 26 +++++++++++++++++--------- | ||
11 | Cargo.toml | 2 +- | ||
12 | 2 files changed, 18 insertions(+), 10 deletions(-) | ||
13 | |||
14 | --- a/Cargo.lock | ||
15 | +++ b/Cargo.lock | ||
16 | @@ -322,6 +322,12 @@ source = "registry+https://github.com/ru | ||
17 | checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" | ||
18 | |||
19 | [[package]] | ||
20 | +name = "portable-atomic" | ||
21 | +version = "1.6.0" | ||
22 | +source = "registry+https://github.com/rust-lang/crates.io-index" | ||
23 | +checksum = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0" | ||
24 | + | ||
25 | +[[package]] | ||
26 | name = "proc-macro2" | ||
27 | version = "1.0.76" | ||
28 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
29 | @@ -357,9 +363,9 @@ dependencies = [ | ||
30 | |||
31 | [[package]] | ||
32 | name = "pyo3" | ||
33 | -version = "0.20.2" | ||
34 | +version = "0.20.3" | ||
35 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
36 | -checksum = "9a89dc7a5850d0e983be1ec2a463a171d20990487c3cfcd68b5363f1ee3d6fe0" | ||
37 | +checksum = "53bdbb96d49157e65d45cc287af5f32ffadd5f4761438b527b055fb0d4bb8233" | ||
38 | dependencies = [ | ||
39 | "cfg-if", | ||
40 | "indoc", | ||
41 | @@ -367,6 +373,7 @@ dependencies = [ | ||
42 | "memoffset", | ||
43 | "num-bigint", | ||
44 | "parking_lot", | ||
45 | + "portable-atomic", | ||
46 | "pyo3-build-config", | ||
47 | "pyo3-ffi", | ||
48 | "pyo3-macros", | ||
49 | @@ -375,9 +382,9 @@ dependencies = [ | ||
50 | |||
51 | [[package]] | ||
52 | name = "pyo3-build-config" | ||
53 | -version = "0.20.2" | ||
54 | +version = "0.20.3" | ||
55 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
56 | -checksum = "07426f0d8fe5a601f26293f300afd1a7b1ed5e78b2a705870c5f30893c5163be" | ||
57 | +checksum = "deaa5745de3f5231ce10517a1f5dd97d53e5a2fd77aa6b5842292085831d48d7" | ||
58 | dependencies = [ | ||
59 | "once_cell", | ||
60 | "python3-dll-a", | ||
61 | @@ -386,9 +393,9 @@ dependencies = [ | ||
62 | |||
63 | [[package]] | ||
64 | name = "pyo3-ffi" | ||
65 | -version = "0.20.2" | ||
66 | +version = "0.20.3" | ||
67 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
68 | -checksum = "dbb7dec17e17766b46bca4f1a4215a85006b4c2ecde122076c562dd058da6cf1" | ||
69 | +checksum = "62b42531d03e08d4ef1f6e85a2ed422eb678b8cd62b762e53891c05faf0d4afa" | ||
70 | dependencies = [ | ||
71 | "libc", | ||
72 | "pyo3-build-config", | ||
73 | @@ -396,9 +403,9 @@ dependencies = [ | ||
74 | |||
75 | [[package]] | ||
76 | name = "pyo3-macros" | ||
77 | -version = "0.20.2" | ||
78 | +version = "0.20.3" | ||
79 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
80 | -checksum = "05f738b4e40d50b5711957f142878cfa0f28e054aa0ebdfc3fd137a843f74ed3" | ||
81 | +checksum = "7305c720fa01b8055ec95e484a6eca7a83c841267f0dd5280f0c8b8551d2c158" | ||
82 | dependencies = [ | ||
83 | "proc-macro2", | ||
84 | "pyo3-macros-backend", | ||
85 | @@ -408,12 +415,13 @@ dependencies = [ | ||
86 | |||
87 | [[package]] | ||
88 | name = "pyo3-macros-backend" | ||
89 | -version = "0.20.2" | ||
90 | +version = "0.20.3" | ||
91 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
92 | -checksum = "0fc910d4851847827daf9d6cdd4a823fbdaab5b8818325c5e97a86da79e8881f" | ||
93 | +checksum = "7c7e9b68bb9c3149c5b0cade5d07f953d6d125eb4337723c4ccdb665f1f96185" | ||
94 | dependencies = [ | ||
95 | "heck", | ||
96 | "proc-macro2", | ||
97 | + "pyo3-build-config", | ||
98 | "quote", | ||
99 | "syn", | ||
100 | ] | ||
101 | --- a/Cargo.toml | ||
102 | +++ b/Cargo.toml | ||
103 | @@ -26,7 +26,7 @@ include = [ | ||
104 | ] | ||
105 | |||
106 | [dependencies] | ||
107 | -pyo3 = { version = "0.20.2", features = ["generate-import-lib", "num-bigint"] } | ||
108 | +pyo3 = { version = "0.20.3", features = ["generate-import-lib", "num-bigint"] } | ||
109 | regex = "1.10.2" | ||
110 | strum = { version = "0.25.0", features = ["derive"] } | ||
111 | strum_macros = "0.25.3" | ||
112 | @@ -70,12 +70,12 @@ debug = true | ||
113 | strip = false | ||
114 | |||
115 | [dev-dependencies] | ||
116 | -pyo3 = { version = "0.20.2", features = ["auto-initialize"] } | ||
117 | +pyo3 = { version = "0.20.3", features = ["auto-initialize"] } | ||
118 | |||
119 | [build-dependencies] | ||
120 | version_check = "0.9.4" | ||
121 | # used where logic has to be version/distribution specific, e.g. pypy | ||
122 | -pyo3-build-config = { version = "0.20.2" } | ||
123 | +pyo3-build-config = { version = "0.20.3" } | ||
124 | |||
125 | [lints.clippy] | ||
126 | dbg_macro = "warn" | ||
diff --git a/meta-python/recipes-devtools/python/python3-pydantic-core/0001-Fix-generate_self_schema-for-Python-3.12-1299.patch b/meta-python/recipes-devtools/python/python3-pydantic-core/0001-Fix-generate_self_schema-for-Python-3.12-1299.patch deleted file mode 100644 index f6aa18e303..0000000000 --- a/meta-python/recipes-devtools/python/python3-pydantic-core/0001-Fix-generate_self_schema-for-Python-3.12-1299.patch +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | From 0dcca2ed6a83ebbc944ec8cbd2f67ffec8043461 Mon Sep 17 00:00:00 2001 | ||
2 | From: Jelle Zijlstra <jelle.zijlstra@gmail.com> | ||
3 | Date: Wed, 22 May 2024 07:44:10 -0700 | ||
4 | Subject: [PATCH] Fix generate_self_schema for Python 3.12+ (#1299) | ||
5 | |||
6 | Upstream-Status: Backport [https://github.com/pydantic/pydantic-core/commit/a7620419383a69bd2b28ab953c9a17f6ed35bb9a] | ||
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
8 | --- | ||
9 | generate_self_schema.py | 7 ++++++- | ||
10 | 1 file changed, 6 insertions(+), 1 deletion(-) | ||
11 | |||
12 | diff --git a/generate_self_schema.py b/generate_self_schema.py | ||
13 | index 8d27247..109fca0 100644 | ||
14 | --- a/generate_self_schema.py | ||
15 | +++ b/generate_self_schema.py | ||
16 | @@ -189,7 +189,12 @@ def all_literal_values(type_: type[core_schema.Literal]) -> list[any]: | ||
17 | |||
18 | def eval_forward_ref(type_: Any) -> Any: | ||
19 | try: | ||
20 | - return type_._evaluate(core_schema.__dict__, None, set()) | ||
21 | + try: | ||
22 | + # Python 3.12+ | ||
23 | + return type_._evaluate(core_schema.__dict__, None, type_params=set(), recursive_guard=set()) | ||
24 | + except TypeError: | ||
25 | + # Python 3.9+ | ||
26 | + return type_._evaluate(core_schema.__dict__, None, set()) | ||
27 | except TypeError: | ||
28 | # for Python 3.8 | ||
29 | return type_._evaluate(core_schema.__dict__, None) | ||
diff --git a/meta-python/recipes-devtools/python/python3-pydantic-core/0001-Upgrade-radium-to-1.0.patch b/meta-python/recipes-devtools/python/python3-pydantic-core/0001-Upgrade-radium-to-1.0.patch new file mode 100644 index 0000000000..00dcd634f2 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pydantic-core/0001-Upgrade-radium-to-1.0.patch | |||
@@ -0,0 +1,540 @@ | |||
1 | From 87753249fb9ac26acd1eb0135fefded871c24e6c Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 18 Apr 2025 17:54:42 -0700 | ||
4 | Subject: [PATCH] Upgrade radium to 1.0 | ||
5 | |||
6 | Upstream-Status: Submitted [https://github.com/ferrilab/bitvec/pull/220] | ||
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
8 | --- | ||
9 | Cargo.toml | 2 +- | ||
10 | src/macros/tests.rs | 256 ++++++++++++++++++++++---------------------- | ||
11 | src/mem.rs | 28 ++--- | ||
12 | src/serdes.rs | 58 +++++----- | ||
13 | src/store.rs | 61 +++++------ | ||
14 | 5 files changed, 207 insertions(+), 198 deletions(-) | ||
15 | |||
16 | --- a/Cargo.toml | ||
17 | +++ b/Cargo.toml | ||
18 | @@ -55,7 +55,7 @@ version = "^2.0" | ||
19 | default-features = false | ||
20 | |||
21 | [dependencies.radium] | ||
22 | -version = "0.7" | ||
23 | +version = "1" | ||
24 | |||
25 | [dependencies.serde] | ||
26 | version = "1" | ||
27 | --- a/src/macros/tests.rs | ||
28 | +++ b/src/macros/tests.rs | ||
29 | @@ -231,50 +231,52 @@ fn compile_bits() { | ||
30 | let _: &BitSlice<u64, Msb0> = bits![u64, crate::order::Msb0; 1; 100]; | ||
31 | } | ||
32 | |||
33 | - radium::if_atomic! { | ||
34 | - if atomic(8) { | ||
35 | - let _: &BitSlice<AtomicU8, LocalBits> = bits![AtomicU8, LocalBits; 0, 1]; | ||
36 | - let _: &BitSlice<AtomicU8, Lsb0> = bits![AtomicU8, Lsb0; 0, 1]; | ||
37 | - let _: &BitSlice<AtomicU8, Msb0> = bits![AtomicU8, Msb0; 0, 1]; | ||
38 | - let _: &BitSlice<RadiumU8, LocalBits> = bits![RadiumU8, LocalBits; 1; 100]; | ||
39 | - let _: &BitSlice<RadiumU8, Lsb0> = bits![RadiumU8, Lsb0; 1; 100]; | ||
40 | - let _: &BitSlice<RadiumU8, Msb0> = bits![RadiumU8, Msb0; 1; 100]; | ||
41 | - } | ||
42 | - if atomic(16) { | ||
43 | - let _: &BitSlice<AtomicU16, LocalBits> = bits![AtomicU16, LocalBits; 0, 1]; | ||
44 | - let _: &BitSlice<AtomicU16, Lsb0> = bits![AtomicU16, Lsb0; 0, 1]; | ||
45 | - let _: &BitSlice<AtomicU16, Msb0> = bits![AtomicU16, Msb0; 0, 1]; | ||
46 | - let _: &BitSlice<RadiumU16, LocalBits> = bits![RadiumU16, LocalBits; 1; 100]; | ||
47 | - let _: &BitSlice<RadiumU16, Lsb0> = bits![RadiumU16, Lsb0; 1; 100]; | ||
48 | - let _: &BitSlice<RadiumU16, Msb0> = bits![RadiumU16, Msb0; 1; 100]; | ||
49 | - } | ||
50 | - if atomic(32) { | ||
51 | - let _: &BitSlice<AtomicU32, LocalBits> = bits![AtomicU32, LocalBits; 0, 1]; | ||
52 | - let _: &BitSlice<AtomicU32, Lsb0> = bits![AtomicU32, Lsb0; 0, 1]; | ||
53 | - let _: &BitSlice<AtomicU32, Msb0> = bits![AtomicU32, Msb0; 0, 1]; | ||
54 | - let _: &BitSlice<RadiumU32, LocalBits> = bits![RadiumU32, LocalBits; 1; 100]; | ||
55 | - let _: &BitSlice<RadiumU32, Lsb0> = bits![RadiumU32, Lsb0; 1; 100]; | ||
56 | - let _: &BitSlice<RadiumU32, Msb0> = bits![RadiumU32, Msb0; 1; 100]; | ||
57 | - } | ||
58 | - if atomic(size) { | ||
59 | - let _: &BitSlice<AtomicUsize, LocalBits> = bits![AtomicUsize, LocalBits; 0, 1]; | ||
60 | - let _: &BitSlice<AtomicUsize, Lsb0> = bits![AtomicUsize, Lsb0; 0, 1]; | ||
61 | - let _: &BitSlice<AtomicUsize, Msb0> = bits![AtomicUsize, Msb0; 0, 1]; | ||
62 | - let _: &BitSlice<RadiumUsize, LocalBits> = bits![RadiumUsize, LocalBits; 1; 100]; | ||
63 | - let _: &BitSlice<RadiumUsize, Lsb0> = bits![RadiumUsize, Lsb0; 1; 100]; | ||
64 | - let _: &BitSlice<RadiumUsize, Msb0> = bits![RadiumUsize, Msb0; 1; 100]; | ||
65 | - } | ||
66 | + #[cfg(target_has_atomic = "8")] | ||
67 | + { | ||
68 | + let _: &BitSlice<AtomicU8, LocalBits> = bits![AtomicU8, LocalBits; 0, 1]; | ||
69 | + let _: &BitSlice<AtomicU8, Lsb0> = bits![AtomicU8, Lsb0; 0, 1]; | ||
70 | + let _: &BitSlice<AtomicU8, Msb0> = bits![AtomicU8, Msb0; 0, 1]; | ||
71 | + let _: &BitSlice<RadiumU8, LocalBits> = bits![RadiumU8, LocalBits; 1; 100]; | ||
72 | + let _: &BitSlice<RadiumU8, Lsb0> = bits![RadiumU8, Lsb0; 1; 100]; | ||
73 | + let _: &BitSlice<RadiumU8, Msb0> = bits![RadiumU8, Msb0; 1; 100]; | ||
74 | + } | ||
75 | + #[cfg(target_has_atomic = "16")] | ||
76 | + { | ||
77 | + let _: &BitSlice<AtomicU16, LocalBits> = bits![AtomicU16, LocalBits; 0, 1]; | ||
78 | + let _: &BitSlice<AtomicU16, Lsb0> = bits![AtomicU16, Lsb0; 0, 1]; | ||
79 | + let _: &BitSlice<AtomicU16, Msb0> = bits![AtomicU16, Msb0; 0, 1]; | ||
80 | + let _: &BitSlice<RadiumU16, LocalBits> = bits![RadiumU16, LocalBits; 1; 100]; | ||
81 | + let _: &BitSlice<RadiumU16, Lsb0> = bits![RadiumU16, Lsb0; 1; 100]; | ||
82 | + let _: &BitSlice<RadiumU16, Msb0> = bits![RadiumU16, Msb0; 1; 100]; | ||
83 | + } | ||
84 | + #[cfg(target_has_atomic = "32")] | ||
85 | + { | ||
86 | + let _: &BitSlice<AtomicU32, LocalBits> = bits![AtomicU32, LocalBits; 0, 1]; | ||
87 | + let _: &BitSlice<AtomicU32, Lsb0> = bits![AtomicU32, Lsb0; 0, 1]; | ||
88 | + let _: &BitSlice<AtomicU32, Msb0> = bits![AtomicU32, Msb0; 0, 1]; | ||
89 | + let _: &BitSlice<RadiumU32, LocalBits> = bits![RadiumU32, LocalBits; 1; 100]; | ||
90 | + let _: &BitSlice<RadiumU32, Lsb0> = bits![RadiumU32, Lsb0; 1; 100]; | ||
91 | + let _: &BitSlice<RadiumU32, Msb0> = bits![RadiumU32, Msb0; 1; 100]; | ||
92 | + } | ||
93 | + #[cfg(target_has_atomic = "ptr")] | ||
94 | + { | ||
95 | + let _: &BitSlice<AtomicUsize, LocalBits> = bits![AtomicUsize, LocalBits; 0, 1]; | ||
96 | + let _: &BitSlice<AtomicUsize, Lsb0> = bits![AtomicUsize, Lsb0; 0, 1]; | ||
97 | + let _: &BitSlice<AtomicUsize, Msb0> = bits![AtomicUsize, Msb0; 0, 1]; | ||
98 | + let _: &BitSlice<RadiumUsize, LocalBits> = bits![RadiumUsize, LocalBits; 1; 100]; | ||
99 | + let _: &BitSlice<RadiumUsize, Lsb0> = bits![RadiumUsize, Lsb0; 1; 100]; | ||
100 | + let _: &BitSlice<RadiumUsize, Msb0> = bits![RadiumUsize, Msb0; 1; 100]; | ||
101 | } | ||
102 | + | ||
103 | #[cfg(target_pointer_width = "64")] | ||
104 | - radium::if_atomic! { | ||
105 | - if atomic(64) { | ||
106 | - let _: &BitSlice<AtomicU64, LocalBits> = bits![AtomicU64, LocalBits; 0, 1]; | ||
107 | - let _: &BitSlice<AtomicU64, Lsb0> = bits![AtomicU64, Lsb0; 0, 1]; | ||
108 | - let _: &BitSlice<AtomicU64, Msb0> = bits![AtomicU64, Msb0; 0, 1]; | ||
109 | - let _: &BitSlice<RadiumU64, LocalBits> = bits![RadiumU64, LocalBits; 1; 100]; | ||
110 | - let _: &BitSlice<RadiumU64, Lsb0> = bits![RadiumU64, Lsb0; 1; 100]; | ||
111 | - let _: &BitSlice<RadiumU64, Msb0> = bits![RadiumU64, Msb0; 1; 100]; | ||
112 | - } | ||
113 | + #[cfg(target_has_atomic = "64")] | ||
114 | + { | ||
115 | + let _: &BitSlice<AtomicU64, LocalBits> = bits![AtomicU64, LocalBits; 0, 1]; | ||
116 | + let _: &BitSlice<AtomicU64, Lsb0> = bits![AtomicU64, Lsb0; 0, 1]; | ||
117 | + let _: &BitSlice<AtomicU64, Msb0> = bits![AtomicU64, Msb0; 0, 1]; | ||
118 | + let _: &BitSlice<RadiumU64, LocalBits> = bits![RadiumU64, LocalBits; 1; 100]; | ||
119 | + let _: &BitSlice<RadiumU64, Lsb0> = bits![RadiumU64, Lsb0; 1; 100]; | ||
120 | + let _: &BitSlice<RadiumU64, Msb0> = bits![RadiumU64, Msb0; 1; 100]; | ||
121 | } | ||
122 | } | ||
123 | |||
124 | @@ -346,50 +348,51 @@ fn compile_bitvec() { | ||
125 | bitvec![Cell<u64>, crate::order::Msb0; 1; 100]; | ||
126 | let _: BitVec<u64, Msb0> = bitvec![u64, crate::order::Msb0; 1; 100]; | ||
127 | } | ||
128 | - radium::if_atomic! { | ||
129 | - if atomic(8) { | ||
130 | - let _: BitVec<AtomicU8, LocalBits> =bitvec![AtomicU8, LocalBits; 0, 1]; | ||
131 | - let _: BitVec<AtomicU8, Lsb0> =bitvec![AtomicU8, Lsb0; 0, 1]; | ||
132 | - let _: BitVec<AtomicU8, Msb0> =bitvec![AtomicU8, Msb0; 0, 1]; | ||
133 | - let _: BitVec<RadiumU8, LocalBits> =bitvec![RadiumU8, LocalBits; 1; 100]; | ||
134 | - let _: BitVec<RadiumU8, Lsb0> =bitvec![RadiumU8, Lsb0; 1; 100]; | ||
135 | - let _: BitVec<RadiumU8, Msb0> =bitvec![RadiumU8, Msb0; 1; 100]; | ||
136 | - } | ||
137 | - if atomic(16) { | ||
138 | - let _: BitVec<AtomicU16, LocalBits> =bitvec![AtomicU16, LocalBits; 0, 1]; | ||
139 | - let _: BitVec<AtomicU16, Lsb0> =bitvec![AtomicU16, Lsb0; 0, 1]; | ||
140 | - let _: BitVec<AtomicU16, Msb0> =bitvec![AtomicU16, Msb0; 0, 1]; | ||
141 | - let _: BitVec<RadiumU16, LocalBits> =bitvec![RadiumU16, LocalBits; 1; 100]; | ||
142 | - let _: BitVec<RadiumU16, Lsb0> =bitvec![RadiumU16, Lsb0; 1; 100]; | ||
143 | - let _: BitVec<RadiumU16, Msb0> =bitvec![RadiumU16, Msb0; 1; 100]; | ||
144 | - } | ||
145 | - if atomic(32) { | ||
146 | - let _: BitVec<AtomicU32, LocalBits> =bitvec![AtomicU32, LocalBits; 0, 1]; | ||
147 | - let _: BitVec<AtomicU32, Lsb0> =bitvec![AtomicU32, Lsb0; 0, 1]; | ||
148 | - let _: BitVec<AtomicU32, Msb0> =bitvec![AtomicU32, Msb0; 0, 1]; | ||
149 | - let _: BitVec<RadiumU32, LocalBits> =bitvec![RadiumU32, LocalBits; 1; 100]; | ||
150 | - let _: BitVec<RadiumU32, Lsb0> =bitvec![RadiumU32, Lsb0; 1; 100]; | ||
151 | - let _: BitVec<RadiumU32, Msb0> =bitvec![RadiumU32, Msb0; 1; 100]; | ||
152 | - } | ||
153 | - if atomic(size) { | ||
154 | - let _: BitVec<AtomicUsize, LocalBits> =bitvec![AtomicUsize, LocalBits; 0, 1]; | ||
155 | - let _: BitVec<AtomicUsize, Lsb0> =bitvec![AtomicUsize, Lsb0; 0, 1]; | ||
156 | - let _: BitVec<AtomicUsize, Msb0> =bitvec![AtomicUsize, Msb0; 0, 1]; | ||
157 | - let _: BitVec<RadiumUsize, LocalBits> =bitvec![RadiumUsize, LocalBits; 1; 100]; | ||
158 | - let _: BitVec<RadiumUsize, Lsb0> =bitvec![RadiumUsize, Lsb0; 1; 100]; | ||
159 | - let _: BitVec<RadiumUsize, Msb0> =bitvec![RadiumUsize, Msb0; 1; 100]; | ||
160 | - } | ||
161 | + #[cfg(target_has_atomic = "8")] | ||
162 | + { | ||
163 | + let _: BitVec<AtomicU8, LocalBits> =bitvec![AtomicU8, LocalBits; 0, 1]; | ||
164 | + let _: BitVec<AtomicU8, Lsb0> =bitvec![AtomicU8, Lsb0; 0, 1]; | ||
165 | + let _: BitVec<AtomicU8, Msb0> =bitvec![AtomicU8, Msb0; 0, 1]; | ||
166 | + let _: BitVec<RadiumU8, LocalBits> =bitvec![RadiumU8, LocalBits; 1; 100]; | ||
167 | + let _: BitVec<RadiumU8, Lsb0> =bitvec![RadiumU8, Lsb0; 1; 100]; | ||
168 | + let _: BitVec<RadiumU8, Msb0> =bitvec![RadiumU8, Msb0; 1; 100]; | ||
169 | + } | ||
170 | + #[cfg(target_has_atomic = "16")] | ||
171 | + { | ||
172 | + let _: BitVec<AtomicU16, LocalBits> =bitvec![AtomicU16, LocalBits; 0, 1]; | ||
173 | + let _: BitVec<AtomicU16, Lsb0> =bitvec![AtomicU16, Lsb0; 0, 1]; | ||
174 | + let _: BitVec<AtomicU16, Msb0> =bitvec![AtomicU16, Msb0; 0, 1]; | ||
175 | + let _: BitVec<RadiumU16, LocalBits> =bitvec![RadiumU16, LocalBits; 1; 100]; | ||
176 | + let _: BitVec<RadiumU16, Lsb0> =bitvec![RadiumU16, Lsb0; 1; 100]; | ||
177 | + let _: BitVec<RadiumU16, Msb0> =bitvec![RadiumU16, Msb0; 1; 100]; | ||
178 | + } | ||
179 | + #[cfg(target_has_atomic = "32")] | ||
180 | + { | ||
181 | + let _: BitVec<AtomicU32, LocalBits> =bitvec![AtomicU32, LocalBits; 0, 1]; | ||
182 | + let _: BitVec<AtomicU32, Lsb0> =bitvec![AtomicU32, Lsb0; 0, 1]; | ||
183 | + let _: BitVec<AtomicU32, Msb0> =bitvec![AtomicU32, Msb0; 0, 1]; | ||
184 | + let _: BitVec<RadiumU32, LocalBits> =bitvec![RadiumU32, LocalBits; 1; 100]; | ||
185 | + let _: BitVec<RadiumU32, Lsb0> =bitvec![RadiumU32, Lsb0; 1; 100]; | ||
186 | + let _: BitVec<RadiumU32, Msb0> =bitvec![RadiumU32, Msb0; 1; 100]; | ||
187 | + } | ||
188 | + #[cfg(target_has_atomic = "ptr")] | ||
189 | + { | ||
190 | + let _: BitVec<AtomicUsize, LocalBits> =bitvec![AtomicUsize, LocalBits; 0, 1]; | ||
191 | + let _: BitVec<AtomicUsize, Lsb0> =bitvec![AtomicUsize, Lsb0; 0, 1]; | ||
192 | + let _: BitVec<AtomicUsize, Msb0> =bitvec![AtomicUsize, Msb0; 0, 1]; | ||
193 | + let _: BitVec<RadiumUsize, LocalBits> =bitvec![RadiumUsize, LocalBits; 1; 100]; | ||
194 | + let _: BitVec<RadiumUsize, Lsb0> =bitvec![RadiumUsize, Lsb0; 1; 100]; | ||
195 | + let _: BitVec<RadiumUsize, Msb0> =bitvec![RadiumUsize, Msb0; 1; 100]; | ||
196 | } | ||
197 | #[cfg(target_pointer_width = "64")] | ||
198 | - radium::if_atomic! { | ||
199 | - if atomic(64) { | ||
200 | - let _: BitVec<AtomicU64, LocalBits> =bitvec![AtomicU64, LocalBits; 0, 1]; | ||
201 | - let _: BitVec<AtomicU64, Lsb0> =bitvec![AtomicU64, Lsb0; 0, 1]; | ||
202 | - let _: BitVec<AtomicU64, Msb0> =bitvec![AtomicU64, Msb0; 0, 1]; | ||
203 | - let _: BitVec<RadiumU64, LocalBits> =bitvec![RadiumU64, LocalBits; 1; 100]; | ||
204 | - let _: BitVec<RadiumU64, Lsb0> =bitvec![RadiumU64, Lsb0; 1; 100]; | ||
205 | - let _: BitVec<RadiumU64, Msb0> =bitvec![RadiumU64, Msb0; 1; 100]; | ||
206 | - } | ||
207 | + #[cfg(target_has_atomic = "64")] | ||
208 | + { | ||
209 | + let _: BitVec<AtomicU64, LocalBits> =bitvec![AtomicU64, LocalBits; 0, 1]; | ||
210 | + let _: BitVec<AtomicU64, Lsb0> =bitvec![AtomicU64, Lsb0; 0, 1]; | ||
211 | + let _: BitVec<AtomicU64, Msb0> =bitvec![AtomicU64, Msb0; 0, 1]; | ||
212 | + let _: BitVec<RadiumU64, LocalBits> =bitvec![RadiumU64, LocalBits; 1; 100]; | ||
213 | + let _: BitVec<RadiumU64, Lsb0> =bitvec![RadiumU64, Lsb0; 1; 100]; | ||
214 | + let _: BitVec<RadiumU64, Msb0> =bitvec![RadiumU64, Msb0; 1; 100]; | ||
215 | } | ||
216 | } | ||
217 | |||
218 | @@ -461,50 +464,51 @@ fn compile_bitbox() { | ||
219 | bitbox![Cell<u64>, crate::order::Msb0; 1; 100]; | ||
220 | let _: BitBox<u64, Msb0> = bitbox![u64, crate::order::Msb0; 1; 100]; | ||
221 | } | ||
222 | - radium::if_atomic! { | ||
223 | - if atomic(8) { | ||
224 | - let _: BitBox<AtomicU8, LocalBits> =bitbox![AtomicU8, LocalBits; 0, 1]; | ||
225 | - let _: BitBox<AtomicU8, Lsb0> =bitbox![AtomicU8, Lsb0; 0, 1]; | ||
226 | - let _: BitBox<AtomicU8, Msb0> =bitbox![AtomicU8, Msb0; 0, 1]; | ||
227 | - let _: BitBox<RadiumU8, LocalBits> =bitbox![RadiumU8, LocalBits; 1; 100]; | ||
228 | - let _: BitBox<RadiumU8, Lsb0> =bitbox![RadiumU8, Lsb0; 1; 100]; | ||
229 | - let _: BitBox<RadiumU8, Msb0> =bitbox![RadiumU8, Msb0; 1; 100]; | ||
230 | - } | ||
231 | - if atomic(16) { | ||
232 | - let _: BitBox<AtomicU16, LocalBits> =bitbox![AtomicU16, LocalBits; 0, 1]; | ||
233 | - let _: BitBox<AtomicU16, Lsb0> =bitbox![AtomicU16, Lsb0; 0, 1]; | ||
234 | - let _: BitBox<AtomicU16, Msb0> =bitbox![AtomicU16, Msb0; 0, 1]; | ||
235 | - let _: BitBox<RadiumU16, LocalBits> =bitbox![RadiumU16, LocalBits; 1; 100]; | ||
236 | - let _: BitBox<RadiumU16, Lsb0> =bitbox![RadiumU16, Lsb0; 1; 100]; | ||
237 | - let _: BitBox<RadiumU16, Msb0> =bitbox![RadiumU16, Msb0; 1; 100]; | ||
238 | - } | ||
239 | - if atomic(32) { | ||
240 | - let _: BitBox<AtomicU32, LocalBits> =bitbox![AtomicU32, LocalBits; 0, 1]; | ||
241 | - let _: BitBox<AtomicU32, Lsb0> =bitbox![AtomicU32, Lsb0; 0, 1]; | ||
242 | - let _: BitBox<AtomicU32, Msb0> =bitbox![AtomicU32, Msb0; 0, 1]; | ||
243 | - let _: BitBox<RadiumU32, LocalBits> =bitbox![RadiumU32, LocalBits; 1; 100]; | ||
244 | - let _: BitBox<RadiumU32, Lsb0> =bitbox![RadiumU32, Lsb0; 1; 100]; | ||
245 | - let _: BitBox<RadiumU32, Msb0> =bitbox![RadiumU32, Msb0; 1; 100]; | ||
246 | - } | ||
247 | - if atomic(size) { | ||
248 | - let _: BitBox<AtomicUsize, LocalBits> =bitbox![AtomicUsize, LocalBits; 0, 1]; | ||
249 | - let _: BitBox<AtomicUsize, Lsb0> =bitbox![AtomicUsize, Lsb0; 0, 1]; | ||
250 | - let _: BitBox<AtomicUsize, Msb0> =bitbox![AtomicUsize, Msb0; 0, 1]; | ||
251 | - let _: BitBox<RadiumUsize, LocalBits> =bitbox![RadiumUsize, LocalBits; 1; 100]; | ||
252 | - let _: BitBox<RadiumUsize, Lsb0> =bitbox![RadiumUsize, Lsb0; 1; 100]; | ||
253 | - let _: BitBox<RadiumUsize, Msb0> =bitbox![RadiumUsize, Msb0; 1; 100]; | ||
254 | - } | ||
255 | + #[cfg(target_has_atomic = "8")] | ||
256 | + { | ||
257 | + let _: BitBox<AtomicU8, LocalBits> =bitbox![AtomicU8, LocalBits; 0, 1]; | ||
258 | + let _: BitBox<AtomicU8, Lsb0> =bitbox![AtomicU8, Lsb0; 0, 1]; | ||
259 | + let _: BitBox<AtomicU8, Msb0> =bitbox![AtomicU8, Msb0; 0, 1]; | ||
260 | + let _: BitBox<RadiumU8, LocalBits> =bitbox![RadiumU8, LocalBits; 1; 100]; | ||
261 | + let _: BitBox<RadiumU8, Lsb0> =bitbox![RadiumU8, Lsb0; 1; 100]; | ||
262 | + let _: BitBox<RadiumU8, Msb0> =bitbox![RadiumU8, Msb0; 1; 100]; | ||
263 | + } | ||
264 | + #[cfg(target_has_atomic = "16")] | ||
265 | + { | ||
266 | + let _: BitBox<AtomicU16, LocalBits> =bitbox![AtomicU16, LocalBits; 0, 1]; | ||
267 | + let _: BitBox<AtomicU16, Lsb0> =bitbox![AtomicU16, Lsb0; 0, 1]; | ||
268 | + let _: BitBox<AtomicU16, Msb0> =bitbox![AtomicU16, Msb0; 0, 1]; | ||
269 | + let _: BitBox<RadiumU16, LocalBits> =bitbox![RadiumU16, LocalBits; 1; 100]; | ||
270 | + let _: BitBox<RadiumU16, Lsb0> =bitbox![RadiumU16, Lsb0; 1; 100]; | ||
271 | + let _: BitBox<RadiumU16, Msb0> =bitbox![RadiumU16, Msb0; 1; 100]; | ||
272 | + } | ||
273 | + #[cfg(target_has_atomic = "32")] | ||
274 | + { | ||
275 | + let _: BitBox<AtomicU32, LocalBits> =bitbox![AtomicU32, LocalBits; 0, 1]; | ||
276 | + let _: BitBox<AtomicU32, Lsb0> =bitbox![AtomicU32, Lsb0; 0, 1]; | ||
277 | + let _: BitBox<AtomicU32, Msb0> =bitbox![AtomicU32, Msb0; 0, 1]; | ||
278 | + let _: BitBox<RadiumU32, LocalBits> =bitbox![RadiumU32, LocalBits; 1; 100]; | ||
279 | + let _: BitBox<RadiumU32, Lsb0> =bitbox![RadiumU32, Lsb0; 1; 100]; | ||
280 | + let _: BitBox<RadiumU32, Msb0> =bitbox![RadiumU32, Msb0; 1; 100]; | ||
281 | + } | ||
282 | + #[cfg(target_has_atomic = "ptr")] | ||
283 | + { | ||
284 | + let _: BitBox<AtomicUsize, LocalBits> =bitbox![AtomicUsize, LocalBits; 0, 1]; | ||
285 | + let _: BitBox<AtomicUsize, Lsb0> =bitbox![AtomicUsize, Lsb0; 0, 1]; | ||
286 | + let _: BitBox<AtomicUsize, Msb0> =bitbox![AtomicUsize, Msb0; 0, 1]; | ||
287 | + let _: BitBox<RadiumUsize, LocalBits> =bitbox![RadiumUsize, LocalBits; 1; 100]; | ||
288 | + let _: BitBox<RadiumUsize, Lsb0> =bitbox![RadiumUsize, Lsb0; 1; 100]; | ||
289 | + let _: BitBox<RadiumUsize, Msb0> =bitbox![RadiumUsize, Msb0; 1; 100]; | ||
290 | } | ||
291 | #[cfg(target_pointer_width = "64")] | ||
292 | - radium::if_atomic! { | ||
293 | - if atomic(64) { | ||
294 | - let _: BitBox<AtomicU64, LocalBits> =bitbox![AtomicU64, LocalBits; 0, 1]; | ||
295 | - let _: BitBox<AtomicU64, Lsb0> =bitbox![AtomicU64, Lsb0; 0, 1]; | ||
296 | - let _: BitBox<AtomicU64, Msb0> =bitbox![AtomicU64, Msb0; 0, 1]; | ||
297 | - let _: BitBox<RadiumU64, LocalBits> =bitbox![RadiumU64, LocalBits; 1; 100]; | ||
298 | - let _: BitBox<RadiumU64, Lsb0> =bitbox![RadiumU64, Lsb0; 1; 100]; | ||
299 | - let _: BitBox<RadiumU64, Msb0> =bitbox![RadiumU64, Msb0; 1; 100]; | ||
300 | - } | ||
301 | + #[cfg(target_has_atomic = "64")] | ||
302 | + { | ||
303 | + let _: BitBox<AtomicU64, LocalBits> =bitbox![AtomicU64, LocalBits; 0, 1]; | ||
304 | + let _: BitBox<AtomicU64, Lsb0> =bitbox![AtomicU64, Lsb0; 0, 1]; | ||
305 | + let _: BitBox<AtomicU64, Msb0> =bitbox![AtomicU64, Msb0; 0, 1]; | ||
306 | + let _: BitBox<RadiumU64, LocalBits> =bitbox![RadiumU64, LocalBits; 1; 100]; | ||
307 | + let _: BitBox<RadiumU64, Lsb0> =bitbox![RadiumU64, Lsb0; 1; 100]; | ||
308 | + let _: BitBox<RadiumU64, Msb0> =bitbox![RadiumU64, Msb0; 1; 100]; | ||
309 | } | ||
310 | } | ||
311 | |||
312 | --- a/src/mem.rs | ||
313 | +++ b/src/mem.rs | ||
314 | @@ -101,30 +101,30 @@ macro_rules! element { | ||
315 | } | ||
316 | } | ||
317 | |||
318 | - radium::if_atomic!( if atomic($size) { | ||
319 | - use core::sync::atomic::$atom; | ||
320 | - impl BitElement<$atom> { | ||
321 | - /// Creates a new element wrapper from a raw integer. | ||
322 | - pub const fn new(elem: $bare) -> Self { | ||
323 | - Self { | ||
324 | - elem: <$atom>::new(elem), | ||
325 | - } | ||
326 | + #[cfg(target_has_atomic = $size)] | ||
327 | + use core::sync::atomic::$atom; | ||
328 | + #[cfg(target_has_atomic = $size)] | ||
329 | + impl BitElement<$atom> { | ||
330 | + /// Creates a new element wrapper from a raw integer. | ||
331 | + pub const fn new(elem: $bare) -> Self { | ||
332 | + Self { | ||
333 | + elem: <$atom>::new(elem), | ||
334 | } | ||
335 | } | ||
336 | - }); | ||
337 | + } | ||
338 | )+ }; | ||
339 | } | ||
340 | |||
341 | element! { | ||
342 | - 8, u8 => AtomicU8; | ||
343 | - 16, u16 => AtomicU16; | ||
344 | - 32, u32 => AtomicU32; | ||
345 | + "8", u8 => AtomicU8; | ||
346 | + "16", u16 => AtomicU16; | ||
347 | + "32", u32 => AtomicU32; | ||
348 | } | ||
349 | |||
350 | #[cfg(target_pointer_width = "64")] | ||
351 | -element!(64, u64 => AtomicU64); | ||
352 | +element!("64", u64 => AtomicU64); | ||
353 | |||
354 | -element!(size, usize => AtomicUsize); | ||
355 | +element!("ptr", usize => AtomicUsize); | ||
356 | |||
357 | #[cfg(test)] | ||
358 | mod tests { | ||
359 | --- a/src/serdes.rs | ||
360 | +++ b/src/serdes.rs | ||
361 | @@ -112,36 +112,39 @@ mod tests { | ||
362 | Msb0 @ RadiumU8, RadiumU16, RadiumU32, RadiumUsize; | ||
363 | LocalBits @ RadiumU8, RadiumU16, RadiumU32, RadiumUsize; | ||
364 | } | ||
365 | - radium::if_atomic! { | ||
366 | - if atomic(8) { | ||
367 | - check_impl! { | ||
368 | - Lsb0 @ AtomicU8; | ||
369 | - Msb0 @ AtomicU8; | ||
370 | - LocalBits @ AtomicU8; | ||
371 | - } | ||
372 | + #[cfg(target_has_atomic = "8")] | ||
373 | + { | ||
374 | + check_impl! { | ||
375 | + Lsb0 @ AtomicU8; | ||
376 | + Msb0 @ AtomicU8; | ||
377 | + LocalBits @ AtomicU8; | ||
378 | } | ||
379 | - if atomic(16) { | ||
380 | - check_impl! { | ||
381 | - Lsb0 @ AtomicU16; | ||
382 | - Msb0 @ AtomicU16; | ||
383 | - LocalBits @ AtomicU16; | ||
384 | - } | ||
385 | + } | ||
386 | + #[cfg(target_has_atomic = "16")] | ||
387 | + { | ||
388 | + check_impl! { | ||
389 | + Lsb0 @ AtomicU16; | ||
390 | + Msb0 @ AtomicU16; | ||
391 | + LocalBits @ AtomicU16; | ||
392 | } | ||
393 | - if atomic(32) { | ||
394 | - check_impl! { | ||
395 | - Lsb0 @ AtomicU32; | ||
396 | - Msb0 @ AtomicU32; | ||
397 | - LocalBits @ AtomicU32; | ||
398 | - } | ||
399 | + } | ||
400 | + #[cfg(target_has_atomic = "32")] | ||
401 | + { | ||
402 | + check_impl! { | ||
403 | + Lsb0 @ AtomicU32; | ||
404 | + Msb0 @ AtomicU32; | ||
405 | + LocalBits @ AtomicU32; | ||
406 | } | ||
407 | - if atomic(ptr) { | ||
408 | - check_impl! { | ||
409 | - Lsb0 @ AtomicUsize; | ||
410 | - Msb0 @ AtomicUsize; | ||
411 | - LocalBits @ AtomicUsize; | ||
412 | - } | ||
413 | + } | ||
414 | + #[cfg(target_has_atomic = "ptr")] | ||
415 | + { | ||
416 | + check_impl! { | ||
417 | + Lsb0 @ AtomicUsize; | ||
418 | + Msb0 @ AtomicUsize; | ||
419 | + LocalBits @ AtomicUsize; | ||
420 | } | ||
421 | } | ||
422 | + | ||
423 | #[cfg(target_pointer_width = "64")] | ||
424 | check_impl! { | ||
425 | Lsb0 @ u64, RadiumU64; | ||
426 | @@ -149,12 +152,13 @@ mod tests { | ||
427 | LocalBits @ u64, RadiumU64; | ||
428 | } | ||
429 | #[cfg(target_pointer_width = "64")] | ||
430 | - radium::if_atomic!(if atomic(64) { | ||
431 | + #[cfg(target_has_atomic = "64")] | ||
432 | + { | ||
433 | check_impl! { | ||
434 | Lsb0 @ AtomicU64; | ||
435 | Msb0 @ AtomicU64; | ||
436 | LocalBits @ AtomicU64; | ||
437 | } | ||
438 | - }); | ||
439 | + } | ||
440 | } | ||
441 | } | ||
442 | --- a/src/store.rs | ||
443 | +++ b/src/store.rs | ||
444 | @@ -199,49 +199,49 @@ store!(usize => BitSafeUsize); | ||
445 | /// Generates `BitStore` implementations for atomic types. | ||
446 | macro_rules! atomic { | ||
447 | ($($size:tt, $base:ty => $atom:ident);+ $(;)?) => { $( | ||
448 | - radium::if_atomic!(if atomic($size) { | ||
449 | - use core::sync::atomic::$atom; | ||
450 | + #[cfg(target_has_atomic = $size)] | ||
451 | + use core::sync::atomic::$atom; | ||
452 | |||
453 | - impl BitStore for $atom { | ||
454 | - type Mem = $base; | ||
455 | - type Access = Self; | ||
456 | - type Alias = Self; | ||
457 | - type Unalias = Self; | ||
458 | - | ||
459 | - const ZERO: Self = <Self>::new(0); | ||
460 | - | ||
461 | - #[inline] | ||
462 | - fn new(value: Self::Mem) -> Self { <Self>::new(value) } | ||
463 | - | ||
464 | - #[inline] | ||
465 | - fn load_value(&self) -> Self::Mem { | ||
466 | - self.load(core::sync::atomic::Ordering::Relaxed) | ||
467 | - } | ||
468 | - | ||
469 | - #[inline] | ||
470 | - fn store_value(&mut self, value: Self::Mem) { | ||
471 | - *self = Self::new(value); | ||
472 | - } | ||
473 | - | ||
474 | - const ALIGNED_TO_SIZE: [(); 1] | ||
475 | - = [(); mem::aligned_to_size::<Self>() as usize]; | ||
476 | + #[cfg(target_has_atomic = $size)] | ||
477 | + impl BitStore for $atom { | ||
478 | + type Mem = $base; | ||
479 | + type Access = Self; | ||
480 | + type Alias = Self; | ||
481 | + type Unalias = Self; | ||
482 | + | ||
483 | + const ZERO: Self = <Self>::new(0); | ||
484 | + | ||
485 | + #[inline] | ||
486 | + fn new(value: Self::Mem) -> Self { <Self>::new(value) } | ||
487 | + | ||
488 | + #[inline] | ||
489 | + fn load_value(&self) -> Self::Mem { | ||
490 | + self.load(core::sync::atomic::Ordering::Relaxed) | ||
491 | + } | ||
492 | |||
493 | - const ALIAS_WIDTH: [(); 1] = [()]; | ||
494 | + #[inline] | ||
495 | + fn store_value(&mut self, value: Self::Mem) { | ||
496 | + *self = Self::new(value); | ||
497 | } | ||
498 | - }); | ||
499 | + | ||
500 | + const ALIGNED_TO_SIZE: [(); 1] | ||
501 | + = [(); mem::aligned_to_size::<Self>() as usize]; | ||
502 | + | ||
503 | + const ALIAS_WIDTH: [(); 1] = [()]; | ||
504 | + } | ||
505 | )+ }; | ||
506 | } | ||
507 | |||
508 | atomic! { | ||
509 | - 8, u8 => AtomicU8; | ||
510 | - 16, u16 => AtomicU16; | ||
511 | - 32, u32 => AtomicU32; | ||
512 | + "8", u8 => AtomicU8; | ||
513 | + "16", u16 => AtomicU16; | ||
514 | + "32", u32 => AtomicU32; | ||
515 | } | ||
516 | |||
517 | #[cfg(target_pointer_width = "64")] | ||
518 | -atomic!(64, u64 => AtomicU64); | ||
519 | +atomic!("64", u64 => AtomicU64); | ||
520 | |||
521 | -atomic!(size, usize => AtomicUsize); | ||
522 | +atomic!("ptr", usize => AtomicUsize); | ||
523 | |||
524 | #[cfg(test)] | ||
525 | mod tests { | ||
526 | @@ -265,11 +265,12 @@ mod tests { | ||
527 | cell.store_value(39); | ||
528 | assert_eq!(cell.load_value(), 39); | ||
529 | |||
530 | - radium::if_atomic!(if atomic(size) { | ||
531 | + #[cfg(target_has_atomic = "ptr")] | ||
532 | + { | ||
533 | let mut atom = AtomicUsize::new(0); | ||
534 | atom.store_value(57); | ||
535 | assert_eq!(atom.load_value(), 57); | ||
536 | - }); | ||
537 | + } | ||
538 | } | ||
539 | |||
540 | /// Unaliased `BitSlice`s are universally threadsafe, because they satisfy | ||
diff --git a/meta-python/recipes-devtools/python/python3-pydantic-core/0001-cargo.toml-Update-bitvec-to-use-radium-1.x.patch b/meta-python/recipes-devtools/python/python3-pydantic-core/0001-cargo.toml-Update-bitvec-to-use-radium-1.x.patch new file mode 100644 index 0000000000..4f2012e8a2 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pydantic-core/0001-cargo.toml-Update-bitvec-to-use-radium-1.x.patch | |||
@@ -0,0 +1,59 @@ | |||
1 | From 560c73cffabc1c2e66552d7c248c0928211d3dea Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 19 Apr 2025 00:09:42 -0700 | ||
4 | Subject: [PATCH] cargo.toml: Update bitvec to use radium 1.x | ||
5 | |||
6 | Upstream-Status: Submitted [https://github.com/ferrilab/bitvec/pull/220] | ||
7 | |||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | --- | ||
10 | Cargo.lock | 25 +++++++++++++++++++++++-- | ||
11 | Cargo.toml | 1 + | ||
12 | 2 files changed, 24 insertions(+), 2 deletions(-) | ||
13 | |||
14 | --- a/Cargo.toml | ||
15 | +++ b/Cargo.toml | ||
16 | @@ -27,6 +27,8 @@ include = [ | ||
17 | rust-version = "1.75" | ||
18 | |||
19 | [dependencies] | ||
20 | +#bitvec = { git = "https://github.com/alexanderkjall/bitvec", branch = "upgrade-radium-to-1" } | ||
21 | +radium = "1" | ||
22 | # TODO it would be very nice to remove the "py-clone" feature as it can panic, | ||
23 | # but needs a bit of work to make sure it's not used in the codebase | ||
24 | pyo3 = { version = "0.24", features = ["generate-import-lib", "num-bigint", "py-clone"] } | ||
25 | --- a/Cargo.lock | ||
26 | +++ b/Cargo.lock | ||
27 | @@ -43,7 +43,7 @@ source = "registry+https://github.com/ru | ||
28 | checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" | ||
29 | dependencies = [ | ||
30 | "funty", | ||
31 | - "radium", | ||
32 | + "radium 1.1.0", | ||
33 | "tap", | ||
34 | "wyz", | ||
35 | ] | ||
36 | @@ -436,6 +436,7 @@ dependencies = [ | ||
37 | "num-traits", | ||
38 | "pyo3", | ||
39 | "pyo3-build-config", | ||
40 | + "radium 1.1.0", | ||
41 | "regex", | ||
42 | "serde", | ||
43 | "serde_json", | ||
44 | @@ -538,6 +539,15 @@ source = "registry+https://github.com/ru | ||
45 | checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" | ||
46 | |||
47 | [[package]] | ||
48 | +name = "radium" | ||
49 | +version = "1.1.0" | ||
50 | +source = "registry+https://github.com/rust-lang/crates.io-index" | ||
51 | +checksum = "db0b76288902db304c864a12046b73d2d895cc34a4bb8137baaeebe9978a072c" | ||
52 | +dependencies = [ | ||
53 | + "cfg-if", | ||
54 | +] | ||
55 | + | ||
56 | +[[package]] | ||
57 | name = "regex" | ||
58 | version = "1.11.1" | ||
59 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
diff --git a/meta-python/recipes-devtools/python/python3-pydantic-core/run-ptest b/meta-python/recipes-devtools/python/python3-pydantic-core/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-pydantic-core/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-pydantic-core_2.16.3.bb b/meta-python/recipes-devtools/python/python3-pydantic-core_2.34.1.bb index c5ce1ff110..0e2d065128 100644 --- a/meta-python/recipes-devtools/python/python3-pydantic-core_2.16.3.bb +++ b/meta-python/recipes-devtools/python/python3-pydantic-core_2.34.1.bb | |||
@@ -8,35 +8,43 @@ HOMEPAGE = "https://github.com/pydantic/pydantic-core" | |||
8 | LICENSE = "MIT" | 8 | LICENSE = "MIT" |
9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ab599c188b4a314d2856b3a55030c75c" | 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ab599c188b4a314d2856b3a55030c75c" |
10 | 10 | ||
11 | SRC_URI += "file://0001-Bumps-pyo3-https-github.com-pyo3-pyo3-from-0.20.2-to.patch \ | 11 | require ${BPN}-crates.inc |
12 | file://0001-Fix-generate_self_schema-for-Python-3.12-1299.patch" | ||
13 | SRC_URI[sha256sum] = "1cac689f80a3abab2d3c0048b29eea5751114054f032a941a32de4c852c59cad" | ||
14 | 12 | ||
15 | DEPENDS = "python3-maturin-native python3-typing-extensions" | 13 | SRC_URI += "file://0001-Upgrade-radium-to-1.0.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/bitvec-1.0.1/" |
14 | SRC_URI += "file://0001-cargo.toml-Update-bitvec-to-use-radium-1.x.patch" | ||
15 | SRC_URI[sha256sum] = "6bf31628ab6d0e7c7c0372419898c52ef0a447b33ab47c7f62053bd013cc5b09" | ||
16 | 16 | ||
17 | require ${BPN}-crates.inc | 17 | DEPENDS = "python3-maturin-native python3-typing-extensions" |
18 | 18 | ||
19 | inherit pypi cargo-update-recipe-crates python_maturin | 19 | inherit pypi cargo-update-recipe-crates python_maturin ptest-python-pytest |
20 | 20 | ||
21 | PYPI_PACKAGE = "pydantic_core" | 21 | PYPI_PACKAGE = "pydantic_core" |
22 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
22 | 23 | ||
23 | RDEPENDS:${PN} += "python3-typing-extensions" | 24 | RDEPENDS:${PN} += " \ |
25 | python3-compression \ | ||
26 | python3-typing-extensions \ | ||
27 | " | ||
24 | 28 | ||
25 | INSANE_SKIP:${PN} = "already-stripped" | 29 | INSANE_SKIP:${PN} = "already-stripped" |
26 | 30 | ||
27 | inherit ptest | 31 | # python3-misc is for Lib/timeit.py which is not split out elsewhere |
28 | SRC_URI += "file://run-ptest" | ||
29 | RDEPENDS:${PN}-ptest += "\ | 32 | RDEPENDS:${PN}-ptest += "\ |
33 | python3-dateutil \ | ||
30 | python3-dirty-equals \ | 34 | python3-dirty-equals \ |
31 | python3-hypothesis \ | 35 | python3-hypothesis \ |
32 | python3-pytest \ | 36 | python3-inline-snapshot \ |
37 | python3-misc \ | ||
33 | python3-pytest-mock \ | 38 | python3-pytest-mock \ |
34 | python3-pytest-timeout \ | 39 | python3-pytest-timeout \ |
35 | python3-pytest-benchmark \ | 40 | python3-pytest-benchmark \ |
36 | python3-unittest-automake-output \ | 41 | python3-tzdata \ |
42 | python3-zoneinfo \ | ||
37 | " | 43 | " |
38 | 44 | ||
39 | do_install_ptest() { | 45 | do_install_ptest:append () { |
40 | cp -rf ${S}/tests/ ${D}${PTEST_PATH}/ | 46 | cp -rf ${S}/tests/ ${D}${PTEST_PATH}/ |
41 | sed -i -e "/--automake/ s/$/ -k 'not test_model_class_root_validator_wrap and not test_model_class_root_validator_before and not test_model_class_root_validator_after'/" ${D}${PTEST_PATH}/run-ptest | 47 | sed -i -e "/--automake/ s/$/ -k 'not test_model_class_root_validator_wrap and not test_model_class_root_validator_before and not test_model_class_root_validator_after'/" ${D}${PTEST_PATH}/run-ptest |
42 | } | 48 | } |
49 | |||
50 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-pydantic/run-ptest b/meta-python/recipes-devtools/python/python3-pydantic/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-pydantic/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-pydantic_2.7.3.bb b/meta-python/recipes-devtools/python/python3-pydantic_2.11.3.bb index 423fe76733..47c077853a 100644 --- a/meta-python/recipes-devtools/python/python3-pydantic_2.7.3.bb +++ b/meta-python/recipes-devtools/python/python3-pydantic_2.11.3.bb | |||
@@ -9,12 +9,17 @@ HOMEPAGE = "https://github.com/samuelcolvin/pydantic" | |||
9 | LICENSE = "MIT" | 9 | LICENSE = "MIT" |
10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6" | 10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6" |
11 | 11 | ||
12 | inherit pypi python_hatchling | 12 | inherit python_hatchling ptest-python-pytest |
13 | |||
14 | SRCREV = "bce81efdeac1cbefd0196b478a32aa2586bd595a" | ||
15 | PV .= "+git" | ||
16 | SRC_URI = "git://github.com/pydantic/pydantic;protocol=https;branch=main" | ||
13 | 17 | ||
14 | SRC_URI[sha256sum] = "c46c76a40bb1296728d7a8b99aa73dd70a48c3510111ff290034f860c99c419e" | ||
15 | 18 | ||
16 | DEPENDS += "python3-hatch-fancy-pypi-readme-native" | 19 | DEPENDS += "python3-hatch-fancy-pypi-readme-native" |
17 | 20 | ||
21 | RECIPE_NO_UPDATE_REASON = "Must be updated in sync with python3-pydantic-core." | ||
22 | |||
18 | RDEPENDS:${PN} += "\ | 23 | RDEPENDS:${PN} += "\ |
19 | python3-annotated-types \ | 24 | python3-annotated-types \ |
20 | python3-core \ | 25 | python3-core \ |
@@ -22,25 +27,40 @@ RDEPENDS:${PN} += "\ | |||
22 | python3-image \ | 27 | python3-image \ |
23 | python3-io \ | 28 | python3-io \ |
24 | python3-json \ | 29 | python3-json \ |
30 | python3-jsonschema \ | ||
25 | python3-logging \ | 31 | python3-logging \ |
26 | python3-netclient \ | 32 | python3-netclient \ |
27 | python3-numbers \ | 33 | python3-numbers \ |
28 | python3-profile \ | 34 | python3-profile \ |
29 | python3-pydantic-core \ | 35 | python3-pydantic-core \ |
30 | python3-typing-extensions \ | 36 | python3-typing-extensions \ |
37 | python3-typing-inspection \ | ||
38 | python3-tzdata \ | ||
39 | python3-zoneinfo \ | ||
31 | " | 40 | " |
32 | 41 | ||
33 | inherit ptest | ||
34 | SRC_URI += "file://run-ptest" | ||
35 | RDEPENDS:${PN}-ptest += "\ | 42 | RDEPENDS:${PN}-ptest += "\ |
43 | python3-ansi2html \ | ||
44 | python3-coverage \ | ||
36 | python3-cloudpickle \ | 45 | python3-cloudpickle \ |
37 | python3-dirty-equals \ | 46 | python3-dirty-equals \ |
38 | python3-pytest \ | 47 | python3-email-validator \ |
48 | python3-fastjsonschema \ | ||
49 | python3-greenlet \ | ||
50 | python3-html \ | ||
51 | python3-hypothesis \ | ||
52 | python3-mypy \ | ||
53 | python3-packaging \ | ||
54 | python3-pydoc \ | ||
55 | python3-pytest-codspeed \ | ||
39 | python3-pytest-mock \ | 56 | python3-pytest-mock \ |
40 | python3-unittest-automake-output \ | 57 | python3-pytz \ |
58 | python3-rich \ | ||
59 | python3-sqlalchemy \ | ||
60 | python3-unixadmin \ | ||
41 | " | 61 | " |
42 | 62 | ||
43 | do_install_ptest() { | 63 | do_install_ptest:append() { |
44 | cp -rf ${S}/tests/ ${D}${PTEST_PATH}/ | 64 | cp -rf ${S}/tests/ ${D}${PTEST_PATH}/ |
45 | # Requires 'ruff' (python3-ruff) which we cannot build | 65 | # Requires 'ruff' (python3-ruff) which we cannot build |
46 | # until we have Rust 1.71+ in oe-core | 66 | # until we have Rust 1.71+ in oe-core |
@@ -49,5 +69,7 @@ do_install_ptest() { | |||
49 | rm -f ${D}${PTEST_PATH}/tests/test_mypy.py | 69 | rm -f ${D}${PTEST_PATH}/tests/test_mypy.py |
50 | # We are not trying to run benchmarks | 70 | # We are not trying to run benchmarks |
51 | rm -rf ${D}${PTEST_PATH}/tests/benchmarks | 71 | rm -rf ${D}${PTEST_PATH}/tests/benchmarks |
52 | sed -i -e "/--automake/ s/$/ -k 'not test_config_validation_error_cause and not test_dataclass_config_validate_default and not test_annotated_validator_nested and not test_use_bare and not test_use_no_fields and not test_validator_bad_fields_throws_configerror and not test_assert_raises_validation_error and not test_model_config_validate_default'/" ${D}${PTEST_PATH}/run-ptest | 72 | sed -i -e "/--automake/ s/$/ -k 'not test_config_validation_error_cause and not test_dataclass_config_validate_default and not test_annotated_validator_nested and not test_use_bare and not test_use_no_fields and not test_validator_bad_fields_throws_configerror and not test_assert_raises_validation_error and not test_model_config_validate_default and not test_readonly_qualifier_warning'/" ${D}${PTEST_PATH}/run-ptest |
53 | } | 73 | } |
74 | |||
75 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb b/meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb index 5754fd2adf..5a1934383e 100644 --- a/meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb +++ b/meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb | |||
@@ -14,13 +14,12 @@ SRC_URI = " \ | |||
14 | 14 | ||
15 | inherit ptest setuptools3 | 15 | inherit ptest setuptools3 |
16 | 16 | ||
17 | S = "${WORKDIR}/git" | ||
18 | 17 | ||
19 | RDEPENDS:${PN} = "python3-pygobject \ | 18 | RDEPENDS:${PN} = "python3-pygobject \ |
20 | python3-io \ | 19 | python3-io \ |
21 | python3-logging" | 20 | python3-logging" |
22 | 21 | ||
23 | RDEPENDS:${PN}-ptest += "bash" | 22 | RDEPENDS:${PN}-ptest += "bash python3-xml" |
24 | 23 | ||
25 | do_install_ptest() { | 24 | do_install_ptest() { |
26 | install -d ${D}${PTEST_PATH}/tests | 25 | install -d ${D}${PTEST_PATH}/tests |
diff --git a/meta-python/recipes-devtools/python/python3-pyfanotify_0.2.2.bb b/meta-python/recipes-devtools/python/python3-pyfanotify_0.3.0.bb index 292ceab2e3..214e80635e 100644 --- a/meta-python/recipes-devtools/python/python3-pyfanotify_0.2.2.bb +++ b/meta-python/recipes-devtools/python/python3-pyfanotify_0.3.0.bb | |||
@@ -5,7 +5,7 @@ LICENSE = "MIT" | |||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=636a36c9df04efcfacf839b8866d9a37" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=636a36c9df04efcfacf839b8866d9a37" |
6 | 6 | ||
7 | SRC_URI += "file://0001-ext-define-FNM_EXTMATCH-if-not-already-defined.patch" | 7 | SRC_URI += "file://0001-ext-define-FNM_EXTMATCH-if-not-already-defined.patch" |
8 | SRC_URI[sha256sum] = "90219aa9f8b78fa732f24aa7b21c7bb6ac97a6eb47f1763c899b8194e23af1df" | 8 | SRC_URI[sha256sum] = "95ee17caec25436e10d59d5d45e28d2dc659819cc6de55f29fcbdcd5ee2fa8d3" |
9 | 9 | ||
10 | inherit pypi setuptools3 | 10 | inherit pypi setuptools3 |
11 | 11 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pyfirmata_1.1.0.bb b/meta-python/recipes-devtools/python/python3-pyfirmata_1.1.0.bb index 02ebeaad79..f57ea97fc5 100644 --- a/meta-python/recipes-devtools/python/python3-pyfirmata_1.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-pyfirmata_1.1.0.bb | |||
@@ -1,13 +1,14 @@ | |||
1 | SUMMARY = "A Python interface for the Firmata protocol" | 1 | SUMMARY = "A Python interface for the Firmata protocol" |
2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=84ddcef430b7c44caa22b2ff4b37a3df" | 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=84ddcef430b7c44caa22b2ff4b37a3df" |
4 | |||
4 | PYPI_PACKAGE = "pyFirmata" | 5 | PYPI_PACKAGE = "pyFirmata" |
6 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
5 | 7 | ||
6 | RDEPENDS:${PN} = "\ | 8 | RDEPENDS:${PN} = "\ |
7 | python3-pyserial \ | 9 | python3-pyserial \ |
8 | " | 10 | " |
9 | 11 | ||
10 | SRC_URI[md5sum] = "159673cfb56c72ceafc30fe91eedd847" | ||
11 | SRC_URI[sha256sum] = "cc180d1b30c85a2bbca62c15fef1b871db048cdcfa80959968356d97bd3ff08e" | 12 | SRC_URI[sha256sum] = "cc180d1b30c85a2bbca62c15fef1b871db048cdcfa80959968356d97bd3ff08e" |
12 | 13 | ||
13 | inherit pypi setuptools3 | 14 | inherit pypi setuptools3 |
diff --git a/meta-python/recipes-devtools/python/python3-pyflakes_3.2.0.bb b/meta-python/recipes-devtools/python/python3-pyflakes_3.4.0.bb index b7ee20ebe4..a946a008c2 100644 --- a/meta-python/recipes-devtools/python/python3-pyflakes_3.2.0.bb +++ b/meta-python/recipes-devtools/python/python3-pyflakes_3.4.0.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/PyCQA/pyflakes" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=690c2d09203dc9e07c4083fc45ea981f" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=690c2d09203dc9e07c4083fc45ea981f" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "1c61603ff154621fb2a9172037d84dca3500def8c8b630657d1701f026f8af3f" | 6 | SRC_URI[sha256sum] = "b24f96fafb7d2ab0ec5075b7350b3d2d2218eab42003821c06344973d3ea2f58" |
7 | 7 | ||
8 | inherit pypi setuptools3 | 8 | inherit pypi setuptools3 |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pyhamcrest_2.1.0.bb b/meta-python/recipes-devtools/python/python3-pyhamcrest_2.1.0.bb index dcc9ebfa93..9a804f7485 100644 --- a/meta-python/recipes-devtools/python/python3-pyhamcrest_2.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-pyhamcrest_2.1.0.bb | |||
@@ -9,9 +9,6 @@ inherit pypi python_hatchling | |||
9 | 9 | ||
10 | DEPENDS += "python3-hatch-vcs-native" | 10 | DEPENDS += "python3-hatch-vcs-native" |
11 | 11 | ||
12 | UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/PyHamcrest/" | ||
13 | UPSTREAM_CHECK_REGEX = "/PyHamcrest/(?P<pver>(\d+[\.\-_]*)+)" | ||
14 | |||
15 | RDEPENDS:${PN} += " \ | 12 | RDEPENDS:${PN} += " \ |
16 | python3-asyncio \ | 13 | python3-asyncio \ |
17 | python3-numbers \ | 14 | python3-numbers \ |
diff --git a/meta-python/recipes-devtools/python/python3-pyhsslms_2.0.0.bb b/meta-python/recipes-devtools/python/python3-pyhsslms_2.0.0.bb new file mode 100644 index 0000000000..58f571be3f --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyhsslms_2.0.0.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | SUMMARY = "Pure-Python implementation of HSS/LMS Digital Signatures (RFC 8554)" | ||
2 | HOMEPAGE = "https://pypi.org/project/pyhsslms" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=bbc59ef8bf238c2902ca816b87b58571" | ||
5 | |||
6 | inherit python_setuptools_build_meta | ||
7 | |||
8 | # Maintainer refused to upload source to pypi.org, but said he would in a | ||
9 | # future release. In the meantime, do github | ||
10 | SRC_URI = "git:///github.com/russhousley/pyhsslms.git;branch=master;protocol=https" | ||
11 | SRCREV = "c798728deed6d3f681c9e6bfd7fe8a6705f5638b" | ||
12 | |||
13 | |||
14 | RDEPENDS:${PN} += " \ | ||
15 | python3-core \ | ||
16 | python3-crypt \ | ||
17 | python3-netclient \ | ||
18 | " | ||
19 | |||
20 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-pyjks_20.0.0.bb b/meta-python/recipes-devtools/python/python3-pyjks_20.0.0.bb index c0cca98ff6..0b8dde4b0e 100644 --- a/meta-python/recipes-devtools/python/python3-pyjks_20.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-pyjks_20.0.0.bb | |||
@@ -2,11 +2,10 @@ SUMMARY = "Pure-Python Java Keystore (JKS) library" | |||
2 | DESCRIPTION = "PyJKS enables Python projects to load and manipulate\ | 2 | DESCRIPTION = "PyJKS enables Python projects to load and manipulate\ |
3 | Java KeyStore (JKS) data without a JVM dependency. PyJKS supports JKS,\ | 3 | Java KeyStore (JKS) data without a JVM dependency. PyJKS supports JKS,\ |
4 | JCEKS, BKS and UBER (BouncyCastle) keystores." | 4 | JCEKS, BKS and UBER (BouncyCastle) keystores." |
5 | HOMEPAGE = "http://github.com/kurtbrose/pyjks" | 5 | HOMEPAGE = "https://github.com/kurtbrose/pyjks" |
6 | LICENSE = "MIT" | 6 | LICENSE = "MIT" |
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=9694d6cc724caf7f7386be88a4a81958" | 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=9694d6cc724caf7f7386be88a4a81958" |
8 | 8 | ||
9 | SRC_URI[md5sum] = "1a6bce95484f1f62f8ff59755972c632" | ||
10 | SRC_URI[sha256sum] = "0378cec15fb11b2ed27ba54dad9fd987d48e6f62f49fcff138f5f7a8b312b044" | 9 | SRC_URI[sha256sum] = "0378cec15fb11b2ed27ba54dad9fd987d48e6f62f49fcff138f5f7a8b312b044" |
11 | 10 | ||
12 | inherit pypi setuptools3 | 11 | inherit pypi setuptools3 |
diff --git a/meta-python/recipes-devtools/python/python3-pyjwt_2.8.0.bb b/meta-python/recipes-devtools/python/python3-pyjwt_2.10.1.bb index 92a8f44c6b..d23347878e 100644 --- a/meta-python/recipes-devtools/python/python3-pyjwt_2.8.0.bb +++ b/meta-python/recipes-devtools/python/python3-pyjwt_2.10.1.bb | |||
@@ -1,18 +1,18 @@ | |||
1 | SUMMARY = "JSON Web Token implementation in Python" | 1 | SUMMARY = "JSON Web Token implementation in Python" |
2 | DESCRIPTION = "A Python implementation of JSON Web Token draft 32.\ | 2 | DESCRIPTION = "A Python implementation of JSON Web Token draft 32.\ |
3 | Original implementation was written by https://github.com/progrium" | 3 | Original implementation was written by https://github.com/progrium" |
4 | HOMEPAGE = "http://github.com/jpadilla/pyjwt" | 4 | HOMEPAGE = "https://github.com/jpadilla/pyjwt" |
5 | LICENSE = "MIT" | 5 | LICENSE = "MIT" |
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e4b56d2c9973d8cf54655555be06e551" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e4b56d2c9973d8cf54655555be06e551" |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "57e28d156e3d5c10088e0c68abb90bfac3df82b40a71bd0daa20c65ccd5c23de" | 8 | SRC_URI[sha256sum] = "3cc5772eb20009233caf06e9d8a0577824723b44e6648ee0a2aedb6cf9381953" |
9 | 9 | ||
10 | PYPI_PACKAGE = "PyJWT" | 10 | PYPI_PACKAGE = "pyjwt" |
11 | inherit pypi setuptools3 | 11 | inherit pypi python_setuptools_build_meta |
12 | 12 | ||
13 | RDEPENDS:${PN} = " \ | 13 | RDEPENDS:${PN} = "\ |
14 | python3-json \ | ||
15 | python3-cryptography \ | 14 | python3-cryptography \ |
15 | python3-json \ | ||
16 | " | 16 | " |
17 | 17 | ||
18 | BBCLASSEXTEND = "native nativesdk" | 18 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patch b/meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patch index 8edecbf1bd..769cd145e1 100644 --- a/meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patch +++ b/meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patch | |||
@@ -12,33 +12,31 @@ Signed-off-by: Dan McGregor <dan.mcgregor@vecima.com> | |||
12 | tests/functional/w/wrong_import_order.txt | 22 +++++++++++----------- | 12 | tests/functional/w/wrong_import_order.txt | 22 +++++++++++----------- |
13 | 1 file changed, 11 insertions(+), 11 deletions(-) | 13 | 1 file changed, 11 insertions(+), 11 deletions(-) |
14 | 14 | ||
15 | diff --git a/tests/functional/w/wrong_import_order.txt b/tests/functional/w/wrong_import_order.txt | ||
16 | index 068d2140d..9594ff9e0 100644 | ||
17 | --- a/tests/functional/w/wrong_import_order.txt | 15 | --- a/tests/functional/w/wrong_import_order.txt |
18 | +++ b/tests/functional/w/wrong_import_order.txt | 16 | +++ b/tests/functional/w/wrong_import_order.txt |
19 | @@ -3,14 +3,14 @@ wrong-import-order:14:0:14:10::"standard import ""sys"" should be placed before | 17 | @@ -3,14 +3,14 @@ wrong-import-order:14:0:14:10::"standard |
20 | wrong-import-order:15:0:15:15::"standard import ""datetime"" should be placed before third party imports ""six"", ""astroid.are_exclusive""":UNDEFINED | 18 | wrong-import-order:15:0:15:15::"standard import ""datetime"" should be placed before third party imports ""six"", ""astroid.are_exclusive""":UNDEFINED |
21 | wrong-import-order:18:0:18:22::"third party import ""totally_missing"" should be placed before local import ""package.Class""":UNDEFINED | 19 | wrong-import-order:18:0:18:22::"third party import ""totally_missing"" should be placed before local import ""package.Class""":UNDEFINED |
22 | wrong-import-order:20:0:20:14::"third party import ""astroid"" should be placed before local imports ""package.Class"", "".package""":UNDEFINED | 20 | wrong-import-order:20:0:20:14::"third party import ""astroid"" should be placed before local imports ""package.Class"", "".package""":UNDEFINED |
23 | -wrong-import-order:22:0:22:22::"first party import ""pylint.checkers"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED | 21 | -wrong-import-order:22:0:22:22::"first party import ""pylint.checkers"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED |
24 | -wrong-import-order:23:0:23:25::"first party import ""pylint.config"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED | 22 | -wrong-import-order:23:0:23:25::"first party import ""pylint.config"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED |
25 | -wrong-import-order:24:0:24:17::"first party import ""pylint.sys"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED | 23 | -wrong-import-order:24:0:24:17::"first party import ""pylint.sys"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED |
26 | -wrong-import-order:25:0:25:28::"first party import ""pylint.pyreverse"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED | 24 | -wrong-import-order:25:0:25:28::"first party import ""pylint.pyreverse"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED |
27 | -wrong-import-order:30:0:30:40::"third party import ""six.moves.urllib.parse.quote"" should be placed before first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"", ""pylint.pyreverse"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED | 25 | -wrong-import-order:30:0:30:40::"third party import ""six.moves.urllib.parse.quote"" should be placed before first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"", ""pylint.pyreverse"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED |
28 | -wrong-import-order:31:0:31:23::"first party import ""pylint.constants"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED | 26 | -wrong-import-order:31:0:31:23::"first party import ""pylint.constants"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED |
29 | -wrong-import-order:32:0:32:19::"standard import ""re"" should be placed before third party imports ""six"", ""astroid.are_exclusive"", ""unused_import"", ""totally_missing"", ""astroid"", ""six.moves.urllib.parse.quote"", first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"", ""pylint.pyreverse"", ""pylint.constants"", and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED | 27 | -wrong-import-order:32:0:32:19::"standard import ""re"" should be placed before third party imports ""six"", ""astroid.are_exclusive"", ""unused_import"", ""totally_missing"", ""astroid"", ""six.moves.urllib.parse.quote"", first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"", ""pylint.pyreverse"", ""pylint.constants"", and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED |
30 | -wrong-import-order:32:0:32:19::"third party import ""requests"" should be placed before first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"", ""pylint.pyreverse"", ""pylint.constants"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED | 28 | -wrong-import-order:32:0:32:19::"third party import ""requests"" should be placed before first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"", ""pylint.pyreverse"", ""pylint.constants"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED |
31 | -wrong-import-order:33:0:33:24::"first party import ""pylint.exceptions"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED | 29 | -wrong-import-order:33:0:33:24::"first party import ""pylint.exceptions"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED |
32 | -wrong-import-order:34:0:34:21::"first party import ""pylint.message"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED | 30 | -wrong-import-order:34:0:34:21::"first party import ""pylint.message"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED |
33 | -wrong-import-order:35:0:35:11::"standard import ""time"" should be placed before third party imports ""six"", ""astroid.are_exclusive"", ""unused_import"" (...) ""astroid"", ""six.moves.urllib.parse.quote"", ""requests"", first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"" (...) ""pylint.constants"", ""pylint.exceptions"", ""pylint.message"", and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED | 31 | -wrong-import-order:35:0:35:11::"standard import ""time"" should be placed before third party imports ""six"", ""astroid.are_exclusive"", ""unused_import"" (...) ""astroid"", ""six.moves.urllib.parse.quote"", ""requests"", first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"" (...) ""pylint.constants"", ""pylint.exceptions"", ""pylint.message"", and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED |
34 | +wrong-import-order:22:0:22:22::"third party import ""pylint.checkers"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED | 32 | +wrong-import-order:22:0:22:22::"third party import ""pylint.checkers"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED |
35 | +wrong-import-order:23:0:23:25::"third party import ""pylint.config"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED | 33 | +wrong-import-order:23:0:23:25::"third party import ""pylint.config"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED |
36 | +wrong-import-order:24:0:24:17::"third party import ""pylint.sys"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED | 34 | +wrong-import-order:24:0:24:17::"third party import ""pylint.sys"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED |
37 | +wrong-import-order:25:0:25:28::"third party import ""pylint.pyreverse"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED | 35 | +wrong-import-order:25:0:25:28::"third party import ""pylint.pyreverse"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED |
38 | +wrong-import-order:30:0:30:40::"third party import ""six.moves.urllib.parse.quote"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED | 36 | +wrong-import-order:30:0:30:40::"third party import ""six.moves.urllib.parse.quote"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED |
39 | +wrong-import-order:31:0:31:23::"third party import ""pylint.constants"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED | 37 | +wrong-import-order:31:0:31:23::"third party import ""pylint.constants"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED |
40 | +wrong-import-order:32:0:32:19::"standard import ""re"" should be placed before third party imports ""six"", ""astroid.are_exclusive"", ""unused_import"" (...) ""pylint.pyreverse"", ""six.moves.urllib.parse.quote"", ""pylint.constants"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED | 38 | +wrong-import-order:32:0:32:19::"standard import ""re"" should be placed before third party imports ""six"", ""astroid.are_exclusive"", ""unused_import"" (...) ""pylint.pyreverse"", ""six.moves.urllib.parse.quote"", ""pylint.constants"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED |
41 | +wrong-import-order:32:0:32:19::"third party import ""requests"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED | 39 | +wrong-import-order:32:0:32:19::"third party import ""requests"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED |
42 | +wrong-import-order:33:0:33:24::"third party import ""pylint.exceptions"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED | 40 | +wrong-import-order:33:0:33:24::"third party import ""pylint.exceptions"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED |
43 | +wrong-import-order:34:0:34:21::"third party import ""pylint.message"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED | 41 | +wrong-import-order:34:0:34:21::"third party import ""pylint.message"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED |
44 | +wrong-import-order:35:0:35:11::"standard import ""time"" should be placed before third party imports ""six"", ""astroid.are_exclusive"", ""unused_import"" (...) ""requests"", ""pylint.exceptions"", ""pylint.message"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED | 42 | +wrong-import-order:35:0:35:11::"standard import ""time"" should be placed before third party imports ""six"", ""astroid.are_exclusive"", ""unused_import"" (...) ""requests"", ""pylint.exceptions"", ""pylint.message"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED |
diff --git a/meta-python/recipes-devtools/python/python3-pylint/0002-pyproject.toml-Keep-tool.setuptools.license-files.patch b/meta-python/recipes-devtools/python/python3-pylint/0002-pyproject.toml-Keep-tool.setuptools.license-files.patch new file mode 100644 index 0000000000..28ed0c8951 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pylint/0002-pyproject.toml-Keep-tool.setuptools.license-files.patch | |||
@@ -0,0 +1,48 @@ | |||
1 | From 2a08adb0e90219626dac0b6d05a21265e460eae2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Leon Anavi <leon.anavi@konsulko.com> | ||
3 | Date: Thu, 20 Mar 2025 12:09:42 +0000 | ||
4 | Subject: [PATCH] pyproject.toml: Keep tool.setuptools.license-files | ||
5 | |||
6 | Keep legacy license declaration and tool.setuptools.license-files | ||
7 | to avoid the following errors: | ||
8 | |||
9 | | ValueError: invalid pyproject.toml config: `project.license`. | ||
10 | | configuration error: `project.license` must be valid exactly by one definition (2 matches found): | ||
11 | |||
12 | | ValueError: invalid pyproject.toml config: `project`. | ||
13 | | configuration error: `project` must not contain {'license-files'} properties | ||
14 | |||
15 | Upstream-Status: Inappropriate | ||
16 | |||
17 | Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> | ||
18 | --- | ||
19 | pyproject.toml | 6 ++++-- | ||
20 | 1 file changed, 4 insertions(+), 2 deletions(-) | ||
21 | |||
22 | diff --git a/pyproject.toml b/pyproject.toml | ||
23 | index 0cf1ade57..7a4665ce0 100644 | ||
24 | --- a/pyproject.toml | ||
25 | +++ b/pyproject.toml | ||
26 | @@ -8,8 +8,7 @@ name = "pylint" | ||
27 | description = "python code static checker" | ||
28 | readme = "README.rst" | ||
29 | keywords = [ "lint", "linter", "python", "static code analysis" ] | ||
30 | -license = "GPL-2.0-or-later" | ||
31 | -license-files = [ "LICENSE", "CONTRIBUTORS.txt" ] | ||
32 | +license = { text = "GPL-2.0-or-later" } | ||
33 | authors = [ | ||
34 | { name = "Python Code Quality Authority", email = "code-quality@python.org" }, | ||
35 | ] | ||
36 | @@ -65,6 +64,9 @@ scripts.pylint-config = "pylint:_run_pylint_config" | ||
37 | scripts.pyreverse = "pylint:run_pyreverse" | ||
38 | scripts.symilar = "pylint:run_symilar" | ||
39 | |||
40 | +[tool.setuptools] | ||
41 | +license-files = [ "LICENSE", "CONTRIBUTORS.txt" ] | ||
42 | + | ||
43 | [tool.setuptools.packages.find] | ||
44 | include = [ "pylint*" ] | ||
45 | |||
46 | -- | ||
47 | 2.39.5 | ||
48 | |||
diff --git a/meta-python/recipes-devtools/python/python3-pylint_3.2.2.bb b/meta-python/recipes-devtools/python/python3-pylint_3.3.6.bb index 0de1576af4..04761471d3 100644 --- a/meta-python/recipes-devtools/python/python3-pylint_3.2.2.bb +++ b/meta-python/recipes-devtools/python/python3-pylint_3.3.6.bb | |||
@@ -1,16 +1,18 @@ | |||
1 | SUMMARY="Pylint is a Python source code analyzer" | 1 | SUMMARY = "Pylint is a Python source code analyzer" |
2 | HOMEPAGE= "http://www.pylint.org/" | 2 | HOMEPAGE = "https://www.pylint.org/" |
3 | LICENSE = "GPL-2.0-only" | 3 | LICENSE = "GPL-2.0-only" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9" |
5 | 5 | ||
6 | SRC_URI += "git://github.com/pylint-dev/pylint;branch=main;protocol=https \ | 6 | SRCREV = "7ac5a4d4f77576df3a00e63f86ca86e0e1780b47" |
7 | file://0001-Adjust-test-expectations-for-ptest.patch \ | 7 | SRC_URI += "git://github.com/pylint-dev/pylint;branch=maintenance/3.3.x;protocol=https \ |
8 | file://run-ptest \ | 8 | file://0001-Adjust-test-expectations-for-ptest.patch \ |
9 | file://0002-pyproject.toml-Keep-tool.setuptools.license-files.patch \ | ||
10 | file://run-ptest \ | ||
9 | " | 11 | " |
10 | SRCREV = "769ffd20bbf321a6cf23f5e7221a0b8221f51482" | ||
11 | 12 | ||
12 | inherit python_setuptools_build_meta ptest | 13 | inherit python_setuptools_build_meta ptest |
13 | 14 | ||
15 | |||
14 | RDEPENDS:${PN} += "\ | 16 | RDEPENDS:${PN} += "\ |
15 | python3-astroid \ | 17 | python3-astroid \ |
16 | python3-difflib \ | 18 | python3-difflib \ |
@@ -25,10 +27,11 @@ RDEPENDS:${PN} += "\ | |||
25 | python3-shell \ | 27 | python3-shell \ |
26 | python3-tomlkit \ | 28 | python3-tomlkit \ |
27 | " | 29 | " |
28 | 30 | # python3-misc for timeit.py | |
29 | RDEPENDS:${PN}-ptest += " \ | 31 | RDEPENDS:${PN}-ptest += " \ |
30 | python3-core \ | 32 | python3-core \ |
31 | python3-git \ | 33 | python3-git \ |
34 | python3-misc \ | ||
32 | python3-py \ | 35 | python3-py \ |
33 | python3-pytest \ | 36 | python3-pytest \ |
34 | python3-pytest-benchmark \ | 37 | python3-pytest-benchmark \ |
@@ -42,13 +45,11 @@ RDEPENDS:${PN}-ptest += " \ | |||
42 | python3-unittest-automake-output \ | 45 | python3-unittest-automake-output \ |
43 | " | 46 | " |
44 | 47 | ||
45 | S = "${WORKDIR}/git" | ||
46 | |||
47 | do_install_ptest() { | 48 | do_install_ptest() { |
48 | install -d ${D}${PTEST_PATH}/tests | 49 | install -d ${D}${PTEST_PATH}/tests |
49 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | 50 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ |
50 | install -Dm 0644 ${S}/tests/.pylint_primer_tests/.gitkeep ${D}${PTEST_PATH}/tests/.pylint_primer_tests/.gitkeep | 51 | install -Dm 0644 ${S}/tests/.pylint_primer_tests/.gitkeep ${D}${PTEST_PATH}/tests/.pylint_primer_tests/.gitkeep |
51 | sed -i 's#/usr/bin/python$#/usr/bin/python3#g' ${D}${PTEST_PATH}/tests/data/ascript | 52 | sed -i 's#/usr/bin/python$#/usr/bin/python3#g' ${D}${PTEST_PATH}/tests/data/a_script |
52 | # regression_distutil_import_error_73.py fails to run see | 53 | # regression_distutil_import_error_73.py fails to run see |
53 | # https://lists.openembedded.org/g/openembedded-devel/topic/103181847 | 54 | # https://lists.openembedded.org/g/openembedded-devel/topic/103181847 |
54 | rm ${D}${PTEST_PATH}/tests/functional/r/regression_02/regression_distutil_import_error_73.py | 55 | rm ${D}${PTEST_PATH}/tests/functional/r/regression_02/regression_distutil_import_error_73.py |
diff --git a/meta-python/recipes-devtools/python/python3-pylyrics_1.1.0.bb b/meta-python/recipes-devtools/python/python3-pylyrics_1.1.0.bb index 1ac95e8be3..8c7b1c0f72 100644 --- a/meta-python/recipes-devtools/python/python3-pylyrics_1.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-pylyrics_1.1.0.bb | |||
@@ -3,11 +3,11 @@ SUMMARY = "Pythonic Implementation of lyrics.wikia.com" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://setup.py;beginline=14;endline=14;md5=95d480cd6f8471abaeae21bd0ed277ba" | 4 | LIC_FILES_CHKSUM = "file://setup.py;beginline=14;endline=14;md5=95d480cd6f8471abaeae21bd0ed277ba" |
5 | 5 | ||
6 | SRC_URI[md5sum] = "1f3c997edeba149a8fb2b861cbad89c3" | ||
7 | SRC_URI[sha256sum] = "c5f36e8ef0ed3b487a9242ce34c19f9684e418a5bbffd5d367dc1d1604b4cd0b" | 6 | SRC_URI[sha256sum] = "c5f36e8ef0ed3b487a9242ce34c19f9684e418a5bbffd5d367dc1d1604b4cd0b" |
8 | 7 | ||
9 | PYPI_PACKAGE = "PyLyrics" | 8 | PYPI_PACKAGE = "PyLyrics" |
10 | PYPI_PACKAGE_EXT = "zip" | 9 | PYPI_PACKAGE_EXT = "zip" |
10 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
11 | 11 | ||
12 | inherit pypi setuptools3 | 12 | inherit pypi setuptools3 |
13 | 13 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pymetno_0.12.0.bb b/meta-python/recipes-devtools/python/python3-pymetno_0.13.0.bb index 5be6e6319b..a9d06c6f1f 100644 --- a/meta-python/recipes-devtools/python/python3-pymetno_0.12.0.bb +++ b/meta-python/recipes-devtools/python/python3-pymetno_0.13.0.bb | |||
@@ -4,8 +4,7 @@ LICENSE = "MIT" | |||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5d503272f52c35147ec960cb56a03bf4" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5d503272f52c35147ec960cb56a03bf4" |
5 | 5 | ||
6 | SRC_URI = "git://github.com/Danielhiversen/pyMetno.git;protocol=https;branch=master" | 6 | SRC_URI = "git://github.com/Danielhiversen/pyMetno.git;protocol=https;branch=master" |
7 | SRCREV = "50f427aad264a4793abb94a3c8cbf987fadcd4ae" | 7 | SRCREV = "921812ddad3f147489916c3c7ab7fb7a80d8c646" |
8 | S = "${WORKDIR}/git" | ||
9 | 8 | ||
10 | inherit setuptools3 | 9 | inherit setuptools3 |
11 | 10 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pymisp_2.4.190.bb b/meta-python/recipes-devtools/python/python3-pymisp_2.5.12.bb index c1389982d4..861e7d021e 100644 --- a/meta-python/recipes-devtools/python/python3-pymisp_2.4.190.bb +++ b/meta-python/recipes-devtools/python/python3-pymisp_2.5.12.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/MISP/PyMISP" | |||
3 | LICENSE = "BSD-2-Clause" | 3 | LICENSE = "BSD-2-Clause" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a3639cf5780f71b125d3e9d1dc127c20" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a3639cf5780f71b125d3e9d1dc127c20" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "e7374295bfd8c7d25f56867e4395a029433360d95420e39b7f78eb1d4f8b48b4" | 6 | SRC_URI[sha256sum] = "75dd505d96e1d67b9bfec7a5e1aea3b967426da348e69bdbaa1e554821e10fd6" |
7 | 7 | ||
8 | inherit python_poetry_core pypi | 8 | inherit python_poetry_core pypi |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pymodbus_3.6.8.bb b/meta-python/recipes-devtools/python/python3-pymodbus_3.9.2.bb index b94504f140..afede52161 100644 --- a/meta-python/recipes-devtools/python/python3-pymodbus_3.6.8.bb +++ b/meta-python/recipes-devtools/python/python3-pymodbus_3.9.2.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/riptideio/pymodbus/" | |||
3 | LICENSE = "BSD-3-Clause" | 3 | LICENSE = "BSD-3-Clause" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=eba8057aa82c058d2042b4b0a0e9cc63" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=eba8057aa82c058d2042b4b0a0e9cc63" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "abb214716b56fc62bc0d5d9d964e2249439341746287e918d175f0e3ee241407" | 6 | SRC_URI[sha256sum] = "2d08ab7bf6d1abc55a87f4faa3a7b04f74d7310b8c9771c3d66ee5fccf2e25ac" |
7 | 7 | ||
8 | inherit pypi python_setuptools_build_meta | 8 | inherit pypi python_setuptools_build_meta |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pymongo_4.7.2.bb b/meta-python/recipes-devtools/python/python3-pymongo_4.13.2.bb index 2951f8f85b..9630214dcb 100644 --- a/meta-python/recipes-devtools/python/python3-pymongo_4.7.2.bb +++ b/meta-python/recipes-devtools/python/python3-pymongo_4.13.2.bb | |||
@@ -4,18 +4,22 @@ The PyMongo distribution contains tools for interacting with MongoDB \ | |||
4 | database from Python. The bson package is an implementation of the BSON \ | 4 | database from Python. The bson package is an implementation of the BSON \ |
5 | format for Python. The pymongo package is a native Python driver for \ | 5 | format for Python. The pymongo package is a native Python driver for \ |
6 | MongoDB. The gridfs package is a gridfs implementation on top of pymongo." | 6 | MongoDB. The gridfs package is a gridfs implementation on top of pymongo." |
7 | HOMEPAGE = "http://github.com/mongodb/mongo-python-driver" | 7 | HOMEPAGE = "https://github.com/mongodb/mongo-python-driver" |
8 | LICENSE = "Apache-2.0" | 8 | LICENSE = "Apache-2.0" |
9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" | 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" |
10 | 10 | ||
11 | SRC_URI[sha256sum] = "9024e1661c6e40acf468177bf90ce924d1bc681d2b244adda3ed7b2f4c4d17d7" | 11 | SRC_URI[sha256sum] = "0f64c6469c2362962e6ce97258ae1391abba1566a953a492562d2924b44815c2" |
12 | 12 | ||
13 | inherit pypi setuptools3 | 13 | inherit pypi python_setuptools_build_meta python_hatchling |
14 | 14 | ||
15 | PACKAGES =+ "python3-bson" | 15 | PACKAGES =+ "python3-bson" |
16 | 16 | ||
17 | FILES:python3-bson = "${PYTHON_SITEPACKAGES_DIR}/bson/*" | 17 | FILES:python3-bson = "${PYTHON_SITEPACKAGES_DIR}/bson/*" |
18 | 18 | ||
19 | DEPENDS += " \ | ||
20 | python3-hatch-requirements-txt-native \ | ||
21 | " | ||
22 | |||
19 | RDEPENDS:python3-bson += " \ | 23 | RDEPENDS:python3-bson += " \ |
20 | python3-datetime \ | 24 | python3-datetime \ |
21 | python3-json \ | 25 | python3-json \ |
@@ -27,4 +31,6 @@ RDEPENDS:python3-bson += " \ | |||
27 | RDEPENDS:${PN} += " \ | 31 | RDEPENDS:${PN} += " \ |
28 | python3-bson \ | 32 | python3-bson \ |
29 | python3-pprint \ | 33 | python3-pprint \ |
34 | python3-difflib \ | ||
35 | python3-logging \ | ||
30 | " | 36 | " |
diff --git a/meta-python/recipes-devtools/python/python3-pymysql_1.1.0.bb b/meta-python/recipes-devtools/python/python3-pymysql_1.1.1.bb index 5e56a64aa1..1c2618c813 100644 --- a/meta-python/recipes-devtools/python/python3-pymysql_1.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-pymysql_1.1.1.bb | |||
@@ -8,12 +8,11 @@ HOMEPAGE = "https://pymysql.readthedocs.io" | |||
8 | LICENSE = "MIT" | 8 | LICENSE = "MIT" |
9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=528175c84163bb800d23ad835c7fa0fc" | 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=528175c84163bb800d23ad835c7fa0fc" |
10 | 10 | ||
11 | SRC_URI[sha256sum] = "4f13a7df8bf36a51e81dd9f3605fede45a4878fe02f9236349fd82a3f0612f96" | 11 | SRC_URI[sha256sum] = "e127611aaf2b417403c60bf4dc570124aeb4a57f5f37b8e95ae399a42f904cd0" |
12 | 12 | ||
13 | PYPI_PACKAGE = "PyMySQL" | 13 | PYPI_PACKAGE = "pymysql" |
14 | inherit pypi python_setuptools_build_meta | 14 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" |
15 | 15 | ||
16 | UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/pymysql/" | 16 | inherit pypi python_setuptools_build_meta |
17 | UPSTREAM_CHECK_REGEX = "/pymysql/(?P<pver>(\d+[\.\-_]*)+)" | ||
18 | 17 | ||
19 | RDEPENDS:${PN} += "python3-cryptography" | 18 | RDEPENDS:${PN} += "python3-cryptography" |
diff --git a/meta-python/recipes-devtools/python/python3-pynacl_1.5.0.bb b/meta-python/recipes-devtools/python/python3-pynacl_1.5.0.bb index a2f2ab4df4..77ca2e1ff4 100644 --- a/meta-python/recipes-devtools/python/python3-pynacl_1.5.0.bb +++ b/meta-python/recipes-devtools/python/python3-pynacl_1.5.0.bb | |||
@@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=8cc789b082b3d97e1ccc5261f8594d3f" | |||
7 | SRC_URI[sha256sum] = "8ac7448f09ab85811607bdd21ec2464495ac8b7c66d146bf545b0f08fb9220ba" | 7 | SRC_URI[sha256sum] = "8ac7448f09ab85811607bdd21ec2464495ac8b7c66d146bf545b0f08fb9220ba" |
8 | 8 | ||
9 | PYPI_PACKAGE = "PyNaCl" | 9 | PYPI_PACKAGE = "PyNaCl" |
10 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
10 | 11 | ||
11 | inherit pypi python_setuptools_build_meta | 12 | inherit pypi python_setuptools_build_meta |
12 | 13 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pynetlinux_1.1.bb b/meta-python/recipes-devtools/python/python3-pynetlinux_1.1.bb index b1abac17aa..51e9cca01d 100644 --- a/meta-python/recipes-devtools/python/python3-pynetlinux_1.1.bb +++ b/meta-python/recipes-devtools/python/python3-pynetlinux_1.1.bb | |||
@@ -1,7 +1,7 @@ | |||
1 | SUMMARY = "Linux network configuration library for Python" | 1 | SUMMARY = "Linux network configuration library for Python" |
2 | DESCRIPTION = "This library contains Python bindings to ioctl calls" | 2 | DESCRIPTION = "This library contains Python bindings to ioctl calls" |
3 | SECTION = "devel/python" | 3 | SECTION = "devel/python" |
4 | HOMEPAGE = "http://github.com/rlisagor/pynetlinux" | 4 | HOMEPAGE = "https://github.com/rlisagor/pynetlinux" |
5 | LICENSE = "BSD-3-Clause" | 5 | LICENSE = "BSD-3-Clause" |
6 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=74e1861736ee959824fe7542323c12e9" | 6 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=74e1861736ee959824fe7542323c12e9" |
7 | 7 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pyperf_2.7.0.bb b/meta-python/recipes-devtools/python/python3-pyperf_2.9.0.bb index f3ebfe2d9b..810e65674a 100644 --- a/meta-python/recipes-devtools/python/python3-pyperf_2.7.0.bb +++ b/meta-python/recipes-devtools/python/python3-pyperf_2.9.0.bb | |||
@@ -13,11 +13,10 @@ Features: \ | |||
13 | LICENSE = "MIT" | 13 | LICENSE = "MIT" |
14 | LIC_FILES_CHKSUM = "file://COPYING;md5=78bc2e6e87c8c61272937b879e6dc2f8" | 14 | LIC_FILES_CHKSUM = "file://COPYING;md5=78bc2e6e87c8c61272937b879e6dc2f8" |
15 | 15 | ||
16 | SRC_URI[sha256sum] = "4201c6601032f374e9c900c6d2544a2f5891abedc1a96eec0e7b2338a6247589" | 16 | SRC_URI[sha256sum] = "dbe0feef8ec1a465df191bba2576149762d15a8c9985c9fea93ab625d875c362" |
17 | 17 | ||
18 | DEPENDS += "python3-six-native" | 18 | DEPENDS += "python3-six-native" |
19 | 19 | ||
20 | PYPI_PACKAGE = "pyperf" | ||
21 | inherit pypi python_setuptools_build_meta | 20 | inherit pypi python_setuptools_build_meta |
22 | 21 | ||
23 | RDEPENDS:${PN} += "python3-misc python3-statistics" | 22 | RDEPENDS:${PN} += "python3-misc python3-statistics" |
diff --git a/meta-python/recipes-devtools/python/python3-pyppmd_1.1.0.bb b/meta-python/recipes-devtools/python/python3-pyppmd_1.2.0.bb index cec21007a2..046dca271b 100644 --- a/meta-python/recipes-devtools/python/python3-pyppmd_1.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-pyppmd_1.2.0.bb | |||
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c" | |||
6 | 6 | ||
7 | inherit pypi python_setuptools_build_meta | 7 | inherit pypi python_setuptools_build_meta |
8 | 8 | ||
9 | SRC_URI[sha256sum] = "1d38ce2e4b7eb84b53bc8a52380b94f66ba6c39328b8800b30c2b5bf31693973" | 9 | SRC_URI[sha256sum] = "cc04af92f1d26831ec96963439dfb27c96467b5452b94436a6af696649a121fd" |
10 | 10 | ||
11 | DEPENDS += " \ | 11 | DEPENDS += " \ |
12 | python3-setuptools-scm-native \ | 12 | python3-setuptools-scm-native \ |
diff --git a/meta-python/recipes-devtools/python/python3-pyproj/rpath.patch b/meta-python/recipes-devtools/python/python3-pyproj/rpath.patch new file mode 100644 index 0000000000..6e230d1055 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyproj/rpath.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | Description: Don't set RPATH in libraries. | ||
2 | Author: Bas Couwenberg <sebastic@debian.org> | ||
3 | Forwarded: not-needed | ||
4 | |||
5 | Upstream-Status: Inappropriate [OE-Specific] | ||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
7 | --- a/setup.py | ||
8 | +++ b/setup.py | ||
9 | @@ -193,9 +193,6 @@ def get_extension_modules(): | ||
10 | ext_options = { | ||
11 | "include_dirs": include_dirs, | ||
12 | "library_dirs": library_dirs, | ||
13 | - "runtime_library_dirs": ( | ||
14 | - library_dirs if os.name != "nt" and sys.platform != "cygwin" else None | ||
15 | - ), | ||
16 | "libraries": get_libraries(library_dirs), | ||
17 | } | ||
18 | # setup cythonized modules | ||
diff --git a/meta-python/recipes-devtools/python/python3-pyproj_3.6.1.bb b/meta-python/recipes-devtools/python/python3-pyproj_3.7.1.bb index a4121c3934..3cc8c21280 100644 --- a/meta-python/recipes-devtools/python/python3-pyproj_3.6.1.bb +++ b/meta-python/recipes-devtools/python/python3-pyproj_3.7.1.bb | |||
@@ -1,14 +1,14 @@ | |||
1 | SUMMARY = "Python interface to PROJ (cartographic projections and coordinate transformations library)" | 1 | SUMMARY = "Python interface to PROJ (cartographic projections and coordinate transformations library)" |
2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=873757af01d2d221eedb422c4c1dd163" | 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3f3574263859ef2dc9bd7817d51adbaa" |
4 | DEPENDS = "python3-cython proj" | ||
5 | DEPENDS:append:class-target = " python3-cython-native proj-native" | ||
6 | 4 | ||
7 | PYPI_PACKAGE = "pyproj" | 5 | inherit pypi python_setuptools_build_meta cython |
8 | 6 | ||
9 | inherit pypi setuptools3 | 7 | SRC_URI += "file://rpath.patch" |
10 | 8 | ||
11 | SRC_URI[sha256sum] = "44aa7c704c2b7d8fb3d483bbf75af6cb2350d30a63b144279a09b75fead501bf" | 9 | SRC_URI[sha256sum] = "60d72facd7b6b79853f19744779abcd3f804c4e0d4fa8815469db20c9f640a47" |
10 | |||
11 | DEPENDS = "proj proj-native" | ||
12 | 12 | ||
13 | RDEPENDS:${PN} = " \ | 13 | RDEPENDS:${PN} = " \ |
14 | python3-certifi \ | 14 | python3-certifi \ |
diff --git a/meta-python/recipes-devtools/python/python3-pyproject-api_1.6.1.bb b/meta-python/recipes-devtools/python/python3-pyproject-api_1.8.0.bb index aec19949d2..ddbddbea84 100644 --- a/meta-python/recipes-devtools/python/python3-pyproject-api_1.6.1.bb +++ b/meta-python/recipes-devtools/python/python3-pyproject-api_1.8.0.bb | |||
@@ -6,9 +6,10 @@ HOMEPAGE = "https://pyproject-api.readthedocs.io" | |||
6 | LICENSE = "MIT" | 6 | LICENSE = "MIT" |
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=11610a9d8fd95649cf8159be12b98cb7" | 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=11610a9d8fd95649cf8159be12b98cb7" |
8 | 8 | ||
9 | SRC_URI[sha256sum] = "1817dc018adc0d1ff9ca1ed8c60e1623d5aaca40814b953af14a9cf9a5cae538" | 9 | SRC_URI[sha256sum] = "77b8049f2feb5d33eefcc21b57f1e279636277a8ac8ad6b5871037b243778496" |
10 | 10 | ||
11 | PYPI_PACKAGE = "pyproject_api" | 11 | PYPI_PACKAGE = "pyproject_api" |
12 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
12 | 13 | ||
13 | BBCLASSEXTEND = "native nativesdk" | 14 | BBCLASSEXTEND = "native nativesdk" |
14 | inherit pypi python_hatchling | 15 | inherit pypi python_hatchling |
diff --git a/meta-python/recipes-devtools/python/python3-pyrad/208.patch b/meta-python/recipes-devtools/python/python3-pyrad/208.patch new file mode 100644 index 0000000000..b08f183583 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyrad/208.patch | |||
@@ -0,0 +1,51 @@ | |||
1 | From d17438da2008f48aa13cc95a626c990bf645799a Mon Sep 17 00:00:00 2001 | ||
2 | From: Luca Barbieri <lucabarb@gmail.com> | ||
3 | Date: Wed, 8 Jan 2025 10:35:22 +0100 | ||
4 | Subject: [PATCH 1/2] Fix pyproject.toml format | ||
5 | |||
6 | Fix pyproject format to correctly build with poetry-core 2.0.0 | ||
7 | Upstream-Status: Submitted [https://github.com/pyradius/pyrad/pull/208] | ||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | --- | ||
10 | pyproject.toml | 28 ++++++++++++++-------------- | ||
11 | 1 file changed, 14 insertions(+), 14 deletions(-) | ||
12 | |||
13 | --- a/pyproject.toml | ||
14 | +++ b/pyproject.toml | ||
15 | @@ -2,16 +2,16 @@ | ||
16 | requires = ["poetry-core>=1.0.0"] | ||
17 | build-backend = "poetry.core.masonry.api" | ||
18 | |||
19 | -[tool.poetry] | ||
20 | +[project] | ||
21 | name = "pyrad" | ||
22 | version= "2.4" | ||
23 | readme = "README.rst" | ||
24 | license = "BSD-3-Clause" | ||
25 | description="RADIUS tools" | ||
26 | authors = [ | ||
27 | - "Istvan Ruzman <istvan@ruzman.eu>", | ||
28 | - "Christian Giese <developer@gicnet.de>", | ||
29 | -] | ||
30 | + { name = "Istvan Ruzman", email = "istvan@ruzman.eu" }, | ||
31 | + { name = "Christian Giese", email = "developer@gicnet.de" }, | ||
32 | + ] | ||
33 | keywords = ["AAA", "accounting", "authentication", "authorization", "RADIUS"] | ||
34 | classifiers = [ | ||
35 | "Development Status :: 6 - Mature", | ||
36 | @@ -28,7 +28,7 @@ include = [ | ||
37 | "example/*" | ||
38 | ] | ||
39 | |||
40 | -[tool.poetry.urls] | ||
41 | +[project.urls] | ||
42 | repository = "https://github.com/pyradius/pyrad" | ||
43 | |||
44 | [tool.poetry.dependencies] | ||
45 | @@ -36,5 +36,5 @@ python = "^2.7 || ^3.6" | ||
46 | six = "^1.15.0" | ||
47 | netaddr = "^0.8" | ||
48 | |||
49 | -[tool.poetry.dev-dependencies] | ||
50 | +[tool.poetry.group.dev.dependencies] | ||
51 | nose = "^0.10.0b1" | ||
diff --git a/meta-python/recipes-devtools/python/python3-pyrad_2.4.bb b/meta-python/recipes-devtools/python/python3-pyrad_2.4.bb index 801233a026..fbe7a0924a 100644 --- a/meta-python/recipes-devtools/python/python3-pyrad_2.4.bb +++ b/meta-python/recipes-devtools/python/python3-pyrad_2.4.bb | |||
@@ -6,7 +6,9 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e910b35b0ef4e1f665 | |||
6 | PYPI_PACKAGE = "pyrad" | 6 | PYPI_PACKAGE = "pyrad" |
7 | SRC_URI[sha256sum] = "057de4b7e89d8da57ba782c1bde45c63ebee720ae2c0b0a69beaff15c47e30d9" | 7 | SRC_URI[sha256sum] = "057de4b7e89d8da57ba782c1bde45c63ebee720ae2c0b0a69beaff15c47e30d9" |
8 | 8 | ||
9 | SRC_URI += "file://use-poetry-core.patch" | 9 | SRC_URI += "file://use-poetry-core.patch \ |
10 | file://208.patch \ | ||
11 | " | ||
10 | 12 | ||
11 | inherit pypi python_poetry_core | 13 | inherit pypi python_poetry_core |
12 | 14 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pyroute2/run-ptest b/meta-python/recipes-devtools/python/python3-pyroute2/run-ptest deleted file mode 100644 index f1c8729f0e..0000000000 --- a/meta-python/recipes-devtools/python/python3-pyroute2/run-ptest +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
4 | |||
diff --git a/meta-python/recipes-devtools/python/python3-pyroute2_0.7.12.bb b/meta-python/recipes-devtools/python/python3-pyroute2_0.9.2.bb index 3ea980f440..0b47b1219d 100644 --- a/meta-python/recipes-devtools/python/python3-pyroute2_0.7.12.bb +++ b/meta-python/recipes-devtools/python/python3-pyroute2_0.9.2.bb | |||
@@ -4,9 +4,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=dccbff78d7d79ae7e53953d43445c6e6 \ | |||
4 | file://LICENSE.GPL-2.0-or-later;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | 4 | file://LICENSE.GPL-2.0-or-later;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ |
5 | file://LICENSE.Apache-2.0;md5=34281e312165f843a2b7d1f114fe65ce" | 5 | file://LICENSE.Apache-2.0;md5=34281e312165f843a2b7d1f114fe65ce" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "54d226fc3ff2732f49bac9b26853c50c9d05be05a4d9daf09c7cf6d77301eff3" | 7 | SRC_URI[sha256sum] = "aea3c0e1b46f48295edb29caaba3ceb6415bdcb975cba3f1489ffcc3198e0ce3" |
8 | 8 | ||
9 | inherit setuptools3 pypi ptest | 9 | inherit python_setuptools_build_meta pypi ptest-python-pytest |
10 | 10 | ||
11 | RDEPENDS:${PN} += " \ | 11 | RDEPENDS:${PN} += " \ |
12 | python3-ctypes \ | 12 | python3-ctypes \ |
@@ -22,18 +22,14 @@ RDEPENDS:${PN} += " \ | |||
22 | python3-unixadmin \ | 22 | python3-unixadmin \ |
23 | " | 23 | " |
24 | 24 | ||
25 | SRC_URI += " \ | ||
26 | file://run-ptest \ | ||
27 | " | ||
28 | |||
29 | RDEPENDS:${PN}-ptest += " \ | 25 | RDEPENDS:${PN}-ptest += " \ |
30 | python3-fcntl \ | 26 | python3-fcntl \ |
31 | python3-pytest \ | 27 | python3-html \ |
28 | python3-netclient \ | ||
32 | python3-sqlite3 \ | 29 | python3-sqlite3 \ |
33 | python3-unittest-automake-output \ | ||
34 | " | 30 | " |
35 | 31 | ||
36 | do_install_ptest() { | 32 | do_install_ptest:append () { |
37 | install -d ${D}${PTEST_PATH}/tests | 33 | install -d ${D}${PTEST_PATH}/tests |
38 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | 34 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ |
39 | sed -e "s|'test_unit|'tests/test_unit|g" -i ${D}${PTEST_PATH}/tests/test_unit/test_nlmsg/test_marshal.py \ | 35 | sed -e "s|'test_unit|'tests/test_unit|g" -i ${D}${PTEST_PATH}/tests/test_unit/test_nlmsg/test_marshal.py \ |
diff --git a/meta-python/recipes-devtools/python/python3-pyruvate_1.2.1.bb b/meta-python/recipes-devtools/python/python3-pyruvate_1.2.1.bb index 297eecad0e..e05b63587f 100644 --- a/meta-python/recipes-devtools/python/python3-pyruvate_1.2.1.bb +++ b/meta-python/recipes-devtools/python/python3-pyruvate_1.2.1.bb | |||
@@ -20,7 +20,6 @@ SRCREV = "57db64c9f65ced05c71b8d786c1cedfaa2991597" | |||
20 | 20 | ||
21 | SRC_URI:append:mips = " file://0001-check-for-mips-targets-for-stat.st_dev-definitions.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/libsystemd-0.5.0/" | 21 | SRC_URI:append:mips = " file://0001-check-for-mips-targets-for-stat.st_dev-definitions.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/libsystemd-0.5.0/" |
22 | 22 | ||
23 | S = "${WORKDIR}/git" | ||
24 | 23 | ||
25 | inherit python_setuptools3_rust cargo-update-recipe-crates | 24 | inherit python_setuptools3_rust cargo-update-recipe-crates |
26 | 25 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pyscaffold_4.5.bb b/meta-python/recipes-devtools/python/python3-pyscaffold_4.6.bb index dda81e2256..a8fa531a05 100644 --- a/meta-python/recipes-devtools/python/python3-pyscaffold_4.5.bb +++ b/meta-python/recipes-devtools/python/python3-pyscaffold_4.6.bb | |||
@@ -9,10 +9,9 @@ LICENSE = "0BSD & MIT" | |||
9 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=14a49c74a1d91829908ac756c07e6b91" | 9 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=14a49c74a1d91829908ac756c07e6b91" |
10 | DEPENDS += "python3-setuptools-scm-native" | 10 | DEPENDS += "python3-setuptools-scm-native" |
11 | 11 | ||
12 | SRC_URI[sha256sum] = "d849f9a2e15bdcf165e19f96835f0b17e1a2d59d4c561c445b827a081de6d262" | 12 | SRC_URI[sha256sum] = "4085b8de9200b9f319df6f8ea7997288f159a8e4b284b062d9b2a4d6a9c1234c" |
13 | 13 | ||
14 | inherit pypi python_setuptools_build_meta | 14 | inherit pypi python_setuptools_build_meta |
15 | PYPI_PACKAGE = "PyScaffold" | ||
16 | 15 | ||
17 | RDEPENDS:${PN} += " \ | 16 | RDEPENDS:${PN} += " \ |
18 | python3-email \ | 17 | python3-email \ |
diff --git a/meta-python/recipes-devtools/python/python3-pyserial/run-ptest b/meta-python/recipes-devtools/python/python3-pyserial/run-ptest deleted file mode 100644 index b651411db7..0000000000 --- a/meta-python/recipes-devtools/python/python3-pyserial/run-ptest +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | |||
4 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb b/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb index ade137a385..93a81568c2 100644 --- a/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb +++ b/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb | |||
@@ -4,7 +4,9 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=520e45e59fc2cf94aa53850f46b86436" | |||
4 | 4 | ||
5 | SRC_URI[sha256sum] = "3c77e014170dfffbd816e6ffc205e9842efb10be9f58ec16d3e8675b4925cddb" | 5 | SRC_URI[sha256sum] = "3c77e014170dfffbd816e6ffc205e9842efb10be9f58ec16d3e8675b4925cddb" |
6 | 6 | ||
7 | inherit pypi setuptools3 ptest | 7 | inherit pypi setuptools3 ptest-python-pytest |
8 | |||
9 | PTEST_PYTEST_DIR = "test" | ||
8 | 10 | ||
9 | do_install:append() { | 11 | do_install:append() { |
10 | rm -f ${D}${bindir}/pyserial-miniterm | 12 | rm -f ${D}${bindir}/pyserial-miniterm |
@@ -49,16 +51,3 @@ RDEPENDS:${PN} = "\ | |||
49 | 51 | ||
50 | BBCLASSEXTEND = "native nativesdk" | 52 | BBCLASSEXTEND = "native nativesdk" |
51 | 53 | ||
52 | SRC_URI += " \ | ||
53 | file://run-ptest \ | ||
54 | " | ||
55 | |||
56 | RDEPENDS:${PN}-ptest += " \ | ||
57 | python3-pytest \ | ||
58 | python3-unittest-automake-output \ | ||
59 | " | ||
60 | |||
61 | do_install_ptest() { | ||
62 | install -d ${D}${PTEST_PATH}/test | ||
63 | cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ | ||
64 | } | ||
diff --git a/meta-python/recipes-devtools/python/python3-pystemd_0.13.2.bb b/meta-python/recipes-devtools/python/python3-pystemd_0.13.2.bb index 3bfa20fcd9..e7f35f1f08 100644 --- a/meta-python/recipes-devtools/python/python3-pystemd_0.13.2.bb +++ b/meta-python/recipes-devtools/python/python3-pystemd_0.13.2.bb | |||
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c" | |||
4 | 4 | ||
5 | SRC_URI[sha256sum] = "4dcfa4b13a55685c49d3d17c10631eca18c33770f66316f8ef2337b8951cc144" | 5 | SRC_URI[sha256sum] = "4dcfa4b13a55685c49d3d17c10631eca18c33770f66316f8ef2337b8951cc144" |
6 | 6 | ||
7 | DEPENDS = "systemd python3-cython-native" | 7 | DEPENDS = "systemd" |
8 | RDEPENDS:${PN} += "\ | 8 | RDEPENDS:${PN} += "\ |
9 | python3-xml \ | 9 | python3-xml \ |
10 | python3-lxml \ | 10 | python3-lxml \ |
@@ -15,7 +15,7 @@ RDEPENDS:${PN} += "\ | |||
15 | " | 15 | " |
16 | REQUIRED_DISTRO_FEATURES = "systemd" | 16 | REQUIRED_DISTRO_FEATURES = "systemd" |
17 | 17 | ||
18 | inherit pypi setuptools3 features_check pkgconfig | 18 | inherit pypi python_setuptools_build_meta features_check pkgconfig cython |
19 | 19 | ||
20 | do_configure:prepend() { | 20 | do_configure:prepend() { |
21 | rm -rf ${S}/pystemd/*.c | 21 | rm -rf ${S}/pystemd/*.c |
diff --git a/meta-python/recipes-devtools/python/python3-pytest-aiohttp_1.1.0.bb b/meta-python/recipes-devtools/python/python3-pytest-aiohttp_1.1.0.bb new file mode 100644 index 0000000000..7bd7e4fe8a --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pytest-aiohttp_1.1.0.bb | |||
@@ -0,0 +1,16 @@ | |||
1 | SUMMARY = "pytest plugin for aiohttp support" | ||
2 | HOMEPAGE = "https://github.com/aio-libs/pytest-aiohttp" | ||
3 | LICENSE = "Apache-2.0" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c251ea89d32d196dddd14c669ed3d482" | ||
5 | |||
6 | DEPENDS = "python3-setuptools-scm-native" | ||
7 | |||
8 | SRC_URI[sha256sum] = "147de8cb164f3fc9d7196967f109ab3c0b93ea3463ab50631e56438eab7b5adc" | ||
9 | |||
10 | PYPI_PACKAGE = "pytest_aiohttp" | ||
11 | |||
12 | inherit pypi python_setuptools_build_meta | ||
13 | |||
14 | PYPI_PACKAGE = "pytest_aiohttp" | ||
15 | |||
16 | RDEPENDS:${PN} += "python3-aiohttp" | ||
diff --git a/meta-python/recipes-devtools/python/python3-pytest-asyncio_0.23.6.bb b/meta-python/recipes-devtools/python/python3-pytest-asyncio_0.24.0.bb index 492020477e..1059b788f4 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-asyncio_0.23.6.bb +++ b/meta-python/recipes-devtools/python/python3-pytest-asyncio_0.24.0.bb | |||
@@ -3,10 +3,12 @@ DESCRIPTION = "pytest-asyncio is an Apache2 licensed library, written in Python, | |||
3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=136e4f49dbf29942c572a3a8f6e88a77" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=136e4f49dbf29942c572a3a8f6e88a77" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "ffe523a89c1c222598c76856e76852b787504ddb72dd5d9b6617ffa8aa2cde5f" | 6 | SRC_URI[sha256sum] = "d081d828e576d85f875399194281e92bf8a68d60d72d1a2faf2feddb6c46b276" |
7 | 7 | ||
8 | inherit pypi python_setuptools_build_meta | 8 | inherit pypi python_setuptools_build_meta |
9 | 9 | ||
10 | PYPI_PACKAGE = "pytest_asyncio" | ||
11 | |||
10 | DEPENDS += "python3-setuptools-scm-native" | 12 | DEPENDS += "python3-setuptools-scm-native" |
11 | 13 | ||
12 | RDEPENDS:${PN} += " \ | 14 | RDEPENDS:${PN} += " \ |
diff --git a/meta-python/recipes-devtools/python/python3-pytest-benchmark_4.0.0.bb b/meta-python/recipes-devtools/python/python3-pytest-benchmark_5.1.0.bb index 98ba6c3822..ae4b12c210 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-benchmark_4.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-pytest-benchmark_5.1.0.bb | |||
@@ -1,9 +1,9 @@ | |||
1 | SUMMARY = "A ``pytest`` fixture for benchmarking code. It will group the tests into rounds that are calibrated to the chosen timer." | 1 | SUMMARY = "A ``pytest`` fixture for benchmarking code. It will group the tests into rounds that are calibrated to the chosen timer." |
2 | HOMEPAGE = "https://github.com/ionelmc/pytest-benchmark" | 2 | HOMEPAGE = "https://github.com/ionelmc/pytest-benchmark" |
3 | LICENSE = "BSD-2-Clause" | 3 | LICENSE = "BSD-2-Clause" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c7d2e9d24c2b5bad57ca894da972e22e" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d606e94f56c21c8e0cdde0b622dcdf57" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "fb0785b83efe599a6a956361c0691ae1dbb5318018561af10f3e915caa0048d1" | 6 | SRC_URI[sha256sum] = "9ea661cdc292e8231f7cd4c10b0319e56a2118e2c09d9f50e1b3d150d2aca105" |
7 | 7 | ||
8 | inherit pypi setuptools3 | 8 | inherit pypi setuptools3 |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pytest-codspeed_3.0.0.bb b/meta-python/recipes-devtools/python/python3-pytest-codspeed_3.0.0.bb new file mode 100644 index 0000000000..0789e9f548 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pytest-codspeed_3.0.0.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | SUMMARY = "Pytest plugin to create CodSpeed benchmarks" | ||
2 | HOMEPAGE = "https://codspeed.io/" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2856cbe664e8843cd4fd4c1d1d85c2c3" | ||
5 | |||
6 | DEPENDS = "python3-hatchling-native" | ||
7 | SRC_URI[sha256sum] = "c5b80100ea32dd44079bb2db298288763eb8fe859eafa1650a8711bd2c32fd06" | ||
8 | |||
9 | inherit pypi python_hatchling | ||
10 | |||
11 | PYPI_PACKAGE = "pytest_codspeed" | ||
12 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
13 | |||
14 | RDEPENDS:${PN} = "python3-cffi python3-filelock python3-pytest python3-rich python3-statistics" | ||
diff --git a/meta-python/recipes-devtools/python/python3-pytest-cov_5.0.0.bb b/meta-python/recipes-devtools/python/python3-pytest-cov_6.0.0.bb index e3e4affb9d..75742f3e8f 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-cov_5.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-pytest-cov_6.0.0.bb | |||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = " \ | |||
5 | file://LICENSE;md5=cbc4e25353c748c817db2daffe605e43 \ | 5 | file://LICENSE;md5=cbc4e25353c748c817db2daffe605e43 \ |
6 | " | 6 | " |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "5837b58e9f6ebd335b0f8060eecce69b662415b16dc503883a02f45dfeb14857" | 8 | SRC_URI[sha256sum] = "fde0b595ca248bb8e2d76f020b465f3b107c9632e6a1d1705f17834c89dcadc0" |
9 | 9 | ||
10 | inherit pypi setuptools3 | 10 | inherit pypi setuptools3 |
11 | 11 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pytest-freezer_0.4.8.bb b/meta-python/recipes-devtools/python/python3-pytest-freezer_0.4.9.bb index 6ff69a3964..212be0ef8b 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-freezer_0.4.8.bb +++ b/meta-python/recipes-devtools/python/python3-pytest-freezer_0.4.9.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/pytest-dev/pytest-freezer" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1661a0f2b9b83ed73b8e05b5683b10d0" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1661a0f2b9b83ed73b8e05b5683b10d0" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "8ee2f724b3ff3540523fa355958a22e6f4c1c819928b78a7a183ae4248ce6ee6" | 6 | SRC_URI[sha256sum] = "21bf16bc9cc46bf98f94382c4b5c3c389be7056ff0be33029111ae11b3f1c82a" |
7 | 7 | ||
8 | inherit pypi python_flit_core | 8 | inherit pypi python_flit_core |
9 | 9 | ||
@@ -13,3 +13,4 @@ RDEPENDS:${PN} = "\ | |||
13 | " | 13 | " |
14 | 14 | ||
15 | PYPI_PACKAGE = "pytest_freezer" | 15 | PYPI_PACKAGE = "pytest_freezer" |
16 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
diff --git a/meta-python/recipes-devtools/python/python3-pytest-html_4.1.1.bb b/meta-python/recipes-devtools/python/python3-pytest-html_4.1.1.bb index 154ec255cb..d45f6a25ee 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-html_4.1.1.bb +++ b/meta-python/recipes-devtools/python/python3-pytest-html_4.1.1.bb | |||
@@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5d425c8f3157dbf212db2ec53d9e5132" | |||
7 | SRC_URI[sha256sum] = "70a01e8ae5800f4a074b56a4cb1025c8f4f9b038bba5fe31e3c98eb996686f07" | 7 | SRC_URI[sha256sum] = "70a01e8ae5800f4a074b56a4cb1025c8f4f9b038bba5fe31e3c98eb996686f07" |
8 | 8 | ||
9 | PYPI_PACKAGE = "pytest_html" | 9 | PYPI_PACKAGE = "pytest_html" |
10 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
10 | 11 | ||
11 | inherit pypi python_hatchling | 12 | inherit pypi python_hatchling |
12 | 13 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pytest-lazy-fixtures_1.0.7.bb b/meta-python/recipes-devtools/python/python3-pytest-lazy-fixtures_1.1.4.bb index f5e6dbfcd2..83b8321df2 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-lazy-fixtures_1.0.7.bb +++ b/meta-python/recipes-devtools/python/python3-pytest-lazy-fixtures_1.1.4.bb | |||
@@ -12,10 +12,11 @@ HOMEPAGE = "https://github.com/dev-petrov/pytest-lazy-fixtures" | |||
12 | LICENSE = "MIT" | 12 | LICENSE = "MIT" |
13 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4475e66fcfabe27395e6764c8f69c876" | 13 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4475e66fcfabe27395e6764c8f69c876" |
14 | 14 | ||
15 | SRC_URI[sha256sum] = "87ef7424dc0229ff9cb72d482f49b7806535c3500641f612c13ddf243c9adacb" | 15 | SRC_URI[sha256sum] = "c494b52d798890033d64b28687a4d52807c8b0f606d56316e139df0cbe116c57" |
16 | 16 | ||
17 | inherit pypi python_poetry_core | 17 | inherit pypi python_poetry_core |
18 | 18 | ||
19 | PYPI_PACKAGE = "pytest_lazy_fixtures" | 19 | PYPI_PACKAGE = "pytest_lazy_fixtures" |
20 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
20 | 21 | ||
21 | RDEPENDS:${PN} = "python3-pytest" | 22 | RDEPENDS:${PN} = "python3-pytest" |
diff --git a/meta-python/recipes-devtools/python/python3-pytest-localserver/run-ptest b/meta-python/recipes-devtools/python/python3-pytest-localserver/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-pytest-localserver/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-pytest-localserver_0.8.1.bb b/meta-python/recipes-devtools/python/python3-pytest-localserver_0.8.1.bb index 669817829d..e9500bd3db 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-localserver_0.8.1.bb +++ b/meta-python/recipes-devtools/python/python3-pytest-localserver_0.8.1.bb | |||
@@ -5,25 +5,14 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b8da7a541d738b054dcbf70c31530432" | |||
5 | 5 | ||
6 | DEPENDS += "python3-setuptools-scm-native" | 6 | DEPENDS += "python3-setuptools-scm-native" |
7 | 7 | ||
8 | inherit pypi python_setuptools_build_meta ptest | 8 | inherit pypi python_setuptools_build_meta ptest-python-pytest |
9 | 9 | ||
10 | SRC_URI[sha256sum] = "66569c34fef31a5750b16effd1cd1288a7a90b59155d005e7f916accd3dee4f1" | 10 | SRC_URI[sha256sum] = "66569c34fef31a5750b16effd1cd1288a7a90b59155d005e7f916accd3dee4f1" |
11 | 11 | ||
12 | SRC_URI += " \ | ||
13 | file://run-ptest \ | ||
14 | " | ||
15 | |||
16 | RDEPENDS:${PN}-ptest += " \ | 12 | RDEPENDS:${PN}-ptest += " \ |
17 | python3-pytest \ | ||
18 | python3-requests \ | 13 | python3-requests \ |
19 | python3-unittest-automake-output \ | ||
20 | " | 14 | " |
21 | 15 | ||
22 | do_install_ptest() { | ||
23 | install -d ${D}${PTEST_PATH}/tests | ||
24 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
25 | } | ||
26 | |||
27 | RDEPENDS:${PN} += " \ | 16 | RDEPENDS:${PN} += " \ |
28 | python3-werkzeug \ | 17 | python3-werkzeug \ |
29 | " | 18 | " |
diff --git a/meta-python/recipes-devtools/python/python3-pytest-metadata_2.0.2.bb b/meta-python/recipes-devtools/python/python3-pytest-metadata_2.0.2.bb index 163a363f82..9243f6646e 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-metadata_2.0.2.bb +++ b/meta-python/recipes-devtools/python/python3-pytest-metadata_2.0.2.bb | |||
@@ -6,9 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5d425c8f3157dbf212db2ec53d9e5132" | |||
6 | 6 | ||
7 | SRC_URI[sha256sum] = "fcd2f416f15be295943527b3c8ba16a44ae5a7141939c90c3dc5ce9d167cf2a5" | 7 | SRC_URI[sha256sum] = "fcd2f416f15be295943527b3c8ba16a44ae5a7141939c90c3dc5ce9d167cf2a5" |
8 | 8 | ||
9 | PYPI_PACKAGE = "pytest-metadata" | 9 | inherit pypi python_poetry_core |
10 | |||
11 | inherit pypi setuptools3 | ||
12 | 10 | ||
13 | RDEPENDS:${PN} = " \ | 11 | RDEPENDS:${PN} = " \ |
14 | python3-pytest \ | 12 | python3-pytest \ |
diff --git a/meta-python/recipes-devtools/python/python3-pytest-mock/0001-test_pytest_mock-skip-args-introspection-tests.patch b/meta-python/recipes-devtools/python/python3-pytest-mock/0001-test_pytest_mock-skip-args-introspection-tests.patch deleted file mode 100644 index f024e79d93..0000000000 --- a/meta-python/recipes-devtools/python/python3-pytest-mock/0001-test_pytest_mock-skip-args-introspection-tests.patch +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | From e184fb950ad3b52c5c16438d39fe4d516c784e30 Mon Sep 17 00:00:00 2001 | ||
2 | From: Trevor Gamblin <tgamblin@baylibre.com> | ||
3 | Date: Thu, 12 Oct 2023 17:32:40 -0400 | ||
4 | Subject: [PATCH] test_pytest_mock: skip args introspection tests | ||
5 | |||
6 | Disable these two tests for now so that python3-pytest-mock can have | ||
7 | successful ptest runs. | ||
8 | |||
9 | Upstream-Status: Inappropriate [OE-Specific] | ||
10 | |||
11 | Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> | ||
12 | --- | ||
13 | tests/test_pytest_mock.py | 2 ++ | ||
14 | 1 file changed, 2 insertions(+) | ||
15 | |||
16 | diff --git a/tests/test_pytest_mock.py b/tests/test_pytest_mock.py | ||
17 | index 3d53241..157b6c3 100644 | ||
18 | --- a/tests/test_pytest_mock.py | ||
19 | +++ b/tests/test_pytest_mock.py | ||
20 | @@ -581,6 +581,7 @@ def test_assert_called_wrapper(mocker: MockerFixture) -> None: | ||
21 | stub.assert_called() | ||
22 | |||
23 | |||
24 | +@pytest.mark.skip("Async not correctly detected, skip for now") | ||
25 | @pytest.mark.usefixtures("needs_assert_rewrite") | ||
26 | def test_assert_called_args_with_introspection(mocker: MockerFixture) -> None: | ||
27 | stub = mocker.stub() | ||
28 | @@ -597,6 +598,7 @@ def test_assert_called_args_with_introspection(mocker: MockerFixture) -> None: | ||
29 | stub.assert_called_once_with(*wrong_args) | ||
30 | |||
31 | |||
32 | +@pytest.mark.skip("Async not correctly detected, skip for now") | ||
33 | @pytest.mark.usefixtures("needs_assert_rewrite") | ||
34 | def test_assert_called_kwargs_with_introspection(mocker: MockerFixture) -> None: | ||
35 | stub = mocker.stub() | ||
36 | -- | ||
37 | 2.41.0 | ||
38 | |||
diff --git a/meta-python/recipes-devtools/python/python3-pytest-mock/403.patch b/meta-python/recipes-devtools/python/python3-pytest-mock/403.patch deleted file mode 100644 index 6787c2a3dc..0000000000 --- a/meta-python/recipes-devtools/python/python3-pytest-mock/403.patch +++ /dev/null | |||
@@ -1,92 +0,0 @@ | |||
1 | From 8480bb6d0500f933be039cfec65e04157e6ecffe Mon Sep 17 00:00:00 2001 | ||
2 | From: Bruno Oliveira <nicoddemus@gmail.com> | ||
3 | Date: Tue, 19 Dec 2023 08:24:23 -0300 | ||
4 | Subject: [PATCH 1/3] Fix tests for Python 3.11 and 3.12 | ||
5 | |||
6 | Fixes #401. | ||
7 | Upstream-Status: Backport [https://github.com/pytest-dev/pytest-mock/pull/403] | ||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | --- | ||
10 | tests/test_pytest_mock.py | 3 +-- | ||
11 | 1 file changed, 1 insertion(+), 2 deletions(-) | ||
12 | |||
13 | diff --git a/tests/test_pytest_mock.py b/tests/test_pytest_mock.py | ||
14 | index 3ee00da..7acb361 100644 | ||
15 | --- a/tests/test_pytest_mock.py | ||
16 | +++ b/tests/test_pytest_mock.py | ||
17 | @@ -246,9 +246,8 @@ def __test_failure_message(self, mocker: MockerFixture, **kwargs: Any) -> None: | ||
18 | msg = "Expected call: {0}()\nNot called" | ||
19 | expected_message = msg.format(expected_name) | ||
20 | stub = mocker.stub(**kwargs) | ||
21 | - with pytest.raises(AssertionError) as exc_info: | ||
22 | + with pytest.raises(AssertionError, match=re.escape(expected_message)) as exc_info: | ||
23 | stub.assert_called_with() | ||
24 | - assert str(exc_info.value) == expected_message | ||
25 | |||
26 | def test_failure_message_with_no_name(self, mocker: MagicMock) -> None: | ||
27 | self.__test_failure_message(mocker) | ||
28 | |||
29 | From c596504e062be06475b03122c9c0cc732ae87840 Mon Sep 17 00:00:00 2001 | ||
30 | From: "pre-commit-ci[bot]" | ||
31 | <66853113+pre-commit-ci[bot]@users.noreply.github.com> | ||
32 | Date: Tue, 19 Dec 2023 11:24:38 +0000 | ||
33 | Subject: [PATCH 2/3] [pre-commit.ci] auto fixes from pre-commit.com hooks | ||
34 | |||
35 | for more information, see https://pre-commit.ci | ||
36 | --- | ||
37 | tests/test_pytest_mock.py | 4 +++- | ||
38 | 1 file changed, 3 insertions(+), 1 deletion(-) | ||
39 | |||
40 | diff --git a/tests/test_pytest_mock.py b/tests/test_pytest_mock.py | ||
41 | index 7acb361..c185f2a 100644 | ||
42 | --- a/tests/test_pytest_mock.py | ||
43 | +++ b/tests/test_pytest_mock.py | ||
44 | @@ -246,7 +246,9 @@ def __test_failure_message(self, mocker: MockerFixture, **kwargs: Any) -> None: | ||
45 | msg = "Expected call: {0}()\nNot called" | ||
46 | expected_message = msg.format(expected_name) | ||
47 | stub = mocker.stub(**kwargs) | ||
48 | - with pytest.raises(AssertionError, match=re.escape(expected_message)) as exc_info: | ||
49 | + with pytest.raises( | ||
50 | + AssertionError, match=re.escape(expected_message) | ||
51 | + ) as exc_info: | ||
52 | stub.assert_called_with() | ||
53 | |||
54 | def test_failure_message_with_no_name(self, mocker: MagicMock) -> None: | ||
55 | |||
56 | From 6da5b0506d6378a8dbe5ae314d5134e6868aeabd Mon Sep 17 00:00:00 2001 | ||
57 | From: danigm <daniel.garcia@suse.com> | ||
58 | Date: Wed, 20 Dec 2023 16:02:13 +0100 | ||
59 | Subject: [PATCH 3/3] Update expected message to match python 3.11.7 (#404) | ||
60 | |||
61 | https://github.com/python/cpython/issues/111019 | ||
62 | |||
63 | Fixes #401. | ||
64 | Closes #403. | ||
65 | --- | ||
66 | tests/test_pytest_mock.py | 6 +++++- | ||
67 | 1 file changed, 5 insertions(+), 1 deletion(-) | ||
68 | |||
69 | diff --git a/tests/test_pytest_mock.py b/tests/test_pytest_mock.py | ||
70 | index c185f2a..01534a4 100644 | ||
71 | --- a/tests/test_pytest_mock.py | ||
72 | +++ b/tests/test_pytest_mock.py | ||
73 | @@ -25,6 +25,8 @@ | ||
74 | |||
75 | # Python 3.8 changed the output formatting (bpo-35500), which has been ported to mock 3.0 | ||
76 | NEW_FORMATTING = sys.version_info >= (3, 8) | ||
77 | +# Python 3.11.7 changed the output formatting, https://github.com/python/cpython/issues/111019 | ||
78 | +NEWEST_FORMATTING = sys.version_info >= (3, 11, 7) | ||
79 | |||
80 | if sys.version_info[:2] >= (3, 8): | ||
81 | from unittest.mock import AsyncMock | ||
82 | @@ -240,7 +242,9 @@ def test_repr_with_name(self, mocker: MockerFixture) -> None: | ||
83 | |||
84 | def __test_failure_message(self, mocker: MockerFixture, **kwargs: Any) -> None: | ||
85 | expected_name = kwargs.get("name") or "mock" | ||
86 | - if NEW_FORMATTING: | ||
87 | + if NEWEST_FORMATTING: | ||
88 | + msg = "expected call not found.\nExpected: {0}()\n Actual: not called." | ||
89 | + elif NEW_FORMATTING: | ||
90 | msg = "expected call not found.\nExpected: {0}()\nActual: not called." | ||
91 | else: | ||
92 | msg = "Expected call: {0}()\nNot called" | ||
diff --git a/meta-python/recipes-devtools/python/python3-pytest-mock/run-ptest b/meta-python/recipes-devtools/python/python3-pytest-mock/run-ptest index 8d2017d39c..51ae892b01 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-mock/run-ptest +++ b/meta-python/recipes-devtools/python/python3-pytest-mock/run-ptest | |||
@@ -1,3 +1,3 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | # see https://github.com/pytest-dev/pytest-mock/issues/102 for reasons to use plain asserts | |
3 | pytest --automake | 3 | pytest --automake --assert=plain |
diff --git a/meta-python/recipes-devtools/python/python3-pytest-mock_3.12.0.bb b/meta-python/recipes-devtools/python/python3-pytest-mock_3.14.0.bb index e9a9a4fbc5..b968cf1cd4 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-mock_3.12.0.bb +++ b/meta-python/recipes-devtools/python/python3-pytest-mock_3.14.0.bb | |||
@@ -5,28 +5,27 @@ LIC_FILES_CHKSUM = " \ | |||
5 | file://LICENSE;md5=b2ddb1e69238461b7e4ef2a84d874109 \ | 5 | file://LICENSE;md5=b2ddb1e69238461b7e4ef2a84d874109 \ |
6 | " | 6 | " |
7 | 7 | ||
8 | SRC_URI = " \ | 8 | SRC_URI += " \ |
9 | git://github.com/pytest-dev/pytest-mock;branch=main;protocol=https \ | ||
10 | file://run-ptest \ | 9 | file://run-ptest \ |
11 | file://0001-test_pytest_mock-skip-args-introspection-tests.patch \ | ||
12 | file://403.patch \ | ||
13 | " | 10 | " |
14 | SRCREV = "69adc6f76c1a7baf4e7a728da9eec38741d5783e" | 11 | SRC_URI[sha256sum] = "2719255a1efeceadbc056d6bf3df3d1c5015530fb40cf347c0f9afac88410bd0" |
15 | 12 | ||
16 | inherit setuptools3 ptest | 13 | inherit pypi python_setuptools_build_meta ptest |
14 | |||
15 | PYPI_PACKAGE = "pytest-mock" | ||
17 | 16 | ||
18 | DEPENDS += "python3-setuptools-scm-native" | 17 | DEPENDS += "python3-setuptools-scm-native" |
19 | 18 | ||
20 | RDEPENDS:${PN} += " \ | 19 | RDEPENDS:${PN}-ptest += " \ |
21 | python3-asyncio \ | 20 | python3-misc \ |
21 | python3-mock \ | ||
22 | python3-pytest \ | 22 | python3-pytest \ |
23 | python3-pytest-asyncio \ | 23 | python3-pytest-asyncio \ |
24 | python3-unittest \ | 24 | python3-threading \ |
25 | python3-tox \ | ||
25 | python3-unittest-automake-output \ | 26 | python3-unittest-automake-output \ |
26 | " | 27 | " |
27 | 28 | ||
28 | S = "${WORKDIR}/git" | ||
29 | |||
30 | do_install_ptest() { | 29 | do_install_ptest() { |
31 | install -d ${D}${PTEST_PATH}/tests | 30 | install -d ${D}${PTEST_PATH}/tests |
32 | cp -rf ${S}/tests ${D}${PTEST_PATH}/ | 31 | cp -rf ${S}/tests ${D}${PTEST_PATH}/ |
diff --git a/meta-python/recipes-devtools/python/python3-pytest-runner_6.0.1.bb b/meta-python/recipes-devtools/python/python3-pytest-runner_6.0.1.bb new file mode 100644 index 0000000000..e5e5e048bd --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pytest-runner_6.0.1.bb | |||
@@ -0,0 +1,15 @@ | |||
1 | SUMMARY = "Invoke py.test as distutils command with dependency resolution" | ||
2 | HOMEPAGE = "https://pypi.org/project/pytest-runner/" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7a7126e068206290f3fe9f8d6c713ea6" | ||
5 | |||
6 | SRC_URI[sha256sum] = "70d4739585a7008f37bf4933c013fdb327b8878a5a69fcbb3316c88882f0f49b" | ||
7 | |||
8 | inherit pypi python_setuptools_build_meta | ||
9 | |||
10 | DEPENDS += " \ | ||
11 | python3-setuptools-scm-native" | ||
12 | |||
13 | RDEPENDS:${PN} = "python3-setuptools python3-debugger python3-json python3-io" | ||
14 | |||
15 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-pytest-socket_0.7.0.bb b/meta-python/recipes-devtools/python/python3-pytest-socket_0.7.0.bb index 86b03724a0..feb2f6fbb5 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-socket_0.7.0.bb +++ b/meta-python/recipes-devtools/python/python3-pytest-socket_0.7.0.bb | |||
@@ -12,3 +12,4 @@ RDEPENDS:${PN} = "python3-pytest" | |||
12 | BBCLASSEXTEND = "native nativesdk" | 12 | BBCLASSEXTEND = "native nativesdk" |
13 | 13 | ||
14 | PYPI_PACKAGE = "pytest_socket" | 14 | PYPI_PACKAGE = "pytest_socket" |
15 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
diff --git a/meta-python/recipes-devtools/python/python3-pytest-sugar/run-ptest b/meta-python/recipes-devtools/python/python3-pytest-sugar/run-ptest new file mode 100644 index 0000000000..b4bf4b65d8 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pytest-sugar/run-ptest | |||
@@ -0,0 +1,3 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest -vv | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}' | ||
diff --git a/meta-python/recipes-devtools/python/python3-pytest-sugar_1.0.0.bb b/meta-python/recipes-devtools/python/python3-pytest-sugar_1.0.0.bb new file mode 100644 index 0000000000..9ce29aef7e --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pytest-sugar_1.0.0.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | SUMMARY = "pytest-sugar is a plugin for pytest that changes the default look and feel of pytest (e.g. progressbar, show tests that fail instantly)." | ||
2 | HOMEPAGE = "https://github.com/Teemu/pytest-sugar" | ||
3 | LICENSE = "BSD-3-Clause" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=dfc31f3b2a6a301239a1ba99b71a9459" | ||
5 | |||
6 | SRC_URI += "file://run-ptest" | ||
7 | SRC_URI[sha256sum] = "6422e83258f5b0c04ce7c632176c7732cab5fdb909cb39cca5c9139f81276c0a" | ||
8 | |||
9 | inherit pypi python_poetry_core ptest-python-pytest | ||
10 | |||
11 | PACKAGECONFIG ?= "" | ||
12 | PACKAGECONFIG[dev] = ",,,python3-black python3-flake8 python3-pre-commit" | ||
13 | |||
14 | do_install_ptest:append() { | ||
15 | install -d ${D}${PTEST_PATH}/tests | ||
16 | cp -rf ${S}/test_sugar.py ${D}${PTEST_PATH}/tests/ | ||
17 | } | ||
18 | |||
19 | RDEPENDS:${PN} += "python3-packaging python3-pytest python3-termcolor \ | ||
20 | python3-core python3-packaging python3-pytest \ | ||
21 | python3-pytest-xdist" | ||
22 | |||
23 | RDEPENDS:${PN}-ptest += "python3-tox" | ||
diff --git a/meta-python/recipes-devtools/python/python3-pytest-tempdir_2019.10.12.bb b/meta-python/recipes-devtools/python/python3-pytest-tempdir_2019.10.12.bb index dff6af4e0a..b161b016bc 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-tempdir_2019.10.12.bb +++ b/meta-python/recipes-devtools/python/python3-pytest-tempdir_2019.10.12.bb | |||
@@ -4,7 +4,6 @@ SECTION = "devel/python" | |||
4 | LICENSE = "Apache-2.0" | 4 | LICENSE = "Apache-2.0" |
5 | LIC_FILES_CHKSUM = "file://PKG-INFO;md5=9872c3a37cc9baf79a464cd168282be5" | 5 | LIC_FILES_CHKSUM = "file://PKG-INFO;md5=9872c3a37cc9baf79a464cd168282be5" |
6 | 6 | ||
7 | SRC_URI[md5sum] = "79b997d418fb85c2529ab50cd4333689" | ||
8 | SRC_URI[sha256sum] = "e7d91813a9aa991db87dacdef8cfd3f1657632d731d56d06238c5ffb63ab36d8" | 7 | SRC_URI[sha256sum] = "e7d91813a9aa991db87dacdef8cfd3f1657632d731d56d06238c5ffb63ab36d8" |
9 | 8 | ||
10 | inherit pypi setuptools3 | 9 | inherit pypi setuptools3 |
diff --git a/meta-python/recipes-devtools/python/python3-pytest-timeout_2.3.1.bb b/meta-python/recipes-devtools/python/python3-pytest-timeout_2.3.1.bb index b56c26aada..fe9d814c0e 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-timeout_2.3.1.bb +++ b/meta-python/recipes-devtools/python/python3-pytest-timeout_2.3.1.bb | |||
@@ -3,10 +3,8 @@ HOMEPAGE = "https://github.com/pytest-dev/pytest-timeout/" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d8048cd156eda3df2e7f111b0ae9ceff" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d8048cd156eda3df2e7f111b0ae9ceff" |
5 | 5 | ||
6 | PYPI_PACKAGE = "pytest-timeout" | ||
7 | |||
8 | SRC_URI[sha256sum] = "12397729125c6ecbdaca01035b9e5239d4db97352320af155b3f5de1ba5165d9" | 6 | SRC_URI[sha256sum] = "12397729125c6ecbdaca01035b9e5239d4db97352320af155b3f5de1ba5165d9" |
9 | 7 | ||
10 | inherit pypi setuptools3 | 8 | inherit pypi python_setuptools_build_meta |
11 | 9 | ||
12 | RDEPENDS:${PN} = "python3-pytest" | 10 | RDEPENDS:${PN} = "python3-pytest" |
diff --git a/meta-python/recipes-devtools/python/python3-python-multipart_0.0.20.bb b/meta-python/recipes-devtools/python/python3-python-multipart_0.0.20.bb new file mode 100644 index 0000000000..71f9674ec8 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-python-multipart_0.0.20.bb | |||
@@ -0,0 +1,15 @@ | |||
1 | SUMMARY = "A streaming multipart parser for Python" | ||
2 | LICENSE = "Apache-2.0" | ||
3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3d98f0d58b28321924a89ab60c82410e" | ||
4 | |||
5 | SRC_URI[sha256sum] = "8dd0cab45b8e23064ae09147625994d090fa46f5b0d1e13af944c331a7fa9d13" | ||
6 | |||
7 | inherit pypi python_hatchling ptest-python-pytest | ||
8 | |||
9 | PYPI_PACKAGE = "python_multipart" | ||
10 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
11 | |||
12 | RDEPENDS:${PN}-ptest += " \ | ||
13 | python3-pyyaml \ | ||
14 | " | ||
15 | |||
diff --git a/meta-python/recipes-devtools/python/python3-python-vlc_3.0.20123.bb b/meta-python/recipes-devtools/python/python3-python-vlc_3.0.21203.bb index 960da1437c..44a14348b2 100644 --- a/meta-python/recipes-devtools/python/python3-python-vlc_3.0.20123.bb +++ b/meta-python/recipes-devtools/python/python3-python-vlc_3.0.21203.bb | |||
@@ -3,9 +3,11 @@ HOMEPAGE = "wiki.videolan.org/PythonBinding" | |||
3 | LICENSE = "LGPL-2.0-only" | 3 | LICENSE = "LGPL-2.0-only" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "244fbb9e392a0326841fca926d6d12a2a36c546982191f493f148fa19e66b1d4" | 6 | SRC_URI[sha256sum] = "52d0544b276b11e58b6c0b748c3e0518f94f74b1b4cd328c83a59eacabead1ec" |
7 | 7 | ||
8 | inherit pypi setuptools3 | 8 | PYPI_PACKAGE = "python_vlc" |
9 | |||
10 | inherit pypi python_setuptools_build_meta | ||
9 | 11 | ||
10 | RDEPENDS:${PN} += " \ | 12 | RDEPENDS:${PN} += " \ |
11 | python3-ctypes \ | 13 | python3-ctypes \ |
diff --git a/meta-python/recipes-devtools/python/python3-pytoml/run-ptest b/meta-python/recipes-devtools/python/python3-pytoml/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-pytoml/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb b/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb index 1717085967..15dc2f2c44 100644 --- a/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb +++ b/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb | |||
@@ -4,28 +4,16 @@ SECTION = "devel/python" | |||
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=cfff423699bdaef24331933ac4f56078" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=cfff423699bdaef24331933ac4f56078" |
6 | 6 | ||
7 | SRC_URI[md5sum] = "e59dd36a559dd2a876e4c149c69e947b" | ||
8 | SRC_URI[sha256sum] = "8eecf7c8d0adcff3b375b09fe403407aa9b645c499e5ab8cac670ac4a35f61e7" | 7 | SRC_URI[sha256sum] = "8eecf7c8d0adcff3b375b09fe403407aa9b645c499e5ab8cac670ac4a35f61e7" |
9 | 8 | ||
10 | inherit pypi setuptools3 ptest | 9 | inherit pypi setuptools3 ptest-python-pytest |
11 | 10 | ||
12 | BBCLASSEXTEND = "native nativesdk" | 11 | PTEST_PYTEST_DIR = "test" |
13 | 12 | ||
14 | SRC_URI += " \ | 13 | BBCLASSEXTEND = "native nativesdk" |
15 | file://run-ptest \ | ||
16 | " | ||
17 | 14 | ||
18 | RDEPENDS:${PN} += " \ | 15 | RDEPENDS:${PN} += " \ |
19 | python3-datetime \ | 16 | python3-datetime \ |
20 | python3-stringold \ | 17 | python3-stringold \ |
21 | " | 18 | " |
22 | 19 | ||
23 | RDEPENDS:${PN}-ptest += " \ | ||
24 | python3-pytest \ | ||
25 | python3-unittest-automake-output \ | ||
26 | " | ||
27 | |||
28 | do_install_ptest() { | ||
29 | install -d ${D}${PTEST_PATH}/test | ||
30 | cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ | ||
31 | } | ||
diff --git a/meta-python/recipes-devtools/python/python3-pyudev_0.24.3.bb b/meta-python/recipes-devtools/python/python3-pyudev_0.24.3.bb index 0911b63ed9..a44fdad3fd 100644 --- a/meta-python/recipes-devtools/python/python3-pyudev_0.24.3.bb +++ b/meta-python/recipes-devtools/python/python3-pyudev_0.24.3.bb | |||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" | |||
5 | 5 | ||
6 | SRC_URI[sha256sum] = "2e945427a21674893bb97632401db62139d91cea1ee96137cc7b07ad22198fc7" | 6 | SRC_URI[sha256sum] = "2e945427a21674893bb97632401db62139d91cea1ee96137cc7b07ad22198fc7" |
7 | 7 | ||
8 | inherit pypi setuptools3 | 8 | inherit pypi python_setuptools_build_meta |
9 | 9 | ||
10 | do_configure:prepend() { | 10 | do_configure:prepend() { |
11 | sed -i "/import pyudev/d" ${S}/setup.py | 11 | sed -i "/import pyudev/d" ${S}/setup.py |
diff --git a/meta-python/recipes-devtools/python/python3-pyunormalize_15.1.0.bb b/meta-python/recipes-devtools/python/python3-pyunormalize_16.0.0.bb index 6992ca24cc..19463bc224 100644 --- a/meta-python/recipes-devtools/python/python3-pyunormalize_15.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-pyunormalize_16.0.0.bb | |||
@@ -1,8 +1,8 @@ | |||
1 | SUMMARY = "Unicode normalization forms (NFC, NFKC, NFD, NFKD). A library independent from the Python core Unicode database." | 1 | SUMMARY = "Unicode normalization forms (NFC, NFKC, NFD, NFKD). A library independent from the Python core Unicode database." |
2 | HOMEPAGE = "https://github.com/mlodewijck/pyunormalize" | 2 | HOMEPAGE = "https://github.com/mlodewijck/pyunormalize" |
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=dc15b678c3bac1f5b2c873591a330eae" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e2c2ee871081d4e4c24f32e37c413c73" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "cf4a87451a0f1cb76911aa97f432f4579e1f564a2f0c84ce488c73a73901b6c1" | 6 | SRC_URI[sha256sum] = "2e1dfbb4a118154ae26f70710426a52a364b926c9191f764601f5a8cb12761f7" |
7 | 7 | ||
8 | inherit pypi setuptools3 | 8 | inherit pypi setuptools3 |
diff --git a/meta-python/recipes-devtools/python/python3-pyusb_1.2.1.bb b/meta-python/recipes-devtools/python/python3-pyusb_1.3.1.bb index 2282e0300b..595033580a 100644 --- a/meta-python/recipes-devtools/python/python3-pyusb_1.2.1.bb +++ b/meta-python/recipes-devtools/python/python3-pyusb_1.3.1.bb | |||
@@ -9,7 +9,7 @@ RDEPENDS:${PN} += " \ | |||
9 | python3-logging \ | 9 | python3-logging \ |
10 | " | 10 | " |
11 | 11 | ||
12 | SRC_URI[sha256sum] = "a4cc7404a203144754164b8b40994e2849fde1cfff06b08492f12fff9d9de7b9" | 12 | SRC_URI[sha256sum] = "3af070b607467c1c164f49d5b0caabe8ac78dbed9298d703a8dbf9df4052d17e" |
13 | 13 | ||
14 | inherit pypi setuptools3 | 14 | inherit pypi setuptools3 |
15 | 15 | ||
diff --git a/meta-python/recipes-devtools/python/python3-pyyaml-include/run-ptest b/meta-python/recipes-devtools/python/python3-pyyaml-include/run-ptest deleted file mode 100755 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-pyyaml-include/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-pyyaml-include_2.1.bb b/meta-python/recipes-devtools/python/python3-pyyaml-include_2.2.bb index 30dde5907b..41ebe44dbd 100644 --- a/meta-python/recipes-devtools/python/python3-pyyaml-include_2.1.bb +++ b/meta-python/recipes-devtools/python/python3-pyyaml-include_2.2.bb | |||
@@ -3,27 +3,26 @@ HOMEPAGE = "https://github.com/tanbro/pyyaml-include" | |||
3 | LICENSE = "GPL-3.0-only" | 3 | LICENSE = "GPL-3.0-only" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504" |
5 | DEPENDS += "python3-setuptools-scm-native" | 5 | DEPENDS += "python3-setuptools-scm-native" |
6 | SRCREV = "dc16153b28f5cab997814c0ce9b43dc4c58507e7" | 6 | SRCREV = "3e0db562a7b03fa1bf5cbe392c47658042596dd0" |
7 | 7 | ||
8 | SRC_URI = " \ | 8 | SRC_URI = " \ |
9 | git://github.com/tanbro/pyyaml-include;protocol=https;branch=main \ | 9 | git://github.com/tanbro/pyyaml-include;protocol=https;branch=main \ |
10 | file://run-ptest \ | ||
11 | " | 10 | " |
12 | 11 | ||
13 | S = "${WORKDIR}/git" | ||
14 | 12 | ||
15 | inherit python_setuptools_build_meta ptest | 13 | inherit python_setuptools_build_meta ptest-python-pytest |
16 | 14 | ||
17 | do_install_ptest() { | 15 | do_compile:prepend() { |
18 | install -d ${D}${PTEST_PATH}/tests | 16 | export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |
19 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
20 | } | 17 | } |
21 | 18 | ||
22 | RDEPENDS:${PN} += " \ | 19 | RDEPENDS:${PN} += " \ |
23 | python3-pyyaml \ | 20 | python3-pyyaml \ |
21 | python3-fsspec \ | ||
24 | " | 22 | " |
25 | RDEPENDS:${PN}-ptest += " \ | 23 | RDEPENDS:${PN}-ptest += " \ |
26 | python3-pytest \ | 24 | python3-fsspec \ |
27 | python3-unittest-automake-output \ | 25 | python3-aiohttp \ |
26 | python3-requests \ | ||
28 | " | 27 | " |
29 | BBCLASSEXTEND = "native nativesdk" | 28 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-python/recipes-devtools/python/python3-pyzmq/club-rpath-out.patch b/meta-python/recipes-devtools/python/python3-pyzmq/club-rpath-out.patch deleted file mode 100644 index 61aeaca5fa..0000000000 --- a/meta-python/recipes-devtools/python/python3-pyzmq/club-rpath-out.patch +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | From efae4e08d13e0958d929ea524e21c0a210b31982 Mon Sep 17 00:00:00 2001 | ||
2 | From: Leon Anavi <leon.anavi@konsulko.com> | ||
3 | Date: Fri, 22 Jan 2021 11:41:12 +0200 | ||
4 | Subject: [PATCH] setup.py: Adjust _add_rpath | ||
5 | |||
6 | Fix error: unrecognized command-line option '-R' | ||
7 | |||
8 | Upstream-Status: Inappropriate [oe specific] | ||
9 | |||
10 | Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> | ||
11 | |||
12 | --- | ||
13 | setup.py | 3 --- | ||
14 | 1 file changed, 3 deletions(-) | ||
15 | |||
16 | diff --git a/setup.py b/setup.py | ||
17 | index b634d94..7f6a2f1 100755 | ||
18 | --- a/setup.py | ||
19 | +++ b/setup.py | ||
20 | @@ -235,9 +235,6 @@ def _add_rpath(settings, path): | ||
21 | """ | ||
22 | if sys.platform == 'darwin': | ||
23 | settings['extra_link_args'].extend(['-Wl,-rpath', '-Wl,%s' % path]) | ||
24 | - else: | ||
25 | - settings['runtime_library_dirs'].append(path) | ||
26 | - | ||
27 | |||
28 | def settings_from_prefix(prefix=None): | ||
29 | """load appropriate library/include settings from ZMQ prefix""" | ||
diff --git a/meta-python/recipes-devtools/python/python3-pyzmq_25.1.2.bb b/meta-python/recipes-devtools/python/python3-pyzmq_25.1.2.bb deleted file mode 100644 index 2a6993c141..0000000000 --- a/meta-python/recipes-devtools/python/python3-pyzmq_25.1.2.bb +++ /dev/null | |||
@@ -1,58 +0,0 @@ | |||
1 | SUMMARY = "PyZMQ: Python bindings for ZMQ" | ||
2 | DESCRIPTION = "This package contains Python bindings for ZeroMQ. ZMQ is a lightweight and fast messaging implementation." | ||
3 | HOMEPAGE = "http://zeromq.org/bindings:python" | ||
4 | LICENSE = "BSD-3-Clause & LGPL-3.0-only" | ||
5 | LIC_FILES_CHKSUM = "\ | ||
6 | file://LICENSE.BSD;md5=1787206f198344195a671b60326c59dc \ | ||
7 | file://LICENSE.LESSER;md5=0e99bfbdd8b9d33b0221986fe3be89ed \ | ||
8 | " | ||
9 | |||
10 | DEPENDS = "python3-packaging-native python3-cython-native python3-setuptools-scm-native zeromq" | ||
11 | |||
12 | SRC_URI:append = " \ | ||
13 | file://club-rpath-out.patch \ | ||
14 | file://run-ptest \ | ||
15 | " | ||
16 | SRC_URI[sha256sum] = "93f1aa311e8bb912e34f004cf186407a4e90eec4f0ecc0efd26056bf7eda0226" | ||
17 | |||
18 | inherit pypi pkgconfig python_setuptools_build_meta ptest | ||
19 | |||
20 | PACKAGES =+ "\ | ||
21 | ${PN}-test \ | ||
22 | " | ||
23 | |||
24 | FILES:${PN}-test += "\ | ||
25 | ${PYTHON_SITEPACKAGES_DIR}/*/tests \ | ||
26 | " | ||
27 | |||
28 | RDEPENDS:${PN} += "\ | ||
29 | python3-json \ | ||
30 | python3-multiprocessing \ | ||
31 | python3-tornado \ | ||
32 | " | ||
33 | |||
34 | RDEPENDS:${PN}-ptest += "\ | ||
35 | ${PN}-test \ | ||
36 | python3-pytest \ | ||
37 | python3-unittest-automake-output \ | ||
38 | python3-unixadmin \ | ||
39 | " | ||
40 | |||
41 | do_compile:prepend() { | ||
42 | echo [global] > ${S}/setup.cfg | ||
43 | echo zmq_prefix = ${STAGING_DIR_HOST} >> ${S}/setup.cfg | ||
44 | echo have_sys_un_h = True >> ${S}/setup.cfg | ||
45 | echo skip_check_zmq = True >> ${S}/setup.cfg | ||
46 | echo libzmq_extension = False >> ${S}/setup.cfg | ||
47 | echo no_libzmq_extension = True >> ${S}/setup.cfg | ||
48 | } | ||
49 | |||
50 | do_install:append() { | ||
51 | sed -i -e 's#${RECIPE_SYSROOT}##g' ${D}${PYTHON_SITEPACKAGES_DIR}/zmq/utils/config.json | ||
52 | sed -i -e 's#${RECIPE_SYSROOT}##g' ${D}${PYTHON_SITEPACKAGES_DIR}/zmq/utils/compiler.json | ||
53 | } | ||
54 | |||
55 | do_install_ptest() { | ||
56 | install -d ${D}${PTEST_PATH}/tests | ||
57 | cp -rf ${S}/zmq/tests/* ${D}${PTEST_PATH}/tests/ | ||
58 | } | ||
diff --git a/meta-python/recipes-devtools/python/python3-pyzmq_27.0.0.bb b/meta-python/recipes-devtools/python/python3-pyzmq_27.0.0.bb new file mode 100644 index 0000000000..f5432b7228 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyzmq_27.0.0.bb | |||
@@ -0,0 +1,60 @@ | |||
1 | SUMMARY = "PyZMQ: Python bindings for ZMQ" | ||
2 | DESCRIPTION = "This package contains Python bindings for ZeroMQ. ZMQ is a lightweight and fast messaging implementation." | ||
3 | HOMEPAGE = "https://zeromq.org/bindings:python" | ||
4 | LICENSE = "BSD-3-Clause" | ||
5 | LIC_FILES_CHKSUM = "\ | ||
6 | file://LICENSE.md;md5=1787206f198344195a671b60326c59dc \ | ||
7 | " | ||
8 | |||
9 | DEPENDS = "python3-packaging-native \ | ||
10 | python3-setuptools-scm-native \ | ||
11 | python3-scikit-build-core-native \ | ||
12 | cmake-native \ | ||
13 | ninja-native \ | ||
14 | zeromq \ | ||
15 | " | ||
16 | |||
17 | PEP517_BUILD_OPTS = "--skip-dependency-check \ | ||
18 | -Ccmake.define.PYZMQ_LIBZMQ_RPATH=OFF \ | ||
19 | -Ccmake.define.PYZMQ_NO_BUNDLE=ON \ | ||
20 | -Ccmake.define.CMAKE_FIND_ROOT_PATH_MODE_PACKAGE=ONLY \ | ||
21 | -Ccmake.define.CMAKE_FIND_ROOT_PATH_MODE_PROGRAM=ONLY \ | ||
22 | -Ccmake.define.CMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY \ | ||
23 | -Ccmake.define.CMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY \ | ||
24 | -Ccmake.define.CMAKE_FIND_ROOT_PATH="${STAGING_DIR_NATIVE}" \ | ||
25 | -Ccmake.build-type="RelWithDebInfo" \ | ||
26 | " | ||
27 | |||
28 | SRC_URI:append = " \ | ||
29 | file://run-ptest \ | ||
30 | " | ||
31 | |||
32 | SRC_URI[sha256sum] = "b1f08eeb9ce1510e6939b6e5dcd46a17765e2333daae78ecf4606808442e52cf" | ||
33 | |||
34 | inherit pypi pkgconfig python_setuptools_build_meta ptest cython | ||
35 | |||
36 | PACKAGES =+ "\ | ||
37 | ${PN}-test \ | ||
38 | " | ||
39 | |||
40 | FILES:${PN}-test += "\ | ||
41 | ${PYTHON_SITEPACKAGES_DIR}/*/tests \ | ||
42 | " | ||
43 | |||
44 | RDEPENDS:${PN} += "\ | ||
45 | python3-json \ | ||
46 | python3-multiprocessing \ | ||
47 | python3-tornado \ | ||
48 | " | ||
49 | |||
50 | RDEPENDS:${PN}-ptest += "\ | ||
51 | ${PN}-test \ | ||
52 | python3-pytest \ | ||
53 | python3-unittest-automake-output \ | ||
54 | python3-unixadmin \ | ||
55 | " | ||
56 | |||
57 | do_install_ptest() { | ||
58 | install -d ${D}${PTEST_PATH}/tests | ||
59 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
60 | } | ||
diff --git a/meta-python/recipes-devtools/python/python3-pyzstd/0001-Bump-setuptools-dependency-from-74-to-89.patch b/meta-python/recipes-devtools/python/python3-pyzstd/0001-Bump-setuptools-dependency-from-74-to-89.patch new file mode 100644 index 0000000000..f7b43b12a7 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyzstd/0001-Bump-setuptools-dependency-from-74-to-89.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From bc9b975c9f41e43481a2eb0623b4180926baecec Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Wed, 9 Apr 2025 14:38:31 -0700 | ||
4 | Subject: [PATCH] Bump setuptools dependency from 74 to 89 | ||
5 | |||
6 | Upstream sticks to 0.74 since setuptools have dropped msvc9compiler | ||
7 | support beyond that which is needed for python 3.9 on windows. We | ||
8 | do not have this problem on Linux | ||
9 | |||
10 | Upstream-Status: Inappropriate [OE-specific] | ||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | pyproject.toml | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/pyproject.toml b/pyproject.toml | ||
17 | index dd885e4..5d4d511 100644 | ||
18 | --- a/pyproject.toml | ||
19 | +++ b/pyproject.toml | ||
20 | @@ -1,6 +1,6 @@ | ||
21 | [build-system] | ||
22 | # setuptools 64+ support --build-option | ||
23 | # setuptools 74+ drops distutils.msvc9compiler required for Python 3.9 under Windows | ||
24 | -requires = ["setuptools>=64,<74"] | ||
25 | +requires = ["setuptools>=64,<89"] | ||
26 | backend-path = ["build_script"] | ||
27 | build-backend = "pyzstd_pep517" | ||
diff --git a/meta-python/recipes-devtools/python/python3-pyzstd_0.16.0.bb b/meta-python/recipes-devtools/python/python3-pyzstd_0.17.0.bb index 77459c1c57..d93411beba 100644 --- a/meta-python/recipes-devtools/python/python3-pyzstd_0.16.0.bb +++ b/meta-python/recipes-devtools/python/python3-pyzstd_0.17.0.bb | |||
@@ -8,9 +8,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=aedb5a2679cd1552fb61c181ef974b9e" | |||
8 | 8 | ||
9 | PYPI_PACKAGE = "pyzstd" | 9 | PYPI_PACKAGE = "pyzstd" |
10 | 10 | ||
11 | SRC_URI[sha256sum] = "fd43a0ae38ae15223fb1057729001829c3336e90f4acf04cf12ebdec33346658" | 11 | SRC_URI += "file://0001-Bump-setuptools-dependency-from-74-to-89.patch" |
12 | SRC_URI[sha256sum] = "d84271f8baa66c419204c1dd115a4dec8b266f8a2921da21b81764fa208c1db6" | ||
12 | 13 | ||
13 | inherit pypi setuptools3 | 14 | inherit pypi python_setuptools_build_meta ptest-python-pytest |
14 | 15 | ||
15 | # clang-16 with -flto segfaults on arm, therefore ignore flto for now | 16 | # clang-16 with -flto segfaults on arm, therefore ignore flto for now |
16 | do_configure:append:arm:toolchain-clang() { | 17 | do_configure:append:arm:toolchain-clang() { |
diff --git a/meta-python/recipes-devtools/python/python3-qface_2.0.8.bb b/meta-python/recipes-devtools/python/python3-qface_2.0.13.bb index 8ad61ab12b..679c9af629 100644 --- a/meta-python/recipes-devtools/python/python3-qface_2.0.8.bb +++ b/meta-python/recipes-devtools/python/python3-qface_2.0.13.bb | |||
@@ -2,7 +2,7 @@ SUMMARY = "A generator framework based on a common modern IDL" | |||
2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=eee61e10a40b0e3045ee5965bcd9a8b5" | 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=eee61e10a40b0e3045ee5965bcd9a8b5" |
4 | 4 | ||
5 | SRC_URI[sha256sum] = "eccee7dbc4290c5a4e394df8d527f39148e0de0ff22c6b260f48c48f12b3beb4" | 5 | SRC_URI[sha256sum] = "e47be09989e3bf1c3201740501a07d9cd631fb29fb442445e343c94af7b480cb" |
6 | 6 | ||
7 | inherit pypi setuptools3 | 7 | inherit pypi setuptools3 |
8 | 8 | ||
diff --git a/meta-python/recipes-devtools/python/python3-qrcode_7.4.2.bb b/meta-python/recipes-devtools/python/python3-qrcode_8.2.bb index 204f4eceec..1671864c1f 100644 --- a/meta-python/recipes-devtools/python/python3-qrcode_7.4.2.bb +++ b/meta-python/recipes-devtools/python/python3-qrcode_8.2.bb | |||
@@ -3,10 +3,9 @@ SECTION = "devel/python" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4b802d2a65df4626623c79757f486af9" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4b802d2a65df4626623c79757f486af9" |
5 | 5 | ||
6 | PYPI_PACKAGE = "qrcode" | 6 | SRC_URI[sha256sum] = "35c3f2a4172b33136ab9f6b3ef1c00260dd2f66f858f24d88418a015f446506c" |
7 | SRC_URI[sha256sum] = "9dd969454827e127dbd93696b20747239e6d540e082937c90f14ac95b30f5845" | ||
8 | 7 | ||
9 | inherit pypi setuptools3 | 8 | inherit pypi python_poetry_core |
10 | 9 | ||
11 | RDEPENDS:${PN} = " \ | 10 | RDEPENDS:${PN} = " \ |
12 | python3-six \ | 11 | python3-six \ |
diff --git a/meta-python/recipes-devtools/python/python3-rapidjson/run-ptest b/meta-python/recipes-devtools/python/python3-rapidjson/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-rapidjson/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-rapidjson_1.17.bb b/meta-python/recipes-devtools/python/python3-rapidjson_1.19.bb index d7a56b0519..5c47e06918 100644 --- a/meta-python/recipes-devtools/python/python3-rapidjson_1.17.bb +++ b/meta-python/recipes-devtools/python/python3-rapidjson_1.19.bb | |||
@@ -2,30 +2,23 @@ SUMMARY = "Python wrapper around rapidjson" | |||
2 | HOMEPAGE = "https://github.com/python-rapidjson/python-rapidjson" | 2 | HOMEPAGE = "https://github.com/python-rapidjson/python-rapidjson" |
3 | 3 | ||
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4daf3929156304df67003c33274a98bd" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=6fe0b2465366662d7cfa6793ccbab563" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "95a111da29d996af8549f8b32ec701dab3af2ab7c6cd9c79540391ecb05f20c8" | 7 | SRC_URI[sha256sum] = "81e7260f6297cad564389b700783c0a33de71310b9eb01fd013faec5e7ed4eff" |
8 | 8 | ||
9 | # Inheriting ptest provides functionality for packaging and installing runtime tests for this recipe | 9 | # Inheriting ptest provides functionality for packaging and installing runtime tests for this recipe |
10 | inherit setuptools3 pypi ptest | 10 | inherit setuptools3 pypi ptest-python-pytest |
11 | 11 | ||
12 | PYPI_PACKAGE = "python-rapidjson" | 12 | PYPI_PACKAGE = "python-rapidjson" |
13 | 13 | ||
14 | SETUPTOOLS_BUILD_ARGS += " --rj-include-dir=${RECIPE_SYSROOT}${includedir}" | 14 | SETUPTOOLS_BUILD_ARGS += " --rj-include-dir=${RECIPE_SYSROOT}${includedir}" |
15 | 15 | ||
16 | # run-ptest is a shell script that starts the test suite | ||
17 | SRC_URI += " \ | ||
18 | file://run-ptest \ | ||
19 | " | ||
20 | |||
21 | DEPENDS += " \ | 16 | DEPENDS += " \ |
22 | rapidjson \ | 17 | rapidjson \ |
23 | " | 18 | " |
24 | 19 | ||
25 | # Adding required python package for the ptest (pytest and pytest->automake report translation) | 20 | # Adding required python package for the ptest (pytest and pytest->automake report translation) |
26 | RDEPENDS:${PN}-ptest += " \ | 21 | RDEPENDS:${PN}-ptest += " \ |
27 | python3-pytest \ | ||
28 | python3-unittest-automake-output \ | ||
29 | python3-pytz \ | 22 | python3-pytz \ |
30 | " | 23 | " |
31 | 24 | ||
@@ -33,8 +26,3 @@ RDEPENDS:${PN} += " \ | |||
33 | python3-core \ | 26 | python3-core \ |
34 | " | 27 | " |
35 | 28 | ||
36 | # Installing the test suite on the target | ||
37 | do_install_ptest() { | ||
38 | install -d ${D}${PTEST_PATH}/tests | ||
39 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
40 | } | ||
diff --git a/meta-python/recipes-devtools/python/python3-rarfile_4.2.bb b/meta-python/recipes-devtools/python/python3-rarfile_4.2.bb index 41cff4bfc4..3f4423a71f 100644 --- a/meta-python/recipes-devtools/python/python3-rarfile_4.2.bb +++ b/meta-python/recipes-devtools/python/python3-rarfile_4.2.bb | |||
@@ -10,10 +10,10 @@ SRC_URI[sha256sum] = "8e1c8e72d0845ad2b32a47ab11a719bc2e41165ec101fd4d3fe9e92aa3 | |||
10 | 10 | ||
11 | inherit pypi | 11 | inherit pypi |
12 | 12 | ||
13 | PYPI_PACKAGE="rarfile" | 13 | PYPI_PACKAGE = "rarfile" |
14 | 14 | ||
15 | RDEPENDS:${PN} += "\ | 15 | RDEPENDS:${PN} += "\ |
16 | p7zip \ | 16 | 7zip \ |
17 | python3-core \ | 17 | python3-core \ |
18 | python3-datetime \ | 18 | python3-datetime \ |
19 | python3-crypt \ | 19 | python3-crypt \ |
diff --git a/meta-python/recipes-devtools/python/python3-raven_6.10.0.bb b/meta-python/recipes-devtools/python/python3-raven_6.10.0.bb index 79a38983de..54ae1c3139 100644 --- a/meta-python/recipes-devtools/python/python3-raven_6.10.0.bb +++ b/meta-python/recipes-devtools/python/python3-raven_6.10.0.bb | |||
@@ -6,7 +6,6 @@ HOMEPAGE = "https://github.com/getsentry/raven-python" | |||
6 | LICENSE = "BSD-3-Clause" | 6 | LICENSE = "BSD-3-Clause" |
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b9a4414e08f0571d55184531cefc131b" | 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b9a4414e08f0571d55184531cefc131b" |
8 | 8 | ||
9 | SRC_URI[md5sum] = "3676f31dadfa61526444dd0245c78a38" | ||
10 | SRC_URI[sha256sum] = "3fa6de6efa2493a7c827472e984ce9b020797d0da16f1db67197bcc23c8fae54" | 9 | SRC_URI[sha256sum] = "3fa6de6efa2493a7c827472e984ce9b020797d0da16f1db67197bcc23c8fae54" |
11 | 10 | ||
12 | PYPI_PACKAGE = "raven" | 11 | PYPI_PACKAGE = "raven" |
diff --git a/meta-python/recipes-devtools/python/python3-redis_5.0.4.bb b/meta-python/recipes-devtools/python/python3-redis_5.2.1.bb index 506e3bc1a6..702e9d9db5 100644 --- a/meta-python/recipes-devtools/python/python3-redis_5.0.4.bb +++ b/meta-python/recipes-devtools/python/python3-redis_5.2.1.bb | |||
@@ -1,10 +1,13 @@ | |||
1 | SUMMARY = "Python client for Redis key-value store" | 1 | SUMMARY = "Python client for Redis key-value store" |
2 | DESCRIPTION = "The Python interface to the Redis key-value store." | 2 | DESCRIPTION = "The Python interface to the Redis key-value store." |
3 | HOMEPAGE = "http://github.com/andymccurdy/redis-py" | 3 | HOMEPAGE = "https://github.com/andymccurdy/redis-py" |
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=609ded3add9111c4c6e102f1d421d3f8" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=609ded3add9111c4c6e102f1d421d3f8" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "ec31f2ed9675cc54c21ba854cfe0462e6faf1d83c8ce5944709db8a4700b9c61" | 7 | # Prefix archive to avoid clashing with the main redis archives |
8 | PYPI_ARCHIVE_NAME_PREFIX = "pypi-" | ||
9 | |||
10 | SRC_URI[sha256sum] = "16f2e22dff21d5125e8481515e386711a34cbec50f0e44413dd7d9c060a54e0f" | ||
8 | 11 | ||
9 | inherit pypi setuptools3 | 12 | inherit pypi setuptools3 |
10 | 13 | ||
diff --git a/meta-python/recipes-devtools/python/python3-regex_2024.5.15.bb b/meta-python/recipes-devtools/python/python3-regex_2024.11.6.bb index 9d356553b9..4a84414f12 100644 --- a/meta-python/recipes-devtools/python/python3-regex_2024.5.15.bb +++ b/meta-python/recipes-devtools/python/python3-regex_2024.11.6.bb | |||
@@ -3,9 +3,9 @@ HOMEPAGE = "https://bitbucket.org/mrabarnett/mrab-regex/src" | |||
3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7b5751ddd6b643203c31ff873051d069" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7b5751ddd6b643203c31ff873051d069" |
5 | 5 | ||
6 | inherit pypi setuptools3 | 6 | inherit pypi python_setuptools_build_meta |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "d3ee02d9e5f482cc8309134a91eeaacbdd2261ba111b0fef3748eeb4913e6a2c" | 8 | SRC_URI[sha256sum] = "7ab159b063c52a0333c884e4679f8d7a85112ee3078fe3d9004b2dd875585519" |
9 | 9 | ||
10 | RDEPENDS:${PN} += " \ | 10 | RDEPENDS:${PN} += " \ |
11 | python3-stringold \ | 11 | python3-stringold \ |
diff --git a/meta-python/recipes-devtools/python/python3-requests-file/run-ptest b/meta-python/recipes-devtools/python/python3-requests-file/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-requests-file/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb b/meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb index 4e0adc39f6..d111c3c9da 100644 --- a/meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb | |||
@@ -1,30 +1,17 @@ | |||
1 | SUMMARY = "File transport adapter for Requests" | 1 | SUMMARY = "File transport adapter for Requests" |
2 | HOMEPAGE = "http://github.com/dashea/requests-file" | 2 | HOMEPAGE = "https://github.com/dashea/requests-file" |
3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=9cc728d6087e43796227b0a31422de6b" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=9cc728d6087e43796227b0a31422de6b" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "0f549a3f3b0699415ac04d167e9cb39bccfb730cb832b4d20be3d9867356e658" | 6 | SRC_URI[sha256sum] = "0f549a3f3b0699415ac04d167e9cb39bccfb730cb832b4d20be3d9867356e658" |
7 | 7 | ||
8 | PYPI_PACKAGE = "requests_file" | 8 | PYPI_PACKAGE = "requests_file" |
9 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
9 | 10 | ||
10 | inherit pypi python_setuptools_build_meta ptest | 11 | inherit pypi python_setuptools_build_meta ptest-python-pytest |
11 | |||
12 | SRC_URI += " \ | ||
13 | file://run-ptest \ | ||
14 | " | ||
15 | 12 | ||
16 | DEPENDS += "python3-setuptools-scm-native" | 13 | DEPENDS += "python3-setuptools-scm-native" |
17 | 14 | ||
18 | RDEPENDS:${PN}-ptest += " \ | ||
19 | python3-pytest \ | ||
20 | python3-unittest-automake-output \ | ||
21 | " | ||
22 | |||
23 | do_install_ptest() { | ||
24 | install -d ${D}${PTEST_PATH}/tests | ||
25 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
26 | } | ||
27 | |||
28 | RDEPENDS:${PN} += " \ | 15 | RDEPENDS:${PN} += " \ |
29 | python3-requests \ | 16 | python3-requests \ |
30 | " | 17 | " |
diff --git a/meta-python/recipes-devtools/python/python3-requests-ftp/0001-Remove-use-of-the-cgi-module.patch b/meta-python/recipes-devtools/python/python3-requests-ftp/0001-Remove-use-of-the-cgi-module.patch new file mode 100644 index 0000000000..2d32bf0a17 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-requests-ftp/0001-Remove-use-of-the-cgi-module.patch | |||
@@ -0,0 +1,115 @@ | |||
1 | python 3.13 removed some modules such as cgi which is required by python3-requests-ftp: | ||
2 | |||
3 | https://docs.python.org/3/whatsnew/3.13.html | ||
4 | |||
5 | Important removals: | ||
6 | |||
7 | PEP 594: The remaining 19 “dead batteries” (legacy stdlib modules) have | ||
8 | been removed from the standard library: aifc, audioop, cgi, cgitb, | ||
9 | chunk, crypt, imghdr, mailcap, msilib, nis, nntplib, ossaudiodev, pipes, | ||
10 | sndhdr, spwd, sunau, telnetlib, uu and xdrlib. | ||
11 | |||
12 | Backport and rebase a patch from Fedora to remove use of module cgi. | ||
13 | |||
14 | Upstream-Status: Backport [https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Server/source/tree/Packages/p/python-requests-ftp-0.3.1-36.fc42.src.rpm] | ||
15 | |||
16 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | ||
17 | --- | ||
18 | requests_ftp/ftp.py | 56 --------------------------------------------- | ||
19 | 1 file changed, 56 deletions(-) | ||
20 | |||
21 | diff --git a/requests_ftp/ftp.py b/requests_ftp/ftp.py | ||
22 | index 9711905..85dac47 100644 | ||
23 | --- a/requests_ftp/ftp.py | ||
24 | +++ b/requests_ftp/ftp.py | ||
25 | @@ -6,7 +6,6 @@ from requests.compat import urlparse | ||
26 | from requests.hooks import dispatch_hook | ||
27 | from requests import Response, codes | ||
28 | from io import BytesIO | ||
29 | -import cgi | ||
30 | import os | ||
31 | import socket | ||
32 | |||
33 | @@ -29,12 +28,6 @@ class FTPSession(requests.Session): | ||
34 | content field contains the binary data.''' | ||
35 | return self.request('RETR', url, **kwargs) | ||
36 | |||
37 | - def stor(self, url, files=None, **kwargs): | ||
38 | - '''Sends an FTP STOR to a given URL. Returns a Response object. Expects | ||
39 | - to be given one file by the standard Requests method. The remote | ||
40 | - filename will be given by the URL provided.''' | ||
41 | - return self.request('STOR', url, files=files, **kwargs) | ||
42 | - | ||
43 | def nlst(self, url, **kwargs): | ||
44 | '''Sends an FTP NLST. Returns a Response object.''' | ||
45 | return self.request('NLST', url, **kwargs) | ||
46 | @@ -52,30 +45,6 @@ def monkeypatch_session(): | ||
47 | return | ||
48 | |||
49 | |||
50 | -def parse_multipart_files(request): | ||
51 | - '''Given a prepared reqest, return a file-like object containing the | ||
52 | - original data. This is pretty hacky.''' | ||
53 | - # Start by grabbing the pdict. | ||
54 | - _, pdict = cgi.parse_header(request.headers['Content-Type']) | ||
55 | - | ||
56 | - # Now, wrap the multipart data in a BytesIO buffer. This is annoying. | ||
57 | - buf = BytesIO() | ||
58 | - buf.write(request.body) | ||
59 | - buf.seek(0) | ||
60 | - | ||
61 | - # Parse the data. Simply take the first file. | ||
62 | - data = cgi.parse_multipart(buf, pdict) | ||
63 | - _, filedata = data.popitem() | ||
64 | - buf.close() | ||
65 | - | ||
66 | - # Get a BytesIO now, and write the file into it. | ||
67 | - buf = BytesIO() | ||
68 | - buf.write(''.join(filedata)) | ||
69 | - buf.seek(0) | ||
70 | - | ||
71 | - return buf | ||
72 | - | ||
73 | - | ||
74 | def data_callback_factory(variable): | ||
75 | '''Returns a callback suitable for use by the FTP library. This callback | ||
76 | will repeatedly save data into the variable provided to this function. This | ||
77 | @@ -135,7 +104,6 @@ class FTPAdapter(requests.adapters.BaseAdapter): | ||
78 | # send the specific queries. | ||
79 | self.func_table = {'LIST': self.list, | ||
80 | 'RETR': self.retr, | ||
81 | - 'STOR': self.stor, | ||
82 | 'NLST': self.nlst, | ||
83 | 'SIZE': self.size, | ||
84 | 'HEAD': self.head, | ||
85 | @@ -314,30 +282,6 @@ class FTPAdapter(requests.adapters.BaseAdapter): | ||
86 | response.status_code = codes.ok | ||
87 | return response | ||
88 | |||
89 | - def stor(self, path, request): | ||
90 | - '''Executes the FTP STOR command on the given path.''' | ||
91 | - | ||
92 | - # First, get the file handle. We assume (bravely) | ||
93 | - # that there is only one file to be sent to a given URL. We also | ||
94 | - # assume that the filename is sent as part of the URL, not as part of | ||
95 | - # the files argument. Both of these assumptions are rarely correct, | ||
96 | - # but they are easy. | ||
97 | - data = parse_multipart_files(request) | ||
98 | - | ||
99 | - # Split into the path and the filename. | ||
100 | - path, filename = os.path.split(path) | ||
101 | - | ||
102 | - # Switch directories and upload the data. | ||
103 | - self.conn.cwd(path) | ||
104 | - code = self.conn.storbinary('STOR ' + filename, data) | ||
105 | - | ||
106 | - # Close the connection and build the response. | ||
107 | - self.conn.close() | ||
108 | - | ||
109 | - response = build_binary_response(request, BytesIO(), code) | ||
110 | - | ||
111 | - return response | ||
112 | - | ||
113 | def nlst(self, path, request): | ||
114 | '''Executes the FTP NLST command on the given path.''' | ||
115 | data = BytesIO() | ||
diff --git a/meta-python/recipes-devtools/python/python3-requests-ftp_0.3.1.bb b/meta-python/recipes-devtools/python/python3-requests-ftp_0.3.1.bb index 6df8e7e0bb..db7c5fee0b 100644 --- a/meta-python/recipes-devtools/python/python3-requests-ftp_0.3.1.bb +++ b/meta-python/recipes-devtools/python/python3-requests-ftp_0.3.1.bb | |||
@@ -1,9 +1,9 @@ | |||
1 | SUMMARY = "FTP Transport Adapter for Requests" | 1 | SUMMARY = "FTP Transport Adapter for Requests" |
2 | HOMEPAGE = "http://github.com/Lukasa/requests-ftp" | 2 | HOMEPAGE = "https://github.com/Lukasa/requests-ftp" |
3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=6683a23c9968b97709441dc884d46df6" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=6683a23c9968b97709441dc884d46df6" |
5 | 5 | ||
6 | SRC_URI[md5sum] = "1a52ad1219e696b5abd5449d1ccc0294" | 6 | SRC_URI += "file://0001-Remove-use-of-the-cgi-module.patch" |
7 | SRC_URI[sha256sum] = "7504ceb5cba8a5c0135ed738596820a78c5f2be92d79b29f96ba99b183d8057a" | 7 | SRC_URI[sha256sum] = "7504ceb5cba8a5c0135ed738596820a78c5f2be92d79b29f96ba99b183d8057a" |
8 | 8 | ||
9 | inherit pypi setuptools3 | 9 | inherit pypi setuptools3 |
diff --git a/meta-python/recipes-devtools/python/python3-requests-futures_1.0.1.bb b/meta-python/recipes-devtools/python/python3-requests-futures_1.0.2.bb index 28f034f7e3..5714c3498d 100644 --- a/meta-python/recipes-devtools/python/python3-requests-futures_1.0.1.bb +++ b/meta-python/recipes-devtools/python/python3-requests-futures_1.0.2.bb | |||
@@ -3,7 +3,9 @@ HOMEPAGE = "https://github.com/ross/requests-futures" | |||
3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e1e50798d0afe0e1f87594c6619a2fa5" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e1e50798d0afe0e1f87594c6619a2fa5" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "f55a4ef80070e2858e7d1e73123d2bfaeaf25b93fd34384d8ddf148e2b676373" | 6 | SRC_URI[sha256sum] = "6b7eb57940336e800faebc3dab506360edec9478f7b22dc570858ad3aa7458da" |
7 | |||
8 | PYPI_PACKAGE = "requests_futures" | ||
7 | 9 | ||
8 | inherit pypi setuptools3 | 10 | inherit pypi setuptools3 |
9 | 11 | ||
diff --git a/meta-python/recipes-devtools/python/python3-requests-toolbelt/run-ptest b/meta-python/recipes-devtools/python/python3-requests-toolbelt/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-requests-toolbelt/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-requests-toolbelt_1.0.0.bb b/meta-python/recipes-devtools/python/python3-requests-toolbelt_1.0.0.bb index 9cbe4927a2..8956dee1f1 100644 --- a/meta-python/recipes-devtools/python/python3-requests-toolbelt_1.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-requests-toolbelt_1.0.0.bb | |||
@@ -4,14 +4,14 @@ HOMEPAGE = "https://toolbelt.readthedocs.org" | |||
4 | LICENSE = "Apache-2.0" | 4 | LICENSE = "Apache-2.0" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=6f14302a4b4099009ab38b4dde5f1075" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=6f14302a4b4099009ab38b4dde5f1075" |
6 | 6 | ||
7 | SRC_URI = "file://run-ptest \ | 7 | SRC_URI = " \ |
8 | file://090856f4159c40a2927fb88546419f2e1697ad5f.patch \ | 8 | file://090856f4159c40a2927fb88546419f2e1697ad5f.patch \ |
9 | file://720240501dca0b4eacc3295665d7ced8719e11d2.patch \ | 9 | file://720240501dca0b4eacc3295665d7ced8719e11d2.patch \ |
10 | " | 10 | " |
11 | 11 | ||
12 | SRC_URI[sha256sum] = "7681a0a3d047012b5bdc0ee37d7f8f07ebe76ab08caeccfc3921ce23c88d5bc6" | 12 | SRC_URI[sha256sum] = "7681a0a3d047012b5bdc0ee37d7f8f07ebe76ab08caeccfc3921ce23c88d5bc6" |
13 | 13 | ||
14 | inherit pypi setuptools3 ptest | 14 | inherit pypi setuptools3 ptest-python-pytest |
15 | 15 | ||
16 | RDEPENDS:${PN} += " \ | 16 | RDEPENDS:${PN} += " \ |
17 | python3-requests (>=2.0.1) \ | 17 | python3-requests (>=2.0.1) \ |
@@ -21,12 +21,10 @@ RDEPENDS:${PN}-ptest += " \ | |||
21 | python3-betamax \ | 21 | python3-betamax \ |
22 | python3-mock \ | 22 | python3-mock \ |
23 | python3-multiprocessing \ | 23 | python3-multiprocessing \ |
24 | python3-pytest \ | ||
25 | python3-trustme \ | 24 | python3-trustme \ |
26 | python3-unittest-automake-output \ | ||
27 | " | 25 | " |
28 | 26 | ||
29 | do_install_ptest() { | 27 | do_install_ptest:append() { |
30 | install -d ${D}${PTEST_PATH}/tests | 28 | install -d ${D}${PTEST_PATH}/tests |
31 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | 29 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ |
32 | cp -rf ${S}/setup.py ${D}${PTEST_PATH} | 30 | cp -rf ${S}/setup.py ${D}${PTEST_PATH} |
diff --git a/meta-python/recipes-devtools/python/python3-responses_0.25.0.bb b/meta-python/recipes-devtools/python/python3-responses_0.25.7.bb index f4b59c7506..31ead072fc 100644 --- a/meta-python/recipes-devtools/python/python3-responses_0.25.0.bb +++ b/meta-python/recipes-devtools/python/python3-responses_0.25.7.bb | |||
@@ -3,9 +3,9 @@ HOMEPAGE = "https://github.com/getsentry/responses" | |||
3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0e601511a8517f4daf688a8eb95be7a2" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0e601511a8517f4daf688a8eb95be7a2" |
5 | 5 | ||
6 | inherit pypi setuptools3 | 6 | inherit pypi python_setuptools_build_meta |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "01ae6a02b4f34e39bffceb0fc6786b67a25eae919c6368d05eabc8d9576c2a66" | 8 | SRC_URI[sha256sum] = "8ebae11405d7a5df79ab6fd54277f6f2bc29b2d002d0dd2d5c632594d1ddcedb" |
9 | 9 | ||
10 | RDEPENDS:${PN} += " \ | 10 | RDEPENDS:${PN} += " \ |
11 | python3-mock \ | 11 | python3-mock \ |
diff --git a/meta-python/recipes-devtools/python/python3-rfc3986-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch b/meta-python/recipes-devtools/python/python3-rfc3986-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch new file mode 100644 index 0000000000..8a646874e8 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-rfc3986-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From 3531ff73631a0d59234eb4713e7b3a7f5ea57bbb Mon Sep 17 00:00:00 2001 | ||
2 | From: Nicola Lunghi <nicola.lunghi@jci.com> | ||
3 | Date: Thu, 14 Nov 2019 12:17:51 +0000 | ||
4 | Subject: [PATCH] setup.py: move pytest-runner to test_requirements | ||
5 | |||
6 | This fixes an issue with yocto build. | ||
7 | pytest-runner is only needed when running tests. | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | --- | ||
11 | setup.py | 4 ++-- | ||
12 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
13 | |||
14 | diff --git a/setup.py b/setup.py | ||
15 | index 53ebea7..ebb0de2 100644 | ||
16 | --- a/setup.py | ||
17 | +++ b/setup.py | ||
18 | @@ -10,9 +10,9 @@ with open('README.md') as readme_file: | ||
19 | |||
20 | requirements = [] | ||
21 | |||
22 | -setup_requirements = ['pytest-runner', ] | ||
23 | +setup_requirements = [] | ||
24 | |||
25 | -test_requirements = ['pytest>=3', ] | ||
26 | +test_requirements = ['pytest>=3', 'pytest-runner'] | ||
27 | |||
28 | setup( | ||
29 | author="Nicolas Aimetti", | ||
30 | -- | ||
31 | 2.20.1 | ||
32 | |||
diff --git a/meta-python/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb b/meta-python/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb new file mode 100644 index 0000000000..9ebc34eabc --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb | |||
@@ -0,0 +1,21 @@ | |||
1 | SUMMARY = "Pure python rfc3986 validator" | ||
2 | HOMEPAGE = "https://github.com/naimetti/rfc3986-validator" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a21b13b5a996f08f7e0b088aa38ce9c6" | ||
5 | |||
6 | SRC_URI[sha256sum] = "3d44bde7921b3b9ec3ae4e3adca370438eccebc676456449b145d533b240d055" | ||
7 | |||
8 | PYPI_PACKAGE = "rfc3986_validator" | ||
9 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
10 | |||
11 | inherit pypi setuptools3 | ||
12 | |||
13 | SRC_URI += "\ | ||
14 | file://0001-setup.py-move-pytest-runner-to-test_requirements.patch \ | ||
15 | " | ||
16 | |||
17 | RDEPENDS:${PN} += "\ | ||
18 | python3-core \ | ||
19 | " | ||
20 | |||
21 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-rlp_4.0.1.bb b/meta-python/recipes-devtools/python/python3-rlp_4.1.0.bb index 46ca600ea2..cfd155b514 100644 --- a/meta-python/recipes-devtools/python/python3-rlp_4.0.1.bb +++ b/meta-python/recipes-devtools/python/python3-rlp_4.1.0.bb | |||
@@ -4,7 +4,7 @@ SECTION = "devel/python" | |||
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=00854fa80a84236706b11f47f23e61e7" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=00854fa80a84236706b11f47f23e61e7" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "bcefb11013dfadf8902642337923bd0c786dc8a27cb4c21da6e154e52869ecb1" | 7 | SRC_URI[sha256sum] = "be07564270a96f3e225e2c107db263de96b5bc1f27722d2855bd3459a08e95a9" |
8 | 8 | ||
9 | inherit pypi setuptools3 | 9 | inherit pypi setuptools3 |
10 | 10 | ||
diff --git a/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary/0001-pyproject.toml-Replace-install_requires.patch b/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary/0001-pyproject.toml-Replace-install_requires.patch new file mode 100644 index 0000000000..b4a58ca607 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary/0001-pyproject.toml-Replace-install_requires.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 29ca728481a275cc46fdf4f32b3aac5706aa0904 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 11 Apr 2025 21:03:43 -0700 | ||
4 | Subject: [PATCH] pyproject.toml: Replace install_requires | ||
5 | |||
6 | install_requires is used with setuptools, with poetry it needs | ||
7 | to use poetry.dependencies | ||
8 | |||
9 | Fixes | ||
10 | poetry.core.constraints.version.exceptions.ParseConstraintError: Could not parse version constraint: robotframework | ||
11 | |||
12 | Upstream-Status: Submitted [https://github.com/whosaysni/robotframework-seriallibrary/pull/25] | ||
13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
14 | --- | ||
15 | pyproject.toml | 6 ++---- | ||
16 | 1 file changed, 2 insertions(+), 4 deletions(-) | ||
17 | |||
18 | diff --git a/pyproject.toml b/pyproject.toml | ||
19 | index be9f51a..0ade7ee 100644 | ||
20 | --- a/pyproject.toml | ||
21 | +++ b/pyproject.toml | ||
22 | @@ -24,7 +24,5 @@ packages = [ | ||
23 | ] | ||
24 | |||
25 | [tool.poetry.dependencies] | ||
26 | -install_requires=["robotframework", "pyserial"] | ||
27 | - | ||
28 | - | ||
29 | - | ||
30 | +robotframework = ">=4.0" | ||
31 | +pyserial = ">=3.0" | ||
diff --git a/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.4.3.bb b/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.4.3.bb index 0f34a1366d..7f282c0fbe 100644 --- a/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.4.3.bb +++ b/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.4.3.bb | |||
@@ -1,13 +1,14 @@ | |||
1 | SUMMARY = "Robot Framework test library for serial connection" | 1 | SUMMARY = "Robot Framework test library for serial connection" |
2 | HOMEPAGE = "https://github.com/whosaysni/robotframework-seriallibrary" | 2 | HOMEPAGE = "https://github.com/whosaysni/robotframework-seriallibrary" |
3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
4 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=1af2e051b493d9552af443cf2f99d480" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ad407cda031a6aaf51a1fecaaa6e7d29" |
5 | 5 | ||
6 | SRC_URI += "file://0001-pyproject.toml-Replace-install_requires.patch" | ||
6 | SRC_URI[sha256sum] = "f20befe5c1106dd8ddca9f60a2f18bf5ec7d5f06f6f09a03fa66bae54777e6bb" | 7 | SRC_URI[sha256sum] = "f20befe5c1106dd8ddca9f60a2f18bf5ec7d5f06f6f09a03fa66bae54777e6bb" |
7 | 8 | ||
8 | PYPI_PACKAGE = "robotframework-seriallibrary" | 9 | PYPI_PACKAGE = "robotframework-seriallibrary" |
9 | 10 | ||
10 | inherit pypi setuptools3 | 11 | inherit pypi python_poetry_core |
11 | 12 | ||
12 | RDEPENDS:${PN} += " \ | 13 | RDEPENDS:${PN} += " \ |
13 | python3-pyserial \ | 14 | python3-pyserial \ |
diff --git a/meta-python/recipes-devtools/python/python3-robotframework_7.0.bb b/meta-python/recipes-devtools/python/python3-robotframework_7.3.1.bb index beb71e6a18..0f205b9274 100644 --- a/meta-python/recipes-devtools/python/python3-robotframework_7.0.bb +++ b/meta-python/recipes-devtools/python/python3-robotframework_7.3.1.bb | |||
@@ -5,15 +5,13 @@ tabular test data syntax and it utilizes the keyword-driven testing approach.\ | |||
5 | Its testing capabilities can be extended by test libraries implemented either\ | 5 | Its testing capabilities can be extended by test libraries implemented either\ |
6 | with Python or Java, and users can create new higher-level keywords from\ | 6 | with Python or Java, and users can create new higher-level keywords from\ |
7 | existing ones using the same syntax that is used for creating test cases." | 7 | existing ones using the same syntax that is used for creating test cases." |
8 | HOMEPAGE = "http://robotframework.org" | 8 | HOMEPAGE = "https://robotframework.org" |
9 | LICENSE = "Apache-2.0" | 9 | LICENSE = "Apache-2.0" |
10 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" | 10 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" |
11 | 11 | ||
12 | inherit pypi setuptools3 | 12 | inherit pypi setuptools3 |
13 | 13 | ||
14 | PYPI_PACKAGE_EXT = "zip" | 14 | SRC_URI[sha256sum] = "10be47f826a5ecff09d08e57bf17fce124d38b6e022b380ce67c526ef747194f" |
15 | |||
16 | SRC_URI[sha256sum] = "04623f758346c917db182e17591ffa474090560c02ed5a64343902e72b7b4bd5" | ||
17 | 15 | ||
18 | RDEPENDS:${PN} += " \ | 16 | RDEPENDS:${PN} += " \ |
19 | python3-shell \ | 17 | python3-shell \ |
diff --git a/meta-python/recipes-devtools/python/python3-rsa_4.9.bb b/meta-python/recipes-devtools/python/python3-rsa_4.9.1.bb index c27cd1d68a..2fb0bff29f 100644 --- a/meta-python/recipes-devtools/python/python3-rsa_4.9.bb +++ b/meta-python/recipes-devtools/python/python3-rsa_4.9.1.bb | |||
@@ -3,7 +3,7 @@ SECTION = "devel/python" | |||
3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c403f6882d4f97a9cd927df987d55634" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c403f6882d4f97a9cd927df987d55634" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "e38464a49c6c85d7f1351b0126661487a7e0a14a50f1675ec50eb34d4f20ef21" | 6 | SRC_URI[sha256sum] = "e7bdbfdb5497da4c07dfd35530e1a902659db6ff241e39d9953cad06ebd0ae75" |
7 | 7 | ||
8 | inherit pypi python_poetry_core update-alternatives | 8 | inherit pypi python_poetry_core update-alternatives |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-schedule_1.2.1.bb b/meta-python/recipes-devtools/python/python3-schedule_1.2.1.bb deleted file mode 100644 index 6ebde30e61..0000000000 --- a/meta-python/recipes-devtools/python/python3-schedule_1.2.1.bb +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | SUMMARY = "Job scheduling for humans" | ||
2 | HOMEPAGE = "https://github.com/dbader/schedule" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=6400f153491d45ea3459761627ca24b2" | ||
5 | |||
6 | SRC_URI[sha256sum] = "843bc0538b99c93f02b8b50e3e39886c06f2d003b24f48e1aa4cadfa3f341279" | ||
7 | |||
8 | inherit pypi setuptools3 | ||
9 | |||
10 | RDEPENDS:${PN} += "python3-datetime python3-logging python3-math" | ||
diff --git a/meta-python/recipes-devtools/python/python3-schedule_1.2.2.bb b/meta-python/recipes-devtools/python/python3-schedule_1.2.2.bb new file mode 100644 index 0000000000..c1be5f9e22 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-schedule_1.2.2.bb | |||
@@ -0,0 +1,15 @@ | |||
1 | SUMMARY = "Job scheduling for humans" | ||
2 | HOMEPAGE = "https://github.com/dbader/schedule" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=6400f153491d45ea3459761627ca24b2" | ||
5 | |||
6 | SRC_URI[sha256sum] = "15fe9c75fe5fd9b9627f3f19cc0ef1420508f9f9a46f45cd0769ef75ede5f0b7" | ||
7 | |||
8 | inherit pypi python_setuptools_build_meta ptest-python-pytest | ||
9 | |||
10 | do_install_ptest:append() { | ||
11 | install -Dm 0644 ${S}/test_schedule.py ${D}${PTEST_PATH}/test_schedule.py | ||
12 | } | ||
13 | |||
14 | RDEPENDS:${PN} += "python3-datetime python3-logging python3-math" | ||
15 | RDEPENDS:${PN}-ptest += "python3-pytz" | ||
diff --git a/meta-python/recipes-devtools/python/python3-schedutils_0.6.bb b/meta-python/recipes-devtools/python/python3-schedutils_0.6.bb index 50868b9c40..dba3bcace7 100644 --- a/meta-python/recipes-devtools/python/python3-schedutils_0.6.bb +++ b/meta-python/recipes-devtools/python/python3-schedutils_0.6.bb | |||
@@ -7,6 +7,5 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" | |||
7 | SRC_URI = "git://git.kernel.org/pub/scm/libs/python/python-schedutils/python-schedutils.git;branch=main" | 7 | SRC_URI = "git://git.kernel.org/pub/scm/libs/python/python-schedutils/python-schedutils.git;branch=main" |
8 | SRCREV = "46469f425f9844f355f6496785ee1ce993b58747" | 8 | SRCREV = "46469f425f9844f355f6496785ee1ce993b58747" |
9 | 9 | ||
10 | S = "${WORKDIR}/git" | ||
11 | 10 | ||
12 | inherit setuptools3 | 11 | inherit setuptools3 |
diff --git a/meta-python/recipes-devtools/python/python3-scikit-build-core/0001-builder.py-Check-PYTHON_INCLUDE_DIR.patch b/meta-python/recipes-devtools/python/python3-scikit-build-core/0001-builder.py-Check-PYTHON_INCLUDE_DIR.patch new file mode 100644 index 0000000000..36eff85334 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-scikit-build-core/0001-builder.py-Check-PYTHON_INCLUDE_DIR.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From 3f5d2be717d200406126537eb2f3ed4de92bd2c1 Mon Sep 17 00:00:00 2001 | ||
2 | From: Leon Anavi <leon.anavi@konsulko.com> | ||
3 | Date: Mon, 27 Jan 2025 19:17:48 +0200 | ||
4 | Subject: [PATCH] builder.py: Check PYTHON_INCLUDE_DIR | ||
5 | |||
6 | Use PYTHON_INCLUDE_DIR to find Python Interpreter and | ||
7 | Development.Module. | ||
8 | |||
9 | Upstream-Status: Inappropriate [oe specific] | ||
10 | |||
11 | Suggested-by: Stephan Kulow <stephan.kulow@siemens.com> | ||
12 | Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> | ||
13 | --- | ||
14 | src/scikit_build_core/builder/builder.py | 2 +- | ||
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
16 | |||
17 | diff --git a/src/scikit_build_core/builder/builder.py b/src/scikit_build_core/builder/builder.py | ||
18 | index 532d328..0c99ef3 100644 | ||
19 | --- a/src/scikit_build_core/builder/builder.py | ||
20 | +++ b/src/scikit_build_core/builder/builder.py | ||
21 | @@ -228,7 +228,7 @@ class Builder: | ||
22 | python_sabi_library = ( | ||
23 | get_python_library(self.config.env, abi3=True) if limited_api else None | ||
24 | ) | ||
25 | - python_include_dir = get_python_include_dir() | ||
26 | + python_include_dir = os.getenv("PYTHON_INCLUDE_DIR") or get_python_include_dir() | ||
27 | numpy_include_dir = get_numpy_include_dir() | ||
28 | |||
29 | # Classic Find Python | ||
diff --git a/meta-python/recipes-devtools/python/python3-scikit-build-core_0.11.4.bb b/meta-python/recipes-devtools/python/python3-scikit-build-core_0.11.4.bb new file mode 100644 index 0000000000..d1b2fde166 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-scikit-build-core_0.11.4.bb | |||
@@ -0,0 +1,15 @@ | |||
1 | SUMMARY = "Build backend for CMake based projects" | ||
2 | LICENSE = "Apache-2.0" | ||
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b4e748e5f102e31c9390dcd6fa66f09" | ||
4 | |||
5 | PYPI_PACKAGE = "scikit_build_core" | ||
6 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
7 | |||
8 | DEPENDS = "python3-hatch-vcs-native" | ||
9 | |||
10 | inherit pypi python_hatchling | ||
11 | |||
12 | SRC_URI += "file://0001-builder.py-Check-PYTHON_INCLUDE_DIR.patch" | ||
13 | SRC_URI[sha256sum] = "5b194bbb04092ae327d294b23e4bbffb6181adce4259440a86c9cf6abb8eaa6c" | ||
14 | |||
15 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-scikit-build_0.17.6.bb b/meta-python/recipes-devtools/python/python3-scikit-build_0.18.1.bb index dde0941ef1..3b2e8b714e 100644 --- a/meta-python/recipes-devtools/python/python3-scikit-build_0.17.6.bb +++ b/meta-python/recipes-devtools/python/python3-scikit-build_0.18.1.bb | |||
@@ -5,10 +5,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=7c96d2b08b3cec6d3c67fb864d1fd8cc" | |||
5 | DEPENDS = "python3-hatch-vcs-native python3-hatch-fancy-pypi-readme-native" | 5 | DEPENDS = "python3-hatch-vcs-native python3-hatch-fancy-pypi-readme-native" |
6 | 6 | ||
7 | PYPI_PACKAGE = "scikit_build" | 7 | PYPI_PACKAGE = "scikit_build" |
8 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
8 | 9 | ||
9 | inherit pypi python_hatchling | 10 | inherit pypi python_hatchling |
10 | 11 | ||
11 | SRC_URI[sha256sum] = "b51a51a36b37c42650994b5047912f59b22e3210b23e321f287611f9ef6e5c9d" | 12 | SRC_URI[sha256sum] = "a4152ac5a084d499c28a7797be0628d8366c336e2fb0e1a063eb32e55efcb8e7" |
12 | 13 | ||
13 | RDEPENDS:${PN} = " \ | 14 | RDEPENDS:${PN} = " \ |
14 | python3-distro \ | 15 | python3-distro \ |
diff --git a/meta-python/recipes-devtools/python/python3-screeninfo_0.8.1.bb b/meta-python/recipes-devtools/python/python3-screeninfo_0.8.1.bb index 19ac3f67f0..a7a20707ef 100644 --- a/meta-python/recipes-devtools/python/python3-screeninfo_0.8.1.bb +++ b/meta-python/recipes-devtools/python/python3-screeninfo_0.8.1.bb | |||
@@ -4,11 +4,9 @@ SECTION = "devel/python" | |||
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=a23813181e06852d377bc25ae5563a97" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=a23813181e06852d377bc25ae5563a97" |
6 | 6 | ||
7 | PYPI_PACKAGE = "screeninfo" | ||
8 | |||
9 | SRC_URI[sha256sum] = "9983076bcc7e34402a1a9e4d7dabf3729411fd2abb3f3b4be7eba73519cd2ed1" | 7 | SRC_URI[sha256sum] = "9983076bcc7e34402a1a9e4d7dabf3729411fd2abb3f3b4be7eba73519cd2ed1" |
10 | 8 | ||
11 | inherit pypi setuptools3 | 9 | inherit pypi python_poetry_core |
12 | 10 | ||
13 | RDEPENDS:${PN} += "\ | 11 | RDEPENDS:${PN} += "\ |
14 | python3-core \ | 12 | python3-core \ |
diff --git a/meta-python/recipes-devtools/python/python3-scrypt/run-ptest b/meta-python/recipes-devtools/python/python3-scrypt/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-scrypt/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-scrypt_0.8.24.bb b/meta-python/recipes-devtools/python/python3-scrypt_0.8.27.bb index 94c83e4952..4cbc4c06c4 100644 --- a/meta-python/recipes-devtools/python/python3-scrypt_0.8.24.bb +++ b/meta-python/recipes-devtools/python/python3-scrypt_0.8.27.bb | |||
@@ -1,28 +1,19 @@ | |||
1 | DESCRIPTION = "Bindings for the scrypt key derivation function library" | 1 | DESCRIPTION = "Bindings for the scrypt key derivation function library" |
2 | LICENSE = "BSD-2-Clause" | 2 | LICENSE = "BSD-2-Clause" |
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=05b5ac2824a7ae7489193b0f6a6f2cd1" | 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=05b5ac2824a7ae7489193b0f6a6f2cd1" |
4 | HOMEPAGE="https://github.com/holgern/py-scrypt" | 4 | HOMEPAGE = "https://github.com/holgern/py-scrypt" |
5 | 5 | ||
6 | SRC_URI += "file://0001-py-scrypt-remove-the-hard-coded-include-paths.patch" | 6 | SRC_URI += "file://0001-py-scrypt-remove-the-hard-coded-include-paths.patch" |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "98ffde45e4a95461d73ded54ba7a26857679920d4f8ff320f6f7ade6e29531bd" | 8 | SRC_URI[sha256sum] = "a7b637848ed518c1ea2b31a9ecaaa3f49616598d8442de8706cf1f01fbabf0a7" |
9 | 9 | ||
10 | inherit pypi ptest setuptools3 dos2unix | 10 | inherit pypi ptest-python-pytest setuptools3 dos2unix |
11 | |||
12 | SRC_URI += " \ | ||
13 | file://run-ptest \ | ||
14 | " | ||
15 | |||
16 | RDEPENDS:${PN}-ptest += " \ | ||
17 | python3-pytest \ | ||
18 | python3-unittest-automake-output \ | ||
19 | " | ||
20 | 11 | ||
21 | RDEPENDS:${PN} += " \ | 12 | RDEPENDS:${PN} += " \ |
22 | python3-ctypes \ | 13 | python3-ctypes \ |
23 | " | 14 | " |
24 | 15 | ||
25 | do_install_ptest() { | 16 | do_install_ptest:append() { |
26 | install -d ${D}${PTEST_PATH}/tests | 17 | install -d ${D}${PTEST_PATH}/tests |
27 | cp -rf ${S}/scrypt/tests/* ${D}${PTEST_PATH}/tests/ | 18 | cp -rf ${S}/scrypt/tests/* ${D}${PTEST_PATH}/tests/ |
28 | } | 19 | } |
diff --git a/meta-python/recipes-devtools/python/python3-sdbus_0.12.0.bb b/meta-python/recipes-devtools/python/python3-sdbus_0.14.0.bb index 054e941152..848a6ac01c 100644 --- a/meta-python/recipes-devtools/python/python3-sdbus_0.12.0.bb +++ b/meta-python/recipes-devtools/python/python3-sdbus_0.14.0.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://python-sdbus.readthedocs.io/en/latest/" | |||
3 | LICENSE = "LGPL-2.1-or-later" | 3 | LICENSE = "LGPL-2.1-or-later" |
4 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e77986dc8e2ee22d44a7c863e96852ae" | 4 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e77986dc8e2ee22d44a7c863e96852ae" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "c3692d75704438a78adc1439350bc32f30d6b38ad344cfc94773db89c6ce4a89" | 6 | SRC_URI[sha256sum] = "41d61b76cc05a9ea41d10d70a11e9f9a86ed95f40f713630c5e18340e0e4c76f" |
7 | 7 | ||
8 | REQUIRED_DISTRO_FEATURES = "systemd" | 8 | REQUIRED_DISTRO_FEATURES = "systemd" |
9 | DEPENDS += "systemd" | 9 | DEPENDS += "systemd" |
diff --git a/meta-python/recipes-devtools/python/python3-semver/run-ptest b/meta-python/recipes-devtools/python/python3-semver/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-semver/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-semver_3.0.2.bb b/meta-python/recipes-devtools/python/python3-semver_3.0.2.bb deleted file mode 100644 index 25222bb5ff..0000000000 --- a/meta-python/recipes-devtools/python/python3-semver_3.0.2.bb +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | DESCRIPTION = "Python module for Semantic Versioning" | ||
2 | HOMEPAGE = "https://github.com/python-semver/python-semver" | ||
3 | BUGTRACKER = "https://github.com/python-semver/python-semver" | ||
4 | LICENSE = "BSD-3-Clause" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d9da679db3bdce30a1b4328d5c474f98" | ||
6 | |||
7 | SRC_URI[sha256sum] = "6253adb39c70f6e51afed2fa7152bcd414c411286088fb4b9effb133885ab4cc" | ||
8 | |||
9 | inherit pypi python_setuptools_build_meta ptest | ||
10 | |||
11 | BBCLASSEXTEND = "native nativesdk" | ||
12 | |||
13 | SRC_URI += " \ | ||
14 | file://run-ptest \ | ||
15 | " | ||
16 | |||
17 | DEPENDS += " python3-setuptools-scm-native" | ||
18 | |||
19 | RDEPENDS:${PN}-ptest += " \ | ||
20 | python3-pytest \ | ||
21 | python3-unittest-automake-output \ | ||
22 | " | ||
23 | |||
24 | do_install_ptest() { | ||
25 | cp -rf ${S}/tests ${D}${PTEST_PATH}/ | ||
26 | } | ||
diff --git a/meta-python/recipes-devtools/python/python3-semver_3.0.4.bb b/meta-python/recipes-devtools/python/python3-semver_3.0.4.bb new file mode 100644 index 0000000000..acac3bf3ca --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-semver_3.0.4.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | DESCRIPTION = "Python module for Semantic Versioning" | ||
2 | HOMEPAGE = "https://github.com/python-semver/python-semver" | ||
3 | BUGTRACKER = "https://github.com/python-semver/python-semver" | ||
4 | LICENSE = "BSD-3-Clause" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3ce011bad2c5218ddd4973952a6db93a" | ||
6 | |||
7 | SRC_URI[sha256sum] = "afc7d8c584a5ed0a11033af086e8af226a9c0b206f313e0301f8dd7b6b589602" | ||
8 | |||
9 | inherit pypi python_setuptools_build_meta ptest-python-pytest | ||
10 | |||
11 | BBCLASSEXTEND = "native nativesdk" | ||
12 | |||
13 | DEPENDS += " python3-setuptools-scm-native" | ||
14 | |||
diff --git a/meta-python/recipes-devtools/python/python3-sentry-sdk_1.45.0.bb b/meta-python/recipes-devtools/python/python3-sentry-sdk_1.45.1.bb index c3e53b5183..10fdbce139 100644 --- a/meta-python/recipes-devtools/python/python3-sentry-sdk_1.45.0.bb +++ b/meta-python/recipes-devtools/python/python3-sentry-sdk_1.45.1.bb | |||
@@ -15,8 +15,8 @@ RDEPENDS:${PN} += "\ | |||
15 | python3-datetime \ | 15 | python3-datetime \ |
16 | " | 16 | " |
17 | 17 | ||
18 | SRC_URI[sha256sum] = "509aa9678c0512344ca886281766c2e538682f8acfa50fd8d405f8c417ad0625" | 18 | SRC_URI[sha256sum] = "a16c997c0f4e3df63c0fc5e4207ccb1ab37900433e0f72fef88315d317829a26" |
19 | 19 | ||
20 | PYPI_PACKAGE = "sentry-sdk" | 20 | PYPI_PACKAGE = "sentry_sdk" |
21 | 21 | ||
22 | inherit pypi setuptools3 | 22 | inherit pypi setuptools3 |
diff --git a/meta-python/recipes-devtools/python/python3-serpent/run-ptest b/meta-python/recipes-devtools/python/python3-serpent/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-serpent/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-serpent_1.41.bb b/meta-python/recipes-devtools/python/python3-serpent_1.41.bb index 941b5ee0f3..f6c7b5443b 100644 --- a/meta-python/recipes-devtools/python/python3-serpent_1.41.bb +++ b/meta-python/recipes-devtools/python/python3-serpent_1.41.bb | |||
@@ -4,23 +4,15 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d7c28f460fafe7be454fcdcac0b60263" | |||
4 | 4 | ||
5 | SRC_URI[sha256sum] = "0407035fe3c6644387d48cff1467d5aa9feff814d07372b78677ed0ee3ed7095" | 5 | SRC_URI[sha256sum] = "0407035fe3c6644387d48cff1467d5aa9feff814d07372b78677ed0ee3ed7095" |
6 | 6 | ||
7 | inherit pypi ptest setuptools3 | 7 | inherit pypi ptest-python-pytest setuptools3 |
8 | |||
9 | SRC_URI += " \ | ||
10 | file://run-ptest \ | ||
11 | " | ||
12 | 8 | ||
9 | # python3-misc for timeit.py | ||
13 | RDEPENDS:${PN}-ptest += " \ | 10 | RDEPENDS:${PN}-ptest += " \ |
14 | python3-pytest \ | 11 | python3-attrs \ |
12 | python3-misc \ | ||
15 | python3-pytz \ | 13 | python3-pytz \ |
16 | python3-unittest-automake-output \ | ||
17 | " | 14 | " |
18 | 15 | ||
19 | do_install_ptest() { | ||
20 | install -d ${D}${PTEST_PATH}/tests | ||
21 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
22 | } | ||
23 | |||
24 | RDEPENDS:${PN} += "\ | 16 | RDEPENDS:${PN} += "\ |
25 | python3-netclient \ | 17 | python3-netclient \ |
26 | python3-numbers \ | 18 | python3-numbers \ |
diff --git a/meta-python/recipes-devtools/python/python3-service-identity/run-ptest b/meta-python/recipes-devtools/python/python3-service-identity/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-service-identity/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-service-identity_21.1.0.bb b/meta-python/recipes-devtools/python/python3-service-identity_21.1.0.bb deleted file mode 100644 index 006fae290d..0000000000 --- a/meta-python/recipes-devtools/python/python3-service-identity_21.1.0.bb +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | DESCRIPTION = "The tools for verifying whether a certificate is valid for the intended purposes." | ||
2 | HOMEPAGE = "https://pypi.org/project/service-identity" | ||
3 | |||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8a0f079f4e6a215d6bd6f9d97cab4d5f" | ||
6 | |||
7 | SRC_URI[md5sum] = "5e5c195d8fcedc72f9068be2ad9b5a13" | ||
8 | SRC_URI[sha256sum] = "6e6c6086ca271dc11b033d17c3a8bea9f24ebff920c587da090afc9519419d34" | ||
9 | |||
10 | inherit pypi setuptools3 ptest | ||
11 | |||
12 | SRC_URI += " \ | ||
13 | file://run-ptest \ | ||
14 | " | ||
15 | |||
16 | RDEPENDS:${PN} += " \ | ||
17 | python3-attr \ | ||
18 | python3-cryptography \ | ||
19 | python3-pyasn1-modules \ | ||
20 | " | ||
21 | |||
22 | RDEPENDS:${PN}-ptest += " \ | ||
23 | python3-pytest \ | ||
24 | python3-unittest-automake-output \ | ||
25 | python3-pyopenssl \ | ||
26 | " | ||
27 | |||
28 | do_install_ptest() { | ||
29 | install -d ${D}${PTEST_PATH}/tests | ||
30 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
31 | cp -rf ${S}/setup.py ${D}${PTEST_PATH} | ||
32 | } | ||
diff --git a/meta-python/recipes-devtools/python/python3-service-identity_24.2.0.bb b/meta-python/recipes-devtools/python/python3-service-identity_24.2.0.bb new file mode 100644 index 0000000000..bbd6ab80d6 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-service-identity_24.2.0.bb | |||
@@ -0,0 +1,26 @@ | |||
1 | DESCRIPTION = "The tools for verifying whether a certificate is valid for the intended purposes." | ||
2 | HOMEPAGE = "https://pypi.org/project/service-identity" | ||
3 | |||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=76edce6a3fa1b82b0bf2b6ce174c19e2" | ||
6 | |||
7 | SRC_URI[sha256sum] = "b8683ba13f0d39c6cd5d625d2c5f65421d6d707b013b375c355751557cbe8e09" | ||
8 | |||
9 | inherit pypi python_hatchling ptest-python-pytest | ||
10 | |||
11 | PYPI_PACKAGE = "service_identity" | ||
12 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
13 | |||
14 | DEPENDS += "python3-hatch-vcs-native python3-hatch-fancy-pypi-readme-native" | ||
15 | |||
16 | RDEPENDS:${PN} += " \ | ||
17 | python3-attr \ | ||
18 | python3-cryptography \ | ||
19 | python3-pyasn1-modules \ | ||
20 | " | ||
21 | |||
22 | RDEPENDS:${PN}-ptest += " \ | ||
23 | python3-attrs \ | ||
24 | python3-six \ | ||
25 | python3-pyopenssl \ | ||
26 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-setproctitle/run-ptest b/meta-python/recipes-devtools/python/python3-setproctitle/run-ptest new file mode 100644 index 0000000000..e29e57ee3b --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-setproctitle/run-ptest | |||
@@ -0,0 +1,4 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | # https://github.com/dvarrazzo/py-setproctitle/issues/141 | ||
4 | pytest --automake -k 'not test_unicode' | ||
diff --git a/meta-python/recipes-devtools/python/python3-setproctitle_1.3.6.bb b/meta-python/recipes-devtools/python/python3-setproctitle_1.3.6.bb new file mode 100644 index 0000000000..e4a392726b --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-setproctitle_1.3.6.bb | |||
@@ -0,0 +1,35 @@ | |||
1 | SUMMARY = "A Python module to customize the process title" | ||
2 | DESCRIPTION = "The setproctitle module allows a process to change its \ | ||
3 | title (as displayed by system tools such as ps, top or MacOS Activity \ | ||
4 | Monitor)." | ||
5 | HOMEPAGE = "https://github.com/dvarrazzo/py-setproctitle" | ||
6 | BUGTRACKER = "https://github.com/dvarrazzo/py-setproctitle/issues" | ||
7 | LICENSE = "BSD-3-Clause" | ||
8 | LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=86d2d41b5f4f023f43466f8cb7adebaa" | ||
9 | |||
10 | inherit pypi setuptools3 ptest | ||
11 | |||
12 | SRC_URI[sha256sum] = "c9f32b96c700bb384f33f7cf07954bb609d35dd82752cef57fb2ee0968409169" | ||
13 | |||
14 | SRC_URI += " \ | ||
15 | file://run-ptest \ | ||
16 | " | ||
17 | |||
18 | RDEPENDS:${PN}-ptest += "\ | ||
19 | libatomic-dev \ | ||
20 | packagegroup-core-buildessential \ | ||
21 | procps-ps \ | ||
22 | python3-dev \ | ||
23 | python3-multiprocessing \ | ||
24 | python3-pytest \ | ||
25 | python3-unittest-automake-output \ | ||
26 | " | ||
27 | |||
28 | do_install_ptest() { | ||
29 | install -d ${D}${PTEST_PATH}/tests | ||
30 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
31 | } | ||
32 | |||
33 | BBCLASSEXTEND = "native nativesdk" | ||
34 | |||
35 | INSANE_SKIP:${PN}-ptest = "dev-deps" | ||
diff --git a/meta-python/recipes-devtools/python/python3-sh_2.0.7.bb b/meta-python/recipes-devtools/python/python3-sh_2.2.2.bb index 8f8d970a93..a84017a393 100644 --- a/meta-python/recipes-devtools/python/python3-sh_2.0.7.bb +++ b/meta-python/recipes-devtools/python/python3-sh_2.2.2.bb | |||
@@ -3,9 +3,7 @@ HOMEPAGE = "https://github.com/amoffat/sh" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5317094292296f03405f59ae5f6544b6" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5317094292296f03405f59ae5f6544b6" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "029d45198902bfb967391eccfd13a88d92f7cebd200411e93f99ebacc6afbb35" | 6 | SRC_URI[sha256sum] = "653227a7c41a284ec5302173fbc044ee817c7bad5e6e4d8d55741b9aeb9eb65b" |
7 | |||
8 | PYPI_PACKAGE = "sh" | ||
9 | 7 | ||
10 | inherit pypi python_poetry_core | 8 | inherit pypi python_poetry_core |
11 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-sijax_0.3.2.bb b/meta-python/recipes-devtools/python/python3-sijax_0.3.2.bb index 9a28fc5586..4d21650059 100644 --- a/meta-python/recipes-devtools/python/python3-sijax_0.3.2.bb +++ b/meta-python/recipes-devtools/python/python3-sijax_0.3.2.bb | |||
@@ -7,4 +7,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=16e213d75641a392478df50cf0841903" | |||
7 | SRC_URI[sha256sum] = "11b062f4a8b2aad95c87e7c09e5daf5a6b0d0f08abf9efe5f91a0075c6be7c0d" | 7 | SRC_URI[sha256sum] = "11b062f4a8b2aad95c87e7c09e5daf5a6b0d0f08abf9efe5f91a0075c6be7c0d" |
8 | 8 | ||
9 | PYPI_PACKAGE = "Sijax" | 9 | PYPI_PACKAGE = "Sijax" |
10 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
11 | |||
10 | inherit pypi setuptools3 | 12 | inherit pypi setuptools3 |
diff --git a/meta-python/recipes-devtools/python/python3-simpleeval/run-ptest b/meta-python/recipes-devtools/python/python3-simpleeval/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-simpleeval/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-simpleeval_0.9.13.bb b/meta-python/recipes-devtools/python/python3-simpleeval_0.9.13.bb deleted file mode 100644 index af2c4a1e2e..0000000000 --- a/meta-python/recipes-devtools/python/python3-simpleeval_0.9.13.bb +++ /dev/null | |||
@@ -1,25 +0,0 @@ | |||
1 | SUMMARY = "A simple, safe single expression evaluator library" | ||
2 | HOMEPAGE = "https://pypi.org/project/simpleeval/" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENCE;md5=dc9277482effe59b734b004cbcc1fee7" | ||
5 | |||
6 | SRC_URI[sha256sum] = "4a30f9cc01825fe4c719c785e3762623e350c4840d5e6855c2a8496baaa65fac" | ||
7 | |||
8 | inherit pypi python_setuptools_build_meta ptest | ||
9 | |||
10 | BBCLASSEXTEND = "native nativesdk" | ||
11 | |||
12 | SRC_URI += "file://run-ptest" | ||
13 | |||
14 | RDEPENDS:${PN} += " \ | ||
15 | python3-math \ | ||
16 | " | ||
17 | |||
18 | RDEPENDS:${PN}-ptest += " \ | ||
19 | python3-pytest \ | ||
20 | python3-unittest-automake-output \ | ||
21 | " | ||
22 | |||
23 | do_install_ptest() { | ||
24 | cp -f ${S}/test_simpleeval.py ${D}${PTEST_PATH}/ | ||
25 | } | ||
diff --git a/meta-python/recipes-devtools/python/python3-simpleeval_1.0.3.bb b/meta-python/recipes-devtools/python/python3-simpleeval_1.0.3.bb new file mode 100644 index 0000000000..b4dc82bfb3 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-simpleeval_1.0.3.bb | |||
@@ -0,0 +1,18 @@ | |||
1 | SUMMARY = "A simple, safe single expression evaluator library" | ||
2 | HOMEPAGE = "https://pypi.org/project/simpleeval/" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENCE;md5=83843c8f0f3beb18af2f282faecbdebe" | ||
5 | |||
6 | SRC_URI[sha256sum] = "67bbf246040ac3b57c29cf048657b9cf31d4e7b9d6659684daa08ca8f1e45829" | ||
7 | |||
8 | inherit pypi python_setuptools_build_meta python_hatchling ptest-python-pytest | ||
9 | |||
10 | BBCLASSEXTEND = "native nativesdk" | ||
11 | |||
12 | RDEPENDS:${PN} += " \ | ||
13 | python3-math \ | ||
14 | " | ||
15 | |||
16 | do_install_ptest:append() { | ||
17 | cp -f ${S}/test_simpleeval.py ${D}${PTEST_PATH}/ | ||
18 | } | ||
diff --git a/meta-python/recipes-devtools/python/python3-simplejson_3.19.2.bb b/meta-python/recipes-devtools/python/python3-simplejson_3.20.1.bb index cc5b1bc90a..82f83f1b58 100644 --- a/meta-python/recipes-devtools/python/python3-simplejson_3.19.2.bb +++ b/meta-python/recipes-devtools/python/python3-simplejson_3.20.1.bb | |||
@@ -1,10 +1,10 @@ | |||
1 | SUMMARY = "Simple, fast, extensible JSON encoder/decoder for Python" | 1 | SUMMARY = "Simple, fast, extensible JSON encoder/decoder for Python" |
2 | HOMEPAGE = "http://cheeseshop.python.org/pypi/simplejson" | 2 | HOMEPAGE = "https://cheeseshop.python.org/pypi/simplejson" |
3 | 3 | ||
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c6338d7abd321c0b50a2a547e441c52e" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c6338d7abd321c0b50a2a547e441c52e" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "9eb442a2442ce417801c912df68e1f6ccfcd41577ae7274953ab3ad24ef7d82c" | 7 | SRC_URI[sha256sum] = "e64139b4ec4f1f24c142ff7dcafe55a22b811a74d86d66560c8815687143037d" |
8 | 8 | ||
9 | inherit pypi setuptools3 | 9 | inherit pypi setuptools3 |
10 | 10 | ||
@@ -16,7 +16,7 @@ RDEPENDS:${PN} += "\ | |||
16 | 16 | ||
17 | PACKAGES =+ "${PN}-tests" | 17 | PACKAGES =+ "${PN}-tests" |
18 | RDEPENDS:${PN}-tests = "${PN} python3-unittest" | 18 | RDEPENDS:${PN}-tests = "${PN} python3-unittest" |
19 | FILES:${PN}-tests+= " \ | 19 | FILES:${PN}-tests += " \ |
20 | ${PYTHON_SITEPACKAGES_DIR}/simplejson/tests \ | 20 | ${PYTHON_SITEPACKAGES_DIR}/simplejson/tests \ |
21 | ${PYTHON_SITEPACKAGES_DIR}/simplejson/tool.py* \ | 21 | ${PYTHON_SITEPACKAGES_DIR}/simplejson/tool.py* \ |
22 | " | 22 | " |
diff --git a/meta-python/recipes-devtools/python/python3-slip-dbus_0.6.5.bb b/meta-python/recipes-devtools/python/python3-slip-dbus_0.6.5.bb index b6680568b4..b706db8d49 100644 --- a/meta-python/recipes-devtools/python/python3-slip-dbus_0.6.5.bb +++ b/meta-python/recipes-devtools/python/python3-slip-dbus_0.6.5.bb | |||
@@ -20,7 +20,7 @@ SRC_URI = "https://github.com/nphilipp/${SRCNAME}/releases/download/${SRCNAME}-$ | |||
20 | " | 20 | " |
21 | SRC_URI[sha256sum] = "c726c086f0dd93a0ac7a0176f383a12af91b6657b78a301e3f5b25d9f8d4d10b" | 21 | SRC_URI[sha256sum] = "c726c086f0dd93a0ac7a0176f383a12af91b6657b78a301e3f5b25d9f8d4d10b" |
22 | 22 | ||
23 | S = "${WORKDIR}/${SRCNAME}-${PV}" | 23 | S = "${UNPACKDIR}/${SRCNAME}-${PV}" |
24 | 24 | ||
25 | do_compile:prepend() { | 25 | do_compile:prepend() { |
26 | sed -e 's/@VERSION@/${PV}/g' ${S}/setup.py.in > ${S}/setup.py | 26 | sed -e 's/@VERSION@/${PV}/g' ${S}/setup.py.in > ${S}/setup.py |
diff --git a/meta-python/recipes-devtools/python/python3-smbus2_0.4.3.bb b/meta-python/recipes-devtools/python/python3-smbus2_0.5.0.bb index b54cdb005f..dc73f915e0 100644 --- a/meta-python/recipes-devtools/python/python3-smbus2_0.4.3.bb +++ b/meta-python/recipes-devtools/python/python3-smbus2_0.5.0.bb | |||
@@ -2,11 +2,11 @@ SUMMARY = "Drop-in replacement for smbus-cffi/smbus-python in pure Python" | |||
2 | DESCRIPTION = "smbus2 is a drop-in replacement for smbus-cffi/smbus-python in pure Python" | 2 | DESCRIPTION = "smbus2 is a drop-in replacement for smbus-cffi/smbus-python in pure Python" |
3 | HOMEPAGE = "https://github.com/kplindegaard/smbus2" | 3 | HOMEPAGE = "https://github.com/kplindegaard/smbus2" |
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2a3eca2de44816126b3c6f33811a9fba" |
6 | 6 | ||
7 | inherit pypi setuptools3 | 7 | inherit pypi setuptools3 |
8 | 8 | ||
9 | SRC_URI[sha256sum] = "36f2288a8e1a363cb7a7b2244ec98d880eb5a728a2494ac9c71e9de7bf6a803a" | 9 | SRC_URI[sha256sum] = "4a5946fd82277870c2878befdb1a29bb28d15cda14ea4d8d2d54cf3d4bdcb035" |
10 | 10 | ||
11 | CLEANBROKEN = "1" | 11 | CLEANBROKEN = "1" |
12 | 12 | ||
diff --git a/meta-python/recipes-devtools/python/python3-smbus_4.3.bb b/meta-python/recipes-devtools/python/python3-smbus_4.3.bb index b305a128a2..4eb2037c5b 100644 --- a/meta-python/recipes-devtools/python/python3-smbus_4.3.bb +++ b/meta-python/recipes-devtools/python/python3-smbus_4.3.bb | |||
@@ -9,7 +9,7 @@ SRC_URI[sha256sum] = "eec464e42301d93586cbeca3845ed61bff40f560670e5b35baec57301d | |||
9 | 9 | ||
10 | DEPENDS += "i2c-tools" | 10 | DEPENDS += "i2c-tools" |
11 | 11 | ||
12 | S = "${WORKDIR}/i2c-tools-${PV}" | 12 | S = "${UNPACKDIR}/i2c-tools-${PV}" |
13 | 13 | ||
14 | inherit setuptools3 | 14 | inherit setuptools3 |
15 | 15 | ||
diff --git a/meta-python/recipes-devtools/python/python3-smpplib/run-ptest b/meta-python/recipes-devtools/python/python3-smpplib/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-smpplib/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-smpplib_2.2.3.bb b/meta-python/recipes-devtools/python/python3-smpplib_2.2.4.bb index 7979f04c5b..c177d4020c 100644 --- a/meta-python/recipes-devtools/python/python3-smpplib_2.2.3.bb +++ b/meta-python/recipes-devtools/python/python3-smpplib_2.2.4.bb | |||
@@ -4,13 +4,9 @@ LICENSE = "GPL-3.0-only" | |||
4 | LIC_FILES_CHKSUM = "file://README.md;md5=8b4e2ac8cf248f7b991784f88b630852" | 4 | LIC_FILES_CHKSUM = "file://README.md;md5=8b4e2ac8cf248f7b991784f88b630852" |
5 | 5 | ||
6 | PYPI_PACKAGE = "smpplib" | 6 | PYPI_PACKAGE = "smpplib" |
7 | SRC_URI[sha256sum] = "5215a95b0538d26f189600e0982b31da8281f7453cd6e2862c5b21e3e1002331" | 7 | SRC_URI[sha256sum] = "6f3b036fcb2643c1b7a3289bb5ac4c9a720af1bf73e572e2729db6b5d800c273" |
8 | 8 | ||
9 | inherit pypi setuptools3 ptest | 9 | inherit pypi setuptools3 ptest-python-pytest |
10 | |||
11 | SRC_URI += " \ | ||
12 | file://run-ptest \ | ||
13 | " | ||
14 | 10 | ||
15 | RDEPENDS:${PN} += " \ | 11 | RDEPENDS:${PN} += " \ |
16 | python3-logging \ | 12 | python3-logging \ |
@@ -20,12 +16,9 @@ RDEPENDS:${PN} += " \ | |||
20 | RDEPENDS:${PN}-ptest += " \ | 16 | RDEPENDS:${PN}-ptest += " \ |
21 | python3-mock \ | 17 | python3-mock \ |
22 | python3-profile \ | 18 | python3-profile \ |
23 | python3-pytest \ | ||
24 | python3-unittest \ | ||
25 | python3-unittest-automake-output \ | ||
26 | " | 19 | " |
27 | 20 | ||
28 | do_install_ptest() { | 21 | do_install_ptest:append() { |
29 | install -d ${D}${PTEST_PATH}/tests | 22 | install -d ${D}${PTEST_PATH}/tests |
30 | cp -rf ${S}/smpplib/tests/* ${D}${PTEST_PATH}/tests/ | 23 | cp -rf ${S}/smpplib/tests/* ${D}${PTEST_PATH}/tests/ |
31 | } | 24 | } |
diff --git a/meta-python/recipes-devtools/python/python3-snagboot_1.3.bb b/meta-python/recipes-devtools/python/python3-snagboot_2.3.bb index 5ed5169ae5..dc57dfc105 100644 --- a/meta-python/recipes-devtools/python/python3-snagboot_1.3.bb +++ b/meta-python/recipes-devtools/python/python3-snagboot_2.3.bb | |||
@@ -3,7 +3,7 @@ SUMMARY = "Snagboot intends to be an open-source replacement vendor-specific too | |||
3 | LICENSE = "GPL-2.0-only" | 3 | LICENSE = "GPL-2.0-only" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "b9d781bdc79d92d940e27d89d3025eab6dc459087dad126766e2bf76dc9dddee" | 6 | SRC_URI[sha256sum] = "c6a97ea0c83a2d7eea639741b2f667c75e95d50278eeb6a8adbce5d1a7cf65fa" |
7 | 7 | ||
8 | inherit pypi python_setuptools_build_meta | 8 | inherit pypi python_setuptools_build_meta |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-sniffio_1.3.0.bb b/meta-python/recipes-devtools/python/python3-sniffio_1.3.1.bb index 448ac34f54..82c457c39f 100644 --- a/meta-python/recipes-devtools/python/python3-sniffio_1.3.0.bb +++ b/meta-python/recipes-devtools/python/python3-sniffio_1.3.1.bb | |||
@@ -7,6 +7,15 @@ LIC_FILES_CHKSUM = "\ | |||
7 | file://LICENSE.APACHE2;md5=3b83ef96387f14655fc854ddc3c6bd57 \ | 7 | file://LICENSE.APACHE2;md5=3b83ef96387f14655fc854ddc3c6bd57 \ |
8 | " | 8 | " |
9 | 9 | ||
10 | inherit pypi setuptools3 | 10 | inherit pypi python_setuptools_build_meta |
11 | 11 | ||
12 | SRC_URI[sha256sum] = "e60305c5e5d314f5389259b7f22aaa33d8f7dee49763119234af3755c55b9101" | 12 | SRC_URI[sha256sum] = "f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc" |
13 | |||
14 | DEPENDS += "\ | ||
15 | python3-setuptools-scm-native \ | ||
16 | " | ||
17 | |||
18 | RDEPENDS:${PN} += " \ | ||
19 | python3-numbers \ | ||
20 | python3-core \ | ||
21 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-soupsieve/run-ptest b/meta-python/recipes-devtools/python/python3-soupsieve/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-soupsieve/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-soupsieve_2.5.bb b/meta-python/recipes-devtools/python/python3-soupsieve_2.5.bb deleted file mode 100644 index d26a13dfbd..0000000000 --- a/meta-python/recipes-devtools/python/python3-soupsieve_2.5.bb +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | SUMMARY = "CSS selector library for python-beautifulsoup4" | ||
2 | HOMEPAGE = "https://github.com/facelessuser/soupsieve" | ||
3 | |||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=520586fa71ed2cbda50b4a8c89621e09" | ||
6 | |||
7 | SRC_URI[sha256sum] = "5663d5a7b3bfaeee0bc4372e7fc48f9cff4940b3eec54a6451cc5299f1097690" | ||
8 | |||
9 | inherit pypi python_hatchling python_setuptools_build_meta ptest | ||
10 | |||
11 | SRC_URI += " \ | ||
12 | file://run-ptest \ | ||
13 | " | ||
14 | |||
15 | RDEPENDS:${PN}-ptest += " \ | ||
16 | python3-beautifulsoup4 \ | ||
17 | python3-pytest \ | ||
18 | python3-unittest-automake-output \ | ||
19 | " | ||
20 | |||
21 | do_install_ptest() { | ||
22 | install -d ${D}${PTEST_PATH}/tests | ||
23 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
24 | } | ||
25 | |||
26 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-soupsieve_2.7.bb b/meta-python/recipes-devtools/python/python3-soupsieve_2.7.bb new file mode 100644 index 0000000000..684290ffad --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-soupsieve_2.7.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | SUMMARY = "CSS selector library for python-beautifulsoup4" | ||
2 | HOMEPAGE = "https://github.com/facelessuser/soupsieve" | ||
3 | |||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=a23cdb0cf58a8b6d3d25202783bd6553" | ||
6 | |||
7 | SRC_URI[sha256sum] = "ad282f9b6926286d2ead4750552c8a6142bc4c783fd66b0293547c8fe6ae126a" | ||
8 | |||
9 | inherit pypi python_hatchling python_setuptools_build_meta ptest-python-pytest | ||
10 | |||
11 | RDEPENDS:${PN} += " \ | ||
12 | python3-core \ | ||
13 | python3-datetime \ | ||
14 | " | ||
15 | RDEPENDS:${PN}:append:class-target = " \ | ||
16 | python3-beautifulsoup4 \ | ||
17 | " | ||
18 | |||
19 | RDEPENDS:${PN}-ptest += " \ | ||
20 | python3-beautifulsoup4 \ | ||
21 | python3-typing-extensions \ | ||
22 | " | ||
23 | |||
24 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-speaklater_1.3.bb b/meta-python/recipes-devtools/python/python3-speaklater_1.3.bb index 5948dc8596..9d9166831d 100644 --- a/meta-python/recipes-devtools/python/python3-speaklater_1.3.bb +++ b/meta-python/recipes-devtools/python/python3-speaklater_1.3.bb | |||
@@ -2,7 +2,6 @@ DESCRIPTION = "Media asset management for Python, with glue code for various fra | |||
2 | LICENSE = "BSD-3-Clause" | 2 | LICENSE = "BSD-3-Clause" |
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b810770075a29bf44b96607440e7c801" | 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b810770075a29bf44b96607440e7c801" |
4 | 4 | ||
5 | SRC_URI[md5sum] = "e8d5dbe36e53d5a35cff227e795e8bbf" | ||
6 | SRC_URI[sha256sum] = "59fea336d0eed38c1f0bf3181ee1222d0ef45f3a9dd34ebe65e6bfffdd6a65a9" | 5 | SRC_URI[sha256sum] = "59fea336d0eed38c1f0bf3181ee1222d0ef45f3a9dd34ebe65e6bfffdd6a65a9" |
7 | 6 | ||
8 | PYPI_PACKAGE = "speaklater" | 7 | PYPI_PACKAGE = "speaklater" |
diff --git a/meta-python/recipes-devtools/python/python3-spidev_3.6.bb b/meta-python/recipes-devtools/python/python3-spidev_3.7.bb index e3fdc435ac..287d612448 100644 --- a/meta-python/recipes-devtools/python/python3-spidev_3.6.bb +++ b/meta-python/recipes-devtools/python/python3-spidev_3.7.bb | |||
@@ -4,12 +4,12 @@ devices from user space via the spidev linux kernel driver.\ | |||
4 | This is a modified version of the code originally found\ | 4 | This is a modified version of the code originally found\ |
5 | [here](http://elk.informatik.fh-augsburg.de/da/da-49/trees/pyap7k/lang/py-spi)\ | 5 | [here](http://elk.informatik.fh-augsburg.de/da/da-49/trees/pyap7k/lang/py-spi)\ |
6 | All code is GPLv2 licensed unless explicitly stated otherwise." | 6 | All code is GPLv2 licensed unless explicitly stated otherwise." |
7 | HOMEPAGE = "http://github.com/doceme/py-spidev" | 7 | HOMEPAGE = "https://github.com/doceme/py-spidev" |
8 | SECTION = "devel/python" | 8 | SECTION = "devel/python" |
9 | LICENSE = "MIT" | 9 | LICENSE = "MIT" |
10 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | 10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2077511c543a7c85245a516c47f4de78" |
11 | SRCNAME = "spidev" | 11 | SRCNAME = "spidev" |
12 | 12 | ||
13 | SRC_URI[sha256sum] = "14dbc37594a4aaef85403ab617985d3c3ef464d62bc9b769ef552db53701115b" | 13 | SRC_URI[sha256sum] = "ce628a5ff489f45132679879bff5f455a66abf9751af01843850155b06ae92f0" |
14 | 14 | ||
15 | inherit pypi setuptools3 | 15 | inherit pypi python_setuptools_build_meta |
diff --git a/meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.30.bb b/meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.41.bb index 1a42aa1b45..c9f337946a 100644 --- a/meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.30.bb +++ b/meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.41.bb | |||
@@ -1,13 +1,12 @@ | |||
1 | DESCRIPTION = "Python SQL toolkit and Object Relational Mapper that gives \ | 1 | DESCRIPTION = "Python SQL toolkit and Object Relational Mapper that gives \ |
2 | application developers the full power and flexibility of SQL" | 2 | application developers the full power and flexibility of SQL" |
3 | HOMEPAGE = "http://www.sqlalchemy.org/" | 3 | HOMEPAGE = "https://www.sqlalchemy.org/" |
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c78b979ae6c20775a28a287d32092cbb" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=061025f14213ac2818ff353223d6eca6" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "2b1708916730f4830bc69d6f49d37f7698b5bd7530aca7f04f785f8849e95255" | 7 | SRC_URI[sha256sum] = "edba70118c4be3c2b1f90754d308d0b79c6fe2c0fdc52d8ddf603916f83f4db9" |
8 | 8 | ||
9 | PYPI_PACKAGE = "SQLAlchemy" | 9 | inherit pypi python_setuptools_build_meta cython |
10 | inherit pypi setuptools3 | ||
11 | 10 | ||
12 | RDEPENDS:${PN} += " \ | 11 | RDEPENDS:${PN} += " \ |
13 | python3-asyncio \ | 12 | python3-asyncio \ |
diff --git a/meta-python/recipes-devtools/python/python3-sqlparse/0001-sqlparse-change-shebang-to-python3.patch b/meta-python/recipes-devtools/python/python3-sqlparse/0001-sqlparse-change-shebang-to-python3.patch deleted file mode 100644 index 0c9f29a6b8..0000000000 --- a/meta-python/recipes-devtools/python/python3-sqlparse/0001-sqlparse-change-shebang-to-python3.patch +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | From f236a30dc8528b6f114201580f1efdcc1c447d43 Mon Sep 17 00:00:00 2001 | ||
2 | From: Changqing Li <changqing.li@windriver.com> | ||
3 | Date: Mon, 9 Mar 2020 13:10:37 +0800 | ||
4 | Subject: [PATCH] sqlparse: change shebang to python3 | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Don't send upstream since upstream still support python2, | ||
9 | we can only make this change after python2 is offcially | ||
10 | dropped. | ||
11 | |||
12 | Signed-off-by: Changqing Li <changqing.li@windriver.com> | ||
13 | Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> | ||
14 | --- | ||
15 | sqlparse/__main__.py | 2 +- | ||
16 | sqlparse/cli.py | 2 +- | ||
17 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
18 | |||
19 | diff --git a/sqlparse/__main__.py b/sqlparse/__main__.py | ||
20 | index 2bf2513..6a3a115 100644 | ||
21 | --- a/sqlparse/__main__.py | ||
22 | +++ b/sqlparse/__main__.py | ||
23 | @@ -1,4 +1,4 @@ | ||
24 | -#!/usr/bin/env python | ||
25 | +#!/usr/bin/env python3 | ||
26 | # | ||
27 | # Copyright (C) 2009-2020 the sqlparse authors and contributors | ||
28 | # <see AUTHORS file> | ||
29 | diff --git a/sqlparse/cli.py b/sqlparse/cli.py | ||
30 | index 7a8aacb..9c727e8 100755 | ||
31 | --- a/sqlparse/cli.py | ||
32 | +++ b/sqlparse/cli.py | ||
33 | @@ -1,4 +1,4 @@ | ||
34 | -#!/usr/bin/env python | ||
35 | +#!/usr/bin/env python3 | ||
36 | # | ||
37 | # Copyright (C) 2009-2020 the sqlparse authors and contributors | ||
38 | # <see AUTHORS file> | ||
39 | -- | ||
40 | 2.41.0 | ||
41 | |||
diff --git a/meta-python/recipes-devtools/python/python3-sqlparse/run-ptest b/meta-python/recipes-devtools/python/python3-sqlparse/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-sqlparse/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-sqlparse_0.4.4.bb b/meta-python/recipes-devtools/python/python3-sqlparse_0.4.4.bb deleted file mode 100644 index c04971ee8f..0000000000 --- a/meta-python/recipes-devtools/python/python3-sqlparse_0.4.4.bb +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | DESCRIPTION = "Non-validating SQL parser module" | ||
2 | HOMEPAGE = "http://pypi.python.org/pypi/sqlparse" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "BSD-3-Clause" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2b136f573f5386001ea3b7b9016222fc" | ||
6 | |||
7 | SRC_URI += "file://0001-sqlparse-change-shebang-to-python3.patch \ | ||
8 | file://run-ptest \ | ||
9 | " | ||
10 | |||
11 | SRC_URI[sha256sum] = "d446183e84b8349fa3061f0fe7f06ca94ba65b426946ffebe6e3e8295332420c" | ||
12 | |||
13 | export BUILD_SYS | ||
14 | export HOST_SYS | ||
15 | |||
16 | inherit pypi ptest python_flit_core | ||
17 | |||
18 | RDEPENDS:${PN}-ptest += " \ | ||
19 | python3-pytest \ | ||
20 | python3-unittest-automake-output \ | ||
21 | python3-unixadmin \ | ||
22 | " | ||
23 | |||
24 | do_install_ptest() { | ||
25 | install -d ${D}${PTEST_PATH}/tests | ||
26 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
27 | } | ||
28 | |||
29 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-sqlparse_0.5.3.bb b/meta-python/recipes-devtools/python/python3-sqlparse_0.5.3.bb new file mode 100644 index 0000000000..e3e0e67c15 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-sqlparse_0.5.3.bb | |||
@@ -0,0 +1,19 @@ | |||
1 | DESCRIPTION = "Non-validating SQL parser module" | ||
2 | HOMEPAGE = "https://pypi.python.org/pypi/sqlparse" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "BSD-3-Clause" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2b136f573f5386001ea3b7b9016222fc" | ||
6 | |||
7 | SRC_URI[sha256sum] = "09f67787f56a0b16ecdbde1bfc7f5d9c3371ca683cfeaa8e6ff60b4807ec9272" | ||
8 | |||
9 | export BUILD_SYS | ||
10 | export HOST_SYS | ||
11 | |||
12 | inherit pypi ptest-python-pytest python_hatchling | ||
13 | |||
14 | RDEPENDS:${PN}-ptest += "\ | ||
15 | python3-mypy \ | ||
16 | python3-unixadmin \ | ||
17 | " | ||
18 | |||
19 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-stack-data_0.6.3.bb b/meta-python/recipes-devtools/python/python3-stack-data_0.6.3.bb index 55ddff383f..9bf895e386 100644 --- a/meta-python/recipes-devtools/python/python3-stack-data_0.6.3.bb +++ b/meta-python/recipes-devtools/python/python3-stack-data_0.6.3.bb | |||
@@ -5,6 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a3d6c15f7859ae235a78f2758e5a48cf" | |||
5 | DEPENDS = "python3-setuptools-scm-native" | 5 | DEPENDS = "python3-setuptools-scm-native" |
6 | 6 | ||
7 | PYPI_PACKAGE = "stack_data" | 7 | PYPI_PACKAGE = "stack_data" |
8 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
8 | 9 | ||
9 | inherit pypi python_setuptools_build_meta | 10 | inherit pypi python_setuptools_build_meta |
10 | 11 | ||
diff --git a/meta-python/recipes-devtools/python/python3-starlette/run-ptest b/meta-python/recipes-devtools/python/python3-starlette/run-ptest new file mode 100644 index 0000000000..09bdf7cedf --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-starlette/run-ptest | |||
@@ -0,0 +1,3 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake --forked --deselect tests/test_staticfiles.py::test_staticfiles_with_invalid_dir_permissions_returns_401 | ||
diff --git a/meta-python/recipes-devtools/python/python3-starlette_0.47.1.bb b/meta-python/recipes-devtools/python/python3-starlette_0.47.1.bb new file mode 100644 index 0000000000..6fdc4e6da8 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-starlette_0.47.1.bb | |||
@@ -0,0 +1,41 @@ | |||
1 | SUMMARY = "Starlette is a lightweight ASGI framework/toolkit, which is ideal for building async web services in Python" | ||
2 | LICENSE = "BSD-3-Clause" | ||
3 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=11e8c8dbfd5fa373c703de492140ff7a" | ||
4 | |||
5 | SRC_URI[sha256sum] = "aef012dd2b6be325ffa16698f9dc533614fb1cebd593a906b90dc1025529a79b" | ||
6 | |||
7 | inherit pypi python_hatchling ptest | ||
8 | |||
9 | PYPI_PACKAGE = "starlette" | ||
10 | |||
11 | SRC_URI += " \ | ||
12 | file://run-ptest \ | ||
13 | " | ||
14 | |||
15 | RDEPENDS:${PN}-ptest += " \ | ||
16 | python3-attrs \ | ||
17 | python3-ctypes \ | ||
18 | python3-httpx \ | ||
19 | python3-itsdangerous \ | ||
20 | python3-jinja2 \ | ||
21 | python3-outcome \ | ||
22 | python3-pytest \ | ||
23 | python3-pytest-asyncio \ | ||
24 | python3-pytest-forked \ | ||
25 | python3-python-multipart \ | ||
26 | python3-sortedcontainers \ | ||
27 | python3-terminal \ | ||
28 | python3-trio \ | ||
29 | python3-typing-extensions \ | ||
30 | python3-unittest-automake-output \ | ||
31 | python3-pyyaml \ | ||
32 | " | ||
33 | |||
34 | do_install_ptest() { | ||
35 | install -d ${D}${PTEST_PATH}/tests | ||
36 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
37 | } | ||
38 | |||
39 | RDEPENDS:${PN} += " \ | ||
40 | python3-anyio \ | ||
41 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-stevedore_5.2.0.bb b/meta-python/recipes-devtools/python/python3-stevedore_5.4.1.bb index 7cc0a2e529..6a6fd36cb6 100644 --- a/meta-python/recipes-devtools/python/python3-stevedore_5.2.0.bb +++ b/meta-python/recipes-devtools/python/python3-stevedore_5.4.1.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://docs.openstack.org/stevedore/latest/" | |||
3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "46b93ca40e1114cea93d738a6c1e365396981bb6bb78c27045b7587c9473544d" | 6 | SRC_URI[sha256sum] = "3135b5ae50fe12816ef291baff420acb727fcd356106e3e9cbfa9e5985cd6f4b" |
7 | 7 | ||
8 | DEPENDS += "python3-pbr-native" | 8 | DEPENDS += "python3-pbr-native" |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-strenum_0.4.15.bb b/meta-python/recipes-devtools/python/python3-strenum_0.4.15.bb index cbe7fcc215..abe5c03d8e 100644 --- a/meta-python/recipes-devtools/python/python3-strenum_0.4.15.bb +++ b/meta-python/recipes-devtools/python/python3-strenum_0.4.15.bb | |||
@@ -10,5 +10,6 @@ DEPENDS = "python3-pytest-runner-native" | |||
10 | SRC_URI[sha256sum] = "878fb5ab705442070e4dd1929bb5e2249511c0bcf2b0eeacf3bcd80875c82eff" | 10 | SRC_URI[sha256sum] = "878fb5ab705442070e4dd1929bb5e2249511c0bcf2b0eeacf3bcd80875c82eff" |
11 | 11 | ||
12 | PYPI_PACKAGE = "StrEnum" | 12 | PYPI_PACKAGE = "StrEnum" |
13 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
13 | 14 | ||
14 | inherit pypi python_setuptools_build_meta | 15 | inherit pypi python_setuptools_build_meta |
diff --git a/meta-python/recipes-devtools/python/python3-supervisor_4.2.5.bb b/meta-python/recipes-devtools/python/python3-supervisor_4.2.5.bb index e104e1c0ce..ca6203c755 100644 --- a/meta-python/recipes-devtools/python/python3-supervisor_4.2.5.bb +++ b/meta-python/recipes-devtools/python/python3-supervisor_4.2.5.bb | |||
@@ -12,11 +12,13 @@ SRC_URI[sha256sum] = "34761bae1a23c58192281a5115fb07fbf22c9b0133c08166beffc70fed | |||
12 | PYPI_PACKAGE = "supervisor" | 12 | PYPI_PACKAGE = "supervisor" |
13 | inherit pypi systemd setuptools3 | 13 | inherit pypi systemd setuptools3 |
14 | RDEPENDS:${PN} = "\ | 14 | RDEPENDS:${PN} = "\ |
15 | python3-meld3 \ | 15 | python3-fcntl \ |
16 | python3-io \ | 16 | python3-io \ |
17 | python3-xmlrpc \ | 17 | python3-meld3 \ |
18 | python3-resource \ | 18 | python3-resource \ |
19 | python3-setuptools \ | 19 | python3-setuptools \ |
20 | python3-unixadmin \ | ||
21 | python3-xmlrpc \ | ||
20 | " | 22 | " |
21 | 23 | ||
22 | SRC_URI += "file://supervisord.conf \ | 24 | SRC_URI += "file://supervisord.conf \ |
diff --git a/meta-python/recipes-devtools/python/python3-sympy_1.12.1.bb b/meta-python/recipes-devtools/python/python3-sympy_1.14.0.bb index 2bdaf8ed20..dd0a84aa2c 100644 --- a/meta-python/recipes-devtools/python/python3-sympy_1.12.1.bb +++ b/meta-python/recipes-devtools/python/python3-sympy_1.14.0.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://pypi.org/project/sympy/" | |||
3 | LICENSE = "BSD-3-Clause" | 3 | LICENSE = "BSD-3-Clause" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ea48085d7dff75b49271b25447e8cdca" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ea48085d7dff75b49271b25447e8cdca" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "2877b03f998cd8c08f07cd0de5b767119cd3ef40d09f41c30d722f6686b0fb88" | 6 | SRC_URI[sha256sum] = "d3d3fe8df1e5a0b42f0e7bdf50541697dbe7d23746e894990c030e2b05e72517" |
7 | 7 | ||
8 | inherit pypi setuptools3 | 8 | inherit pypi setuptools3 |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-systemd_235.bb b/meta-python/recipes-devtools/python/python3-systemd_235.bb index 7a7d5a5053..3abea5f5f2 100644 --- a/meta-python/recipes-devtools/python/python3-systemd_235.bb +++ b/meta-python/recipes-devtools/python/python3-systemd_235.bb | |||
@@ -3,10 +3,15 @@ HOMEPAGE = "https://github.com/systemd/python-systemd" | |||
3 | LICENSE = "LGPL-2.1-or-later" | 3 | LICENSE = "LGPL-2.1-or-later" |
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4fbd65380cdd255951079008b364516c" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4fbd65380cdd255951079008b364516c" |
5 | 5 | ||
6 | |||
6 | PYPI_PACKAGE = "systemd-python" | 7 | PYPI_PACKAGE = "systemd-python" |
7 | DEPENDS += "systemd (<=235)" | ||
8 | RDEPENDS:${PN} += "systemd python3-syslog python3-logging python3-syslog" | ||
9 | REQUIRED_DISTRO_FEATURES = "systemd" | ||
10 | inherit pypi features_check pkgconfig setuptools3 | ||
11 | SRC_URI:append:libc-musl = " file://0001-Provide-implementation-of-strndupa-for-musl.patch" | 8 | SRC_URI:append:libc-musl = " file://0001-Provide-implementation-of-strndupa-for-musl.patch" |
12 | SRC_URI[sha256sum] = "4e57f39797fd5d9e2d22b8806a252d7c0106c936039d1e71c8c6b8008e695c0a" | 9 | SRC_URI[sha256sum] = "4e57f39797fd5d9e2d22b8806a252d7c0106c936039d1e71c8c6b8008e695c0a" |
10 | |||
11 | DEPENDS += "systemd (<=235)" | ||
12 | |||
13 | inherit pypi features_check pkgconfig python_setuptools_build_meta | ||
14 | |||
15 | REQUIRED_DISTRO_FEATURES = "systemd" | ||
16 | |||
17 | RDEPENDS:${PN} += "systemd python3-syslog python3-logging python3-syslog" | ||
diff --git a/meta-python/recipes-devtools/python/python3-telnetlib3_2.0.4.bb b/meta-python/recipes-devtools/python/python3-telnetlib3_2.0.4.bb index c1e7c8e1f7..e359e2d88b 100644 --- a/meta-python/recipes-devtools/python/python3-telnetlib3_2.0.4.bb +++ b/meta-python/recipes-devtools/python/python3-telnetlib3_2.0.4.bb | |||
@@ -3,7 +3,6 @@ HOMEPAGE = "https://github.com/jquast/telnetlib3" | |||
3 | LICENSE = "ISC" | 3 | LICENSE = "ISC" |
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fc2166986ad8169d334a342e0d8db8e0" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fc2166986ad8169d334a342e0d8db8e0" |
5 | 5 | ||
6 | SRC_URI[md5sum] = "2dfac7e10ed63c408da50ea712415f87" | ||
7 | SRC_URI[sha256sum] = "dbcbc16456a0e03a62431be7cfefff00515ab2f4ce2afbaf0d3a0e51a98c948d" | 6 | SRC_URI[sha256sum] = "dbcbc16456a0e03a62431be7cfefff00515ab2f4ce2afbaf0d3a0e51a98c948d" |
8 | 7 | ||
9 | PYPI_PACKAGE = "telnetlib3" | 8 | PYPI_PACKAGE = "telnetlib3" |
diff --git a/meta-python/recipes-devtools/python/python3-term_2.5.bb b/meta-python/recipes-devtools/python/python3-term_2.5.bb index 7d508ad809..fe0aabf0ff 100644 --- a/meta-python/recipes-devtools/python/python3-term_2.5.bb +++ b/meta-python/recipes-devtools/python/python3-term_2.5.bb | |||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d90e2d280a4836c607520383d1639be1" | |||
5 | 5 | ||
6 | SRC_URI[sha256sum] = "846fda941dbb8a7c9f246e99bf5ee731910fc4a4cc54b7e36457c133c9f6b78b" | 6 | SRC_URI[sha256sum] = "846fda941dbb8a7c9f246e99bf5ee731910fc4a4cc54b7e36457c133c9f6b78b" |
7 | 7 | ||
8 | inherit pypi setuptools3 | 8 | inherit pypi python_setuptools_build_meta |
9 | 9 | ||
10 | RDEPENDS:${PN} = "\ | 10 | RDEPENDS:${PN} = "\ |
11 | python3-io \ | 11 | python3-io \ |
diff --git a/meta-python/recipes-devtools/python/python3-termcolor_2.4.0.bb b/meta-python/recipes-devtools/python/python3-termcolor_3.1.0.bb index ea6b683991..81e96507dd 100644 --- a/meta-python/recipes-devtools/python/python3-termcolor_2.4.0.bb +++ b/meta-python/recipes-devtools/python/python3-termcolor_3.1.0.bb | |||
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING.txt;md5=e5f5f7c9b280511f124dba5dda3d180e" | |||
6 | 6 | ||
7 | inherit pypi python_setuptools_build_meta | 7 | inherit pypi python_setuptools_build_meta |
8 | 8 | ||
9 | SRC_URI[sha256sum] = "aab9e56047c8ac41ed798fa36d892a37aca6b3e9159f3e0c24bc64a9b3ac7b7a" | 9 | SRC_URI[sha256sum] = "6a6dd7fbee581909eeec6a756cff1d7f7c376063b14e4a298dc4980309e55970" |
10 | 10 | ||
11 | DEPENDS += " \ | 11 | DEPENDS += " \ |
12 | python3-toml-native \ | 12 | python3-toml-native \ |
diff --git a/meta-python/recipes-devtools/python/python3-tinyrecord_0.2.0.bb b/meta-python/recipes-devtools/python/python3-tinyrecord_0.2.0.bb index 1d99ae2f39..16415ebeee 100644 --- a/meta-python/recipes-devtools/python/python3-tinyrecord_0.2.0.bb +++ b/meta-python/recipes-devtools/python/python3-tinyrecord_0.2.0.bb | |||
@@ -8,7 +8,6 @@ HOMEPAGE = "https://github.com/eugene-eeo/tinyrecord" | |||
8 | LICENSE = "MIT" | 8 | LICENSE = "MIT" |
9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ee157eec4b228c8d5b7a6e0feab2864a" | 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ee157eec4b228c8d5b7a6e0feab2864a" |
10 | 10 | ||
11 | SRC_URI[md5sum] = "cbaae3f4599b12e3bea67ca4a75eca99" | ||
12 | SRC_URI[sha256sum] = "eb6dc23601be359ee00f5a3d31a46adf3bad0a16f8d60af216cd67982ca75cf4" | 11 | SRC_URI[sha256sum] = "eb6dc23601be359ee00f5a3d31a46adf3bad0a16f8d60af216cd67982ca75cf4" |
13 | 12 | ||
14 | PYPI_PACKAGE = "tinyrecord" | 13 | PYPI_PACKAGE = "tinyrecord" |
diff --git a/meta-python/recipes-devtools/python/python3-toml_0.10.2.bb b/meta-python/recipes-devtools/python/python3-toml_0.10.2.bb new file mode 100644 index 0000000000..649464b961 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-toml_0.10.2.bb | |||
@@ -0,0 +1,15 @@ | |||
1 | SUMMARY = "Python Library for Tom's Obvious, Minimal Language" | ||
2 | HOMEPAGE = "https://github.com/uiri/toml" | ||
3 | LICENSE = "MIT" | ||
4 | SECTION = "devel/python" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=16c77b2b1050d2f03cb9c2ed0edaf4f0" | ||
6 | |||
7 | SRC_URI[sha256sum] = "b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f" | ||
8 | |||
9 | inherit pypi setuptools3 | ||
10 | |||
11 | BBCLASSEXTEND = "native nativesdk" | ||
12 | |||
13 | RDEPENDS:${PN} += " \ | ||
14 | python3-misc \ | ||
15 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-tomli-w/run-ptest b/meta-python/recipes-devtools/python/python3-tomli-w/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-tomli-w/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-tomli-w_1.0.0.bb b/meta-python/recipes-devtools/python/python3-tomli-w_1.2.0.bb index 8a8a48467d..ea364ae8f6 100644 --- a/meta-python/recipes-devtools/python/python3-tomli-w_1.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-tomli-w_1.2.0.bb | |||
@@ -3,27 +3,18 @@ HOMEPAGE = "https://github.com/hukkin/tomli-w" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=aaaaf0879d17df0110d1aa8c8c9f46f5" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=aaaaf0879d17df0110d1aa8c8c9f46f5" |
5 | 5 | ||
6 | SRCREV = "19099125f32e7c491603e393263754262b356956" | 6 | SRCREV = "a8f80172ba16fe694e37f6e07e6352ecee384c58" |
7 | PYPI_SRC_URI = "git://github.com/hukkin/tomli-w.git;protocol=https;branch=master" | 7 | PYPI_SRC_URI = "git://github.com/hukkin/tomli-w.git;protocol=https;branch=master;destsuffix=${S}" |
8 | 8 | ||
9 | inherit pypi python_flit_core ptest | 9 | inherit pypi python_flit_core ptest-python-pytest |
10 | 10 | ||
11 | S = "${WORKDIR}/git" | ||
12 | |||
13 | SRC_URI += " \ | ||
14 | file://run-ptest \ | ||
15 | " | ||
16 | 11 | ||
17 | RDEPENDS:${PN}-ptest += " \ | 12 | RDEPENDS:${PN}-ptest += " \ |
18 | python3-pytest \ | ||
19 | python3-tomli \ | 13 | python3-tomli \ |
20 | python3-unittest-automake-output \ | ||
21 | " | 14 | " |
22 | 15 | ||
23 | do_install_ptest() { | 16 | do_install_ptest:append() { |
24 | install -d ${D}${PTEST_PATH}/tests | ||
25 | install -d ${D}${PTEST_PATH}/benchmark | 17 | install -d ${D}${PTEST_PATH}/benchmark |
26 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
27 | cp -rf ${S}/benchmark/* ${D}${PTEST_PATH}/benchmark/ | 18 | cp -rf ${S}/benchmark/* ${D}${PTEST_PATH}/benchmark/ |
28 | } | 19 | } |
29 | 20 | ||
diff --git a/meta-python/recipes-devtools/python/python3-tomli_2.2.1.bb b/meta-python/recipes-devtools/python/python3-tomli_2.2.1.bb new file mode 100644 index 0000000000..a3af5302ed --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-tomli_2.2.1.bb | |||
@@ -0,0 +1,18 @@ | |||
1 | SUMMARY = "A lil' TOML parser" | ||
2 | DESCRIPTION = "Tomli is a Python library for parsing TOML. Tomli is fully \ | ||
3 | compatible with TOML v1.0.0." | ||
4 | HOMEPAGE = "https://github.com/hukkin/tomli" | ||
5 | BUGTRACKER = "https://github.com/hukkin/tomli/issues" | ||
6 | LICENSE = "MIT" | ||
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=aaaaf0879d17df0110d1aa8c8c9f46f5" | ||
8 | |||
9 | inherit pypi python_flit_core | ||
10 | |||
11 | SRC_URI[sha256sum] = "cd45e1dc79c835ce60f7404ec8119f2eb06d38b1deba146f07ced3bbc44505ff" | ||
12 | |||
13 | BBCLASSEXTEND = "native nativesdk" | ||
14 | |||
15 | RDEPENDS:${PN} += " \ | ||
16 | python3-datetime \ | ||
17 | python3-stringold \ | ||
18 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-tomlkit/run-ptest b/meta-python/recipes-devtools/python/python3-tomlkit/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-tomlkit/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-tomlkit_0.12.5.bb b/meta-python/recipes-devtools/python/python3-tomlkit_0.13.3.bb index f5612a18db..934c624670 100644 --- a/meta-python/recipes-devtools/python/python3-tomlkit_0.12.5.bb +++ b/meta-python/recipes-devtools/python/python3-tomlkit_0.13.3.bb | |||
@@ -3,13 +3,9 @@ HOMEPAGE = "https://pypi.org/project/tomlkit/" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=31aac0dbc1babd278d5386dadb7f8e82" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=31aac0dbc1babd278d5386dadb7f8e82" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "eef34fba39834d4d6b73c9ba7f3e4d1c417a4e56f89a7e96e090dd0d24b8fb3c" | 6 | SRC_URI[sha256sum] = "430cf247ee57df2b94ee3fbe588e71d362a941ebb545dec29b53961d61add2a1" |
7 | 7 | ||
8 | inherit pypi python_poetry_core ptest | 8 | inherit pypi python_poetry_core ptest-python-pytest |
9 | |||
10 | SRC_URI += " \ | ||
11 | file://run-ptest \ | ||
12 | " | ||
13 | 9 | ||
14 | RDEPENDS:${PN} += " \ | 10 | RDEPENDS:${PN} += " \ |
15 | python3-datetime \ | 11 | python3-datetime \ |
@@ -19,14 +15,7 @@ RDEPENDS:${PN} += " \ | |||
19 | 15 | ||
20 | RDEPENDS:${PN}-ptest += " \ | 16 | RDEPENDS:${PN}-ptest += " \ |
21 | python3-poetry-core \ | 17 | python3-poetry-core \ |
22 | python3-pytest \ | ||
23 | python3-pyyaml \ | 18 | python3-pyyaml \ |
24 | python3-unittest-automake-output \ | ||
25 | " | 19 | " |
26 | 20 | ||
27 | do_install_ptest() { | ||
28 | install -d ${D}${PTEST_PATH}/tests | ||
29 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
30 | } | ||
31 | |||
32 | BBCLASSEXTEND = "native nativesdk" | 21 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-python/recipes-devtools/python/python3-toolz_0.12.1.bb b/meta-python/recipes-devtools/python/python3-toolz_1.0.0.bb index f1763ee518..ec67a4b161 100644 --- a/meta-python/recipes-devtools/python/python3-toolz_0.12.1.bb +++ b/meta-python/recipes-devtools/python/python3-toolz_1.0.0.bb | |||
@@ -4,7 +4,7 @@ SECTION = "devel/python" | |||
4 | LICENSE = "BSD-3-Clause" | 4 | LICENSE = "BSD-3-Clause" |
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ca09cab178326d18433aae982d1edf5d" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ca09cab178326d18433aae982d1edf5d" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "ecca342664893f177a13dac0e6b41cbd8ac25a358e5f215316d43e2100224f4d" | 7 | SRC_URI[sha256sum] = "2c86e3d9a04798ac556793bced838816296a2f085017664e4995cb40a1047a02" |
8 | 8 | ||
9 | inherit pypi setuptools3 | 9 | inherit pypi setuptools3 |
10 | 10 | ||
diff --git a/meta-python/recipes-devtools/python/python3-tornado_6.4.1.bb b/meta-python/recipes-devtools/python/python3-tornado_6.5.1.bb index b8f6752f28..c10589b2b9 100644 --- a/meta-python/recipes-devtools/python/python3-tornado_6.4.1.bb +++ b/meta-python/recipes-devtools/python/python3-tornado_6.5.1.bb | |||
@@ -2,11 +2,11 @@ SUMMARY = "Tornado is an open source version of the scalable, non-blocking web | |||
2 | DESCRIPTION = "Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed. \ | 2 | DESCRIPTION = "Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed. \ |
3 | By using non-blocking network I/O, Tornado can scale to tens of thousands of open connections, making it ideal for long \ | 3 | By using non-blocking network I/O, Tornado can scale to tens of thousands of open connections, making it ideal for long \ |
4 | polling, WebSockets, and other applications that require a long-lived connection to each user." | 4 | polling, WebSockets, and other applications that require a long-lived connection to each user." |
5 | HOMEPAGE = "http://www.tornadoweb.org/en/stable/" | 5 | HOMEPAGE = "https://www.tornadoweb.org/en/stable/" |
6 | LICENSE = "Apache-2.0" | 6 | LICENSE = "Apache-2.0" |
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" |
8 | 8 | ||
9 | SRC_URI[sha256sum] = "92d3ab53183d8c50f8204a51e6f91d18a15d5ef261e84d452800d4ff6fc504e9" | 9 | SRC_URI[sha256sum] = "84ceece391e8eb9b2b95578db65e920d2a61070260594819589609ba9bc6308c" |
10 | 10 | ||
11 | inherit pypi python_setuptools_build_meta | 11 | inherit pypi python_setuptools_build_meta |
12 | 12 | ||
diff --git a/meta-python/recipes-devtools/python/python3-tox_4.15.0.bb b/meta-python/recipes-devtools/python/python3-tox_4.27.0.bb index 4296738ec9..4deacdb3d9 100644 --- a/meta-python/recipes-devtools/python/python3-tox_4.15.0.bb +++ b/meta-python/recipes-devtools/python/python3-tox_4.27.0.bb | |||
@@ -2,11 +2,11 @@ | |||
2 | # Copyright (C) 2023 iris-GmbH infrared & intelligent sensors | 2 | # Copyright (C) 2023 iris-GmbH infrared & intelligent sensors |
3 | 3 | ||
4 | SUMMARY = "Automate and standardize testing in Python. It is part of a larger vision of easing the packaging, testing and release process of Python software (alongside pytest and devpi)." | 4 | SUMMARY = "Automate and standardize testing in Python. It is part of a larger vision of easing the packaging, testing and release process of Python software (alongside pytest and devpi)." |
5 | HOMEPAGE = "http://tox.readthedocs.org/" | 5 | HOMEPAGE = "https://tox.readthedocs.org/" |
6 | LICENSE = "MIT" | 6 | LICENSE = "MIT" |
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=11610a9d8fd95649cf8159be12b98cb7" | 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=11610a9d8fd95649cf8159be12b98cb7" |
8 | 8 | ||
9 | SRC_URI[sha256sum] = "7a0beeef166fbe566f54f795b4906c31b428eddafc0102ac00d20998dd1933f6" | 9 | SRC_URI[sha256sum] = "b97d5ecc0c0d5755bcc5348387fef793e1bfa68eb33746412f4c60881d7f5f57" |
10 | 10 | ||
11 | BBCLASSEXTEND = "native nativesdk" | 11 | BBCLASSEXTEND = "native nativesdk" |
12 | inherit pypi python_hatchling | 12 | inherit pypi python_hatchling |
diff --git a/meta-python/recipes-devtools/python/python3-tqdm_4.66.4.bb b/meta-python/recipes-devtools/python/python3-tqdm_4.67.1.bb index 485d24f523..b04cbd4b9a 100644 --- a/meta-python/recipes-devtools/python/python3-tqdm_4.66.4.bb +++ b/meta-python/recipes-devtools/python/python3-tqdm_4.67.1.bb | |||
@@ -1,11 +1,11 @@ | |||
1 | SUMMARY = "Fast, Extensible Progress Meter" | 1 | SUMMARY = "Fast, Extensible Progress Meter" |
2 | HOMEPAGE = "http://tqdm.github.io/" | 2 | HOMEPAGE = "https://tqdm.github.io/" |
3 | SECTION = "devel/python" | 3 | SECTION = "devel/python" |
4 | 4 | ||
5 | LICENSE = "MIT & MPL-2.0" | 5 | LICENSE = "MIT & MPL-2.0" |
6 | LIC_FILES_CHKSUM = "file://LICENCE;md5=42dfa9e8c616dbc295df3f58d756b2a1" | 6 | LIC_FILES_CHKSUM = "file://LICENCE;md5=42dfa9e8c616dbc295df3f58d756b2a1" |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "e4d936c9de8727928f3be6079590e97d9abfe8d39a590be678eb5919ffc186bb" | 8 | SRC_URI[sha256sum] = "f8aef9c52c08c13a65f30ea34f4e5aac3fd1a34959879d7e59e63027286627f2" |
9 | 9 | ||
10 | inherit pypi python_setuptools_build_meta | 10 | inherit pypi python_setuptools_build_meta |
11 | 11 | ||
diff --git a/meta-python/recipes-devtools/python/python3-transitions_0.9.1.bb b/meta-python/recipes-devtools/python/python3-transitions_0.9.2.bb index 5f1e3d9e26..3a27b666cf 100644 --- a/meta-python/recipes-devtools/python/python3-transitions_0.9.1.bb +++ b/meta-python/recipes-devtools/python/python3-transitions_0.9.2.bb | |||
@@ -4,6 +4,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=de0a0876a688a4483bfafa764773ab39" | |||
4 | 4 | ||
5 | inherit pypi setuptools3 | 5 | inherit pypi setuptools3 |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "3542c37108e93e2ae5f215208ec5732c94a772937854a102cd7345b967fee61b" | 7 | SRC_URI[sha256sum] = "2f8490dbdbd419366cef1516032ab06d07ccb5839ef54905e842a472692d4204" |
8 | 8 | ||
9 | RDEPENDS:${PN} += "python3-six python3-logging" | 9 | RDEPENDS:${PN} += "python3-six python3-logging" |
diff --git a/meta-python/recipes-devtools/python/python3-trio_0.30.0.bb b/meta-python/recipes-devtools/python/python3-trio_0.30.0.bb new file mode 100644 index 0000000000..2013891074 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-trio_0.30.0.bb | |||
@@ -0,0 +1,18 @@ | |||
1 | SUMMARY = "A friendly Python library for async concurrency and I/O" | ||
2 | HOMEPAGE = "https://github.com/python-trio/trio" | ||
3 | LICENSE = "Apache-2.0 & MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=447ea202d14d2aee40d8a2c26c865da9 \ | ||
5 | file://LICENSE.APACHE2;md5=3b83ef96387f14655fc854ddc3c6bd57 \ | ||
6 | file://LICENSE.MIT;md5=5f229c828e5a6f0a2ce90c7d3c054721" | ||
7 | |||
8 | SRC_URI[sha256sum] = "0781c857c0c81f8f51e0089929a26b5bb63d57f927728a5586f7e36171f064df" | ||
9 | |||
10 | inherit pypi python_setuptools_build_meta | ||
11 | |||
12 | RDEPENDS:${PN} = " \ | ||
13 | python3-idna \ | ||
14 | python3-sniffio \ | ||
15 | python3-attrs \ | ||
16 | python3-outcome \ | ||
17 | python3-sortedcontainers \ | ||
18 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-trustme/run-ptest b/meta-python/recipes-devtools/python/python3-trustme/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-trustme/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-trustme_1.1.0.bb b/meta-python/recipes-devtools/python/python3-trustme_1.1.0.bb deleted file mode 100644 index 21161a0e0f..0000000000 --- a/meta-python/recipes-devtools/python/python3-trustme_1.1.0.bb +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | DESCRIPTION = "A utility provides a fake certificate authority (CA)" | ||
2 | HOMEPAGE = "https://pypi.org/project/trustme" | ||
3 | |||
4 | LICENSE = "Apache-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d5a7af1a4b73e57431e25d15a2da745a" | ||
6 | |||
7 | SRC_URI[sha256sum] = "5375ad7fb427074bec956592e0d4ee2a4cf4da68934e1ba4bcf4217126bc45e6" | ||
8 | |||
9 | inherit pypi setuptools3 ptest | ||
10 | |||
11 | SRC_URI += " \ | ||
12 | file://run-ptest \ | ||
13 | " | ||
14 | |||
15 | RDEPENDS:${PN} += " \ | ||
16 | python3-cryptography \ | ||
17 | python3-datetime \ | ||
18 | python3-idna \ | ||
19 | python3-io \ | ||
20 | " | ||
21 | |||
22 | RDEPENDS:${PN}-ptest += " \ | ||
23 | python3-pyopenssl \ | ||
24 | python3-pyasn1-modules \ | ||
25 | python3-pytest \ | ||
26 | python3-service-identity \ | ||
27 | python3-unittest-automake-output \ | ||
28 | " | ||
29 | |||
30 | do_install_ptest() { | ||
31 | install -d ${D}${PTEST_PATH}/tests | ||
32 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
33 | cp -rf ${S}/setup.py ${D}${PTEST_PATH} | ||
34 | } | ||
diff --git a/meta-python/recipes-devtools/python/python3-trustme_1.2.1.bb b/meta-python/recipes-devtools/python/python3-trustme_1.2.1.bb new file mode 100644 index 0000000000..bdf5a494a7 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-trustme_1.2.1.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | DESCRIPTION = "A utility provides a fake certificate authority (CA)" | ||
2 | HOMEPAGE = "https://pypi.org/project/trustme" | ||
3 | |||
4 | LICENSE = "Apache-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=fb59582a4d7ecbb79dfeefa0f69932e1" | ||
6 | |||
7 | SRC_URI[sha256sum] = "6528ba2bbc7f2db41f33825c8dd13e3e3eb9d334ba0f909713c8c3139f4ae47f" | ||
8 | |||
9 | inherit pypi python_hatchling python_setuptools_build_meta ptest-python-pytest | ||
10 | |||
11 | RDEPENDS:${PN} += " \ | ||
12 | python3-cryptography \ | ||
13 | python3-datetime \ | ||
14 | python3-idna \ | ||
15 | python3-io \ | ||
16 | " | ||
17 | |||
18 | RDEPENDS:${PN}-ptest += " \ | ||
19 | python3-attrs \ | ||
20 | python3-pyopenssl \ | ||
21 | python3-pyasn1-modules \ | ||
22 | python3-service-identity \ | ||
23 | python3-six \ | ||
24 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-twine_5.1.0.bb b/meta-python/recipes-devtools/python/python3-twine_6.1.0.bb index 6a79d45d43..5f734705c0 100644 --- a/meta-python/recipes-devtools/python/python3-twine_5.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-twine_6.1.0.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://twine.readthedocs.io/" | |||
3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a3d1106b253a8d50dd82a4202a045b4c" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a3d1106b253a8d50dd82a4202a045b4c" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "4d74770c88c4fcaf8134d2a6a9d863e40f08255ff7d8e2acb3cbbd57d25f6e9d" | 6 | SRC_URI[sha256sum] = "be324f6272eff91d07ee93f251edf232fc647935dd585ac003539b42404a8dbd" |
7 | 7 | ||
8 | inherit pypi python_setuptools_build_meta | 8 | inherit pypi python_setuptools_build_meta |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb b/meta-python/recipes-devtools/python/python3-twisted_25.5.0.bb index 336c173893..4685829ee3 100644 --- a/meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb +++ b/meta-python/recipes-devtools/python/python3-twisted_25.5.0.bb | |||
@@ -4,17 +4,12 @@ Twisted supports TCP, UDP, SSL/TLS, multicast, Unix sockets, a large number of p | |||
4 | HOMEPAGE = "https://twisted.org" | 4 | HOMEPAGE = "https://twisted.org" |
5 | 5 | ||
6 | LICENSE = "MIT" | 6 | LICENSE = "MIT" |
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c1c5d2c2493b848f83864bdedd67bbf5" | 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5316a448a61a38d722c291f78d915d11" |
8 | 8 | ||
9 | SRC_URI[sha256sum] = "6b38b6ece7296b5e122c9eb17da2eeab3d98a198f50ca9efd00fb03e5b4fd4ae" | 9 | SRC_URI[sha256sum] = "1deb272358cb6be1e3e8fc6f9c8b36f78eb0fa7c2233d2dbe11ec6fee04ea316" |
10 | 10 | ||
11 | inherit pypi python_hatchling | 11 | inherit pypi python_hatchling |
12 | 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 =+ "\ | 13 | PACKAGES =+ "\ |
19 | ${PN}-zsh \ | 14 | ${PN}-zsh \ |
20 | ${PN}-test \ | 15 | ${PN}-test \ |
@@ -47,8 +42,12 @@ RDEPENDS:${PN} = "\ | |||
47 | ${PN}-zsh \ | 42 | ${PN}-zsh \ |
48 | " | 43 | " |
49 | 44 | ||
50 | RDEPENDS:${PN}-core = "python3-appdirs \ | 45 | # Optional dependencies |
51 | python3-asyncio \ | 46 | PACKAGECONFIG ??= "" |
47 | PACKAGECONFIG[websocket] = ",,,python3-wsproto" | ||
48 | |||
49 | RDEPENDS:${PN}-core = "python3-asyncio \ | ||
50 | python3-attrs \ | ||
52 | python3-automat \ | 51 | python3-automat \ |
53 | python3-constantly \ | 52 | python3-constantly \ |
54 | python3-core \ | 53 | python3-core \ |
@@ -61,7 +60,7 @@ RDEPENDS:${PN}-core = "python3-appdirs \ | |||
61 | python3-zopeinterface \ | 60 | python3-zopeinterface \ |
62 | " | 61 | " |
63 | RDEPENDS:${PN}-test = "${PN} python3-pyhamcrest" | 62 | RDEPENDS:${PN}-test = "${PN} python3-pyhamcrest" |
64 | RDEPENDS:${PN}-conch = "${PN}-core ${PN}-protocols python3-bcrypt python3-cryptography python3-pickle" | 63 | RDEPENDS:${PN}-conch = "${PN}-core ${PN}-protocols python3-appdirs python3-bcrypt python3-cryptography python3-pickle" |
65 | RDEPENDS:${PN}-mail = "${PN}-core ${PN}-protocols" | 64 | RDEPENDS:${PN}-mail = "${PN}-core ${PN}-protocols" |
66 | RDEPENDS:${PN}-names = "${PN}-core" | 65 | RDEPENDS:${PN}-names = "${PN}-core" |
67 | RDEPENDS:${PN}-runner = "${PN}-core ${PN}-protocols" | 66 | RDEPENDS:${PN}-runner = "${PN}-core ${PN}-protocols" |
diff --git a/meta-python/recipes-devtools/python/python3-twitter_4.14.0.bb b/meta-python/recipes-devtools/python/python3-twitter_4.15.0.bb index 23ea996258..c35b97a9e4 100644 --- a/meta-python/recipes-devtools/python/python3-twitter_4.14.0.bb +++ b/meta-python/recipes-devtools/python/python3-twitter_4.15.0.bb | |||
@@ -4,11 +4,11 @@ DESCRIPTION = "Python module to support twitter API" | |||
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=9;endline=9;md5=8227180126797a0148f94f483f3e1489" | 5 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=9;endline=9;md5=8227180126797a0148f94f483f3e1489" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "1f9f1707d6972de6cff6c5fd90dfe6a449cd2e0d70bd40043ffab01e07a06c8c" | 7 | SRC_URI[sha256sum] = "1345cbcdf0a75e2d89f424c559fd49fda4d8cd7be25cd5131e3b57bad8a21d76" |
8 | 8 | ||
9 | PYPI_PACKAGE = "tweepy" | 9 | PYPI_PACKAGE = "tweepy" |
10 | 10 | ||
11 | inherit pypi setuptools3 | 11 | inherit pypi python_setuptools_build_meta |
12 | 12 | ||
13 | RDEPENDS:${PN} += "\ | 13 | RDEPENDS:${PN} += "\ |
14 | python3-pip \ | 14 | python3-pip \ |
diff --git a/meta-python/recipes-devtools/python/python3-twofish_0.3.0.bb b/meta-python/recipes-devtools/python/python3-twofish_0.3.0.bb index a8ad4bbdfb..48f3799227 100644 --- a/meta-python/recipes-devtools/python/python3-twofish_0.3.0.bb +++ b/meta-python/recipes-devtools/python/python3-twofish_0.3.0.bb | |||
@@ -1,7 +1,7 @@ | |||
1 | SUMMARY = "Bindings for the Twofish implementation by Niels Ferguson" | 1 | SUMMARY = "Bindings for the Twofish implementation by Niels Ferguson" |
2 | DESCRIPTION = "Bindings for the Twofish implementation by Niels Ferguson\ | 2 | DESCRIPTION = "Bindings for the Twofish implementation by Niels Ferguson\ |
3 | libtwofish-dev." | 3 | libtwofish-dev." |
4 | HOMEPAGE = "http://github.com/keybase/python-twofish" | 4 | HOMEPAGE = "https://github.com/keybase/python-twofish" |
5 | LICENSE = "BSD-3-Clause" | 5 | LICENSE = "BSD-3-Clause" |
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=33a63abf6d7567b1689d8ce69f00e43b" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=33a63abf6d7567b1689d8ce69f00e43b" |
7 | 7 | ||
diff --git a/meta-python/recipes-devtools/python/python3-txdbus_1.1.2.bb b/meta-python/recipes-devtools/python/python3-txdbus_1.1.2.bb index 1232f5e99f..01c069291c 100644 --- a/meta-python/recipes-devtools/python/python3-txdbus_1.1.2.bb +++ b/meta-python/recipes-devtools/python/python3-txdbus_1.1.2.bb | |||
@@ -4,7 +4,6 @@ SECTION = "devel/python" | |||
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://README.rst;beginline=32;endline=32;md5=2141358b0bce85fc45216ba91735ad50" | 5 | LIC_FILES_CHKSUM = "file://README.rst;beginline=32;endline=32;md5=2141358b0bce85fc45216ba91735ad50" |
6 | 6 | ||
7 | SRC_URI[md5sum] = "d397357dee78750385f92ca9c6c1f063" | ||
8 | SRC_URI[sha256sum] = "8375a5fb68a12054f0def91af800c821fb2232949337756ed975f88d8ea2bc97" | 7 | SRC_URI[sha256sum] = "8375a5fb68a12054f0def91af800c821fb2232949337756ed975f88d8ea2bc97" |
9 | 8 | ||
10 | inherit pypi setuptools3 | 9 | inherit pypi setuptools3 |
diff --git a/meta-python/recipes-devtools/python/python3-typeguard/run-ptest b/meta-python/recipes-devtools/python/python3-typeguard/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-typeguard/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-typeguard_4.3.0.bb b/meta-python/recipes-devtools/python/python3-typeguard_4.4.4.bb index 3f6acdd8e7..83dc52ca19 100644 --- a/meta-python/recipes-devtools/python/python3-typeguard_4.3.0.bb +++ b/meta-python/recipes-devtools/python/python3-typeguard_4.4.4.bb | |||
@@ -3,13 +3,9 @@ HOMEPAGE = "https://pypi.org/project/typeguard/" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f0e423eea5c91e7aa21bdb70184b3e53" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f0e423eea5c91e7aa21bdb70184b3e53" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "92ee6a0aec9135181eae6067ebd617fd9de8d75d714fb548728a4933b1dea651" | 6 | SRC_URI[sha256sum] = "3a7fd2dffb705d4d0efaed4306a704c89b9dee850b688f060a8b1615a79e5f74" |
7 | 7 | ||
8 | inherit pypi python_setuptools_build_meta ptest | 8 | inherit pypi python_setuptools_build_meta ptest-python-pytest |
9 | |||
10 | SRC_URI += " \ | ||
11 | file://run-ptest \ | ||
12 | " | ||
13 | 9 | ||
14 | RDEPENDS:${PN} += " \ | 10 | RDEPENDS:${PN} += " \ |
15 | python3-core \ | 11 | python3-core \ |
@@ -19,18 +15,11 @@ RDEPENDS:${PN} += " \ | |||
19 | " | 15 | " |
20 | 16 | ||
21 | RDEPENDS:${PN}-ptest += " \ | 17 | RDEPENDS:${PN}-ptest += " \ |
22 | python3-pytest \ | ||
23 | python3-typing-extensions \ | 18 | python3-typing-extensions \ |
24 | python3-unittest-automake-output \ | ||
25 | python3-unixadmin \ | 19 | python3-unixadmin \ |
26 | python3-mypy \ | 20 | python3-mypy \ |
27 | " | 21 | " |
28 | 22 | ||
29 | do_install_ptest() { | ||
30 | install -d ${D}${PTEST_PATH}/tests | ||
31 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
32 | } | ||
33 | |||
34 | DEPENDS += "\ | 23 | DEPENDS += "\ |
35 | python3-distutils-extra-native \ | 24 | python3-distutils-extra-native \ |
36 | python3-setuptools-scm-native \ | 25 | python3-setuptools-scm-native \ |
diff --git a/meta-python/recipes-devtools/python/python3-typer/run-ptest b/meta-python/recipes-devtools/python/python3-typer/run-ptest index 94b40789b1..526825aadf 100644 --- a/meta-python/recipes-devtools/python/python3-typer/run-ptest +++ b/meta-python/recipes-devtools/python/python3-typer/run-ptest | |||
@@ -3,4 +3,12 @@ | |||
3 | # Ignore the test_tutorial and test_completion. | 3 | # Ignore the test_tutorial and test_completion. |
4 | # Because it needs the docs_src package what is not in Yocto. | 4 | # Because it needs the docs_src package what is not in Yocto. |
5 | # And the tests are not that useful for Yocto. | 5 | # And the tests are not that useful for Yocto. |
6 | pytest --automake --ignore tests/test_tutorial --ignore tests/test_completion | 6 | # for test_rich_markup_mode.py see https://github.com/fastapi/typer/pull/859/files/2cfd641d86a591a0d8582dec9292c03e6322a21a |
7 | pytest --automake --ignore tests/test_tutorial --ignore tests/test_completion \ | ||
8 | --deselect tests/test_cli/test_completion_run.py::test_script_completion_run \ | ||
9 | --deselect tests/test_cli/test_doc.py::test_doc_html_output \ | ||
10 | --deselect tests/test_cli/test_sub_completion.py::test_script_completion_run \ | ||
11 | --deselect tests/test_others.py::test_completion_argument \ | ||
12 | --deselect tests/test_others.py::test_completion_untyped_parameters \ | ||
13 | --deselect tests/test_others.py::test_completion_untyped_parameters_different_order_correct_names \ | ||
14 | --deselect tests/test_rich_markup_mode.py::test_rich_markup_mode_rich | ||
diff --git a/meta-python/recipes-devtools/python/python3-typer_0.12.3.bb b/meta-python/recipes-devtools/python/python3-typer_0.16.0.bb index cc8669c375..5295d2213e 100644 --- a/meta-python/recipes-devtools/python/python3-typer_0.12.3.bb +++ b/meta-python/recipes-devtools/python/python3-typer_0.16.0.bb | |||
@@ -3,11 +3,11 @@ DESCRIPTION = "\ | |||
3 | Typer is a library for building CLI applications that users will love using and developers will love creating. Based on Python type hints. \ | 3 | Typer is a library for building CLI applications that users will love using and developers will love creating. Based on Python type hints. \ |
4 | It's also a command line tool to run scripts, automatically converting them to CLI applications. \ | 4 | It's also a command line tool to run scripts, automatically converting them to CLI applications. \ |
5 | " | 5 | " |
6 | HOMEPAGE = "https://github.com/tiangolo/typer" | 6 | HOMEPAGE = "https://github.com/fastapi/typer" |
7 | LICENSE = "MIT" | 7 | LICENSE = "MIT" |
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=173d405eb704b1499218013178722617" | 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=173d405eb704b1499218013178722617" |
9 | 9 | ||
10 | SRC_URI[sha256sum] = "49e73131481d804288ef62598d97a1ceef3058905aa536a1134f90891ba35482" | 10 | SRC_URI[sha256sum] = "af377ffaee1dbe37ae9440cb4e8f11686ea5ce4e9bae01b84ae7c63b87f1dd3b" |
11 | 11 | ||
12 | inherit pypi python_setuptools_build_meta ptest | 12 | inherit pypi python_setuptools_build_meta ptest |
13 | 13 | ||
@@ -24,13 +24,19 @@ PYPI_PACKAGE = "typer" | |||
24 | 24 | ||
25 | RDEPENDS:${PN} += "\ | 25 | RDEPENDS:${PN} += "\ |
26 | python3-click \ | 26 | python3-click \ |
27 | python3-shellingham \ | 27 | python3-typing-extensions \ |
28 | " | 28 | " |
29 | 29 | # python3-misc for webbrowser module | |
30 | RDEPENDS:${PN}-ptest += "\ | 30 | RDEPENDS:${PN}-ptest += "\ |
31 | python3-coverage \ | 31 | python3-misc \ |
32 | python3-mypy \ | ||
32 | python3-pytest \ | 33 | python3-pytest \ |
33 | python3-typing-extensions \ | 34 | python3-pytest-cov \ |
35 | python3-pytest-sugar \ | ||
36 | python3-pytest-xdist \ | ||
37 | python3-rich \ | ||
38 | python3-shellingham \ | ||
39 | python3-toml \ | ||
34 | python3-unittest-automake-output \ | 40 | python3-unittest-automake-output \ |
35 | " | 41 | " |
36 | 42 | ||
@@ -38,4 +44,3 @@ do_install_ptest() { | |||
38 | install -d ${D}${PTEST_PATH}/tests | 44 | install -d ${D}${PTEST_PATH}/tests |
39 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | 45 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ |
40 | } | 46 | } |
41 | |||
diff --git a/meta-python/recipes-devtools/python/python3-types-psutil_5.9.5.20240516.bb b/meta-python/recipes-devtools/python/python3-types-psutil_5.9.5.20240516.bb deleted file mode 100644 index d0684ba933..0000000000 --- a/meta-python/recipes-devtools/python/python3-types-psutil_5.9.5.20240516.bb +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | SUMMARY = "Typing stubs for psutil" | ||
2 | HOMEPAGE = "https://github.com/python/typeshed" | ||
3 | LICENSE = "Apache-2.0" | ||
4 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=ef4dc1e740f5c928f1608a4a9c7b578e" | ||
5 | |||
6 | inherit pypi setuptools3 | ||
7 | |||
8 | SRC_URI[sha256sum] = "bb296f59fc56458891d0feb1994717e548a1bcf89936a2877df8792b822b4696" | ||
9 | |||
10 | BBCLASSEXTEND = "native" | ||
diff --git a/meta-python/recipes-devtools/python/python3-types-psutil_7.0.0.20250601.bb b/meta-python/recipes-devtools/python/python3-types-psutil_7.0.0.20250601.bb new file mode 100644 index 0000000000..fead4ea903 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-types-psutil_7.0.0.20250601.bb | |||
@@ -0,0 +1,16 @@ | |||
1 | SUMMARY = "Typing stubs for psutil" | ||
2 | HOMEPAGE = "https://github.com/python/typeshed" | ||
3 | LICENSE = "Apache-2.0" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ec038232ab86edd7354b091c54e190e2" | ||
5 | |||
6 | PYPI_PACKAGE = "types_psutil" | ||
7 | |||
8 | inherit pypi setuptools3 | ||
9 | |||
10 | SRC_URI[sha256sum] = "71fe9c4477a7e3d4f1233862f0877af87bff057ff398f04f4e5c0ca60aded197" | ||
11 | |||
12 | BBCLASSEXTEND = "native" | ||
13 | |||
14 | RDEPENDS:${PN} += "\ | ||
15 | python3-psutil \ | ||
16 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-types-python-dateutil_2.9.0.20240316.bb b/meta-python/recipes-devtools/python/python3-types-python-dateutil_2.9.0.20240316.bb deleted file mode 100644 index 4b786066f7..0000000000 --- a/meta-python/recipes-devtools/python/python3-types-python-dateutil_2.9.0.20240316.bb +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | SUMMARY = "Typing stubs for python-dateutil" | ||
2 | HOMEPAGE = "https://github.com/python/typeshed" | ||
3 | LICENSE = "Apache-2.0" | ||
4 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=ef4dc1e740f5c928f1608a4a9c7b578e" | ||
5 | |||
6 | SRC_URI[sha256sum] = "5d2f2e240b86905e40944dd787db6da9263f0deabef1076ddaed797351ec0202" | ||
7 | |||
8 | inherit pypi setuptools3 | ||
diff --git a/meta-python/recipes-devtools/python/python3-types-python-dateutil_2.9.0.20241003.bb b/meta-python/recipes-devtools/python/python3-types-python-dateutil_2.9.0.20241003.bb new file mode 100644 index 0000000000..09d919dd82 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-types-python-dateutil_2.9.0.20241003.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | SUMMARY = "Typing stubs for python-dateutil" | ||
2 | HOMEPAGE = "https://github.com/python/typeshed" | ||
3 | LICENSE = "Apache-2.0" | ||
4 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=c2d9643b4523fdf462545aeb1356ad23" | ||
5 | |||
6 | SRC_URI[sha256sum] = "58cb85449b2a56d6684e41aeefb4c4280631246a0da1a719bdbe6f3fb0317446" | ||
7 | |||
8 | inherit pypi setuptools3 | ||
diff --git a/meta-python/recipes-devtools/python/python3-types-setuptools_70.0.0.20240524.bb b/meta-python/recipes-devtools/python/python3-types-setuptools_70.0.0.20240524.bb deleted file mode 100644 index 781d3b5bbc..0000000000 --- a/meta-python/recipes-devtools/python/python3-types-setuptools_70.0.0.20240524.bb +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | SUMMARY = "Typing stubs for setuptools" | ||
2 | HOMEPAGE = "https://github.com/python/typeshed" | ||
3 | LICENSE = "Apache-2.0" | ||
4 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=ef4dc1e740f5c928f1608a4a9c7b578e" | ||
5 | |||
6 | inherit pypi setuptools3 | ||
7 | |||
8 | SRC_URI[sha256sum] = "e31fee7b9d15ef53980526579ac6089b3ae51a005a281acf97178e90ac71aff6" | ||
9 | |||
10 | BBCLASSEXTEND = "native" | ||
diff --git a/meta-python/recipes-devtools/python/python3-types-setuptools_75.5.0.20241120.bb b/meta-python/recipes-devtools/python/python3-types-setuptools_75.5.0.20241120.bb new file mode 100644 index 0000000000..b9f35406bd --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-types-setuptools_75.5.0.20241120.bb | |||
@@ -0,0 +1,10 @@ | |||
1 | SUMMARY = "Typing stubs for setuptools" | ||
2 | HOMEPAGE = "https://github.com/python/typeshed" | ||
3 | LICENSE = "Apache-2.0" | ||
4 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=c2d9643b4523fdf462545aeb1356ad23" | ||
5 | |||
6 | inherit pypi setuptools3 | ||
7 | |||
8 | SRC_URI[sha256sum] = "d3c7e95b0598bf87fede29b3b57b19f5cdcd62a85b9298a7b30f8343f6f21c4f" | ||
9 | |||
10 | BBCLASSEXTEND = "native" | ||
diff --git a/meta-python/recipes-devtools/python/python3-typing-inspection_0.4.0.bb b/meta-python/recipes-devtools/python/python3-typing-inspection_0.4.0.bb new file mode 100644 index 0000000000..52d846f799 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-typing-inspection_0.4.0.bb | |||
@@ -0,0 +1,15 @@ | |||
1 | SUMMARY = "Runtime typing introspection tools" | ||
2 | HOMEPAGE = "https://github.com/pydantic/typing-inspection" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=07cbaa23fc9dd504fc1ea5acc23b0add" | ||
5 | |||
6 | DEPENDS = "python3-hatchling-native" | ||
7 | SRC_URI[sha256sum] = "9765c87de36671694a67904bf2c96e395be9c6439bb6c87b5142569dcdd65122" | ||
8 | |||
9 | inherit pypi python_hatchling ptest-python-pytest | ||
10 | |||
11 | RDEPENDS:${PN}-ptest += "python3-typing-extensions" | ||
12 | |||
13 | PYPI_PACKAGE = "typing_inspection" | ||
14 | |||
15 | BBCLASSEXTEND += "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-tzdata_2025.2.bb b/meta-python/recipes-devtools/python/python3-tzdata_2025.2.bb new file mode 100644 index 0000000000..d7bcb11364 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-tzdata_2025.2.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | SUMMARY = "Provider of IANA time zone data" | ||
2 | HOMEPAGE = "https://github.com/python/tzdata" | ||
3 | LICENSE = "Apache-2.0" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=fca9fd5c15a28eb874ba38577a585d48 \ | ||
5 | file://licenses/LICENSE_APACHE;md5=86d3f3a95c324c9479bd8986968f4327" | ||
6 | |||
7 | SRC_URI[sha256sum] = "b60a638fcc0daffadf82fe0f57e53d06bdec2f36c4df66280ae79bce6bd6f2b9" | ||
8 | |||
9 | inherit pypi python_setuptools_build_meta ptest-python-pytest | ||
10 | |||
11 | RDEPENDS:${PN}-ptest += "\ | ||
12 | python3-attrs \ | ||
13 | python3-pytest-subtests \ | ||
14 | " | ||
15 | |||
16 | do_install_ptest:append() { | ||
17 | install ${S}/VERSION ${D}${PTEST_PATH}/ | ||
18 | } | ||
19 | |||
20 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-tzlocal_5.2.bb b/meta-python/recipes-devtools/python/python3-tzlocal_5.3.1.bb index da58964f2c..3d27588cd1 100644 --- a/meta-python/recipes-devtools/python/python3-tzlocal_5.2.bb +++ b/meta-python/recipes-devtools/python/python3-tzlocal_5.3.1.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://pypi.org/project/tzlocal/" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=57e0bd61643d81d05683cdce65b11d10" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=57e0bd61643d81d05683cdce65b11d10" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "8d399205578f1a9342816409cc1e46a93ebd5755e39ea2d85334bea911bf0e6e" | 6 | SRC_URI[sha256sum] = "cceffc7edecefea1f595541dbd6e990cb1ea3d19bf01b2809f362a03dd7921fd" |
7 | 7 | ||
8 | inherit pypi python_setuptools_build_meta | 8 | inherit pypi python_setuptools_build_meta |
9 | 9 | ||
diff --git a/meta-python/recipes-devtools/python/python3-u-msgpack-python/run-ptest b/meta-python/recipes-devtools/python/python3-u-msgpack-python/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-u-msgpack-python/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-u-msgpack-python_2.8.0.bb b/meta-python/recipes-devtools/python/python3-u-msgpack-python_2.8.0.bb index 6cde243fe8..e95e4bbfb0 100644 --- a/meta-python/recipes-devtools/python/python3-u-msgpack-python_2.8.0.bb +++ b/meta-python/recipes-devtools/python/python3-u-msgpack-python_2.8.0.bb | |||
@@ -5,18 +5,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=17df11353545c53a2df0ce7655859306" | |||
5 | 5 | ||
6 | SRC_URI[sha256sum] = "b801a83d6ed75e6df41e44518b4f2a9c221dc2da4bcd5380e3a0feda520bc61a" | 6 | SRC_URI[sha256sum] = "b801a83d6ed75e6df41e44518b4f2a9c221dc2da4bcd5380e3a0feda520bc61a" |
7 | 7 | ||
8 | inherit pypi setuptools3 ptest | 8 | inherit pypi setuptools3 ptest-python-pytest |
9 | 9 | ||
10 | SRC_URI += " \ | 10 | do_install_ptest:append() { |
11 | file://run-ptest \ | ||
12 | " | ||
13 | |||
14 | RDEPENDS:${PN}-ptest += " \ | ||
15 | python3-pytest \ | ||
16 | python3-unittest-automake-output \ | ||
17 | " | ||
18 | |||
19 | do_install_ptest() { | ||
20 | cp -f ${S}/test_umsgpack.py ${D}${PTEST_PATH}/ | 11 | cp -f ${S}/test_umsgpack.py ${D}${PTEST_PATH}/ |
21 | } | 12 | } |
22 | 13 | ||
diff --git a/meta-python/recipes-devtools/python/python3-uefi-firmware_1.11.bb b/meta-python/recipes-devtools/python/python3-uefi-firmware_1.12.bb index 67e668ac69..09732fc865 100644 --- a/meta-python/recipes-devtools/python/python3-uefi-firmware_1.11.bb +++ b/meta-python/recipes-devtools/python/python3-uefi-firmware_1.12.bb | |||
@@ -9,9 +9,8 @@ LIC_FILES_CHKSUM = "file://setup.py;md5=5a59066a8676f17262ef7e691f8ef253" | |||
9 | 9 | ||
10 | SRC_URI = "git://github.com/theopolis/uefi-firmware-parser;protocol=https;branch=master" | 10 | SRC_URI = "git://github.com/theopolis/uefi-firmware-parser;protocol=https;branch=master" |
11 | 11 | ||
12 | SRCREV = "f289219b99eb525cbc58e4dc2b07df3811f92ef7" | 12 | SRCREV = "0c5fb74bcecc0e5c80625c38130fe948c2a3656e" |
13 | 13 | ||
14 | S = "${WORKDIR}/git" | ||
15 | 14 | ||
16 | inherit setuptools3 | 15 | inherit setuptools3 |
17 | 16 | ||
diff --git a/meta-python/recipes-devtools/python/python3-uinput/0001-Deal-with-64bit-time_t-default-on-32bit-architecture.patch b/meta-python/recipes-devtools/python/python3-uinput/0001-Deal-with-64bit-time_t-default-on-32bit-architecture.patch new file mode 100644 index 0000000000..8658c83f82 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-uinput/0001-Deal-with-64bit-time_t-default-on-32bit-architecture.patch | |||
@@ -0,0 +1,48 @@ | |||
1 | From 84d40417fcf58ed123cd0040e5e5678ec12e68b2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 28 May 2022 15:50:50 -0700 | ||
4 | Subject: [PATCH] Deal with 64bit time_t default on 32bit architectures | ||
5 | |||
6 | Deal with Y2K38 concerns related to Linux input events on more recent | ||
7 | kernels and libcs on 32-bit systems | ||
8 | |||
9 | Original-Author: Khem Raj <raj.khem@gmail.com> | ||
10 | |||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | Signed-off-by: Pablo Saavedra <psaavedra@igalia.com> | ||
13 | |||
14 | Upstream-Status: Submitted [https://github.com/pyinput/python-uinput/pull/2] | ||
15 | |||
16 | --- | ||
17 | libsuinput/src/suinput.c | 11 ++++++++++- | ||
18 | 1 file changed, 10 insertions(+), 1 deletion(-) | ||
19 | |||
20 | diff --git a/libsuinput/src/suinput.c b/libsuinput/src/suinput.c | ||
21 | index 8d5fb71..13ff16a 100644 | ||
22 | --- a/libsuinput/src/suinput.c | ||
23 | +++ b/libsuinput/src/suinput.c | ||
24 | @@ -45,11 +45,20 @@ int suinput_emit(int uinput_fd, uint16_t ev_type, uint16_t ev_code, | ||
25 | struct input_event event; | ||
26 | |||
27 | memset(&event, 0, sizeof(event)); | ||
28 | - gettimeofday(&event.time, 0); | ||
29 | event.type = ev_type; | ||
30 | event.code = ev_code; | ||
31 | event.value = ev_value; | ||
32 | |||
33 | +/* attempt to deal with 64-bit time keeping on recent 32-bit systems */ | ||
34 | +#if (__BITS_PER_LONG != 32 || !defined(__USE_TIME_BITS64)) | ||
35 | + gettimeofday(&event.time, 0); | ||
36 | +#else | ||
37 | + struct timeval now; | ||
38 | + memset(&now, 0, sizeof(now)); | ||
39 | + gettimeofday(&now, 0); | ||
40 | + event.input_event_sec = now.tv_sec; | ||
41 | + event.input_event_usec = now.tv_usec; | ||
42 | +#endif | ||
43 | return suinput_write_event(uinput_fd, &event); | ||
44 | } | ||
45 | |||
46 | -- | ||
47 | 2.34.1 | ||
48 | |||
diff --git a/meta-python/recipes-devtools/python/python3-uinput_1.0.1.bb b/meta-python/recipes-devtools/python/python3-uinput_1.0.1.bb new file mode 100644 index 0000000000..164a6e902a --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-uinput_1.0.1.bb | |||
@@ -0,0 +1,18 @@ | |||
1 | SUMMARY = "Python interface to Linux uinput kernel module." | ||
2 | HOMEPAGE = "https://pypi.org/project/python-uinput/" | ||
3 | LICENSE = "GPL-3.0-only" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949" | ||
5 | |||
6 | SRC_URI += "file://0001-Deal-with-64bit-time_t-default-on-32bit-architecture.patch" | ||
7 | SRC_URI[sha256sum] = "853697344b64df5537d4ae32ba6fbcf0515d51a9010910f5d5019959038b6eba" | ||
8 | |||
9 | PYPI_PACKAGE = "python-uinput" | ||
10 | |||
11 | inherit pypi python_setuptools_build_meta ptest-python-pytest | ||
12 | |||
13 | DEPENDS += "udev" | ||
14 | RDEPENDS:${PN} += " \ | ||
15 | python3-ctypes \ | ||
16 | python3-setuptools \ | ||
17 | " | ||
18 | RRECOMMENDS:${PN} += "kernel-module-uinput" | ||
diff --git a/meta-python/recipes-devtools/python/python3-ujson/0001-setup.py-Do-not-strip-debugging-symbols.patch b/meta-python/recipes-devtools/python/python3-ujson/0001-setup.py-Do-not-strip-debugging-symbols.patch deleted file mode 100644 index 8ba8ada556..0000000000 --- a/meta-python/recipes-devtools/python/python3-ujson/0001-setup.py-Do-not-strip-debugging-symbols.patch +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | From aec3b64b0aaea0178b44ea65a204d76696e6a45e Mon Sep 17 00:00:00 2001 | ||
2 | From: Leon Anavi <leon.anavi@konsulko.com> | ||
3 | Date: Mon, 10 Jan 2022 14:04:28 +0200 | ||
4 | Subject: [PATCH] setup.py: Do not strip debugging symbols | ||
5 | |||
6 | Do not strip debugging symbols from Linux binaries to avoid | ||
7 | bitbake build errors related to already-stripped. | ||
8 | |||
9 | Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> | ||
10 | --- | ||
11 | Upstream-Status: Pending | ||
12 | |||
13 | setup.py | 8 +------- | ||
14 | 1 file changed, 1 insertion(+), 7 deletions(-) | ||
15 | |||
16 | diff --git a/setup.py b/setup.py | ||
17 | index b98963b..d42f07a 100644 | ||
18 | --- a/setup.py | ||
19 | +++ b/setup.py | ||
20 | @@ -19,13 +19,7 @@ if not dconv_libs: | ||
21 | dconv_source_files.extend(glob("./deps/double-conversion/double-conversion/*.cc")) | ||
22 | dconv_source_files.append("./lib/dconv_wrapper.cc") | ||
23 | |||
24 | -if platform.system() == "Linux" and environ.get("UJSON_BUILD_NO_STRIP", "0") not in ( | ||
25 | - "1", | ||
26 | - "True", | ||
27 | -): | ||
28 | - strip_flags = ["-Wl,--strip-all"] | ||
29 | -else: | ||
30 | - strip_flags = [] | ||
31 | +strip_flags = [] | ||
32 | |||
33 | module1 = Extension( | ||
34 | "ujson", | ||
35 | -- | ||
36 | 2.25.1 | ||
37 | |||
diff --git a/meta-python/recipes-devtools/python/python3-ujson/run-ptest b/meta-python/recipes-devtools/python/python3-ujson/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-ujson/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-ujson_5.10.0.bb b/meta-python/recipes-devtools/python/python3-ujson_5.10.0.bb index c64c800626..9832a4fe40 100644 --- a/meta-python/recipes-devtools/python/python3-ujson_5.10.0.bb +++ b/meta-python/recipes-devtools/python/python3-ujson_5.10.0.bb | |||
@@ -2,16 +2,14 @@ SUMMARY = "Ultra fast JSON encoder and decoder for Python" | |||
2 | DESCRIPTION = "UltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 2.5+ and 3." | 2 | DESCRIPTION = "UltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 2.5+ and 3." |
3 | 3 | ||
4 | LICENSE = "BSD-3-Clause" | 4 | LICENSE = "BSD-3-Clause" |
5 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e0039a83d8a99726b5418f0b03302d0a" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1e3768cfe2662fa77c49c9c2d3804d87" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "b3cd8f3c5d8c7738257f1018880444f7b7d9b66232c64649f562d7ba86ad4bc1" | 7 | SRC_URI[sha256sum] = "b3cd8f3c5d8c7738257f1018880444f7b7d9b66232c64649f562d7ba86ad4bc1" |
8 | 8 | ||
9 | inherit pypi ptest setuptools3 | 9 | inherit pypi ptest-python-pytest python_setuptools_build_meta |
10 | 10 | ||
11 | SRC_URI += " \ | 11 | # let OE do the strip operation |
12 | file://run-ptest \ | 12 | export UJSON_BUILD_NO_STRIP = "1" |
13 | file://0001-setup.py-Do-not-strip-debugging-symbols.patch \ | ||
14 | " | ||
15 | 13 | ||
16 | DEPENDS += "python3-setuptools-scm-native" | 14 | DEPENDS += "python3-setuptools-scm-native" |
17 | 15 | ||
@@ -22,14 +20,8 @@ RDEPENDS:${PN} += "\ | |||
22 | 20 | ||
23 | RDEPENDS:${PN}-ptest += " \ | 21 | RDEPENDS:${PN}-ptest += " \ |
24 | python3-json \ | 22 | python3-json \ |
25 | python3-pytest \ | 23 | python3-misc \ |
26 | python3-pytz \ | 24 | python3-pytz \ |
27 | python3-unittest-automake-output \ | ||
28 | " | 25 | " |
29 | 26 | ||
30 | do_install_ptest() { | ||
31 | install -d ${D}${PTEST_PATH}/tests | ||
32 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
33 | } | ||
34 | |||
35 | BBCLASSEXTEND = "native nativesdk" | 27 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-python/recipes-devtools/python/python3-unidiff/run-ptest b/meta-python/recipes-devtools/python/python3-unidiff/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-unidiff/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-unidiff_0.7.5.bb b/meta-python/recipes-devtools/python/python3-unidiff_0.7.5.bb index d77252beac..afe74947f5 100644 --- a/meta-python/recipes-devtools/python/python3-unidiff_0.7.5.bb +++ b/meta-python/recipes-devtools/python/python3-unidiff_0.7.5.bb | |||
@@ -1,25 +1,11 @@ | |||
1 | SUMMARY = "Unified diff parsing/metadata extraction library" | 1 | SUMMARY = "Unified diff parsing/metadata extraction library" |
2 | HOMEPAGE = "http://github.com/matiasb/python-unidiff" | 2 | HOMEPAGE = "https://github.com/matiasb/python-unidiff" |
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4c434b08ef42fea235bb019b5e5a97b3" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4c434b08ef42fea235bb019b5e5a97b3" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "2e5f0162052248946b9f0970a40e9e124236bf86c82b70821143a6fc1dea2574" | 6 | SRC_URI[sha256sum] = "2e5f0162052248946b9f0970a40e9e124236bf86c82b70821143a6fc1dea2574" |
7 | 7 | ||
8 | inherit pypi setuptools3 ptest | 8 | inherit pypi setuptools3 ptest-python-pytest |
9 | |||
10 | SRC_URI += " \ | ||
11 | file://run-ptest \ | ||
12 | " | ||
13 | |||
14 | RDEPENDS:${PN}-ptest += " \ | ||
15 | python3-pytest \ | ||
16 | python3-unittest-automake-output \ | ||
17 | " | ||
18 | |||
19 | do_install_ptest() { | ||
20 | install -d ${D}${PTEST_PATH}/tests | ||
21 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
22 | } | ||
23 | 9 | ||
24 | RDEPENDS:${PN} += " \ | 10 | RDEPENDS:${PN} += " \ |
25 | python3-codecs \ | 11 | python3-codecs \ |
diff --git a/meta-python/recipes-devtools/python/python3-unoconv_0.9.0.bb b/meta-python/recipes-devtools/python/python3-unoconv_0.9.0.bb index 8bfb8a6deb..6ff9a091f0 100644 --- a/meta-python/recipes-devtools/python/python3-unoconv_0.9.0.bb +++ b/meta-python/recipes-devtools/python/python3-unoconv_0.9.0.bb | |||
@@ -8,7 +8,7 @@ SRC_URI[sha256sum] = "308ebfd98e67d898834876348b27caf41470cd853fbe2681cc7dacd8fd | |||
8 | 8 | ||
9 | inherit pypi setuptools3 | 9 | inherit pypi setuptools3 |
10 | 10 | ||
11 | PYPI_PACKAGE="unoconv" | 11 | PYPI_PACKAGE = "unoconv" |
12 | 12 | ||
13 | RDEPENDS:${PN} += "\ | 13 | RDEPENDS:${PN} += "\ |
14 | python3-setuptools \ | 14 | python3-setuptools \ |
diff --git a/meta-python/recipes-devtools/python/python3-uritemplate/run-ptest b/meta-python/recipes-devtools/python/python3-uritemplate/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-uritemplate/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-uritemplate_4.1.1.bb b/meta-python/recipes-devtools/python/python3-uritemplate_4.2.0.bb index e741b6268d..43ba122407 100644 --- a/meta-python/recipes-devtools/python/python3-uritemplate_4.1.1.bb +++ b/meta-python/recipes-devtools/python/python3-uritemplate_4.2.0.bb | |||
@@ -5,22 +5,8 @@ SUMMARY = "Simple python library to deal with URI Templates." | |||
5 | LICENSE = "Apache-2.0 | BSD-3-Clause" | 5 | LICENSE = "Apache-2.0 | BSD-3-Clause" |
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0f6d769bdcfacac3c1a1ffa568937fe0" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0f6d769bdcfacac3c1a1ffa568937fe0" |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "4346edfc5c3b79f694bccd6d6099a322bbeb628dbf2cd86eea55a456ce5124f0" | 8 | SRC_URI[sha256sum] = "480c2ed180878955863323eea31b0ede668795de182617fef9c6ca09e6ec9d0e" |
9 | 9 | ||
10 | inherit pypi setuptools3 ptest | 10 | inherit pypi setuptools3 ptest-python-pytest |
11 | |||
12 | SRC_URI += " \ | ||
13 | file://run-ptest \ | ||
14 | " | ||
15 | |||
16 | RDEPENDS:${PN}-ptest += " \ | ||
17 | python3-pytest \ | ||
18 | python3-unittest-automake-output \ | ||
19 | " | ||
20 | |||
21 | do_install_ptest() { | ||
22 | install -d ${D}${PTEST_PATH}/tests | ||
23 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
24 | } | ||
25 | 11 | ||
26 | BBCLASSEXTEND = "native nativesdk" | 12 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-python/recipes-devtools/python/python3-uswid_0.5.0.bb b/meta-python/recipes-devtools/python/python3-uswid_0.5.2.bb index 1381d7e880..3e6ec88a8e 100644 --- a/meta-python/recipes-devtools/python/python3-uswid_0.5.0.bb +++ b/meta-python/recipes-devtools/python/python3-uswid_0.5.2.bb | |||
@@ -4,7 +4,7 @@ SECTION = "devel/python" | |||
4 | LICENSE = "BSD-2-Clause-Patent" | 4 | LICENSE = "BSD-2-Clause-Patent" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f3636dfe71e94cc72918423cec0d1971" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f3636dfe71e94cc72918423cec0d1971" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "bdcd7ee5afac1da60ee688c357aa12f5f8d74bc28012446b10e2b4a9cf52fc6d" | 7 | SRC_URI[sha256sum] = "1d6c53acf160edc9b42e4ba535343b3567f2f341d289b9e63ca6a84372c2c518" |
8 | 8 | ||
9 | inherit setuptools3 python3native pypi | 9 | inherit setuptools3 python3native pypi |
10 | 10 | ||
@@ -14,6 +14,7 @@ RDEPENDS:${PN} += " \ | |||
14 | python3-json \ | 14 | python3-json \ |
15 | python3-lxml \ | 15 | python3-lxml \ |
16 | python3-netclient \ | 16 | python3-netclient \ |
17 | python3-pefile \ | ||
17 | " | 18 | " |
18 | 19 | ||
19 | BBCLASSEXTEND = "native nativesdk" | 20 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-python/recipes-devtools/python/python3-validators/run-ptest b/meta-python/recipes-devtools/python/python3-validators/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-validators/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-validators_0.28.3.bb b/meta-python/recipes-devtools/python/python3-validators_0.28.3.bb deleted file mode 100644 index a132d74ebd..0000000000 --- a/meta-python/recipes-devtools/python/python3-validators_0.28.3.bb +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | SUMMARY = "Python Data Validation for Humans" | ||
2 | HOMEPAGE = "https://python-validators.github.io/validators" | ||
3 | LICENSE = "MIT" | ||
4 | |||
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b3fb4b9e6db86c69a33d5e3ee013ab59" | ||
6 | SRC_URI[sha256sum] = "c6c79840bcde9ba77b19f6218f7738188115e27830cbaff43264bc4ed24c429d" | ||
7 | |||
8 | inherit pypi python_setuptools_build_meta ptest | ||
9 | |||
10 | SRC_URI += " \ | ||
11 | file://run-ptest \ | ||
12 | " | ||
13 | |||
14 | RDEPENDS:${PN}-ptest += " \ | ||
15 | python3-pytest \ | ||
16 | python3-unittest-automake-output \ | ||
17 | " | ||
18 | |||
19 | do_install_ptest() { | ||
20 | install -d ${D}${PTEST_PATH}/tests | ||
21 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
22 | } | ||
23 | |||
24 | RDEPENDS:${PN} += " \ | ||
25 | python3-crypt \ | ||
26 | python3-datetime \ | ||
27 | python3-netclient \ | ||
28 | " | ||
29 | |||
30 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-validators_0.35.0.bb b/meta-python/recipes-devtools/python/python3-validators_0.35.0.bb new file mode 100644 index 0000000000..d598cdc97c --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-validators_0.35.0.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | SUMMARY = "Python Data Validation for Humans" | ||
2 | HOMEPAGE = "https://python-validators.github.io/validators" | ||
3 | LICENSE = "MIT" | ||
4 | |||
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=78327e3919fcd4e9a4a07299899c634c" | ||
6 | SRC_URI[sha256sum] = "992d6c48a4e77c81f1b4daba10d16c3a9bb0dbb79b3a19ea847ff0928e70497a" | ||
7 | |||
8 | inherit pypi python_setuptools_build_meta ptest-python-pytest | ||
9 | |||
10 | RDEPENDS:${PN}-ptest += " \ | ||
11 | python3-decorator \ | ||
12 | python3-eth-hash \ | ||
13 | python3-isort \ | ||
14 | python3-pycryptodome \ | ||
15 | " | ||
16 | |||
17 | RDEPENDS:${PN} += " \ | ||
18 | python3-crypt \ | ||
19 | python3-datetime \ | ||
20 | python3-netclient \ | ||
21 | " | ||
22 | |||
23 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-devtools/python/python3-versiontools_1.9.1.bb b/meta-python/recipes-devtools/python/python3-versiontools_1.9.1.bb index 02639b5900..8a83f1111f 100644 --- a/meta-python/recipes-devtools/python/python3-versiontools_1.9.1.bb +++ b/meta-python/recipes-devtools/python/python3-versiontools_1.9.1.bb | |||
@@ -4,7 +4,6 @@ HOMEPAGE = "https://launchpad.net/versiontools" | |||
4 | LICENSE = "LGPL-3.0-only" | 4 | LICENSE = "LGPL-3.0-only" |
5 | LIC_FILES_CHKSUM = "file://setup.py;beginline=3;endline=20;md5=02193721a38fd8a05a4ddeb7df8e294d" | 5 | LIC_FILES_CHKSUM = "file://setup.py;beginline=3;endline=20;md5=02193721a38fd8a05a4ddeb7df8e294d" |
6 | 6 | ||
7 | SRC_URI[md5sum] = "602b7db8eea30dd29a1d451997adf251" | ||
8 | SRC_URI[sha256sum] = "a969332887a18a9c98b0df0ea4d4ca75972f24ca94f06fb87d591377e83414f6" | 7 | SRC_URI[sha256sum] = "a969332887a18a9c98b0df0ea4d4ca75972f24ca94f06fb87d591377e83414f6" |
9 | 8 | ||
10 | inherit pypi setuptools3 | 9 | inherit pypi setuptools3 |
diff --git a/meta-python/recipes-devtools/python/python3-virtualenv_20.26.2.bb b/meta-python/recipes-devtools/python/python3-virtualenv_20.31.2.bb index c7c7d48980..6c3aa19266 100644 --- a/meta-python/recipes-devtools/python/python3-virtualenv_20.26.2.bb +++ b/meta-python/recipes-devtools/python/python3-virtualenv_20.31.2.bb | |||
@@ -6,7 +6,7 @@ HOMEPAGE = "https://github.com/pypa/virtualenv" | |||
6 | LICENSE = "MIT" | 6 | LICENSE = "MIT" |
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0ce089158cf60a8ab6abb452b6405538" | 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0ce089158cf60a8ab6abb452b6405538" |
8 | 8 | ||
9 | SRC_URI[sha256sum] = "82bf0f4eebbb78d36ddaee0283d43fe5736b53880b8a8cdcd37390a07ac3741c" | 9 | SRC_URI[sha256sum] = "e10c0a9d02835e592521be48b332b6caee6887f332c111aa79a09b9e79efc2af" |
10 | 10 | ||
11 | BBCLASSEXTEND = "native nativesdk" | 11 | BBCLASSEXTEND = "native nativesdk" |
12 | inherit pypi python_hatchling | 12 | inherit pypi python_hatchling |
@@ -16,7 +16,11 @@ DEPENDS += "\ | |||
16 | " | 16 | " |
17 | 17 | ||
18 | RDEPENDS:${PN} += " \ | 18 | RDEPENDS:${PN} += " \ |
19 | python3-compression \ | ||
19 | python3-distlib \ | 20 | python3-distlib \ |
20 | python3-filelock \ | 21 | python3-filelock \ |
22 | python3-json \ | ||
23 | python3-misc \ | ||
24 | python3-modules \ | ||
21 | python3-platformdirs \ | 25 | python3-platformdirs \ |
22 | " | 26 | " |
diff --git a/meta-python/recipes-devtools/python/python3-visitor_0.1.3.bb b/meta-python/recipes-devtools/python/python3-visitor_0.1.3.bb index ac3a90efb0..92a19a2d1f 100644 --- a/meta-python/recipes-devtools/python/python3-visitor_0.1.3.bb +++ b/meta-python/recipes-devtools/python/python3-visitor_0.1.3.bb | |||
@@ -2,7 +2,6 @@ SUMMARY = "A tiny pythonic visitor implementation." | |||
2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
3 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489" | 3 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489" |
4 | 4 | ||
5 | SRC_URI[md5sum] = "94a024ed0ec1b02b4497c15267d319ca" | ||
6 | SRC_URI[sha256sum] = "2c737903b2b6864ebc6167eef7cf3b997126f1aa94bdf590f90f1436d23e480a" | 5 | SRC_URI[sha256sum] = "2c737903b2b6864ebc6167eef7cf3b997126f1aa94bdf590f90f1436d23e480a" |
7 | 6 | ||
8 | inherit pypi setuptools3 | 7 | inherit pypi setuptools3 |
diff --git a/meta-python/recipes-devtools/python/python3-waitress_3.0.0.bb b/meta-python/recipes-devtools/python/python3-waitress_3.0.2.bb index 7470fc02a0..b8e90807cf 100644 --- a/meta-python/recipes-devtools/python/python3-waitress_3.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-waitress_3.0.2.bb | |||
@@ -10,6 +10,6 @@ RDEPENDS:${PN} += " \ | |||
10 | python3-logging \ | 10 | python3-logging \ |
11 | " | 11 | " |
12 | 12 | ||
13 | SRC_URI[sha256sum] = "005da479b04134cdd9dd602d1ee7c49d79de0537610d653674cc6cbde222b8a1" | 13 | SRC_URI[sha256sum] = "682aaaf2af0c44ada4abfb70ded36393f0e307f4ab9456a215ce0020baefc31f" |
14 | 14 | ||
15 | inherit python_setuptools_build_meta pypi | 15 | inherit python_setuptools_build_meta pypi |
diff --git a/meta-python/recipes-devtools/python/python3-wand_0.6.13.bb b/meta-python/recipes-devtools/python/python3-wand_0.6.13.bb index 85e05ad97b..8de764a7b6 100644 --- a/meta-python/recipes-devtools/python/python3-wand_0.6.13.bb +++ b/meta-python/recipes-devtools/python/python3-wand_0.6.13.bb | |||
@@ -8,7 +8,8 @@ SRC_URI[sha256sum] = "f5013484eaf7a20eb22d1821aaefe60b50cc329722372b5f8565d46d4a | |||
8 | 8 | ||
9 | inherit pypi setuptools3 | 9 | inherit pypi setuptools3 |
10 | 10 | ||
11 | PYPI_PACKAGE="Wand" | 11 | PYPI_PACKAGE = "Wand" |
12 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
12 | 13 | ||
13 | FILES:${PN}-doc += "${datadir}/README.rst" | 14 | FILES:${PN}-doc += "${datadir}/README.rst" |
14 | 15 | ||
diff --git a/meta-python/recipes-devtools/python/python3-watchdog_4.0.1.bb b/meta-python/recipes-devtools/python/python3-watchdog_6.0.0.bb index 4d0a626c47..4f56e81049 100644 --- a/meta-python/recipes-devtools/python/python3-watchdog_4.0.1.bb +++ b/meta-python/recipes-devtools/python/python3-watchdog_6.0.0.bb | |||
@@ -4,7 +4,7 @@ DEPENDS = "python3-argh" | |||
4 | LICENSE = "Apache-2.0" | 4 | LICENSE = "Apache-2.0" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "eebaacf674fa25511e8867028d281e602ee6500045b57f43b08778082f7f8b44" | 7 | SRC_URI[sha256sum] = "9ddf7c82fda3ae8e24decda1338ede66e1c99883db93711d8fb941eaa2d8c282" |
8 | 8 | ||
9 | inherit pypi setuptools3 | 9 | inherit pypi setuptools3 |
10 | 10 | ||
diff --git a/meta-python/recipes-devtools/python/python3-web3_6.19.0.bb b/meta-python/recipes-devtools/python/python3-web3_7.12.0.bb index 7f06ca5006..06e09b9cf1 100644 --- a/meta-python/recipes-devtools/python/python3-web3_6.19.0.bb +++ b/meta-python/recipes-devtools/python/python3-web3_7.12.0.bb | |||
@@ -2,9 +2,9 @@ SUMMARY = "A Python library for interacting with Ethereum." | |||
2 | HOMEPAGE = "https://github.com/ethereum/web3.py" | 2 | HOMEPAGE = "https://github.com/ethereum/web3.py" |
3 | SECTION = "devel/python" | 3 | SECTION = "devel/python" |
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=373fede350846fdffd23648fba504635" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1d34d9701a1461e4bd71a904ac4cf7be" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "d27fbd4ac5aa70d0e0c516bd3e3b802fbe74bc159b407c34052d9301b400f757" | 7 | SRC_URI[sha256sum] = "08fbe79a2e2503c9820132ebad24ba0372831588cabac5f467999c97ace7dda3" |
8 | 8 | ||
9 | inherit pypi setuptools3 | 9 | inherit pypi setuptools3 |
10 | 10 | ||
diff --git a/meta-python/recipes-devtools/python/python3-webargs_8.4.0.bb b/meta-python/recipes-devtools/python/python3-webargs_8.7.0.bb index 78af013320..88cbd922e8 100644 --- a/meta-python/recipes-devtools/python/python3-webargs_8.4.0.bb +++ b/meta-python/recipes-devtools/python/python3-webargs_8.7.0.bb | |||
@@ -1,11 +1,11 @@ | |||
1 | SUMMARY = "Declarative parsing and validation of HTTP request objects, with built-in support for popular web frameworks." | 1 | SUMMARY = "Declarative parsing and validation of HTTP request objects, with built-in support for popular web frameworks." |
2 | HOMEPAGE = "https://github.com/marshmallow-code/webargs" | 2 | HOMEPAGE = "https://github.com/marshmallow-code/webargs" |
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=dfbd4ae0074716275fc229c775723e8f" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=27586b20700d7544c06933afe56f7df4" |
5 | 5 | ||
6 | inherit pypi setuptools3 | 6 | inherit pypi python_flit_core |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "ea99368214a4ce613924be99d71db58c269631e95eff4fa09b7354e52dc006a5" | 8 | SRC_URI[sha256sum] = "0c617dec19ed4f1ff6b247cd73855e949d87052d71900938b71f0cafd92f191b" |
9 | 9 | ||
10 | RDEPENDS:${PN} += "\ | 10 | RDEPENDS:${PN} += "\ |
11 | python3-marshmallow \ | 11 | python3-marshmallow \ |
diff --git a/meta-python/recipes-devtools/python/python3-webencodings_0.5.1.bb b/meta-python/recipes-devtools/python/python3-webencodings_0.5.1.bb index cedc790815..81709435be 100644 --- a/meta-python/recipes-devtools/python/python3-webencodings_0.5.1.bb +++ b/meta-python/recipes-devtools/python/python3-webencodings_0.5.1.bb | |||
@@ -2,7 +2,6 @@ SUMMARY = "Character encoding aliases for legacy web content" | |||
2 | LICENSE = "BSD-3-Clause" | 2 | LICENSE = "BSD-3-Clause" |
3 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e910b35b0ef4e1f665b9a75d6afb7709" | 3 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e910b35b0ef4e1f665b9a75d6afb7709" |
4 | 4 | ||
5 | SRC_URI[md5sum] = "32f6e261d52e57bf7e1c4d41546d15b8" | ||
6 | SRC_URI[sha256sum] = "b36a1c245f2d304965eb4e0a82848379241dc04b865afcc4aab16748587e1923" | 5 | SRC_URI[sha256sum] = "b36a1c245f2d304965eb4e0a82848379241dc04b865afcc4aab16748587e1923" |
7 | 6 | ||
8 | inherit pypi setuptools3 | 7 | inherit pypi setuptools3 |
diff --git a/meta-python/recipes-devtools/python/python3-werkzeug_3.0.1.bb b/meta-python/recipes-devtools/python/python3-werkzeug_3.1.3.bb index 448abe1897..73029eccc7 100644 --- a/meta-python/recipes-devtools/python/python3-werkzeug_3.0.1.bb +++ b/meta-python/recipes-devtools/python/python3-werkzeug_3.1.3.bb | |||
@@ -8,9 +8,9 @@ cookie handling, file uploads, a powerful URL routing system and a bunch \ | |||
8 | of community contributed addon modules." | 8 | of community contributed addon modules." |
9 | HOMEPAGE = "https://werkzeug.palletsprojects.com" | 9 | HOMEPAGE = "https://werkzeug.palletsprojects.com" |
10 | LICENSE = "BSD-3-Clause" | 10 | LICENSE = "BSD-3-Clause" |
11 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=5dc88300786f1c214c1e9827a5229462" | 11 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5dc88300786f1c214c1e9827a5229462" |
12 | 12 | ||
13 | SRC_URI[sha256sum] = "507e811ecea72b18a404947aded4b3390e1db8f826b494d76550ef45bb3b1dcc" | 13 | SRC_URI[sha256sum] = "60723ce945c19328679790e3282cc758aa4a6040e4bb330f53d30fa546d44746" |
14 | 14 | ||
15 | inherit pypi python_flit_core | 15 | inherit pypi python_flit_core |
16 | 16 | ||
diff --git a/meta-python/recipes-devtools/python/python3-whitenoise_6.7.0.bb b/meta-python/recipes-devtools/python/python3-whitenoise_6.9.0.bb index 48d5a925c2..5a6b495040 100644 --- a/meta-python/recipes-devtools/python/python3-whitenoise_6.7.0.bb +++ b/meta-python/recipes-devtools/python/python3-whitenoise_6.9.0.bb | |||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=aba4901cc64e401cea5a267eac2a2e1e" | |||
5 | 5 | ||
6 | PYPI_PACKAGE = "whitenoise" | 6 | PYPI_PACKAGE = "whitenoise" |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "58c7a6cd811e275a6c91af22e96e87da0b1109e9a53bb7464116ef4c963bf636" | 8 | SRC_URI[sha256sum] = "8c4a7c9d384694990c26f3047e118c691557481d624f069b7f7752a2f735d609" |
9 | 9 | ||
10 | inherit pypi python_setuptools_build_meta | 10 | inherit pypi python_setuptools_build_meta |
11 | 11 | ||
diff --git a/meta-python/recipes-devtools/python/python3-whoosh/0001-Mark-non-determinstic-test_minimize_dfa-test-as-XFAI.patch b/meta-python/recipes-devtools/python/python3-whoosh/0001-Mark-non-determinstic-test_minimize_dfa-test-as-XFAI.patch deleted file mode 100644 index 91fea24524..0000000000 --- a/meta-python/recipes-devtools/python/python3-whoosh/0001-Mark-non-determinstic-test_minimize_dfa-test-as-XFAI.patch +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | From ede95a4f4487b4fc3cad8452ae388376966fca0e Mon Sep 17 00:00:00 2001 | ||
2 | From: Chris Lamb <lamby@debian.org> | ||
3 | Date: Fri, 5 Apr 2019 15:48:23 +0200 | ||
4 | Subject: [PATCH] Mark non-determinstic test_minimize_dfa test as XFAIL | ||
5 | |||
6 | Sourced from Debian [1] | ||
7 | [1] https://sources.debian.org/src/python-whoosh/2.7.4%2Bgit6-g9134ad92-8/debian/patches/0003-Mark-non-determinstic-test_minimize_dfa-test-as-XFAI.patch/ | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
11 | --- | ||
12 | tests/test_automata.py | 1 + | ||
13 | 1 file changed, 1 insertion(+) | ||
14 | |||
15 | diff --git a/tests/test_automata.py b/tests/test_automata.py | ||
16 | index daab96c..7031dc3 100644 | ||
17 | --- a/tests/test_automata.py | ||
18 | +++ b/tests/test_automata.py | ||
19 | @@ -327,6 +327,7 @@ def test_regular(): | ||
20 | assert not ex.accept("bc") | ||
21 | |||
22 | |||
23 | +@pytest.mark.xfail(strict=False) | ||
24 | def test_minimize_dfa(): | ||
25 | # Example from www.cs.odu.edu/~toida/nerzic/390teched/regular/fa/min-fa.html | ||
26 | |||
27 | -- | ||
28 | 2.44.0 | ||
29 | |||
diff --git a/meta-python/recipes-devtools/python/python3-whoosh/run-ptest b/meta-python/recipes-devtools/python/python3-whoosh/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-whoosh/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-whoosh_2.7.4.bb b/meta-python/recipes-devtools/python/python3-whoosh_2.7.4.bb deleted file mode 100644 index 406de2e525..0000000000 --- a/meta-python/recipes-devtools/python/python3-whoosh_2.7.4.bb +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | SUMMARY = "Fast, pure-Python full text indexing, search, and spell checking library." | ||
2 | DESCRIPTION = "\ | ||
3 | Whoosh is a fast, featureful full-text indexing and searching library \ | ||
4 | implemented in pure Python. Programmers can use it to easily add search \ | ||
5 | functionality to their applications and websites. Every part of how \ | ||
6 | Whoosh works can be extended or replaced to meet your needs exactly." | ||
7 | LICENSE = "BSD-2-Clause" | ||
8 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=05303186defc6141143629961c7c8a60" | ||
9 | |||
10 | SRC_URI += "file://0001-Mark-non-determinstic-test_minimize_dfa-test-as-XFAI.patch" | ||
11 | |||
12 | SRC_URI[md5sum] = "893433e9c0525ac043df33e6e04caab2" | ||
13 | SRC_URI[sha256sum] = "e0857375f63e9041e03fedd5b7541f97cf78917ac1b6b06c1fcc9b45375dda69" | ||
14 | |||
15 | PYPI_PACKAGE = "Whoosh" | ||
16 | PYPI_PACKAGE_EXT = "zip" | ||
17 | |||
18 | inherit ptest pypi setuptools3 | ||
19 | |||
20 | RDEPENDS:${PN} += " \ | ||
21 | python3-email \ | ||
22 | python3-multiprocessing \ | ||
23 | python3-netclient \ | ||
24 | python3-numbers \ | ||
25 | python3-pickle \ | ||
26 | python3-shell \ | ||
27 | python3-stringold \ | ||
28 | " | ||
29 | |||
30 | SRC_URI += " \ | ||
31 | file://run-ptest \ | ||
32 | " | ||
33 | |||
34 | RDEPENDS:${PN}-ptest += " \ | ||
35 | python3-fcntl \ | ||
36 | python3-pytest \ | ||
37 | python3-unittest-automake-output \ | ||
38 | " | ||
39 | |||
40 | do_install_ptest() { | ||
41 | install -d ${D}${PTEST_PATH}/tests | ||
42 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
43 | } | ||
diff --git a/meta-python/recipes-devtools/python/python3-wpa-supplicant_0.2.bb b/meta-python/recipes-devtools/python/python3-wpa-supplicant_0.2.bb index b9c62ced78..68ff6c1863 100644 --- a/meta-python/recipes-devtools/python/python3-wpa-supplicant_0.2.bb +++ b/meta-python/recipes-devtools/python/python3-wpa-supplicant_0.2.bb | |||
@@ -4,14 +4,12 @@ SECTION = "devel/python" | |||
4 | LICENSE = "MPL-2.0" | 4 | LICENSE = "MPL-2.0" |
5 | LIC_FILES_CHKSUM = "file://README.md;beginline=171;endline=199;md5=462586bcbebd12f5d0ac443be0ed3d91" | 5 | LIC_FILES_CHKSUM = "file://README.md;beginline=171;endline=199;md5=462586bcbebd12f5d0ac443be0ed3d91" |
6 | 6 | ||
7 | SRC_URI[md5sum] = "c21c7841f5e03ff709a0564b2e094010" | ||
8 | SRC_URI[sha256sum] = "3ad0f40a696763bb0f4d4dec5b51f6b53ccfeb7c16ebb5897349303045f94776" | 7 | SRC_URI[sha256sum] = "3ad0f40a696763bb0f4d4dec5b51f6b53ccfeb7c16ebb5897349303045f94776" |
9 | 8 | ||
10 | SRC_URI += "file://0001-cli-drop-the-second-argument-from-click.argument-dec.patch" | 9 | SRC_URI += "file://0001-cli-drop-the-second-argument-from-click.argument-dec.patch" |
11 | 10 | ||
12 | PYPI_PACKAGE = "wpa_supplicant" | 11 | PYPI_PACKAGE = "wpa_supplicant" |
13 | UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/wpa_supplicant" | 12 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" |
14 | UPSTREAM_CHECK_REGEX = "/wpa_supplicant/(?P<pver>(\d+[\.\-_]*)+)" | ||
15 | 13 | ||
16 | inherit pypi setuptools3 | 14 | inherit pypi setuptools3 |
17 | 15 | ||
diff --git a/meta-python/recipes-devtools/python/python3-wrapt/run-ptest b/meta-python/recipes-devtools/python/python3-wrapt/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-wrapt/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-wrapt_1.16.0.bb b/meta-python/recipes-devtools/python/python3-wrapt_1.17.2.bb index 056323cd39..3a187f9386 100644 --- a/meta-python/recipes-devtools/python/python3-wrapt_1.16.0.bb +++ b/meta-python/recipes-devtools/python/python3-wrapt_1.17.2.bb | |||
@@ -1,27 +1,23 @@ | |||
1 | SUMMARY = "A Python module for decorators, wrappers and monkey patching." | 1 | SUMMARY = "A Python module for decorators, wrappers and monkey patching." |
2 | HOMEPAGE = "http://wrapt.readthedocs.org/" | 2 | HOMEPAGE = "https://wrapt.readthedocs.org/" |
3 | LICENSE = "BSD-2-Clause" | 3 | LICENSE = "BSD-2-Clause" |
4 | SECTION = "devel/python" | 4 | SECTION = "devel/python" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=dc34cbad60bc961452eb7ade801d25f7" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=dc34cbad60bc961452eb7ade801d25f7" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "5f370f952971e7d17c7d1ead40e49f32345a7f7a5373571ef44d800d06b1899d" | 7 | SRC_URI[sha256sum] = "5f370f952971e7d17c7d1ead40e49f32345a7f7a5373571ef44d800d06b1899d" |
8 | 8 | ||
9 | inherit pypi setuptools3 ptest | 9 | inherit setuptools3 ptest-python-pytest |
10 | 10 | ||
11 | SRC_URI += " \ | 11 | SRCREV = "bcc1f26b2fe8fc962f5033c3a3a773425500789a" |
12 | file://run-ptest \ | 12 | SRC_URI += "git://github.com/GrahamDumpleton/wrapt;protocol=https;branch=master \ |
13 | " | 13 | " |
14 | 14 | ||
15 | |||
16 | # python3-misc for 'this' module | ||
15 | RDEPENDS:${PN}-ptest += " \ | 17 | RDEPENDS:${PN}-ptest += " \ |
16 | python3-pytest \ | 18 | python3-misc \ |
17 | python3-unittest-automake-output \ | ||
18 | " | 19 | " |
19 | 20 | ||
20 | do_install_ptest() { | ||
21 | install -d ${D}${PTEST_PATH}/tests | ||
22 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
23 | } | ||
24 | |||
25 | RDEPENDS:${PN}:class-target += "\ | 21 | RDEPENDS:${PN}:class-target += "\ |
26 | python3-stringold \ | 22 | python3-stringold \ |
27 | python3-threading \ | 23 | python3-threading \ |
diff --git a/meta-python/recipes-devtools/python/python3-wsproto/run-ptest b/meta-python/recipes-devtools/python/python3-wsproto/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-wsproto/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-wsproto_1.2.0.bb b/meta-python/recipes-devtools/python/python3-wsproto_1.2.0.bb index 09f5565a94..4aac092fbe 100644 --- a/meta-python/recipes-devtools/python/python3-wsproto_1.2.0.bb +++ b/meta-python/recipes-devtools/python/python3-wsproto_1.2.0.bb | |||
@@ -3,23 +3,11 @@ HOMEPAGE = "https://github.com/python-hyper/wsproto/" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=69fabf732409f4ac61875827b258caaf" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=69fabf732409f4ac61875827b258caaf" |
5 | 5 | ||
6 | inherit pypi setuptools3 ptest | 6 | inherit pypi setuptools3 ptest-python-pytest |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "ad565f26ecb92588a3e43bc3d96164de84cd9902482b130d0ddbaa9664a85065" | 8 | PTEST_PYTEST_DIR = "test" |
9 | |||
10 | SRC_URI += " \ | ||
11 | file://run-ptest \ | ||
12 | " | ||
13 | 9 | ||
14 | RDEPENDS:${PN}-ptest += " \ | 10 | SRC_URI[sha256sum] = "ad565f26ecb92588a3e43bc3d96164de84cd9902482b130d0ddbaa9664a85065" |
15 | python3-pytest \ | ||
16 | python3-unittest-automake-output \ | ||
17 | " | ||
18 | |||
19 | do_install_ptest() { | ||
20 | install -d ${D}${PTEST_PATH}/tests | ||
21 | cp -rf ${S}/test/* ${D}${PTEST_PATH}/tests/ | ||
22 | } | ||
23 | 11 | ||
24 | RDEPENDS:${PN} += " \ | 12 | RDEPENDS:${PN} += " \ |
25 | python3-h11 \ | 13 | python3-h11 \ |
diff --git a/meta-python/recipes-devtools/python/python3-wtforms_3.1.2.bb b/meta-python/recipes-devtools/python/python3-wtforms_3.2.1.bb index b3ba14ff7f..f7cbff2f4e 100644 --- a/meta-python/recipes-devtools/python/python3-wtforms_3.1.2.bb +++ b/meta-python/recipes-devtools/python/python3-wtforms_3.2.1.bb | |||
@@ -5,10 +5,7 @@ LICENSE = "BSD-3-Clause" | |||
5 | 5 | ||
6 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=17ed54aa95f4a6cd0d7a4747d14b64d0" | 6 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=17ed54aa95f4a6cd0d7a4747d14b64d0" |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "f8d76180d7239c94c6322f7990ae1216dae3659b7aa1cee94b6318bdffb474b9" | 8 | SRC_URI[sha256sum] = "df3e6b70f3192e92623128123ec8dca3067df9cfadd43d59681e210cfb8d4682" |
9 | |||
10 | UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/WTForms" | ||
11 | UPSTREAM_CHECK_REGEX = "/WTForms/(?P<pver>(\d+[\.\-_]*)+)" | ||
12 | 9 | ||
13 | inherit pypi python_hatchling | 10 | inherit pypi python_hatchling |
14 | 11 | ||
diff --git a/meta-python/recipes-devtools/python/python3-xlrd/run-ptest b/meta-python/recipes-devtools/python/python3-xlrd/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-xlrd/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb b/meta-python/recipes-devtools/python/python3-xlrd_2.0.2.bb index aedf483bef..928e52ed04 100644 --- a/meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb +++ b/meta-python/recipes-devtools/python/python3-xlrd_2.0.2.bb | |||
@@ -2,7 +2,7 @@ SUMMARY = "Library for developers to extract data from Microsoft Excel (tm) spre | |||
2 | DESCRIPTION = "Extract data from Excel spreadsheets (.xls and .xlsx,\ | 2 | DESCRIPTION = "Extract data from Excel spreadsheets (.xls and .xlsx,\ |
3 | versions 2.0 onwards) on any platform. Pure Python (2.6, 2.7, 3.2+). \ | 3 | versions 2.0 onwards) on any platform. Pure Python (2.6, 2.7, 3.2+). \ |
4 | Strong support for Excel dates. Unicode-aware." | 4 | Strong support for Excel dates. Unicode-aware." |
5 | HOMEPAGE = "http://www.python-excel.org/" | 5 | HOMEPAGE = "https://www.python-excel.org/" |
6 | LICENSE = "BSD-3-Clause" | 6 | LICENSE = "BSD-3-Clause" |
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=00ea1e843a43c20d9b63a8112239b0d1" | 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=00ea1e843a43c20d9b63a8112239b0d1" |
8 | 8 | ||
@@ -10,13 +10,11 @@ SRC_URI[sha256sum] = "f72f148f54442c6b056bf931dbc34f986fd0c3b0b6b5a58d013c9aef27 | |||
10 | 10 | ||
11 | 11 | ||
12 | SRC_URI = "git://github.com/python-excel/xlrd.git;branch=master;protocol=https \ | 12 | SRC_URI = "git://github.com/python-excel/xlrd.git;branch=master;protocol=https \ |
13 | file://run-ptest \ | ||
14 | " | 13 | " |
15 | SRCREV = "b8d573e11ec149da695d695c81a156232b89a949" | 14 | SRCREV = "3a19d22014d7b3f3041b7188d21a653c18c709bf" |
16 | 15 | ||
17 | S = "${WORKDIR}/git" | ||
18 | 16 | ||
19 | inherit ptest setuptools3 | 17 | inherit ptest-python-pytest setuptools3 |
20 | 18 | ||
21 | RDEPENDS:${PN} += " \ | 19 | RDEPENDS:${PN} += " \ |
22 | python3-compression \ | 20 | python3-compression \ |
@@ -31,9 +29,4 @@ RDEPENDS:${PN}-ptest += " \ | |||
31 | python3-unittest-automake-output \ | 29 | python3-unittest-automake-output \ |
32 | " | 30 | " |
33 | 31 | ||
34 | do_install_ptest() { | ||
35 | install -d ${D}${PTEST_PATH}/tests | ||
36 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
37 | } | ||
38 | |||
39 | BBCLASSEXTEND = "native nativesdk" | 32 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-python/recipes-devtools/python/python3-xlsxwriter_3.2.0.bb b/meta-python/recipes-devtools/python/python3-xlsxwriter_3.2.1.bb index 93ca5525ba..a1fd09af49 100644 --- a/meta-python/recipes-devtools/python/python3-xlsxwriter_3.2.0.bb +++ b/meta-python/recipes-devtools/python/python3-xlsxwriter_3.2.1.bb | |||
@@ -1,12 +1,13 @@ | |||
1 | SUMMARY = "Python 2 and 3 compatibility library" | 1 | SUMMARY = "Python 2 and 3 compatibility library" |
2 | HOMEPAGE = "https://xlsxwriter.readthedocs.io" | 2 | HOMEPAGE = "https://xlsxwriter.readthedocs.io" |
3 | SECTION = "devel/python" | 3 | SECTION = "devel/python" |
4 | LICENSE = "MIT" | 4 | LICENSE = "BSD-2-Clause" |
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a4bab8df34a9a138b4e0ca56b8559a05" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a4bab8df34a9a138b4e0ca56b8559a05" |
6 | 6 | ||
7 | inherit pypi setuptools3 | 7 | inherit pypi setuptools3 |
8 | 8 | ||
9 | PYPI_PACKAGE = "XlsxWriter" | 9 | PYPI_PACKAGE = "XlsxWriter" |
10 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
10 | 11 | ||
11 | RDEPENDS:${PN} += " \ | 12 | RDEPENDS:${PN} += " \ |
12 | python3-crypt \ | 13 | python3-crypt \ |
@@ -16,6 +17,6 @@ RDEPENDS:${PN} += " \ | |||
16 | python3-io \ | 17 | python3-io \ |
17 | " | 18 | " |
18 | 19 | ||
19 | SRC_URI[sha256sum] = "9977d0c661a72866a61f9f7a809e25ebbb0fb7036baa3b9fe74afcfca6b3cb8c" | 20 | SRC_URI[sha256sum] = "97618759cb264fb6a93397f660cca156ffa9561743b1823dafb60dc4474e1902" |
20 | 21 | ||
21 | BBCLASSEXTEND = "native nativesdk" | 22 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-python/recipes-devtools/python/python3-xmlschema_3.3.1.bb b/meta-python/recipes-devtools/python/python3-xmlschema_4.1.0.bb index a80f6c2db2..abdbf828c2 100644 --- a/meta-python/recipes-devtools/python/python3-xmlschema_3.3.1.bb +++ b/meta-python/recipes-devtools/python/python3-xmlschema_4.1.0.bb | |||
@@ -1,16 +1,11 @@ | |||
1 | SUMMARY = "The xmlschema library is an implementation of XML Schema for Python (supports Python 3.6+)." | 1 | SUMMARY = "The xmlschema library is an implementation of XML Schema for Python." |
2 | HOMEPAGE = "https://github.com/sissaschool/xmlschema" | 2 | HOMEPAGE = "https://github.com/sissaschool/xmlschema" |
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=26aa26eda991a3a2b61c11b62d3fda65" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=26aa26eda991a3a2b61c11b62d3fda65" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "2066ecbc9728112073f6f44d17c5c16723aff1c7d22a7c4c6421e2d68ec5f0ea" | 6 | SRC_URI[sha256sum] = "88ac771cf94d5fc6bbd1a763db8c157f3d683ad23120b0d0b8c46fe4537f2adf" |
7 | 7 | ||
8 | PYPI_PACKAGE = "xmlschema" | 8 | inherit pypi python_setuptools_build_meta |
9 | inherit pypi setuptools3 | ||
10 | |||
11 | DEPENDS += "\ | ||
12 | python3-elementpath-native \ | ||
13 | " | ||
14 | 9 | ||
15 | RDEPENDS:${PN} += "\ | 10 | RDEPENDS:${PN} += "\ |
16 | python3-elementpath \ | 11 | python3-elementpath \ |
diff --git a/meta-python/recipes-devtools/python/python3-xmodem_0.4.7.bb b/meta-python/recipes-devtools/python/python3-xmodem_0.4.7.bb index 482f0c641b..e41afb56c0 100644 --- a/meta-python/recipes-devtools/python/python3-xmodem_0.4.7.bb +++ b/meta-python/recipes-devtools/python/python3-xmodem_0.4.7.bb | |||
@@ -1,7 +1,7 @@ | |||
1 | DESCRIPTION = "XMODEM protocol implementation" | 1 | DESCRIPTION = "XMODEM protocol implementation" |
2 | 2 | ||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=90bc9522130d68de0dcbf33707bbf124" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "2f1068aa8676f0d1d112498b5786c4f8ea4f89d8f25d07d3a0f293cd21db1c35" | 6 | SRC_URI[sha256sum] = "2f1068aa8676f0d1d112498b5786c4f8ea4f89d8f25d07d3a0f293cd21db1c35" |
7 | 7 | ||
@@ -9,8 +9,8 @@ inherit pypi setuptools3 | |||
9 | 9 | ||
10 | do_install:append() { | 10 | do_install:append() { |
11 | install -d ${D}${docdir}/${PN} | 11 | install -d ${D}${docdir}/${PN} |
12 | mv ${D}/usr/doc/* ${D}${docdir}/${PN}/ | 12 | mv ${D}${prefix}/doc/* ${D}${docdir}/${PN}/ |
13 | rmdir ${D}/usr/doc | 13 | rmdir ${D}${prefix}/doc |
14 | } | 14 | } |
15 | 15 | ||
16 | RDEPENDS:${PN} += " \ | 16 | RDEPENDS:${PN} += " \ |
diff --git a/meta-python/recipes-devtools/python/python3-xstatic-font-awesome_6.2.1.1.bb b/meta-python/recipes-devtools/python/python3-xstatic-font-awesome_6.2.1.1.bb index f4a51f318e..0562cc2671 100644 --- a/meta-python/recipes-devtools/python/python3-xstatic-font-awesome_6.2.1.1.bb +++ b/meta-python/recipes-devtools/python/python3-xstatic-font-awesome_6.2.1.1.bb | |||
@@ -5,6 +5,7 @@ LICENSE = "Apache-2.0" | |||
5 | LIC_FILES_CHKSUM = "file://PKG-INFO;md5=f1a2fe131dcb2fc6243c26cf05ecdb36" | 5 | LIC_FILES_CHKSUM = "file://PKG-INFO;md5=f1a2fe131dcb2fc6243c26cf05ecdb36" |
6 | 6 | ||
7 | PYPI_PACKAGE = "XStatic-Font-Awesome" | 7 | PYPI_PACKAGE = "XStatic-Font-Awesome" |
8 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
8 | 9 | ||
9 | SRC_URI[sha256sum] = "f075871096128638f2e1539020d8227754c3d885dd68e7ee6de9a01235076828" | 10 | SRC_URI[sha256sum] = "f075871096128638f2e1539020d8227754c3d885dd68e7ee6de9a01235076828" |
10 | 11 | ||
diff --git a/meta-python/recipes-devtools/python/python3-xstatic_1.0.3.bb b/meta-python/recipes-devtools/python/python3-xstatic_1.0.3.bb index 22bfa365ff..f4a75c9b6c 100644 --- a/meta-python/recipes-devtools/python/python3-xstatic_1.0.3.bb +++ b/meta-python/recipes-devtools/python/python3-xstatic_1.0.3.bb | |||
@@ -5,6 +5,7 @@ LICENSE = "MIT" | |||
5 | LIC_FILES_CHKSUM = "file://README.txt;md5=1418684272f85f400cebf1b1a255c5cd" | 5 | LIC_FILES_CHKSUM = "file://README.txt;md5=1418684272f85f400cebf1b1a255c5cd" |
6 | 6 | ||
7 | PYPI_PACKAGE = "XStatic" | 7 | PYPI_PACKAGE = "XStatic" |
8 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
8 | 9 | ||
9 | SRC_URI[sha256sum] = "402544cc9e179489441054f09c807804e115ea246907de87c0355fb4f5a31268" | 10 | SRC_URI[sha256sum] = "402544cc9e179489441054f09c807804e115ea246907de87c0355fb4f5a31268" |
10 | 11 | ||
diff --git a/meta-python/recipes-devtools/python/python3-xxhash_3.4.1.bb b/meta-python/recipes-devtools/python/python3-xxhash_3.5.0.bb index be9ce005ea..bfa14012d0 100644 --- a/meta-python/recipes-devtools/python/python3-xxhash_3.4.1.bb +++ b/meta-python/recipes-devtools/python/python3-xxhash_3.5.0.bb | |||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3a9dab7f159514231249aa3e108ab26b" | |||
5 | 5 | ||
6 | DEPENDS += "python3-setuptools-scm-native" | 6 | DEPENDS += "python3-setuptools-scm-native" |
7 | 7 | ||
8 | SRC_URI[sha256sum] = "0379d6cf1ff987cd421609a264ce025e74f346e3e145dd106c0cc2e3ec3f99a9" | 8 | SRC_URI[sha256sum] = "84f2caddf951c9cbf8dc2e22a89d4ccf5d86391ac6418fe81e3c67d0cf60b45f" |
9 | 9 | ||
10 | SRC_URI += " \ | 10 | SRC_URI += " \ |
11 | file://run-ptest \ | 11 | file://run-ptest \ |
diff --git a/meta-python/recipes-devtools/python/python3-yamlloader_1.4.1.bb b/meta-python/recipes-devtools/python/python3-yamlloader_1.5.1.bb index 55c48f889c..11d7cf96fb 100644 --- a/meta-python/recipes-devtools/python/python3-yamlloader_1.4.1.bb +++ b/meta-python/recipes-devtools/python/python3-yamlloader_1.5.1.bb | |||
@@ -3,9 +3,13 @@ HOMEPAGE = "https://github.com/Phynix/yamlloader" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=6831ef36faa29329bce2420c5356f97e" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=6831ef36faa29329bce2420c5356f97e" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "b6fe40ecf5af596d840e920670ed3475f9813492bf6e55b24f2ad450c212bab5" | 6 | SRC_URI[sha256sum] = "8dece19b050acb1c6a8ca14aa30793388f9be154f734b826541f9a1828d41cec" |
7 | 7 | ||
8 | inherit pypi python_setuptools_build_meta | 8 | inherit pypi python_hatchling |
9 | |||
10 | DEPENDS += "\ | ||
11 | python3-hatch-vcs-native \ | ||
12 | " | ||
9 | 13 | ||
10 | RDEPENDS:${PN}:class-target += "\ | 14 | RDEPENDS:${PN}:class-target += "\ |
11 | python3-pyyaml \ | 15 | python3-pyyaml \ |
diff --git a/meta-python/recipes-devtools/python/python3-yappi/run-ptest b/meta-python/recipes-devtools/python/python3-yappi/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-yappi/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-yappi_1.6.0.bb b/meta-python/recipes-devtools/python/python3-yappi_1.6.10.bb index 4349cab1e7..bced340b94 100644 --- a/meta-python/recipes-devtools/python/python3-yappi_1.6.0.bb +++ b/meta-python/recipes-devtools/python/python3-yappi_1.6.10.bb | |||
@@ -4,15 +4,14 @@ HOMEPAGE = "https://github.com/sumerc/yappi" | |||
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=71c208c9a4fd864385eb69ad4caa3bee" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=71c208c9a4fd864385eb69ad4caa3bee" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "a9aaf72009d8c03067294151ee0470ac7a6dfa7b33baab40b198d6c1ef00430a" | 7 | SRC_URI[sha256sum] = "463b822727658937bd95a7d80ca9758605b8cd0014e004e9e520ec9cb4db0c92" |
8 | 8 | ||
9 | SRC_URI += " \ | 9 | SRC_URI += " \ |
10 | file://run-ptest \ | 10 | file://0001-test_functionality-convert-line-endings-to-Unix.patch \ |
11 | file://0001-test_functionality-convert-line-endings-to-Unix.patch \ | 11 | file://0002-Fix-import-of-tests.utils-to-enable-pytest.patch \ |
12 | file://0002-Fix-import-of-tests.utils-to-enable-pytest.patch \ | 12 | " |
13 | " | ||
14 | 13 | ||
15 | inherit pypi python_setuptools_build_meta ptest | 14 | inherit pypi python_setuptools_build_meta ptest-python-pytest |
16 | 15 | ||
17 | RDEPENDS:${PN} += "\ | 16 | RDEPENDS:${PN} += "\ |
18 | python3-datetime \ | 17 | python3-datetime \ |
@@ -29,9 +28,7 @@ RDEPENDS:${PN}-ptest += " \ | |||
29 | python3-zopeinterface \ | 28 | python3-zopeinterface \ |
30 | " | 29 | " |
31 | 30 | ||
32 | do_install_ptest() { | 31 | do_install_ptest:append() { |
33 | install -d ${D}${PTEST_PATH}/tests | ||
34 | cp -rf ${S}/tests ${D}${PTEST_PATH} | ||
35 | cp -f ${S}/run_tests.py ${D}${PTEST_PATH} | 32 | cp -f ${S}/run_tests.py ${D}${PTEST_PATH} |
36 | } | 33 | } |
37 | 34 | ||
diff --git a/meta-python/recipes-devtools/python/python3-yarl/run-ptest b/meta-python/recipes-devtools/python/python3-yarl/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-yarl/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-yarl_1.9.4.bb b/meta-python/recipes-devtools/python/python3-yarl_1.20.1.bb index 29897b7f1c..bbf9e3d782 100644 --- a/meta-python/recipes-devtools/python/python3-yarl_1.9.4.bb +++ b/meta-python/recipes-devtools/python/python3-yarl_1.20.1.bb | |||
@@ -3,31 +3,29 @@ HOMEPAGE = "https://github.com/aio-libs/yarl/" | |||
3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "566db86717cf8080b99b58b083b773a908ae40f06681e87e589a976faf8246bf" | 6 | SRC_URI[sha256sum] = "d017a4997ee50c91fd5466cef416231bb82177b93b029906cefc542ce14c35ac" |
7 | |||
8 | SRC_URI += "file://run-ptest" | ||
9 | 7 | ||
10 | PYPI_PACKAGE = "yarl" | 8 | PYPI_PACKAGE = "yarl" |
11 | 9 | ||
12 | inherit pypi ptest python_setuptools_build_meta | 10 | inherit pypi ptest-python-pytest python_setuptools_build_meta cython |
13 | 11 | ||
14 | DEPENDS += " \ | 12 | DEPENDS += " \ |
15 | python3-expandvars-native \ | 13 | python3-expandvars-native \ |
16 | python3-cython-native \ | ||
17 | " | 14 | " |
18 | 15 | ||
19 | RDEPENDS:${PN} = "\ | 16 | RDEPENDS:${PN} = "\ |
20 | python3-multidict \ | 17 | python3-multidict \ |
21 | python3-idna \ | 18 | python3-idna \ |
22 | python3-io \ | 19 | python3-io \ |
20 | python3-propcache \ | ||
23 | " | 21 | " |
24 | 22 | ||
25 | RDEPENDS:${PN}-ptest += " \ | 23 | RDEPENDS:${PN}-ptest += " \ |
24 | python3-hypothesis \ | ||
25 | python3-image \ | ||
26 | python3-pytest \ | 26 | python3-pytest \ |
27 | python3-pytest-codspeed \ | ||
28 | python3-rich \ | ||
27 | python3-unittest-automake-output \ | 29 | python3-unittest-automake-output \ |
28 | " | 30 | " |
29 | 31 | ||
30 | do_install_ptest() { | ||
31 | install -d ${D}${PTEST_PATH}/tests | ||
32 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
33 | } | ||
diff --git a/meta-python/recipes-devtools/python/python3-zeroconf_0.132.2.bb b/meta-python/recipes-devtools/python/python3-zeroconf_0.132.2.bb deleted file mode 100644 index 421bd3b6c8..0000000000 --- a/meta-python/recipes-devtools/python/python3-zeroconf_0.132.2.bb +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | SUMMARY = "Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)" | ||
2 | HOMEPAGE = "https://github.com/jstasiak/python-zeroconf" | ||
3 | LICENSE = "LGPL-2.1-only" | ||
4 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=6517bdc8f2416f27ab725d4702f7aac3" | ||
5 | |||
6 | SRC_URI[sha256sum] = "9ad8bc6e3f168fe8c164634c762d3265c775643defff10e26273623a12d73ae1" | ||
7 | |||
8 | DEPENDS += "python3-cython-native" | ||
9 | |||
10 | inherit pypi python_poetry_core | ||
11 | |||
12 | RDEPENDS:${PN} += " \ | ||
13 | python3-ifaddr (>=0.1.7) \ | ||
14 | python3-async-timeout \ | ||
15 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-zeroconf_0.147.0.bb b/meta-python/recipes-devtools/python/python3-zeroconf_0.147.0.bb new file mode 100644 index 0000000000..d2ce53905f --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-zeroconf_0.147.0.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | SUMMARY = "Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)" | ||
2 | HOMEPAGE = "https://github.com/jstasiak/python-zeroconf" | ||
3 | LICENSE = "LGPL-2.1-or-later" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=9fe712b1bc27c5c4e9ecd7f31d208900" | ||
5 | |||
6 | SRC_URI[sha256sum] = "f517375de6bf2041df826130da41dc7a3e8772176d3076a5da58854c7d2e8d7a" | ||
7 | |||
8 | inherit pypi python_poetry_core cython | ||
9 | |||
10 | RDEPENDS:${PN} += " \ | ||
11 | python3-ifaddr (>=0.1.7) \ | ||
12 | python3-async-timeout \ | ||
13 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-zopeevent_5.0.bb b/meta-python/recipes-devtools/python/python3-zopeevent_5.0.bb index 4d914c63e9..f03ab22d24 100644 --- a/meta-python/recipes-devtools/python/python3-zopeevent_5.0.bb +++ b/meta-python/recipes-devtools/python/python3-zopeevent_5.0.bb | |||
@@ -6,5 +6,6 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=72092419572155ddc2 | |||
6 | SRC_URI[sha256sum] = "bac440d8d9891b4068e2b5a2c5e2c9765a9df762944bda6955f96bb9b91e67cd" | 6 | SRC_URI[sha256sum] = "bac440d8d9891b4068e2b5a2c5e2c9765a9df762944bda6955f96bb9b91e67cd" |
7 | 7 | ||
8 | PYPI_PACKAGE = "zope.event" | 8 | PYPI_PACKAGE = "zope.event" |
9 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
9 | 10 | ||
10 | inherit pypi setuptools3 | 11 | inherit pypi setuptools3 |
diff --git a/meta-python/recipes-devtools/python/python3-zopeinterface/0001-Allow-using-setuptools-74.patch b/meta-python/recipes-devtools/python/python3-zopeinterface/0001-Allow-using-setuptools-74.patch new file mode 100644 index 0000000000..a01247fe5a --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-zopeinterface/0001-Allow-using-setuptools-74.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | From 5060ecfe6cff5110cbfbc781fc7342ad08fc6f90 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 23 Nov 2024 18:30:40 -0800 | ||
4 | Subject: [PATCH] Allow using setuptools > 74 | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
8 | --- | ||
9 | pyproject.toml | 2 +- | ||
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
11 | |||
12 | diff --git a/pyproject.toml b/pyproject.toml | ||
13 | index 17da486..7906a37 100644 | ||
14 | --- a/pyproject.toml | ||
15 | +++ b/pyproject.toml | ||
16 | @@ -3,7 +3,7 @@ | ||
17 | # https://github.com/zopefoundation/meta/tree/master/config/c-code | ||
18 | |||
19 | [build-system] | ||
20 | -requires = ["setuptools<74"] | ||
21 | +requires = ["setuptools"] | ||
22 | build-backend = "setuptools.build_meta" | ||
23 | |||
24 | [tool.coverage.run] | ||
diff --git a/meta-python/recipes-devtools/python/python3-zopeinterface_6.3.bb b/meta-python/recipes-devtools/python/python3-zopeinterface_7.1.1.bb index 21d03f2e7d..79e00ce23e 100644 --- a/meta-python/recipes-devtools/python/python3-zopeinterface_6.3.bb +++ b/meta-python/recipes-devtools/python/python3-zopeinterface_7.1.1.bb | |||
@@ -3,10 +3,11 @@ LICENSE = "ZPL-2.1" | |||
3 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e54fd776274c1b7423ec128974bd9d46" | 3 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e54fd776274c1b7423ec128974bd9d46" |
4 | 4 | ||
5 | PYPI_PACKAGE = "zope.interface" | 5 | PYPI_PACKAGE = "zope.interface" |
6 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
6 | 7 | ||
7 | inherit pypi setuptools3 | 8 | inherit pypi python_setuptools_build_meta |
8 | SRC_URI[sha256sum] = "f83d6b4b22262d9a826c3bd4b2fbfafe1d0000f085ef8e44cd1328eea274ae6a" | 9 | SRC_URI += "file://0001-Allow-using-setuptools-74.patch" |
9 | 10 | SRC_URI[sha256sum] = "4284d664ef0ff7b709836d4de7b13d80873dc5faeffc073abdb280058bfac5e3" | |
10 | PACKAGES =. "${PN}-test " | 11 | PACKAGES =. "${PN}-test " |
11 | 12 | ||
12 | RPROVIDES:${PN} += "zope-interfaces" | 13 | RPROVIDES:${PN} += "zope-interfaces" |
diff --git a/meta-python/recipes-devtools/python/tftpy_0.8.2.bb b/meta-python/recipes-devtools/python/tftpy_0.8.6.bb index c1b3234f72..74889c2841 100644 --- a/meta-python/recipes-devtools/python/tftpy_0.8.2.bb +++ b/meta-python/recipes-devtools/python/tftpy_0.8.6.bb | |||
@@ -8,6 +8,6 @@ HOMEPAGE = "https://github.com/msoulier/tftpy" | |||
8 | LICENSE = "MIT" | 8 | LICENSE = "MIT" |
9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=22770e72ae03c61f5bcc4e333b61368d" | 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=22770e72ae03c61f5bcc4e333b61368d" |
10 | 10 | ||
11 | SRC_URI[sha256sum] = "e1d1a680efd88eba176b351175844253067392a9b0f8b81588e3ff2b9e7bbb5b" | 11 | SRC_URI[sha256sum] = "f616f6a43a36d481c266573608597b9dd3c7c63818415d72aa04f1d1795480ea" |
12 | 12 | ||
13 | inherit pypi setuptools3 | 13 | inherit pypi python_setuptools_build_meta |
diff --git a/meta-python/recipes-devtools/python3-cairocffi/python3-cairocffi_1.7.1.bb b/meta-python/recipes-devtools/python3-cairocffi/python3-cairocffi_1.7.1.bb new file mode 100644 index 0000000000..141c014924 --- /dev/null +++ b/meta-python/recipes-devtools/python3-cairocffi/python3-cairocffi_1.7.1.bb | |||
@@ -0,0 +1,12 @@ | |||
1 | SUMMARY = "cairocffi is a CFFI-based drop-in replacement for Pycairo, a set of Python bindings and object-oriented API for cairo." | ||
2 | HOMEPAGE = "https://github.com/Kozea/cairocffi" | ||
3 | LICENSE = "BSD-3-Clause" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e7c7639c2f7e3d6103414416614bfaac" | ||
5 | |||
6 | SRC_URI[sha256sum] = "2e48ee864884ec4a3a34bfa8c9ab9999f688286eb714a15a43ec9d068c36557b" | ||
7 | |||
8 | inherit pypi python_flit_core | ||
9 | |||
10 | RDEPENDS:${PN} = "\ | ||
11 | python3-cffi \ | ||
12 | " | ||
diff --git a/meta-python/recipes-devtools/python3-gspread/python3-gspread_6.1.2.bb b/meta-python/recipes-devtools/python3-gspread/python3-gspread_6.2.1.bb index 0aae1d0c96..950467ab19 100644 --- a/meta-python/recipes-devtools/python3-gspread/python3-gspread_6.1.2.bb +++ b/meta-python/recipes-devtools/python3-gspread/python3-gspread_6.2.1.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/burnash/gspread" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9488e21983675fa56dc05af558b83e2f" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9488e21983675fa56dc05af558b83e2f" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "b147688b8c7a18c9835d5f998997ec17c97c0470babcab17f65ac2b3a32402b7" | 6 | SRC_URI[sha256sum] = "2c7c99f7c32ebea6ec0d36f2d5cbe8a2be5e8f2a48bde87ad1ea203eff32bd03" |
7 | 7 | ||
8 | RDEPENDS:${PN} = " \ | 8 | RDEPENDS:${PN} = " \ |
9 | python3-google-auth \ | 9 | python3-google-auth \ |
diff --git a/meta-python/recipes-devtools/python3-mlcommons-loadgen/python3-mlcommons-loadgen_5.0.22.bb b/meta-python/recipes-devtools/python3-mlcommons-loadgen/python3-mlcommons-loadgen_5.0.22.bb new file mode 100644 index 0000000000..841753625a --- /dev/null +++ b/meta-python/recipes-devtools/python3-mlcommons-loadgen/python3-mlcommons-loadgen_5.0.22.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | SUMMARY = "MLPerf Inference LoadGen python bindings" | ||
2 | DESCRIPTION = "The LoadGen is a reusable module that efficiently and fairly \ | ||
3 | measures the performance of inference systems. It generates \ | ||
4 | traffic for scenarios as formulated by a diverse set of experts \ | ||
5 | in the MLCommons working group, to emulate the workloads seen in \ | ||
6 | mobile devices, autonomous vehicles, robotics, and cloud-based \ | ||
7 | setups." | ||
8 | HOMEPAGE = "https://mlcommons.org/" | ||
9 | BUGTRACKER = "https://github.com/mlcommons/inference/issues" | ||
10 | LICENSE = "Apache-2.0" | ||
11 | LIC_FILES_CHKSUM = "file://setup.py;beginline=1;endline=14;md5=2c6e34309ef8d57d59ce119f63bc1b76" | ||
12 | |||
13 | DEPENDS = "python3-pybind11-native" | ||
14 | |||
15 | inherit setuptools3 pypi | ||
16 | |||
17 | PYPI_PACKAGE = "mlcommons_loadgen" | ||
18 | UPSTREAM_CHECK_PYPI_PACKAGE = "mlcommons_loadgen" | ||
19 | |||
20 | SRC_URI[sha256sum] = "debcae3d1f45d774e76d557805d4dbac5ebc4ff7e0fa91a13a8b4d1a5b537d87" | ||
21 | |||
22 | # Because the pyproject.toml contains invalid requirements. | ||
23 | INSANE_SKIP += "pep517-backend" | ||
diff --git a/meta-python/recipes-devtools/python3-nltk/python3-nltk_3.9.1.bb b/meta-python/recipes-devtools/python3-nltk/python3-nltk_3.9.1.bb new file mode 100644 index 0000000000..464e578ba9 --- /dev/null +++ b/meta-python/recipes-devtools/python3-nltk/python3-nltk_3.9.1.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | SUMMARY = "Natural Language Toolkit" | ||
2 | DESCRIPTION = "NLTK is a leading platform for building Python programs to work \ | ||
3 | with human language data. It provides easy-to-use interfaces to \ | ||
4 | over 50 corpora and lexical resources such as WordNet" | ||
5 | HOMEPAGE = "https://www.nltk.org" | ||
6 | BUGTRACKER = "https://github.com/nltk/nltk/issues" | ||
7 | LICENSE = "Apache-2.0" | ||
8 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" | ||
9 | |||
10 | RDEPENDS:${PN} = "\ | ||
11 | python3-click \ | ||
12 | python3-joblib \ | ||
13 | python3-tqdm \ | ||
14 | python3-regex \ | ||
15 | python3-xmlschema \ | ||
16 | " | ||
17 | |||
18 | RRECOMMENDS:${PN} = "\ | ||
19 | python3-numpy \ | ||
20 | " | ||
21 | |||
22 | inherit setuptools3 pypi | ||
23 | |||
24 | SRC_URI[sha256sum] = "87d127bd3de4bd89a4f81265e5fa59cb1b199b27440175370f7417d2bc7ae868" | ||
diff --git a/meta-python/recipes-devtools/python3-piccata/python3-piccata_2.0.3.bb b/meta-python/recipes-devtools/python3-piccata/python3-piccata_2.0.3.bb index fadcc32c24..af231ca908 100644 --- a/meta-python/recipes-devtools/python3-piccata/python3-piccata_2.0.3.bb +++ b/meta-python/recipes-devtools/python3-piccata/python3-piccata_2.0.3.bb | |||
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e664eb75e2791c2e505e6e1c274e6d4f" | |||
6 | SRCREV = "218d310e3d840715b1c8e67cefd5b6d71a2d7a1a" | 6 | SRCREV = "218d310e3d840715b1c8e67cefd5b6d71a2d7a1a" |
7 | SRC_URI = "git://github.com/NordicSemiconductor/piccata.git;protocol=https;branch=master" | 7 | SRC_URI = "git://github.com/NordicSemiconductor/piccata.git;protocol=https;branch=master" |
8 | 8 | ||
9 | S = "${WORKDIR}/git" | ||
10 | 9 | ||
11 | inherit setuptools3 | 10 | inherit setuptools3 |
12 | 11 | ||
diff --git a/meta-python/recipes-devtools/python3-reedsolo/python3-reedsolo_2.0.13.bb b/meta-python/recipes-devtools/python3-reedsolo/python3-reedsolo_2.1.0b1.bb index bb5b973d86..d161431e6d 100644 --- a/meta-python/recipes-devtools/python3-reedsolo/python3-reedsolo_2.0.13.bb +++ b/meta-python/recipes-devtools/python3-reedsolo/python3-reedsolo_2.1.0b1.bb | |||
@@ -3,8 +3,8 @@ HOMEPAGE = "https://github.com/tomerfiliba/reedsolomon" | |||
3 | LICENSE = "MIT-0 | Unlicense" | 3 | LICENSE = "MIT-0 | Unlicense" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ffde61aeb8917e70e0257e0a4b6d103c" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ffde61aeb8917e70e0257e0a4b6d103c" |
5 | 5 | ||
6 | SRC_URI[sha256sum] = "71b4121c6860a55899435c552051a19d5f023c50358be4b1c0fa0c6e2f4ac717" | 6 | SRC_URI[sha256sum] = "e11528d63e75461d45b86c23f9db8260303d6ab6cae075fa9eddb44527ad8ece" |
7 | 7 | ||
8 | inherit pypi setuptools3 | 8 | inherit pypi python_setuptools_build_meta cython |
9 | 9 | ||
10 | RDEPENDS:${PN} += "python3-core" | 10 | RDEPENDS:${PN} += "python3-core" |
diff --git a/meta-python/recipes-devtools/python3-rouge-score/python3-rouge-score_0.1.2.bb b/meta-python/recipes-devtools/python3-rouge-score/python3-rouge-score_0.1.2.bb new file mode 100644 index 0000000000..6d07f5451f --- /dev/null +++ b/meta-python/recipes-devtools/python3-rouge-score/python3-rouge-score_0.1.2.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | SUMMARY = "Pure python implementation of ROUGE-1.5.5." | ||
2 | DESCRIPTION = "This is a native python implementation of ROUGE, designed to \ | ||
3 | replicate results from the original perl package." | ||
4 | HOMEPAGE = "https://github.com/google-research/google-research/tree/master/rouge" | ||
5 | LICENSE = "Apache-2.0" | ||
6 | LIC_FILES_CHKSUM = "file://README.md;beginline=91;endline=93;md5=e8937c2bcd7cf57f2d1bd5f1bf7efd23" | ||
7 | |||
8 | RDEPENDS:${PN} = "\ | ||
9 | python3-absl \ | ||
10 | python3-nltk \ | ||
11 | python3-numpy \ | ||
12 | python3-six (>=1.14) \ | ||
13 | " | ||
14 | |||
15 | inherit setuptools3 pypi | ||
16 | |||
17 | PYPI_PACKAGE = "rouge_score" | ||
18 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
19 | |||
20 | SRC_URI[sha256sum] = "c7d4da2683e68c9abf0135ef915d63a46643666f848e558a1b9f7ead17ff0f04" | ||
diff --git a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/0001-sip-Conditionally-use-GetAssertStackTrace-under-USE_.patch b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/0001-sip-Conditionally-use-GetAssertStackTrace-under-USE_.patch index f8a3061ae0..1426067d23 100644 --- a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/0001-sip-Conditionally-use-GetAssertStackTrace-under-USE_.patch +++ b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/0001-sip-Conditionally-use-GetAssertStackTrace-under-USE_.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From b9f95c06b2e7a525f4f93d705976882e8dcba6ab Mon Sep 17 00:00:00 2001 | 1 | From b62aa1a2e3e0feced819a375be3b2187cc356284 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Tue, 20 Dec 2022 09:46:31 -0800 | 3 | Date: Tue, 20 Dec 2022 09:46:31 -0800 |
4 | Subject: [PATCH] sip: Conditionally use GetAssertStackTrace under | 4 | Subject: [PATCH] sip: Conditionally use GetAssertStackTrace under |
@@ -15,7 +15,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
15 | 1 file changed, 4 insertions(+) | 15 | 1 file changed, 4 insertions(+) |
16 | 16 | ||
17 | diff --git a/sip/cpp/sip_corewxAppTraits.cpp b/sip/cpp/sip_corewxAppTraits.cpp | 17 | diff --git a/sip/cpp/sip_corewxAppTraits.cpp b/sip/cpp/sip_corewxAppTraits.cpp |
18 | index 9c9f9d5b..1d2d2f90 100644 | 18 | index 9a9a4a66..a54e7659 100644 |
19 | --- a/sip/cpp/sip_corewxAppTraits.cpp | 19 | --- a/sip/cpp/sip_corewxAppTraits.cpp |
20 | +++ b/sip/cpp/sip_corewxAppTraits.cpp | 20 | +++ b/sip/cpp/sip_corewxAppTraits.cpp |
21 | @@ -471,7 +471,11 @@ static PyObject *meth_wxAppTraits_GetAssertStackTrace(PyObject *sipSelf, PyObjec | 21 | @@ -471,7 +471,11 @@ static PyObject *meth_wxAppTraits_GetAssertStackTrace(PyObject *sipSelf, PyObjec |
@@ -23,7 +23,7 @@ index 9c9f9d5b..1d2d2f90 100644 | |||
23 | 23 | ||
24 | Py_BEGIN_ALLOW_THREADS | 24 | Py_BEGIN_ALLOW_THREADS |
25 | +#if wxUSE_STACKWALKER | 25 | +#if wxUSE_STACKWALKER |
26 | sipRes = new ::wxString((sipSelfWasArg ? sipCpp-> ::wxAppTraits::GetAssertStackTrace() : sipCpp->GetAssertStackTrace())); | 26 | sipRes = new ::wxString((sipSelfWasArg ? sipCpp->::wxAppTraits::GetAssertStackTrace() : sipCpp->GetAssertStackTrace())); |
27 | +#else | 27 | +#else |
28 | + sipRes = new ::wxString(""); | 28 | + sipRes = new ::wxString(""); |
29 | +#endif | 29 | +#endif |
diff --git a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/0001-sip-Fix-build-with-gcc-14.patch b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/0001-sip-Fix-build-with-gcc-14.patch deleted file mode 100644 index 4782e74ef3..0000000000 --- a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/0001-sip-Fix-build-with-gcc-14.patch +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | From 5234a454a1b9f11f83e59909fb2972176497e02c Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 9 May 2024 17:35:11 -0700 | ||
4 | Subject: [PATCH] sip: Fix build with gcc-14 | ||
5 | |||
6 | Fixes -Wincompatible-pointer-types | ||
7 | sip/siplib/siplib.c:3900:20: error: assignment to 'sipSimpleWrapper *' {aka 'struct _sipSimpleWrapper *'} from incompatible pointer type 'PyObject *' {aka 'struct _object *'} [-Wincompatible-pointer-types] | ||
8 | | 3900 | *selfp = va_arg(va, PyObject *); | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | sip/siplib/siplib.c | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/sip/siplib/siplib.c b/sip/siplib/siplib.c | ||
17 | index 95563e5c..ae3fac60 100644 | ||
18 | --- a/sip/siplib/siplib.c | ||
19 | +++ b/sip/siplib/siplib.c | ||
20 | @@ -3897,7 +3897,7 @@ static int parsePass1(PyObject **parseErrp, sipSimpleWrapper **selfp, | ||
21 | { | ||
22 | case '#': | ||
23 | /* A ctor has an argument with the /Transfer/ annotation. */ | ||
24 | - *selfp = va_arg(va, PyObject *); | ||
25 | + *selfp = (sipSimpleWrapper *)va_arg(va, PyObject *); | ||
26 | break; | ||
27 | |||
28 | case 'B': | ||
29 | -- | ||
30 | 2.45.0 | ||
31 | |||
diff --git a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/add-back-option-build-base.patch b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/add-back-option-build-base.patch index a46f3f870a..2622df24e2 100644 --- a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/add-back-option-build-base.patch +++ b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/add-back-option-build-base.patch | |||
@@ -1,4 +1,7 @@ | |||
1 | Add back default user options for cross build. | 1 | From bc08fddaf4b23073b2afbc045a26aedc4d2c6470 Mon Sep 17 00:00:00 2001 |
2 | From: Kai Kang <kai.kang@windriver.com> | ||
3 | Date: Wed, 30 Mar 2022 17:39:33 +0800 | ||
4 | Subject: [PATCH] Add back default user options for cross build. | ||
2 | 5 | ||
3 | Upstream-Status: Pending [oe specific] | 6 | Upstream-Status: Pending [oe specific] |
4 | 7 | ||
@@ -8,10 +11,10 @@ Signed-off-by: Kai Kang <kai.kang@windriver.com> | |||
8 | 1 file changed, 1 insertion(+), 1 deletion(-) | 11 | 1 file changed, 1 insertion(+), 1 deletion(-) |
9 | 12 | ||
10 | diff --git a/setup.py b/setup.py | 13 | diff --git a/setup.py b/setup.py |
11 | index a215da7..dccfeb3 100644 | 14 | index 99ee6612..fad5aba8 100644 |
12 | --- a/setup.py | 15 | --- a/setup.py |
13 | +++ b/setup.py | 16 | +++ b/setup.py |
14 | @@ -105,7 +105,7 @@ class wx_build(orig_build): | 17 | @@ -111,7 +111,7 @@ class wx_build(orig_build): |
15 | Delegate to build.py for doing the actual build, (including wxWidgets) | 18 | Delegate to build.py for doing the actual build, (including wxWidgets) |
16 | instead of letting distutils do it all. | 19 | instead of letting distutils do it all. |
17 | """ | 20 | """ |
diff --git a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/not-overwrite-cflags-cxxflags.patch b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/not-overwrite-cflags-cxxflags.patch index 67f7949b38..3dc4cb1e79 100644 --- a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/not-overwrite-cflags-cxxflags.patch +++ b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/not-overwrite-cflags-cxxflags.patch | |||
@@ -1,4 +1,8 @@ | |||
1 | Not overwrite CFLAGS and CXXFLAGS. It also avoid buildpaths qa issue: | 1 | From 05189dc7063a7c238e38589cbaf92be256270e54 Mon Sep 17 00:00:00 2001 |
2 | From: Kai Kang <kai.kang@windriver.com> | ||
3 | Date: Wed, 23 Nov 2022 13:40:00 +0800 | ||
4 | Subject: [PATCH] Not overwrite CFLAGS and CXXFLAGS. It also avoid buildpaths | ||
5 | qa issue: | ||
2 | 6 | ||
3 | WARNING: python3-wxgtk4-4.2.0-r0 do_package_qa: QA Issue: File | 7 | WARNING: python3-wxgtk4-4.2.0-r0 do_package_qa: QA Issue: File |
4 | /usr/lib64/python3.11/site-packages/wx/.debug/_xml.cpython-311-aarch64-linux-gnu.so | 8 | /usr/lib64/python3.11/site-packages/wx/.debug/_xml.cpython-311-aarch64-linux-gnu.so |
@@ -12,10 +16,10 @@ Signed-off-by: Kai Kang <kai.kang@windriver.com> | |||
12 | 1 file changed, 2 insertions(+), 2 deletions(-) | 16 | 1 file changed, 2 insertions(+), 2 deletions(-) |
13 | 17 | ||
14 | diff --git a/wscript b/wscript | 18 | diff --git a/wscript b/wscript |
15 | index 067b307..50d96d1 100644 | 19 | index 79bdf3e1..d6244d5e 100644 |
16 | --- a/wscript | 20 | --- a/wscript |
17 | +++ b/wscript | 21 | +++ b/wscript |
18 | @@ -195,8 +195,8 @@ def configure(conf): | 22 | @@ -188,8 +188,8 @@ def configure(conf): |
19 | cfg.finishSetup(conf.env.wx_config, conf.env.debug, | 23 | cfg.finishSetup(conf.env.wx_config, conf.env.debug, |
20 | 'mingw32' if isWindows and not conf.env.use_msvc else None) | 24 | 'mingw32' if isWindows and not conf.env.use_msvc else None) |
21 | 25 | ||
diff --git a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/wxgtk-fixup-build-scripts.patch b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/wxgtk-fixup-build-scripts.patch index 0d65ebb598..09497133b0 100644 --- a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/wxgtk-fixup-build-scripts.patch +++ b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/wxgtk-fixup-build-scripts.patch | |||
@@ -1,4 +1,7 @@ | |||
1 | Fix issues in build scripts: | 1 | From 171df10f86be6defb9e317ac62df8a7b0389b901 Mon Sep 17 00:00:00 2001 |
2 | From: Kai Kang <kai.kang@windriver.com> | ||
3 | Date: Wed, 30 Mar 2022 17:39:33 +0800 | ||
4 | Subject: [PATCH] Fix issues in build scripts: | ||
2 | 5 | ||
3 | * remove hardcode lib path from buildtools/config.py which is not suitable for | 6 | * remove hardcode lib path from buildtools/config.py which is not suitable for |
4 | cross build | 7 | cross build |
@@ -15,10 +18,10 @@ Signed-off-by: Kai Kang <kai.kang@windriver.com> | |||
15 | 2 files changed, 4 insertions(+), 4 deletions(-) | 18 | 2 files changed, 4 insertions(+), 4 deletions(-) |
16 | 19 | ||
17 | diff --git a/buildtools/config.py b/buildtools/config.py | 20 | diff --git a/buildtools/config.py b/buildtools/config.py |
18 | index c837e5d..d426005 100644 | 21 | index 94c216ec..b3ec3f2e 100644 |
19 | --- a/buildtools/config.py | 22 | --- a/buildtools/config.py |
20 | +++ b/buildtools/config.py | 23 | +++ b/buildtools/config.py |
21 | @@ -312,8 +312,8 @@ class Configuration(object): | 24 | @@ -336,8 +336,8 @@ class Configuration(object): |
22 | # wx-config doesn't output that for some reason. For now, just | 25 | # wx-config doesn't output that for some reason. For now, just |
23 | # add it unconditionally but we should really check if the lib is | 26 | # add it unconditionally but we should really check if the lib is |
24 | # really found there or wx-config should be fixed. | 27 | # really found there or wx-config should be fixed. |
@@ -30,10 +33,10 @@ index c837e5d..d426005 100644 | |||
30 | # Move the various -I, -D, etc. flags we got from the config scripts | 33 | # Move the various -I, -D, etc. flags we got from the config scripts |
31 | # into the distutils lists. | 34 | # into the distutils lists. |
32 | diff --git a/setup.py b/setup.py | 35 | diff --git a/setup.py b/setup.py |
33 | index 64bec4b..fb29253 100644 | 36 | index fad5aba8..eade737b 100644 |
34 | --- a/setup.py | 37 | --- a/setup.py |
35 | +++ b/setup.py | 38 | +++ b/setup.py |
36 | @@ -130,7 +130,7 @@ class wx_build(orig_build): | 39 | @@ -135,7 +135,7 @@ class wx_build(orig_build): |
37 | 'message and the wxWidgets and Phoenix build steps in the future.\n') | 40 | 'message and the wxWidgets and Phoenix build steps in the future.\n') |
38 | 41 | ||
39 | # Use the same Python that is running this script. | 42 | # Use the same Python that is running this script. |
@@ -42,7 +45,7 @@ index 64bec4b..fb29253 100644 | |||
42 | cmd = ' '.join(cmd) | 45 | cmd = ' '.join(cmd) |
43 | runcmd(cmd) | 46 | runcmd(cmd) |
44 | 47 | ||
45 | @@ -233,7 +233,7 @@ if haveWheel: | 48 | @@ -238,7 +238,7 @@ if haveWheel: |
46 | class wx_install(orig_install): | 49 | class wx_install(orig_install): |
47 | def finalize_options(self): | 50 | def finalize_options(self): |
48 | orig_install.finalize_options(self) | 51 | orig_install.finalize_options(self) |
diff --git a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.2.1.bb b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.2.2.bb index cc6b6cef67..dc57c864e4 100644 --- a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.2.1.bb +++ b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.2.2.bb | |||
@@ -1,24 +1,24 @@ | |||
1 | DESCRIPTION = "Python3 interface to the wxWidgets Cross-platform C++ GUI toolkit." | 1 | DESCRIPTION = "Python3 interface to the wxWidgets Cross-platform C++ GUI toolkit." |
2 | HOMEPAGE = "http://www.wxpython.org" | 2 | HOMEPAGE = "https://www.wxpython.org" |
3 | 3 | ||
4 | LICENSE = "LGPL-2.0-only & WXwindows" | 4 | LICENSE = "LGPL-2.0-only & WXwindows & BSD-2-Clause" |
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=bdabf9e11191e2b9d3b6aef5f338ec00" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=102f37a0d23aa258e59e4cc8b5380b35" |
6 | 6 | ||
7 | DEPENDS = "python3-attrdict3-native python3-six-native wxwidgets-native \ | 7 | DEPENDS = "python3-attrdict3-native python3-six-native wxwidgets-native \ |
8 | wxwidgets \ | 8 | wxwidgets \ |
9 | " | 9 | " |
10 | 10 | ||
11 | PYPI_PACKAGE = "wxPython" | 11 | PYPI_PACKAGE = "wxPython" |
12 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
12 | 13 | ||
13 | SRC_URI += "file://add-back-option-build-base.patch \ | 14 | SRC_URI += "file://add-back-option-build-base.patch \ |
14 | file://wxgtk-fixup-build-scripts.patch \ | 15 | file://wxgtk-fixup-build-scripts.patch \ |
15 | file://not-overwrite-cflags-cxxflags.patch \ | 16 | file://not-overwrite-cflags-cxxflags.patch \ |
16 | file://0001-sip-Conditionally-use-GetAssertStackTrace-under-USE_.patch \ | 17 | file://0001-sip-Conditionally-use-GetAssertStackTrace-under-USE_.patch \ |
17 | file://0001-sip-Fix-build-with-gcc-14.patch \ | ||
18 | " | 18 | " |
19 | SRC_URI[sha256sum] = "e48de211a6606bf072ec3fa778771d6b746c00b7f4b970eb58728ddf56d13d5c" | 19 | SRC_URI[sha256sum] = "5dbcb0650f67fdc2c5965795a255ffaa3d7b09fb149aa8da2d0d9aa44e38e2ba" |
20 | 20 | ||
21 | S = "${WORKDIR}/wxPython-${PV}" | 21 | S = "${UNPACKDIR}/wxPython-${PV}" |
22 | 22 | ||
23 | inherit pypi setuptools3 pkgconfig features_check | 23 | inherit pypi setuptools3 pkgconfig features_check |
24 | 24 | ||
@@ -36,4 +36,5 @@ RDEPENDS:${PN} = "\ | |||
36 | python3-pycairo \ | 36 | python3-pycairo \ |
37 | python3-six \ | 37 | python3-six \ |
38 | python3-xml \ | 38 | python3-xml \ |
39 | " | 39 | python3-cairocffi \ |
40 | " | ||
diff --git a/meta-python/recipes-devtools/python3-zstandard/python3-zstandard_0.23.0.bb b/meta-python/recipes-devtools/python3-zstandard/python3-zstandard_0.23.0.bb new file mode 100644 index 0000000000..e44e04038c --- /dev/null +++ b/meta-python/recipes-devtools/python3-zstandard/python3-zstandard_0.23.0.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | SUMMARY = "Python bindings for interfacing with the Zstandard compression library" | ||
2 | DESCRIPTION = "This project provides Python bindings for interfacing with the \ | ||
3 | Zstandard compression library. A C extension and CFFI interface \ | ||
4 | are provided." | ||
5 | HOMEPAGE = "https://github.com/indygreg/python-zstandard" | ||
6 | BUGTRACKER = "https://github.com/indygreg/python-zstandard/issues" | ||
7 | LICENSE = "BSD-3-Clause" | ||
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3ae87c50fd64b6f0942823686871e758" | ||
9 | |||
10 | DEPENDS = "python3-cffi" | ||
11 | |||
12 | RDEPENDS_${PN} = "\ | ||
13 | libzstd (>= 1.4.0) \ | ||
14 | python3-cffi \ | ||
15 | " | ||
16 | |||
17 | inherit setuptools3 pypi | ||
18 | |||
19 | SRC_URI[sha256sum] = "b2d8c62d08e7255f68f7a740bae85b3c9b8e5466baa9cbf7f57f1cde0ac6bc09" | ||
20 | |||
21 | # Because the pyproject.toml is still in development and it contains invalid | ||
22 | # requirements. | ||
23 | INSANE_SKIP += "pep517-backend" | ||
diff --git a/meta-python/recipes-devtools/python3_oauth2client/python3-oauth2client_4.1.3.bb b/meta-python/recipes-devtools/python3_oauth2client/python3-oauth2client_4.1.3.bb deleted file mode 100644 index d87e289c5f..0000000000 --- a/meta-python/recipes-devtools/python3_oauth2client/python3-oauth2client_4.1.3.bb +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | DESCRIPTION = "OAuth 2.0 client library" | ||
2 | |||
3 | HOMEPAGE = "http://github.com/google/oauth2client/" | ||
4 | LICENSE = "Apache-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=038e1390e94fe637991fa5569daa62bc" | ||
6 | |||
7 | inherit pypi | ||
8 | |||
9 | SRC_URI[sha256sum] = "d486741e451287f69568a4d26d70d9acd73a2bbfa275746c535b4209891cccc6" | ||
10 | |||
11 | RDEPENDS:${PN} += " \ | ||
12 | python3-httplib2 \ | ||
13 | python3-pyasn1 \ | ||
14 | python3-pyasn1-modules \ | ||
15 | python3-rsa \ | ||
16 | python3-six \ | ||
17 | " | ||
18 | |||
19 | inherit setuptools3 | ||
diff --git a/meta-python/recipes-extended/python-blivet/python3-blivet/0002-run_program-support-timeout.patch b/meta-python/recipes-extended/python-blivet/python3-blivet/0002-run_program-support-timeout.patch index d277e8b0f7..b577cd4bd4 100644 --- a/meta-python/recipes-extended/python-blivet/python3-blivet/0002-run_program-support-timeout.patch +++ b/meta-python/recipes-extended/python-blivet/python3-blivet/0002-run_program-support-timeout.patch | |||
@@ -6,15 +6,19 @@ Subject: [PATCH 02/11] run_program support timeout | |||
6 | Upstream-Status: Pending | 6 | Upstream-Status: Pending |
7 | 7 | ||
8 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | 8 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
9 | |||
10 | Rebase for blivet 3.12.1. | ||
11 | |||
12 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | ||
9 | --- | 13 | --- |
10 | blivet/util.py | 70 +++++++++++++++++++++++++++++--------------------- | 14 | blivet/util.py | 70 ++++++++++++++++++++++++++++++++++------------------------ |
11 | 1 file changed, 41 insertions(+), 29 deletions(-) | 15 | 1 file changed, 41 insertions(+), 29 deletions(-) |
12 | 16 | ||
13 | diff --git a/blivet/util.py b/blivet/util.py | 17 | diff --git a/blivet/util.py b/blivet/util.py |
14 | index f8a8f88..a5da7b6 100644 | 18 | index d194a5b..5985164 100644 |
15 | --- a/blivet/util.py | 19 | --- a/blivet/util.py |
16 | +++ b/blivet/util.py | 20 | +++ b/blivet/util.py |
17 | @@ -171,6 +171,30 @@ class Path(str): | 21 | @@ -169,6 +169,30 @@ class Path(str): |
18 | def __hash__(self): | 22 | def __hash__(self): |
19 | return self._path.__hash__() | 23 | return self._path.__hash__() |
20 | 24 | ||
@@ -45,7 +49,7 @@ index f8a8f88..a5da7b6 100644 | |||
45 | 49 | ||
46 | def _run_program(argv, root='/', stdin=None, env_prune=None, stderr_to_stdout=False, binary_output=False): | 50 | def _run_program(argv, root='/', stdin=None, env_prune=None, stderr_to_stdout=False, binary_output=False): |
47 | if env_prune is None: | 51 | if env_prune is None: |
48 | @@ -193,35 +217,23 @@ def _run_program(argv, root='/', stdin=None, env_prune=None, stderr_to_stdout=Fa | 52 | @@ -191,35 +215,23 @@ def _run_program(argv, root='/', stdin=None, env_prune=None, stderr_to_stdout=Fa |
49 | stderr_dir = subprocess.STDOUT | 53 | stderr_dir = subprocess.STDOUT |
50 | else: | 54 | else: |
51 | stderr_dir = subprocess.PIPE | 55 | stderr_dir = subprocess.PIPE |
@@ -58,7 +62,7 @@ index f8a8f88..a5da7b6 100644 | |||
58 | - preexec_fn=chroot, cwd=root, env=env) | 62 | - preexec_fn=chroot, cwd=root, env=env) |
59 | - | 63 | - |
60 | - out, err = proc.communicate() | 64 | - out, err = proc.communicate() |
61 | - if not binary_output and six.PY3: | 65 | - if not binary_output: |
62 | - out = out.decode("utf-8") | 66 | - out = out.decode("utf-8") |
63 | - if out: | 67 | - if out: |
64 | - if not stderr_to_stdout: | 68 | - if not stderr_to_stdout: |
@@ -85,7 +89,8 @@ index f8a8f88..a5da7b6 100644 | |||
85 | + stderr=stderr_dir, | 89 | + stderr=stderr_dir, |
86 | + close_fds=True, | 90 | + close_fds=True, |
87 | + preexec_fn=chroot, cwd=root, env=env) | 91 | + preexec_fn=chroot, cwd=root, env=env) |
88 | + if not binary_output and six.PY3: | 92 | + |
93 | + if not binary_output: | ||
89 | + out = out.decode("utf-8") | 94 | + out = out.decode("utf-8") |
90 | + if out: | 95 | + if out: |
91 | + if not stderr_to_stdout: | 96 | + if not stderr_to_stdout: |
@@ -94,7 +99,6 @@ index f8a8f88..a5da7b6 100644 | |||
94 | + program_log.info("%s", line) | 99 | + program_log.info("%s", line) |
95 | + | 100 | + |
96 | + return (res, out) | 101 | + return (res, out) |
97 | + | ||
98 | 102 | ||
99 | 103 | ||
100 | def run_program(*args, **kwargs): | 104 | def run_program(*args, **kwargs): |
diff --git a/meta-python/recipes-extended/python-blivet/python3-blivet_3.9.2.bb b/meta-python/recipes-extended/python-blivet/python3-blivet_3.12.1.bb index f0ce981480..bf492b3d57 100644 --- a/meta-python/recipes-extended/python-blivet/python3-blivet_3.9.2.bb +++ b/meta-python/recipes-extended/python-blivet/python3-blivet_3.12.1.bb | |||
@@ -1,5 +1,5 @@ | |||
1 | DESCRIPTION = "A python module for system storage configuration" | 1 | DESCRIPTION = "A python module for system storage configuration" |
2 | HOMEPAGE = "http://fedoraproject.org/wiki/blivet" | 2 | HOMEPAGE = "https://fedoraproject.org/wiki/blivet" |
3 | LICENSE = "LGPL-2.0-or-later" | 3 | LICENSE = "LGPL-2.0-or-later" |
4 | SECTION = "devel/python" | 4 | SECTION = "devel/python" |
5 | 5 | ||
@@ -16,7 +16,7 @@ SRC_URI += "\ | |||
16 | file://0010-invoking-mkfs-with-infinite-timeout.patch \ | 16 | file://0010-invoking-mkfs-with-infinite-timeout.patch \ |
17 | file://0011-invoking-dd-with-infinite-timeout.patch \ | 17 | file://0011-invoking-dd-with-infinite-timeout.patch \ |
18 | " | 18 | " |
19 | SRC_URI[sha256sum] = "9d97e37ebba01db28a1e6155cbd71c54fb55e9c2be5921982dc85bed316d8cfe" | 19 | SRC_URI[sha256sum] = "54775ba212d1574b1b0750ce147f0d3cf3b5d73aaf040d172283edb57db4ba15" |
20 | 20 | ||
21 | inherit pypi features_check systemd setuptools3_legacy | 21 | inherit pypi features_check systemd setuptools3_legacy |
22 | 22 | ||
@@ -24,7 +24,7 @@ REQUIRED_DISTRO_FEATURES = "systemd" | |||
24 | 24 | ||
25 | RDEPENDS:${PN} += "python3-pykickstart python3-pyudev \ | 25 | RDEPENDS:${PN} += "python3-pykickstart python3-pyudev \ |
26 | parted python3-pyparted multipath-tools \ | 26 | parted python3-pyparted multipath-tools \ |
27 | lsof cryptsetup libblockdev \ | 27 | lsof cryptsetup libblockdev libblockdev-bin \ |
28 | libbytesize \ | 28 | libbytesize \ |
29 | " | 29 | " |
30 | 30 | ||
diff --git a/meta-python/recipes-extended/python-blivet/python3-blivetgui_2.5.0.bb b/meta-python/recipes-extended/python-blivet/python3-blivetgui_2.6.0.bb index 124f36c6e0..79bee63d08 100644 --- a/meta-python/recipes-extended/python-blivet/python3-blivetgui_2.5.0.bb +++ b/meta-python/recipes-extended/python-blivet/python3-blivetgui_2.6.0.bb | |||
@@ -6,9 +6,8 @@ SECTION = "devel/python" | |||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
7 | 7 | ||
8 | SRC_URI = "git://github.com/storaged-project/blivet-gui.git;branch=main;protocol=https" | 8 | SRC_URI = "git://github.com/storaged-project/blivet-gui.git;branch=main;protocol=https" |
9 | SRCREV = "626b44610a30ad26734dd20642538caab5a9178a" | 9 | SRCREV = "7cec4bd48af4c8f7beb1a74bac751c3d520dedf1" |
10 | 10 | ||
11 | S = "${WORKDIR}/git" | ||
12 | 11 | ||
13 | inherit features_check setuptools3 | 12 | inherit features_check setuptools3 |
14 | REQUIRED_DISTRO_FEATURES = "x11 systemd gobject-introspection-data" | 13 | REQUIRED_DISTRO_FEATURES = "x11 systemd gobject-introspection-data" |
diff --git a/meta-python/recipes-extended/python-cson/python3-cson_git.bb b/meta-python/recipes-extended/python-cson/python3-cson_git.bb index 489733c767..4ffe68aab6 100644 --- a/meta-python/recipes-extended/python-cson/python3-cson_git.bb +++ b/meta-python/recipes-extended/python-cson/python3-cson_git.bb | |||
@@ -12,7 +12,6 @@ SRCREV = "69090778bccc5ed124342ba288597fbb2bfa9f39" | |||
12 | SRC_URI = "git://github.com/gt3389b/python-cson.git;branch=master;protocol=https \ | 12 | SRC_URI = "git://github.com/gt3389b/python-cson.git;branch=master;protocol=https \ |
13 | file://0001-setup.py-Do-not-poke-at-git-describe-to-find-version.patch" | 13 | file://0001-setup.py-Do-not-poke-at-git-describe-to-find-version.patch" |
14 | 14 | ||
15 | S = "${WORKDIR}/git" | ||
16 | 15 | ||
17 | RDEPENDS:${PN} = "python3-json" | 16 | RDEPENDS:${PN} = "python3-json" |
18 | 17 | ||
diff --git a/meta-python/recipes-extended/python-meh/python3-meh_0.51.bb b/meta-python/recipes-extended/python-meh/python3-meh_0.52.bb index e83514af1b..80f9881b58 100644 --- a/meta-python/recipes-extended/python-meh/python3-meh_0.51.bb +++ b/meta-python/recipes-extended/python-meh/python3-meh_0.52.bb | |||
@@ -7,10 +7,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | |||
7 | 7 | ||
8 | inherit setuptools3_legacy | 8 | inherit setuptools3_legacy |
9 | 9 | ||
10 | S = "${WORKDIR}/git" | ||
11 | 10 | ||
12 | SRC_URI = "git://github.com/rhinstaller/python-meh.git;protocol=https;branch=master" | 11 | SRC_URI = "git://github.com/rhinstaller/python-meh.git;protocol=https;branch=master" |
13 | 12 | ||
14 | SRCREV = "eb5d4adc3b838704b6a68f0f77ada2063a11ab1b" | 13 | SRCREV = "f0fcc3ce1943dce9cf958f4a2f7398daff619c9f" |
15 | 14 | ||
16 | FILES:${PN} += "${datadir}/python-meh" | 15 | FILES:${PN} += "${datadir}/python-meh" |
diff --git a/meta-python/recipes-extended/python-pyephem/python3-pyephem_4.1.5.bb b/meta-python/recipes-extended/python-pyephem/python3-pyephem_4.2.bb index 8c9262afb8..0817bc732a 100644 --- a/meta-python/recipes-extended/python-pyephem/python3-pyephem_4.1.5.bb +++ b/meta-python/recipes-extended/python-pyephem/python3-pyephem_4.2.bb | |||
@@ -1,10 +1,10 @@ | |||
1 | SUMMARY = "PyEphem astronomical calculations" | 1 | SUMMARY = "PyEphem astronomical calculations" |
2 | HOMEPAGE = "http://rhodesmill.org/pyephem/" | 2 | HOMEPAGE = "https://rhodesmill.org/pyephem/" |
3 | 3 | ||
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=9c930b395b435b00bb13ec83b0c99f40" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=9c930b395b435b00bb13ec83b0c99f40" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "0c64a8aa401574c75942045b9af70d1656e14c5366151c0cbb400cbeedc2362a" | 7 | SRC_URI[sha256sum] = "3c4fd64f453e8f40cf862420a70da95a71b6487ace75e8e0cf85d73707db6065" |
8 | 8 | ||
9 | PYPI_PACKAGE = "ephem" | 9 | PYPI_PACKAGE = "ephem" |
10 | 10 | ||
diff --git a/meta-python/recipes-extended/python-pykickstart/files/0001-support-authentication-for-kickstart.patch b/meta-python/recipes-extended/python-pykickstart/files/0001-support-authentication-for-kickstart.patch index 309a00122a..ed656f6c6a 100644 --- a/meta-python/recipes-extended/python-pykickstart/files/0001-support-authentication-for-kickstart.patch +++ b/meta-python/recipes-extended/python-pykickstart/files/0001-support-authentication-for-kickstart.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 3540ddcc7448dc784b65c74424c8a25132cb8534 Mon Sep 17 00:00:00 2001 | 1 | From 80190be8d9c82ed816fb571abef416a1fbfb9a35 Mon Sep 17 00:00:00 2001 |
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | 2 | From: Hongxu Jia <hongxu.jia@windriver.com> |
3 | Date: Tue, 31 Jul 2018 17:24:47 +0800 | 3 | Date: Tue, 31 Jul 2018 17:24:47 +0800 |
4 | Subject: [PATCH] support authentication for kickstart | 4 | Subject: [PATCH] support authentication for kickstart |
@@ -12,11 +12,14 @@ which the invoker could parse this specific error. | |||
12 | Upstream-Status: Inappropriate [oe specific] | 12 | Upstream-Status: Inappropriate [oe specific] |
13 | 13 | ||
14 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | 14 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
15 | |||
16 | Rebase to 3.62 | ||
17 | Signed-off-by: Mingli Yu <mingli.yu@windriver.com> | ||
15 | --- | 18 | --- |
16 | pykickstart/errors.py | 17 +++++++++++++++++ | 19 | pykickstart/errors.py | 17 +++++++++++++++++ |
17 | pykickstart/load.py | 32 +++++++++++++++++++++++++++----- | 20 | pykickstart/load.py | 33 ++++++++++++++++++++++++++++----- |
18 | pykickstart/parser.py | 4 ++-- | 21 | pykickstart/parser.py | 4 ++-- |
19 | 3 files changed, 46 insertions(+), 7 deletions(-) | 22 | 3 files changed, 47 insertions(+), 7 deletions(-) |
20 | 23 | ||
21 | diff --git a/pykickstart/errors.py b/pykickstart/errors.py | 24 | diff --git a/pykickstart/errors.py b/pykickstart/errors.py |
22 | index 8294f59..3d20bf8 100644 | 25 | index 8294f59..3d20bf8 100644 |
@@ -51,7 +54,7 @@ index 8294f59..3d20bf8 100644 | |||
51 | + def __str__(self): | 54 | + def __str__(self): |
52 | + return self.value | 55 | + return self.value |
53 | diff --git a/pykickstart/load.py b/pykickstart/load.py | 56 | diff --git a/pykickstart/load.py b/pykickstart/load.py |
54 | index eb76b65..f51cf08 100644 | 57 | index e8301a4..45d402a 100644 |
55 | --- a/pykickstart/load.py | 58 | --- a/pykickstart/load.py |
56 | +++ b/pykickstart/load.py | 59 | +++ b/pykickstart/load.py |
57 | @@ -18,9 +18,11 @@ | 60 | @@ -18,9 +18,11 @@ |
@@ -85,7 +88,7 @@ index eb76b65..f51cf08 100644 | |||
85 | else: | 88 | else: |
86 | return _load_file(location) | 89 | return _load_file(location) |
87 | 90 | ||
88 | @@ -69,11 +71,31 @@ def load_to_file(location, destination): | 91 | @@ -69,11 +71,32 @@ def load_to_file(location, destination): |
89 | _copy_file(location, destination) | 92 | _copy_file(location, destination) |
90 | return destination | 93 | return destination |
91 | 94 | ||
@@ -111,19 +114,20 @@ index eb76b65..f51cf08 100644 | |||
111 | + | 114 | + |
112 | +def _load_url(location, user=None, passwd=None): | 115 | +def _load_url(location, user=None, passwd=None): |
113 | '''Load a location (URL or filename) and return contents as string''' | 116 | '''Load a location (URL or filename) and return contents as string''' |
114 | + auth = _get_auth(location, user=user, passwd=passwd) | ||
115 | 117 | ||
118 | + auth = _get_auth(location, user=user, passwd=passwd) | ||
119 | + | ||
116 | try: | 120 | try: |
117 | - request = requests.get(location, verify=SSL_VERIFY) | 121 | - request = requests.get(location, verify=SSL_VERIFY, timeout=120) |
118 | + request = requests.get(location, verify=SSL_VERIFY, auth=auth) | 122 | + request = requests.get(location, verify=SSL_VERIFY, auth=auth, timeout=120) |
119 | except SSLError as e: | 123 | except SSLError as e: |
120 | raise KickstartError(_('Error securely accessing URL "%s"') % location + ': {e}'.format(e=str(e))) | 124 | raise KickstartError(_('Error securely accessing URL "%s"') % location + ': {e}'.format(e=str(e))) |
121 | except RequestException as e: | 125 | except RequestException as e: |
122 | diff --git a/pykickstart/parser.py b/pykickstart/parser.py | 126 | diff --git a/pykickstart/parser.py b/pykickstart/parser.py |
123 | index 7edf8aa..46c5299 100644 | 127 | index 12b0467..351dc1b 100644 |
124 | --- a/pykickstart/parser.py | 128 | --- a/pykickstart/parser.py |
125 | +++ b/pykickstart/parser.py | 129 | +++ b/pykickstart/parser.py |
126 | @@ -790,7 +790,7 @@ class KickstartParser(object): | 130 | @@ -831,7 +831,7 @@ class KickstartParser(object): |
127 | i = PutBackIterator(s.splitlines(True) + [""]) | 131 | i = PutBackIterator(s.splitlines(True) + [""]) |
128 | self._stateMachine(i) | 132 | self._stateMachine(i) |
129 | 133 | ||
@@ -132,7 +136,7 @@ index 7edf8aa..46c5299 100644 | |||
132 | """Process a kickstart file, given by the filename f.""" | 136 | """Process a kickstart file, given by the filename f.""" |
133 | if reset: | 137 | if reset: |
134 | self._reset() | 138 | self._reset() |
135 | @@ -811,7 +811,7 @@ class KickstartParser(object): | 139 | @@ -852,7 +852,7 @@ class KickstartParser(object): |
136 | self.currentdir[self._includeDepth] = cd | 140 | self.currentdir[self._includeDepth] = cd |
137 | 141 | ||
138 | try: | 142 | try: |
diff --git a/meta-python/recipes-extended/python-pykickstart/files/0002-pykickstart-parser.py-add-lock-for-readKickstart-and.patch b/meta-python/recipes-extended/python-pykickstart/files/0002-pykickstart-parser.py-add-lock-for-readKickstart-and.patch index f5483db825..cf5dd95d48 100644 --- a/meta-python/recipes-extended/python-pykickstart/files/0002-pykickstart-parser.py-add-lock-for-readKickstart-and.patch +++ b/meta-python/recipes-extended/python-pykickstart/files/0002-pykickstart-parser.py-add-lock-for-readKickstart-and.patch | |||
@@ -1,8 +1,8 @@ | |||
1 | From 62fdead139edb0f29b2f222efcb8f39be15b057e Mon Sep 17 00:00:00 2001 | 1 | From 42076483ed38d50400156cbb75d4c9b0180e6957 Mon Sep 17 00:00:00 2001 |
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | 2 | From: Hongxu Jia <hongxu.jia@windriver.com> |
3 | Date: Mon, 30 Jul 2018 15:47:13 +0800 | 3 | Date: Mon, 30 Jul 2018 15:47:13 +0800 |
4 | Subject: [PATCH 2/4] pykickstart/parser.py: add lock for readKickstart and | 4 | Subject: [PATCH] pykickstart/parser.py: add lock for readKickstart and support |
5 | support https without certification | 5 | https without certification |
6 | 6 | ||
7 | - Add lock for readKickstart to fix race issue | 7 | - Add lock for readKickstart to fix race issue |
8 | 8 | ||
@@ -13,15 +13,18 @@ Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> | |||
13 | --- | 13 | --- |
14 | Upstream-Status: Pending | 14 | Upstream-Status: Pending |
15 | 15 | ||
16 | Rebase to 3.62 | ||
17 | Signed-off-by: Mingli Yu <mingli.yu@windriver.com> | ||
18 | --- | ||
16 | pykickstart/load.py | 2 +- | 19 | pykickstart/load.py | 2 +- |
17 | pykickstart/parser.py | 18 ++++++++++++++++++ | 20 | pykickstart/parser.py | 18 ++++++++++++++++++ |
18 | 2 files changed, 19 insertions(+), 1 deletion(-) | 21 | 2 files changed, 19 insertions(+), 1 deletion(-) |
19 | 22 | ||
20 | diff --git a/pykickstart/load.py b/pykickstart/load.py | 23 | diff --git a/pykickstart/load.py b/pykickstart/load.py |
21 | index 8da8051..e856c8d 100644 | 24 | index 45d402a..6eeffde 100644 |
22 | --- a/pykickstart/load.py | 25 | --- a/pykickstart/load.py |
23 | +++ b/pykickstart/load.py | 26 | +++ b/pykickstart/load.py |
24 | @@ -32,7 +32,7 @@ log = logging.getLogger("anaconda.main") | 27 | @@ -28,7 +28,7 @@ from requests.exceptions import SSLError, RequestException |
25 | 28 | ||
26 | is_url = lambda location: '://' in location # RFC 3986 | 29 | is_url = lambda location: '://' in location # RFC 3986 |
27 | 30 | ||
@@ -31,10 +34,10 @@ index 8da8051..e856c8d 100644 | |||
31 | def load_to_str(location, user=None, passwd=None): | 34 | def load_to_str(location, user=None, passwd=None): |
32 | '''Load a destination URL or file into a string. | 35 | '''Load a destination URL or file into a string. |
33 | diff --git a/pykickstart/parser.py b/pykickstart/parser.py | 36 | diff --git a/pykickstart/parser.py b/pykickstart/parser.py |
34 | index b95ba90..a55a9a3 100644 | 37 | index 351dc1b..aef59ca 100644 |
35 | --- a/pykickstart/parser.py | 38 | --- a/pykickstart/parser.py |
36 | +++ b/pykickstart/parser.py | 39 | +++ b/pykickstart/parser.py |
37 | @@ -51,6 +51,20 @@ from pykickstart.i18n import _ | 40 | @@ -54,6 +54,20 @@ from pykickstart.i18n import _ |
38 | STATE_END = "end" | 41 | STATE_END = "end" |
39 | STATE_COMMANDS = "commands" | 42 | STATE_COMMANDS = "commands" |
40 | 43 | ||
@@ -55,7 +58,7 @@ index b95ba90..a55a9a3 100644 | |||
55 | def _preprocessStateMachine(lineIter): | 58 | def _preprocessStateMachine(lineIter): |
56 | l = None | 59 | l = None |
57 | lineno = 0 | 60 | lineno = 0 |
58 | @@ -791,6 +805,10 @@ class KickstartParser(object): | 61 | @@ -832,6 +846,10 @@ class KickstartParser(object): |
59 | self._stateMachine(i) | 62 | self._stateMachine(i) |
60 | 63 | ||
61 | def readKickstart(self, f, reset=True, username=None, password=None): | 64 | def readKickstart(self, f, reset=True, username=None, password=None): |
diff --git a/meta-python/recipes-extended/python-pykickstart/files/0004-load.py-retry-to-invoke-request-with-timeout.patch b/meta-python/recipes-extended/python-pykickstart/files/0004-load.py-retry-to-invoke-request-with-timeout.patch index abe2c87e00..e2c65ee957 100644 --- a/meta-python/recipes-extended/python-pykickstart/files/0004-load.py-retry-to-invoke-request-with-timeout.patch +++ b/meta-python/recipes-extended/python-pykickstart/files/0004-load.py-retry-to-invoke-request-with-timeout.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 737e9a7c11233183f48ce6c83d38b504c8ffed12 Mon Sep 17 00:00:00 2001 | 1 | From d5e6304dff890b39a53a96f03819aa118deb701a Mon Sep 17 00:00:00 2001 |
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | 2 | From: Hongxu Jia <hongxu.jia@windriver.com> |
3 | Date: Mon, 30 Jul 2018 15:52:21 +0800 | 3 | Date: Mon, 30 Jul 2018 15:52:21 +0800 |
4 | Subject: [PATCH] load.py: retry to invoke request with timeout | 4 | Subject: [PATCH] load.py: retry to invoke request with timeout |
@@ -11,12 +11,15 @@ network is up, the fetch works. | |||
11 | Upstream-Status: Inappropriate [oe specific] | 11 | Upstream-Status: Inappropriate [oe specific] |
12 | 12 | ||
13 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | 13 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
14 | |||
15 | Rebase to 3.62 | ||
16 | Signed-off-by: Mingli Yu <mingli.yu@windriver.com> | ||
14 | --- | 17 | --- |
15 | pykickstart/load.py | 31 +++++++++++++++++++++++++++++++ | 18 | pykickstart/load.py | 30 ++++++++++++++++++++++++++++++ |
16 | 1 file changed, 31 insertions(+) | 19 | 1 file changed, 30 insertions(+) |
17 | 20 | ||
18 | diff --git a/pykickstart/load.py b/pykickstart/load.py | 21 | diff --git a/pykickstart/load.py b/pykickstart/load.py |
19 | index 58faba6..e856c8d 100644 | 22 | index 6eeffde..da0032f 100644 |
20 | --- a/pykickstart/load.py | 23 | --- a/pykickstart/load.py |
21 | +++ b/pykickstart/load.py | 24 | +++ b/pykickstart/load.py |
22 | @@ -20,12 +20,16 @@ | 25 | @@ -20,12 +20,16 @@ |
@@ -66,11 +69,10 @@ index 58faba6..e856c8d 100644 | |||
66 | def _get_auth(location, user=None, passwd=None): | 69 | def _get_auth(location, user=None, passwd=None): |
67 | 70 | ||
68 | auth = None | 71 | auth = None |
69 | @@ -92,6 +119,10 @@ def _get_auth(location, user=None, passwd=None): | 72 | @@ -93,6 +120,9 @@ def _get_auth(location, user=None, passwd=None): |
70 | |||
71 | def _load_url(location, user=None, passwd=None): | 73 | def _load_url(location, user=None, passwd=None): |
72 | '''Load a location (URL or filename) and return contents as string''' | 74 | '''Load a location (URL or filename) and return contents as string''' |
73 | + | 75 | |
74 | + if not _access_url(location): | 76 | + if not _access_url(location): |
75 | + raise KickstartError(_("Connection %s failed" % location)) | 77 | + raise KickstartError(_("Connection %s failed" % location)) |
76 | + | 78 | + |
diff --git a/meta-python/recipes-extended/python-pykickstart/files/run-ptest b/meta-python/recipes-extended/python-pykickstart/files/run-ptest new file mode 100755 index 0000000000..289e68b054 --- /dev/null +++ b/meta-python/recipes-extended/python-pykickstart/files/run-ptest | |||
@@ -0,0 +1,3 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake --deselect tests/test_packages.py::AddGroupsAndEnvironment_TestCase --deselect tests/commands/test_reboot.py::Reboot_TestCase | ||
diff --git a/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.48.bb b/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.48.bb deleted file mode 100644 index 953068f7c3..0000000000 --- a/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.48.bb +++ /dev/null | |||
@@ -1,25 +0,0 @@ | |||
1 | DESCRIPTION = "A python library for manipulating kickstart files" | ||
2 | HOMEPAGE = "http://fedoraproject.org/wiki/pykickstart" | ||
3 | LICENSE = "GPL-2.0-or-later" | ||
4 | |||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" | ||
6 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" | ||
7 | |||
8 | DEPENDS = "python3" | ||
9 | RDEPENDS:${PN} = "python3 \ | ||
10 | python3-requests \ | ||
11 | python3-six \ | ||
12 | " | ||
13 | |||
14 | S = "${WORKDIR}/git" | ||
15 | SRC_URI = "git://github.com/rhinstaller/pykickstart.git;protocol=https;branch=master \ | ||
16 | file://0001-support-authentication-for-kickstart.patch \ | ||
17 | file://0002-pykickstart-parser.py-add-lock-for-readKickstart-and.patch \ | ||
18 | file://0003-comment-out-sections-shutdown-and-environment-in-gen.patch \ | ||
19 | file://0004-load.py-retry-to-invoke-request-with-timeout.patch \ | ||
20 | " | ||
21 | SRCREV = "fa6c80c0e5c6bee29d089899a10d26e6f7f8afd8" | ||
22 | |||
23 | UPSTREAM_CHECK_GITTAGREGEX = "r(?P<pver>\d+(\.\d+)+(-\d+)*)" | ||
24 | |||
25 | inherit setuptools3 | ||
diff --git a/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.63.bb b/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.63.bb new file mode 100644 index 0000000000..830e46a63c --- /dev/null +++ b/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.63.bb | |||
@@ -0,0 +1,39 @@ | |||
1 | DESCRIPTION = "A python library for manipulating kickstart files" | ||
2 | HOMEPAGE = "https://fedoraproject.org/wiki/pykickstart" | ||
3 | LICENSE = "GPL-2.0-or-later" | ||
4 | |||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=81bcece21748c91ba9992349a91ec11d" | ||
6 | |||
7 | inherit python_setuptools_build_meta ptest | ||
8 | |||
9 | RDEPENDS:${PN} = "python3 \ | ||
10 | python3-requests \ | ||
11 | python3-six \ | ||
12 | " | ||
13 | |||
14 | RDEPENDS:${PN}-ptest += " \ | ||
15 | python3-pytest \ | ||
16 | python3-unittest-automake-output \ | ||
17 | " | ||
18 | |||
19 | do_install_ptest() { | ||
20 | install -d ${D}${PTEST_PATH}/tests | ||
21 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests | ||
22 | for file in `grep -Rl unittest.main ${D}${PTEST_PATH}/tests/`; do | ||
23 | dirname=`dirname $file` | ||
24 | basename=`basename $file` | ||
25 | [ $basename != "__init__.py" ] && mv $file ${dirname}/test_${basename} | ||
26 | done | ||
27 | } | ||
28 | |||
29 | SRC_URI = "git://github.com/rhinstaller/pykickstart.git;protocol=https;branch=master;tag=r${PV} \ | ||
30 | file://0001-support-authentication-for-kickstart.patch \ | ||
31 | file://0002-pykickstart-parser.py-add-lock-for-readKickstart-and.patch \ | ||
32 | file://0003-comment-out-sections-shutdown-and-environment-in-gen.patch \ | ||
33 | file://0004-load.py-retry-to-invoke-request-with-timeout.patch \ | ||
34 | file://run-ptest \ | ||
35 | " | ||
36 | SRCREV = "6e0d1238cb4696a9040072a5a28a706e5775c552" | ||
37 | |||
38 | UPSTREAM_CHECK_GITTAGREGEX = "r(?P<pver>\d+(\.\d+)+(-\d+)*)" | ||
39 | |||
diff --git a/meta-python/recipes-extended/python-pyparted/python3-pyparted_3.12.0.bb b/meta-python/recipes-extended/python-pyparted/python3-pyparted_3.13.0.bb index 7a0d3987d2..0f7065f5ae 100644 --- a/meta-python/recipes-extended/python-pyparted/python3-pyparted_3.12.0.bb +++ b/meta-python/recipes-extended/python-pyparted/python3-pyparted_3.13.0.bb | |||
@@ -5,11 +5,11 @@ SUMMARY = "Python bindings for libparted" | |||
5 | HOMEPAGE = "https://github.com/rhinstaller/pyparted" | 5 | HOMEPAGE = "https://github.com/rhinstaller/pyparted" |
6 | LICENSE = "GPL-2.0-or-later" | 6 | LICENSE = "GPL-2.0-or-later" |
7 | LIC_FILES_CHKSUM = "\ | 7 | LIC_FILES_CHKSUM = "\ |
8 | file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b \ | 8 | file://LICENSE;md5=8ca43cbc842c2336e835926c2166c28b \ |
9 | file://src/_pedmodule.c;beginline=10;endline=22;md5=9e53304db812b80d0939e11bb69dcab2 \ | 9 | file://src/_pedmodule.c;beginline=10;endline=22;md5=c4b9f810cd53b16ff269447fb8af6c3d \ |
10 | " | 10 | " |
11 | 11 | ||
12 | SRC_URI[sha256sum] = "da985e116beb733371feb605b174db9eec8bd0eedffc8f739f8e603f51b521e7" | 12 | SRC_URI[sha256sum] = "443b59eb9ac63b8ca87094e02376646e172c7ea075f955f105889ca3485b06fd" |
13 | 13 | ||
14 | inherit pkgconfig pypi setuptools3 | 14 | inherit pkgconfig pypi setuptools3 |
15 | 15 | ||
diff --git a/meta-python/recipes-extended/python-pytesseract/pytesseract_0.3.13.bb b/meta-python/recipes-extended/python-pytesseract/pytesseract_0.3.13.bb new file mode 100644 index 0000000000..0d8cfcb408 --- /dev/null +++ b/meta-python/recipes-extended/python-pytesseract/pytesseract_0.3.13.bb | |||
@@ -0,0 +1,16 @@ | |||
1 | SUMMARY = "Python-tesseract is an optical character recognition (OCR) tool for python. That is, it will recognize and "read" the text embedded in images." | ||
2 | |||
3 | HOMEPAGE = "https://github.com/madmaze/pytesseract" | ||
4 | |||
5 | LICENSE = "Apache-2.0" | ||
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" | ||
7 | |||
8 | SRC_URI[md5sum] = "73f9645e59b437f064d05882b95832ce" | ||
9 | |||
10 | RDEPENDS:${PN}:append = " python3-packaging tesseract" | ||
11 | |||
12 | PYPI_PACKAGE = "pytesseract" | ||
13 | |||
14 | inherit pypi setuptools3 | ||
15 | |||
16 | BBCLASSEXTEND = "native" | ||
diff --git a/meta-python/recipes-extended/python-rich/python3-rich_13.7.1.bb b/meta-python/recipes-extended/python-rich/python3-rich_14.0.0.bb index 27bc95428f..8a4d6b843e 100644 --- a/meta-python/recipes-extended/python-rich/python3-rich_13.7.1.bb +++ b/meta-python/recipes-extended/python-rich/python3-rich_14.0.0.bb | |||
@@ -2,14 +2,20 @@ SUMMARY = "Rich is a Python library for rich text and beautiful formatting in th | |||
2 | DESCRIPTION = "The Rich API makes it easy to add color and style to terminal output. \ | 2 | DESCRIPTION = "The Rich API makes it easy to add color and style to terminal output. \ |
3 | Rich can also render pretty tables, progress bars, markdown, syntax highlighted source code, \ | 3 | Rich can also render pretty tables, progress bars, markdown, syntax highlighted source code, \ |
4 | tracebacks, and more." | 4 | tracebacks, and more." |
5 | HOMEPAGE="https://github.com/Textualize/rich" | 5 | HOMEPAGE = "https://github.com/Textualize/rich" |
6 | SECTION = "devel/python" | 6 | SECTION = "devel/python" |
7 | LICENSE = "MIT" | 7 | LICENSE = "MIT" |
8 | 8 | ||
9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b5f0b94fbc94f5ad9ae4efcf8a778303" | 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b5f0b94fbc94f5ad9ae4efcf8a778303" |
10 | 10 | ||
11 | SRC_URI[sha256sum] = "9be308cb1fe2f1f57d67ce99e95af38a1e2bc71ad9813b0e247cf7ffbcc3a432" | 11 | SRC_URI[sha256sum] = "82f1bc23a6a21ebca4ae0c45af9bdbc492ed20231dcb63f297d6d1021a9d5725" |
12 | 12 | ||
13 | inherit pypi python_poetry_core | 13 | inherit pypi python_poetry_core |
14 | 14 | ||
15 | RDEPENDS:${PN} = "python3-pygments" | 15 | RDEPENDS:${PN} = "python3-html \ |
16 | python3-image \ | ||
17 | python3-pygments \ | ||
18 | python3-unixadmin \ | ||
19 | " | ||
20 | |||
21 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-python/recipes-extended/python3-gpt-image/python3-gpt-image_0.9.0.bb b/meta-python/recipes-extended/python3-gpt-image/python3-gpt-image_0.9.0.bb new file mode 100644 index 0000000000..941d92f55b --- /dev/null +++ b/meta-python/recipes-extended/python3-gpt-image/python3-gpt-image_0.9.0.bb | |||
@@ -0,0 +1,17 @@ | |||
1 | DESCRIPTION = "GPT Image is used to Create GUID Partition Table disk images \ | ||
2 | on local disks. Written in pure Python gpt-image allows GPT disk images to \ | ||
3 | be built on a local filesystem and exported to a destination device." | ||
4 | SUMMARY = "GPT Image (pure python)" | ||
5 | LICENSE = "MIT" | ||
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=db5f8de88d13d0917db21293d0e82e1d" | ||
7 | |||
8 | DEPENDS += "python3-pip" | ||
9 | |||
10 | PYPI_PACKAGE = "gpt_image" | ||
11 | SRC_URI[sha256sum] = "c06d8efc7cf8d6f3954c1c3d8544f494aa95da37fe04e38a9699ad3f57455f7e" | ||
12 | |||
13 | inherit pypi python3native python_setuptools_build_meta ptest-python-pytest | ||
14 | |||
15 | do_install:append() { | ||
16 | rm -fr ${D}${libdir}/python*/site-packages/gpt-image/__pycache__ | ||
17 | } | ||
diff --git a/meta-python/recipes-extended/python3-portalocker/python3-portalocker_2.8.2.bb b/meta-python/recipes-extended/python3-portalocker/python3-portalocker_3.1.1.bb index c45a3fcda2..7a36ab74e3 100644 --- a/meta-python/recipes-extended/python3-portalocker/python3-portalocker_2.8.2.bb +++ b/meta-python/recipes-extended/python3-portalocker/python3-portalocker_3.1.1.bb | |||
@@ -4,7 +4,7 @@ LICENSE = "BSD-3-Clause" | |||
4 | 4 | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=152634da660a374ca18c0734ed07c63c" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=152634da660a374ca18c0734ed07c63c" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "2b035aa7828e46c58e9b31390ee1f169b98e1066ab10b9a6a861fe7e25ee4f33" | 7 | SRC_URI[sha256sum] = "ec20f6dda2ad9ce89fa399a5f31f4f1495f515958f0cb7ca6543cef7bb5a749e" |
8 | 8 | ||
9 | DEPENDS += "python3-setuptools-scm-native" | 9 | DEPENDS += "python3-setuptools-scm-native" |
10 | 10 | ||
diff --git a/meta-python/recipes-extended/python3-pydot/python3-pydot_2.0.0.bb b/meta-python/recipes-extended/python3-pydot/python3-pydot_2.0.0.bb deleted file mode 100644 index f0a6abd733..0000000000 --- a/meta-python/recipes-extended/python3-pydot/python3-pydot_2.0.0.bb +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | SUMMARY = "pydot is is an interface to Graphviz." | ||
2 | HOMEPAGE = "https://github.com/pydot/pydot" | ||
3 | |||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3f6fa041dfcc7ff7747cfceaa34a3180" | ||
6 | |||
7 | SRC_URI[sha256sum] = "60246af215123fa062f21cd791be67dda23a6f280df09f68919e637a1e4f3235" | ||
8 | |||
9 | inherit pypi setuptools3 | ||
10 | |||
11 | RDEPENDS:${PN} = "graphviz python3-pyparsing" | ||
diff --git a/meta-python/recipes-extended/python3-pydot/python3-pydot_4.0.1.bb b/meta-python/recipes-extended/python3-pydot/python3-pydot_4.0.1.bb new file mode 100644 index 0000000000..d62d5014de --- /dev/null +++ b/meta-python/recipes-extended/python3-pydot/python3-pydot_4.0.1.bb | |||
@@ -0,0 +1,11 @@ | |||
1 | SUMMARY = "pydot is is an interface to Graphviz." | ||
2 | HOMEPAGE = "https://github.com/pydot/pydot" | ||
3 | |||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSES/MIT.txt;md5=7dda4e90ded66ab88b86f76169f28663" | ||
6 | |||
7 | SRC_URI[sha256sum] = "c2148f681c4a33e08bf0e26a9e5f8e4099a82e0e2a068098f32ce86577364ad5" | ||
8 | |||
9 | inherit pypi python_setuptools_build_meta | ||
10 | |||
11 | RDEPENDS:${PN} = "graphviz python3-pyparsing" | ||
diff --git a/meta-python/recipes-extended/pywbem/python3-pywbem_1.7.2.bb b/meta-python/recipes-extended/pywbem/python3-pywbem_1.7.3.bb index 1fdcc98ca7..59c9914bc2 100644 --- a/meta-python/recipes-extended/pywbem/python3-pywbem_1.7.2.bb +++ b/meta-python/recipes-extended/pywbem/python3-pywbem_1.7.3.bb | |||
@@ -12,11 +12,11 @@ at http://www.dmtf.org/standards/wbem. \ | |||
12 | \ | 12 | \ |
13 | It also provides a Python provider interface, and is the fastest and easiest \ | 13 | It also provides a Python provider interface, and is the fastest and easiest \ |
14 | way to write providers on the planet." | 14 | way to write providers on the planet." |
15 | HOMEPAGE = "http://pywbem.github.io" | 15 | HOMEPAGE = "https://pywbem.github.io" |
16 | LICENSE = "LGPL-2.1-only" | 16 | LICENSE = "LGPL-2.1-only" |
17 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbc093901857fcd118f065f900982c24" | 17 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbc093901857fcd118f065f900982c24" |
18 | 18 | ||
19 | SRC_URI[sha256sum] = "dc3b785840017f5fcb6381c56682598cebbfc8451851768f85e2318a84e06b68" | 19 | SRC_URI[sha256sum] = "d1f0a2ebd4ffedef8d067af3855216db5190c7f6f27c8d2dcd467e09701c90b0" |
20 | 20 | ||
21 | inherit pypi setuptools3 update-alternatives | 21 | inherit pypi setuptools3 update-alternatives |
22 | 22 | ||
diff --git a/meta-python/recipes-extended/send2trash/python3-send2trash_1.8.3.bb b/meta-python/recipes-extended/send2trash/python3-send2trash_1.8.3.bb index 0bbfb9a11f..89943095de 100644 --- a/meta-python/recipes-extended/send2trash/python3-send2trash_1.8.3.bb +++ b/meta-python/recipes-extended/send2trash/python3-send2trash_1.8.3.bb | |||
@@ -7,6 +7,7 @@ inherit pypi python_setuptools_build_meta | |||
7 | SRC_URI[sha256sum] = "b18e7a3966d99871aefeb00cfbcfdced55ce4871194810fc71f4aa484b953abf" | 7 | SRC_URI[sha256sum] = "b18e7a3966d99871aefeb00cfbcfdced55ce4871194810fc71f4aa484b953abf" |
8 | 8 | ||
9 | PYPI_PACKAGE = "Send2Trash" | 9 | PYPI_PACKAGE = "Send2Trash" |
10 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
10 | 11 | ||
11 | RDEPENDS:${PN} += "\ | 12 | RDEPENDS:${PN} += "\ |
12 | python3-io \ | 13 | python3-io \ |
diff --git a/meta-python/recipes-extended/tuna/tuna_0.19.bb b/meta-python/recipes-extended/tuna/tuna_0.19.bb index ea0f157921..643e3a09ff 100644 --- a/meta-python/recipes-extended/tuna/tuna_0.19.bb +++ b/meta-python/recipes-extended/tuna/tuna_0.19.bb | |||
@@ -7,7 +7,6 @@ SRC_URI = "git://git.kernel.org/pub/scm/utils/tuna/tuna.git;branch=main" | |||
7 | 7 | ||
8 | SRCREV = "b972b8ce386c29bcbcd45029a617db3db9e5b6ca" | 8 | SRCREV = "b972b8ce386c29bcbcd45029a617db3db9e5b6ca" |
9 | 9 | ||
10 | S = "${WORKDIR}/git" | ||
11 | 10 | ||
12 | RDEPENDS:${PN} += " \ | 11 | RDEPENDS:${PN} += " \ |
13 | python3-io \ | 12 | python3-io \ |
diff --git a/meta-python/recipes-networking/python/python3-ldap_3.4.4.bb b/meta-python/recipes-networking/python/python3-ldap_3.4.4.bb index 6caf5f37ce..aecffa9d7e 100644 --- a/meta-python/recipes-networking/python/python3-ldap_3.4.4.bb +++ b/meta-python/recipes-networking/python/python3-ldap_3.4.4.bb | |||
@@ -3,7 +3,7 @@ DESCRIPTION = "This module provides access to the LDAP \ | |||
3 | (Lightweight Directory Access Protocol) through Python operations \ | 3 | (Lightweight Directory Access Protocol) through Python operations \ |
4 | instead of C API. The module mainly acts as a wrapper for the \ | 4 | instead of C API. The module mainly acts as a wrapper for the \ |
5 | OpenLDAP 2.x libraries. Errors will appear as exceptions." | 5 | OpenLDAP 2.x libraries. Errors will appear as exceptions." |
6 | HOMEPAGE = "http://www.python-ldap.org/" | 6 | HOMEPAGE = "https://www.python-ldap.org/" |
7 | LICENSE = "PSF-2.0" | 7 | LICENSE = "PSF-2.0" |
8 | LIC_FILES_CHKSUM = "file://LICENCE;md5=36ce9d726d0321b73c1521704d07db1b" | 8 | LIC_FILES_CHKSUM = "file://LICENCE;md5=36ce9d726d0321b73c1521704d07db1b" |
9 | 9 | ||
diff --git a/meta-python/recipes/devtool/python3-breathe_4.36.0.bb b/meta-python/recipes/devtool/python3-breathe_4.36.0.bb new file mode 100644 index 0000000000..fe3d1eeb91 --- /dev/null +++ b/meta-python/recipes/devtool/python3-breathe_4.36.0.bb | |||
@@ -0,0 +1,15 @@ | |||
1 | SUMMARY = "Sphinx Doxygen renderer" | ||
2 | DESCRIPTION = "Breathe is a Sphinx plugin providing beautifully integrated Doxygen output in your user-facing documentation." | ||
3 | HOMEPAGE = "https://www.breathe-doc.org/" | ||
4 | LICENSE = "BSD-3-Clause" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=9e49eecf36fc015de7c61a0247df75d6" | ||
6 | |||
7 | SRC_URI[sha256sum] = "14860b73118ac140b7a3f55446890c777d1b67149cb024279fe3710dad7f535c" | ||
8 | |||
9 | inherit pypi python_flit_core ptest ptest-python-pytest | ||
10 | |||
11 | RDEPENDS:${PN} = "python3-sphinx" | ||
12 | |||
13 | PYPI_PACKAGE = "breathe" | ||
14 | |||
15 | BBCLASSEXTEND =+ "native" | ||
diff --git a/meta-python/recipes/devtool/python3-exhale_0.3.7.bb b/meta-python/recipes/devtool/python3-exhale_0.3.7.bb new file mode 100644 index 0000000000..6168c3d2b3 --- /dev/null +++ b/meta-python/recipes/devtool/python3-exhale_0.3.7.bb | |||
@@ -0,0 +1,16 @@ | |||
1 | SUMMARY = "Automatic C++ library api documentation generation: breathe doxygen in and exhale it out. " | ||
2 | DESCRIPTION = "\ | ||
3 | Automatic C++ library API documentation generator using Doxygen, Sphinx, and Breathe. \ | ||
4 | Exhale revives Doxygen's class, file, and page hierarchies in reStructuredText documents \ | ||
5 | to make these hierarchies available in Sphinx documented projects." | ||
6 | HOMEPAGE = "https://github.com/svenevs/exhale" | ||
7 | LICENSE = "BSD-3-Clause" | ||
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=fa7943919a123ae99ee86a0daf9e1871" | ||
9 | |||
10 | SRC_URI[sha256sum] = "752a96d0a59456511d933311d4a81f642cd668296eacd2561905727d5ed6b0d8" | ||
11 | |||
12 | inherit pypi python_setuptools_build_meta | ||
13 | |||
14 | PYPI_PACKAGE = "exhale" | ||
15 | |||
16 | BBCLASSEXTEND =+ "native" | ||