diff options
Diffstat (limited to 'meta-python')
| -rw-r--r-- | meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb | 2 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-huey_3.0.0.bb (renamed from meta-python/recipes-devtools/python/python3-huey_2.6.0.bb) | 2 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-moteus_0.3.100.bb (renamed from meta-python/recipes-devtools/python/python3-moteus_0.3.99.bb) | 6 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-soupsieve_2.8.3.bb (renamed from meta-python/recipes-devtools/python/python3-soupsieve_2.8.2.bb) | 2 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-uvicorn_0.44.0.bb (renamed from meta-python/recipes-devtools/python/python3-uvicorn_0.42.0.bb) | 2 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python3-mlcommons-loadgen/files/source-date-epoch.patch | 43 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python3-mlcommons-loadgen/python3-mlcommons-loadgen_6.0.14.bb (renamed from meta-python/recipes-devtools/python3-mlcommons-loadgen/python3-mlcommons-loadgen_5.1.2.bb) | 2 |
7 files changed, 31 insertions, 28 deletions
diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb index 2ff88e6264..65f23cfe9e 100644 --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb | |||
| @@ -300,7 +300,7 @@ RDEPENDS:packagegroup-meta-python3 = "\ | |||
| 300 | python3-py-ubjson \ | 300 | python3-py-ubjson \ |
| 301 | python3-pyalsaaudio \ | 301 | python3-pyalsaaudio \ |
| 302 | python3-pyasn1-modules \ | 302 | python3-pyasn1-modules \ |
| 303 | python3-pyatspi \ | 303 | ${@bb.utils.contains("DISTRO_FEATURES", "gobject-introspection-data ${GTK2DISTROFEATURES}", "python3-pyatspi", "", d)} \ |
| 304 | python3-pyaudio \ | 304 | python3-pyaudio \ |
| 305 | python3-pybind11 \ | 305 | python3-pybind11 \ |
| 306 | python3-pybind11-json \ | 306 | python3-pybind11-json \ |
diff --git a/meta-python/recipes-devtools/python/python3-huey_2.6.0.bb b/meta-python/recipes-devtools/python/python3-huey_3.0.0.bb index 2821262153..f07383ed45 100644 --- a/meta-python/recipes-devtools/python/python3-huey_2.6.0.bb +++ b/meta-python/recipes-devtools/python/python3-huey_3.0.0.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] = "8d11f8688999d65266af1425b831f6e3773e99415027177b8734b0ffd5e251f6" | 8 | SRC_URI[sha256sum] = "0cfc83617b90132b0d375a3a3726aa7263cd461e7ae12af79b3a94e2630afaf5" |
| 9 | 9 | ||
| 10 | RDEPENDS:${PN} += " \ | 10 | RDEPENDS:${PN} += " \ |
| 11 | python3-datetime \ | 11 | python3-datetime \ |
diff --git a/meta-python/recipes-devtools/python/python3-moteus_0.3.99.bb b/meta-python/recipes-devtools/python/python3-moteus_0.3.100.bb index 3de7f6a0ec..fe12809d78 100644 --- a/meta-python/recipes-devtools/python/python3-moteus_0.3.99.bb +++ b/meta-python/recipes-devtools/python/python3-moteus_0.3.100.bb | |||
| @@ -1,11 +1,11 @@ | |||
| 1 | SUMMARY = "moteus brushless controller library and tools" | 1 | SUMMARY = "moteus brushless controller library and tools" |
| 2 | HOMEPAGE = "https://github.com/mjbots/moteus" | 2 | HOMEPAGE = "https://github.com/mjbots/moteus" |
| 3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
| 4 | LIC_FILES_CHKSUM = "file://setup.py;beginline=3;endline=9;md5=24025d3c660abfc62a83f0e709a45e76" | 4 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=c2d9643b4523fdf462545aeb1356ad23" |
| 5 | 5 | ||
| 6 | inherit pypi setuptools3 | 6 | inherit pypi python_setuptools_build_meta |
| 7 | 7 | ||
| 8 | SRC_URI[sha256sum] = "30d3cafa6b23692536102f52d9a7d919f2775fa75bdee087f98782c7e3c88805" | 8 | SRC_URI[sha256sum] = "cab1bdcffc18b83ebb52066b1bffe6de7c1354b163b3bd63e430b4fa04fbc6b9" |
| 9 | 9 | ||
| 10 | S = "${UNPACKDIR}/moteus-${PV}" | 10 | S = "${UNPACKDIR}/moteus-${PV}" |
| 11 | 11 | ||
diff --git a/meta-python/recipes-devtools/python/python3-soupsieve_2.8.2.bb b/meta-python/recipes-devtools/python/python3-soupsieve_2.8.3.bb index 63b5d3b2e7..11a2b5e103 100644 --- a/meta-python/recipes-devtools/python/python3-soupsieve_2.8.2.bb +++ b/meta-python/recipes-devtools/python/python3-soupsieve_2.8.3.bb | |||
| @@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/facelessuser/soupsieve" | |||
| 4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=74851a2f1e5c07496dcb452af6a6bf54" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=74851a2f1e5c07496dcb452af6a6bf54" |
| 6 | 6 | ||
| 7 | SRC_URI[sha256sum] = "78a66b0fdee2ab40b7199dc3e747ee6c6e231899feeaae0b9b98a353afd48fd8" | 7 | SRC_URI[sha256sum] = "3267f1eeea4251fb42728b6dfb746edc9acaffc4a45b27e19450b676586e8349" |
| 8 | 8 | ||
| 9 | inherit pypi python_hatchling ptest-python-pytest | 9 | inherit pypi python_hatchling ptest-python-pytest |
| 10 | 10 | ||
diff --git a/meta-python/recipes-devtools/python/python3-uvicorn_0.42.0.bb b/meta-python/recipes-devtools/python/python3-uvicorn_0.44.0.bb index f14ba46dc6..ce92c96d8d 100644 --- a/meta-python/recipes-devtools/python/python3-uvicorn_0.42.0.bb +++ b/meta-python/recipes-devtools/python/python3-uvicorn_0.44.0.bb | |||
| @@ -4,7 +4,7 @@ LICENSE = "BSD-3-Clause" | |||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=5c778842f66a649636561c423c0eec2e" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=5c778842f66a649636561c423c0eec2e" |
| 5 | RECIPE_MAINTAINER = "Tom Geelen <t.f.g.geelen@gmail.com>" | 5 | RECIPE_MAINTAINER = "Tom Geelen <t.f.g.geelen@gmail.com>" |
| 6 | 6 | ||
| 7 | SRC_URI[sha256sum] = "9b1f190ce15a2dd22e7758651d9b6d12df09a13d51ba5bf4fc33c383a48e1775" | 7 | SRC_URI[sha256sum] = "6c942071b68f07e178264b9152f1f16dfac5da85880c4ce06366a96d70d4f31e" |
| 8 | 8 | ||
| 9 | SRC_URI += "file://0001-ptest-disable-failing-tests.patch" | 9 | SRC_URI += "file://0001-ptest-disable-failing-tests.patch" |
| 10 | 10 | ||
diff --git a/meta-python/recipes-devtools/python3-mlcommons-loadgen/files/source-date-epoch.patch b/meta-python/recipes-devtools/python3-mlcommons-loadgen/files/source-date-epoch.patch index 32e529d483..3eac44e738 100644 --- a/meta-python/recipes-devtools/python3-mlcommons-loadgen/files/source-date-epoch.patch +++ b/meta-python/recipes-devtools/python3-mlcommons-loadgen/files/source-date-epoch.patch | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | From dd7925397b84c2a327cd4594edba9f7ca5acef61 Mon Sep 17 00:00:00 2001 | 1 | From 99dfd88de60dd55bd3b5e7c0516b3882a8e56698 Mon Sep 17 00:00:00 2001 |
| 2 | From: Hongxu Jia <hongxu.jia@windriver.com> | 2 | From: Liu Yiding <liuyd.fnst@fujitsu.com> |
| 3 | Date: Fri, 26 Sep 2025 14:02:23 +0800 | 3 | Date: Wed, 15 Apr 2026 06:09:37 +0000 |
| 4 | Subject: [PATCH] Honor the SOURCE_DATE_EPOCH variable | 4 | Subject: [PATCH] Honor the SOURCE_DATE_EPOCH variable |
| 5 | 5 | ||
| 6 | Implement the SOURCE_DATE_EPOCH specification[1] for reproducible | 6 | Implement the SOURCE_DATE_EPOCH specification[1] for reproducible |
| @@ -12,30 +12,33 @@ current time. | |||
| 12 | Upstream-Status: Submitted [https://github.com/mlcommons/inference/pull/2345] | 12 | Upstream-Status: Submitted [https://github.com/mlcommons/inference/pull/2345] |
| 13 | 13 | ||
| 14 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | 14 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
| 15 | |||
| 16 | Update for 6.0.14 | ||
| 17 | Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> | ||
| 15 | --- | 18 | --- |
| 16 | version_generator.py | 9 +++++++-- | 19 | version_generator.py | 9 +++++++-- |
| 17 | 1 file changed, 7 insertions(+), 2 deletions(-) | 20 | 1 file changed, 7 insertions(+), 2 deletions(-) |
| 18 | 21 | ||
| 19 | diff --git a/version_generator.py b/version_generator.py | 22 | diff --git a/version_generator.py b/version_generator.py |
| 20 | index 2e75243..5202da9 100644 | 23 | index b88ae8e..b083eec 100644 |
| 21 | --- a/version_generator.py | 24 | --- a/version_generator.py |
| 22 | +++ b/version_generator.py | 25 | +++ b/version_generator.py |
| 23 | @@ -110,8 +110,13 @@ def generate_loadgen_version_definitions(cc_filename, loadgen_root): | 26 | @@ -113,8 +113,13 @@ def generate_loadgen_version_definitions(cc_filename, loadgen_root): |
| 24 | # Write the version into the function definition | 27 | # Write the version into the function definition |
| 25 | ofile.write(func_def("Version", f"\"{version_contents}\"")) | 28 | ofile.write(func_def("Version", f"\"{version_contents}\"")) |
| 26 | |||
| 27 | - date_time_now_local = datetime.datetime.now().isoformat() | ||
| 28 | - date_time_now_utc = datetime.datetime.utcnow().isoformat() | ||
| 29 | + if os.environ.get('SOURCE_DATE_EPOCH', False): | ||
| 30 | + source_date_epoch = int(os.environ['SOURCE_DATE_EPOCH']) | ||
| 31 | + date_time_now_local = datetime.datetime.fromtimestamp(source_date_epoch).isoformat() | ||
| 32 | + date_time_now_utc = datetime.datetime.fromtimestamp(source_date_epoch, tz=datetime.timezone.utc).isoformat() | ||
| 33 | + else: | ||
| 34 | + date_time_now_local = datetime.datetime.now().isoformat() | ||
| 35 | + date_time_now_utc = datetime.datetime.utcnow().isoformat() | ||
| 36 | ofile.write(func_def("BuildDateLocal", '"' + date_time_now_local + '"')) | ||
| 37 | ofile.write(func_def("BuildDateUtc", '"' + date_time_now_utc + '"')) | ||
| 38 | 29 | ||
| 30 | - date_time_now_local = datetime.datetime.now().isoformat() | ||
| 31 | - date_time_now_utc = datetime.datetime.utcnow().isoformat() | ||
| 32 | + if os.environ.get('SOURCE_DATE_EPOCH', False): | ||
| 33 | + source_date_epoch = int(os.environ['SOURCE_DATE_EPOCH']) | ||
| 34 | + date_time_now_local = datetime.datetime.fromtimestamp(source_date_epoch).isoformat() | ||
| 35 | + date_time_now_utc = datetime.datetime.fromtimestamp(source_date_epoch, tz=datetime.timezone.utc).isoformat() | ||
| 36 | + else: | ||
| 37 | + date_time_now_local = datetime.datetime.now().isoformat() | ||
| 38 | + date_time_now_utc = datetime.datetime.utcnow().isoformat() | ||
| 39 | ofile.write( | ||
| 40 | func_def( | ||
| 41 | "BuildDateLocal", | ||
| 39 | -- | 42 | -- |
| 40 | 2.34.1 | 43 | 2.43.0 |
| 41 | 44 | ||
diff --git a/meta-python/recipes-devtools/python3-mlcommons-loadgen/python3-mlcommons-loadgen_5.1.2.bb b/meta-python/recipes-devtools/python3-mlcommons-loadgen/python3-mlcommons-loadgen_6.0.14.bb index 79687290f5..3299f25080 100644 --- a/meta-python/recipes-devtools/python3-mlcommons-loadgen/python3-mlcommons-loadgen_5.1.2.bb +++ b/meta-python/recipes-devtools/python3-mlcommons-loadgen/python3-mlcommons-loadgen_6.0.14.bb | |||
| @@ -21,7 +21,7 @@ SRC_URI += " \ | |||
| 21 | PYPI_PACKAGE = "mlcommons_loadgen" | 21 | PYPI_PACKAGE = "mlcommons_loadgen" |
| 22 | UPSTREAM_CHECK_PYPI_PACKAGE = "mlcommons_loadgen" | 22 | UPSTREAM_CHECK_PYPI_PACKAGE = "mlcommons_loadgen" |
| 23 | 23 | ||
| 24 | SRC_URI[sha256sum] = "cd686a6223c978d1056e38a417e4807bfa21c855189f7882d24c8313174bca74" | 24 | SRC_URI[sha256sum] = "9a56e361b4614938acdb6a601cc9c57ce551809f831023401bbac6dd7eb00970" |
| 25 | 25 | ||
| 26 | # Because the pyproject.toml contains invalid requirements. | 26 | # Because the pyproject.toml contains invalid requirements. |
| 27 | INSANE_SKIP += "pep517-backend" | 27 | INSANE_SKIP += "pep517-backend" |
