diff options
| author | Patrick Williams <patrick@stwcx.xyz> | 2025-02-03 23:49:15 +0300 |
|---|---|---|
| committer | Patrick Williams <patrick@stwcx.xyz> | 2025-02-13 00:51:23 +0300 |
| commit | 96e4b4e121e0e2da1535d7d537d6a982a6ff5bc0 (patch) | |
| tree | e96b024626e17592ec2a7625abf80d6c67afba05 /meta-openembedded/meta-python/recipes-devtools/python | |
| parent | e135a1e3015c8446f88067339a6746c1a4e2f344 (diff) | |
| download | openbmc-96e4b4e121e0e2da1535d7d537d6a982a6ff5bc0.tar.xz | |
subtree updates
- Minor change to fit-image.bbclass for upstream dependency change.
meta-arm: b2c43dbf9b..03af0c72f1:
Abdellatif El Khlifi (1):
arm-bsp/linux-yocto: corstone1000: Update the Upstream-Status of the remoteproc patches
Adam Johnston (1):
arm-bsp/corstone-1000: IMAGE_ROOTFS_EXTRA_SPACE workaround
Ali Can Ozaslan (1):
arm-bsp/linux-yocto: corstone1000: Update to version 6.12
Bence Balogh (1):
arm-bsp/documentation: corstone1000: describe host level authentication
Hugues KAMBA MPIANA (1):
arm-bsp/documentation: corstone1000: Show flyout menu in sidebar
Jamin Lin (1):
arm: remove python3-pyhsslms recipe
Jon Mason (2):
arm/trusted-firmware-a: update 2.10 LTS to the latest versions
arm/trusted-firmware-a: bump fip and tests to 2.12
Mikko Rapeli (2):
edk2-firmware: fix PlatformStandaloneMmRpmb.dsc build
trusted-firmware-a: fix mbedtls license checksum
Musa Antike (5):
arm-systemready/linux-distros: Move Fedora unattended conf to SRC_URI
arm-systemready/linux-distros: Move openSUSE unattended conf to SRC_URI
arm-systemready/linux-distros: Implement unattended Debian
arm-systemready/oeqa: Add unattended installation testcase
kas: Include unattended Debian test
Peter Hoyes (1):
arm/lib: Relax "Listening for serial connection" regex
Philip Puk (1):
arm-bsp/recipes-security: Add protobuf interface to crypto-sp in corstone1000
Quentin Schulz (1):
arm/trusted-firmware-a: add support for 2.12.0
Ross Burton (4):
arm-bsp/linux-yocto: fix Juno build with linux 6.12
arm-bsp/linux-yocto: add temporary 6.10 recipe
arm-toolchain/external-arm-toolchain: update for toolchain provider changes
arm-toolchain: remove external-arm-toolchain
meta-security: c9585ebfe8..7307755636:
Armin Kuster (11):
chkroot: update to 0.58b
drop: debug-tweaks from ci
harden.conf: drop debug-tweaks
scap-security-guide: drop python pkgs
kas: tweak to improve CI work flow
parsec-service: fix build error
README: add pipeline badge
.gitlab-ci: speed up parsec builds
packagegroup-core-security: drop firejail for musl
kas: musl don't build apparmor
lynis: update to 3.1.4
Louis Rannou (1):
dm-verity: set staging correctly in case basename has changed
Mikko Rapeli (15):
tpm2-tools: add dependency to efivar
u-boot: enable TPM support via "tpm2" in MACHINE_FEATURES
systemd: enable TPM support
systemd-boot: enable TPM support via "tpm2" in DISTRO_FEATURES
linux-yocto: enable ecryptfs
ecryptfs-utils: depend on ecryptfs kernel module
oeqa runtime clamav.py: skip test_freshclam_download with systemd
oeqa runtime ima.py: skip without "integrity" in DISTRO_FEATURES
kas-security-alt.yml: fix systemd config
apparmor: update from 3.1.3 to 4.0.3
oeqa runtime clamav.py: use curl if ping fails
libtpm: update from 0.9.6 to 0.10.0
libtpm: rename to libtpms
libtpms: set CVE_PRODUCT
swtpm: update from 0.8.2 to 0.10.0
akash hadke (1):
meta-security: Remove True option to getVar calls
gr embeter (1):
dm-verity-img.bbclass: add DM_VERITY_SETUP_ARGS
meta-openembedded: af28a667fb..0623501548:
Akash Hadke (1):
fitimage.bbclass: Remove True option to getVar calls
Alexander Stein (1):
libcamera: update to 0.4.0
Alistair Francis (1):
libspdm: Initial support for libspdm
Antonios Christidis (1):
opencl-cts: Add recipe
Ayoub Zaki (6):
bmap-writer: update to latest git version
bmap-writer: update to latest git version
botan: update 3.5.0 -> 3.6.1
pistache : add initial recipe
pistache: fix package config dependencies
pkcs11-provider: Upgrade 0.5 -> 0.6
Bartosz Golaszewski (4):
gpiod-sysfs-proxy: update v0.1.1 -> v0.1.2
python3-gpiod: update v2.2.2 -> v2.2.3
libgpiod: unduplicate the EXTRA_OECONF assignment
cheese: new recipe
Bartosz Szostak (5):
jsoncons: add new recipe
ctre: add new recipe
yyjson: add new recipe
yyjson: force build shared library
cxxopts: add new recipe
Benjamin Bouvier (1):
bridge-utils: add CVE_PRODUCT
Changqing Li (2):
poppler: upgrade 24.11.0 -> 24.12.0
dlt-daemon: make DLT_WatchdogSec configurable
Chanh Nguyen (1):
mctp: upgrade 2.0 -> 2.1
Christian Lindeberg (1):
crucible: Use go module fetcher
Christos Gavros (3):
nativesdk-pistache: dependency with brotli
android-tools-native: dependency with android-tools-conf-native
net-snmp-native: dependency with libpci-native
Darrel Griët (1):
polkit: Install rules in subdir
Derek Straka (83):
python3-janus: update to version 1.1.0
python3-ipython: update to version 8.30.0
python3-libusb1: rename recipe to reflect the python version and update to use pypi
python3-*: Update recipes to correctly check the upstream packages
python3-yarl: update recipe to use the ptest-python-pytest class
python3-yappi: update recipe to use the ptest-python-pytest class
python3-xlrd: update recipe to use the ptest-python-pytest class
python3-wsproto: update recipe to use the ptest-python-pytest class
python3-wrapt: update recipe to use the ptest-python-pytest class
python3-validators: update recipe to use the ptest-python-pytest class
python3-uritemplate: update recipe to use the ptest-python-pytest class
python3-unidiff: update recipe to use the ptest-python-pytest class
python3-ujson: update recipe to use the ptest-python-pytest class
python3-u-msgpack-python: update recipe to use the ptest-python-pytest class
python3-tzdata: update recipe to use the ptest-python-pytest class
python3-typeguard: update recipe to use the ptest-python-pytest class
python3-trustme: update recipe to use the ptest-python-pytest class
python3-tomlkit: update recipe to use the ptest-python-pytest class
python3-tomli-w: update recipe to use the ptest-python-pytest class
python3-sqlparse: update recipe to use the ptest-python-pytest class
python3-soupsieve: update recipe to use the ptest-python-pytest class
python3-simpleeval: update recipe to use the ptest-python-pytest class
python3-smpplib: update recipe to use the ptest-python-pytest class
python3-service-identity: update recipe to use the ptest-python-pytest class
python3-serpent: update recipe to use the ptest-python-pytest class
python3-semver: update recipe to use the ptest-python-pytest class
python3-scrypt: update recipe to use the ptest-python-pytest class
python3-requests-toolbelt: update recipe to use the ptest-python-pytest class
python3-requests-file: update recipe to use the ptest-python-pytest class
python3-rapidjson: update recipe to use the ptest-python-pytest class
python3-pyyaml-include: update recipe to use the ptest-python-pytest class
python3-pytoml: update recipe to use the ptest-python-pytest class
python3-python-multipart: update recipe to use the ptest-python-pytest class
python3-pytest-localserver: update recipe to use the ptest-python-pytest class
python3-pyserial: update recipe to use the ptest-python-pytest class
python3-pyroute2: update recipe to use the ptest-python-pytest class
python3-pydantic: update recipe to use the ptest-python-pytest class
python3-pydantic-core: update recipe to use the ptest-python-pytest class
python3-pyasn1-modules: update recipe to use the ptest-python-pytest class
python3-py-cpuinfo: update recipe to use the ptest-python-pytest class
python3-ptyprocess: update recipe to use the ptest-python-pytest class
python3-propcache: update recipe to use the ptest-python-pytest class
python3-prettytable: update recipe to use the ptest-python-pytest class
python3-precise-runner: update recipe to use the ptest-python-pytest class
python3-portion: update recipe to use the ptest-python-pytest class
python3-polyline: update recipe to use the ptest-python-pytest class
python3-platformdirs: update recipe to use the ptest-python-pytest class
python3-pint: update recipe to use the ptest-python-pytest class
python3-pillow: update recipe to use the ptest-python-pytest class
python3-inflection: update recipe to use the ptest-python-pytest class
python3-netaddr: update recipe to use the ptest-python-pytest class
python3-ordered-set: update recipe to use the ptest-python-pytest class
python3-outcome: update recipe to use the ptest-python-pytest class
python3-msgpack: update recipe to use the ptest-python-pytest class
python3-multidict: update recipe to use the ptest-python-pytest class
python3-marshmallow: update recipe to use the ptest-python-pytest class
python3-lz4: update recipe to use the ptest-python-pytest class
python3-jdcal: update recipe to use the ptest-python-pytest class
python3-iso3166: update recipe to use the ptest-python-pytest class
python3-ipy: update recipe to use the ptest-python-pytest class
python3-intervals: update recipe to use the ptest-python-pytest class
python3-httptools: update recipe to use the ptest-python-pytest class
python3-html2text: update recipe to use the ptest-python-pytest class
python3-geojson: update recipe to use the ptest-python-pytest class
python3-freezegun: update recipe to use the ptest-python-pytest class
python3-flexparser: update recipe to use the ptest-python-pytest class
python3-flexcache: update recipe to use the ptest-python-pytest class
python3-flask: update recipe to use the ptest-python-pytest class
python3-fastjsonschema: update recipe to use the ptest-python-pytest class
python3-execnet: update recipe to use the ptest-python-pytest class
python3-ecdsa: update recipe to use the ptest-python-pytest class
python3-dominate: update recipe to use the ptest-python-pytest class
python3-dasbus: update recipe to use the ptest-python-pytest class
python3-bleak: update recipe to use the ptest-python-pytest class
python3-arrow: update recipe to use the ptest-python-pytest class
python3-aspectlib: update recipe to use the ptest-python-pytest class
python3-configobj: update recipe to use the ptest-python-pytest class
python3-blinker: update recipe to use the ptest-python-pytest class
python3-cachetools: update recipe to use the ptest-python-pytest class
python3-cbor2: update recipe to use the ptest-python-pytest class
python3-inotify: update recipe to use the ptest-python-pytest class
python3-appdirs: update recipe to use the ptest-python-pytest class
python3-asgiref: update recipe to use the ptest-python-pytest class
Divya Chellam (2):
grpc: upgrade 1.66.1 -> 1.68.0
redis: upgrade 7.2.6 -> 7.2.7
Etienne Cordonnier (1):
uutils-coreutils: upgrade 0.0.28 -> 0.0.29
Gianfranco Costamagna (1):
vbxguestdrivers: upgrade 7.0.22 -> 7.1.4
Gyorgy Sarvari (18):
dbus-cxx: fix typo in PACKAGECONFIG
ndctl: fix compiling without including tests
ndctl: fix building documentation
python3-zeroconf: correct license file and checksum
civetweb: fix pathes in cmake file
python3-ujson: correct license file and checksum
python3-oletools: correct license file and checksum
python3-cachecontrol: correct license file and checksum
python3-robotframework-seriallibrary: correct license file and checksum
opentelemetry-cpp: fix non-default PACKAGECONFIG options
python3-posix-ipc: use correct C compiler to detect system features
python3-pydantic-core: remove not needed INSANE_SKIP
fatresize: set correct LICENSE
pipewire-0.2: drop old version of recipe
libdvbcsa: set correct LICENSE
znc: fix LICENSE value, clean up SRC_URI
open62541: fix qa error with encryption-openssl PACKAGECONFIG
ndpi: correct LICENSE value
Hieu Van Nguyen (1):
gphoto2: Fix /usr/bin/gphoto2 runtime error
Hongxu Jia (5):
Use 7zip 24.09 to replace p7zip 16.02
Update p7zip to 7zip
android-tools: fix warning: library search path "/usr/lib/p7zip" is unsafe for cross-compilation
python3-beautifulsoup4,python3-soupsieve: fix loop dependency error
pahole: update COMPATIBLE_HOST setting
Jaeyoon Jung (1):
jansson: fix a symbol clash when building with cmake
Jason Schonberg (14):
c-ares: upgrade 1.28.1 -> 1.29.0
onig: upgrade 6.9.9 -> 6.9.10
c-ares: upgrade 1.29.0 -> 1.30.0
libcgi-perl: upgrade 4.66 -> 4.67
c-ares: upgrade 1.30.0 -> 1.31.0
c-ares: upgrade 1.31.0 -> 1.32.0
xrdp: upgrade 0.9.19 -> 0.9.20
c-ares: upgrade 1.32.0 -> 1.32.1
c-ares: upgrade 1.32.1 -> 1.32.2
c-ares: upgrade 1.32.2 -> 1.32.3
nodejs: upgrade 22.12.0 -> 22.13.1
hiawatha: upgrade 10.12 -> 11.0
zchunk: upgrade 1.4.0 -> 1.5.1
c-ares: upgrade 1.32.3 -> 1.33.0
Jiaying Song (3):
eject: fix do_fetch error
xfce-dusk-gtk3: fix do_fetch error
chrony: fix do_fetch error
Jörg Sommer (4):
libtinyxml: set CVE product to tinyxml
libtinyxml2: set CVE product to tinyxml2
kernel-hardening-checker: New recipe to check security options
spectre-meltdown-checker: New recipe to check hardware vulnerability
Kai Kang (16):
libxfce4util: 4.19.3 -> 4.20.0
libxfce4ui: 4.19.6 -> 4.20.0
exo: 4.19.1 -> 4.20.0
garcon: 4.19.1 -> 4.20.0
thunar: 4.19.0 -> 4.20.0
thunar-volman: 4.18.0 -> 4.20.0
tumbler: 4.18.0 -> 4.20.0
xfce4-appfinder: 4.19.3 -> 4.20.0
xfce4-power-manager: 4.18.2 -> 4.20.0
xfconf: 4.18.2 -> 4.20.0
xfce4-settings: 4.18.3 -> 4.20.0
xfwm4: 4.19.0 -> 4.20.0
xfce4-dev-tools: 4.18.1 -> 4.20.0
libxfce4windowing: add recipe
xfdesktop: 4.18.1 -> 4.20.0
xfce4-panel: 4.18.6 -> 4.20.0
Khem Raj (43):
kernel-module-emlog: Fix build with kernel 6.12+
packagegroup-meta-oe: Remove libpeas from packagegroup-meta-oe-gnome
libpeas: Disable lua support on architectures without luajit port
lua-lgi: Disable on architecture without luajit port
libnfs: Add gnutls build time dependency
xfce4-pulseaudio-plugin: Fix build with libwindowing 4.19.6
7zip: Fix build with clang
python3-propcache: Add missing rdeps for ptests to run/pass
python3-google-auth: Add missing dep on python3-pyjwt
x265: Re-add -DENABLE_PIC=ON
openh264: Disable build on riscv32
libheif: Make openh264 as packageconfig
mozjs-128: Fix riscv arch specification in triplets
pocketpy: Add pic options to cflags
openh264: Fix meson build for x86
x265: Fix build on x86
python3-argcomplete: Upgrade to 3.5.3
spdlog: Upgrade to 1.15.0
mariadb: Upgrade to 10.11.10
gerbera: Upgrade to 2.4.1
mpd: Upgrade mpd to 0.23.16
mpd: Use meson wrap for fmt
mpd: Drop adding +git to PV
spdlog: Switch to latest on 1.x branch
python3-pyrad: Fix build with poetry 2.x
packagegroup-meta-multimedia: Drop adding openh264 and libde265
vsomeip: Upgrade to 3.5.3
cpprest: Skip recipe due to unbuildable dependency websocketpp
cpp-netlib: Skip recipe, not buildable with boost >= 1.87
websocketpp: Skip recipe, not buildable with boost >= 1.87
vsomeip: Skip building, needs porting to boost >= 1.87
etcd-cpp-apiv3: Skip recipe since it does not work with boost >= 1.87
mariadb: Upgrade to 11.4.4
cpp-netlib: Make SKIP_RECIPE weak
tigervnc: Replace using --system-acdir with --aclocal-path
python3-portion: Fix test_doc.py ptest
python3-pylint: Upgrade 3.3.1 -> 3.3.3
ncftp: Replace references to ACLOCALEXTRAPATH
syslog-ng: Remove references to ACLOCALEXTRAPATH
php: Drop references to ACLOCALDIR
opencl-cts: Disable for RISCV architectures
python3-pandas: Inherit pkgconfig class
luaposix: Fix LUA_INCDIR path
Lei Maohui (1):
gjs: Deleted gsettings from gsettings
Leon Anavi (46):
python3-charset-normalizer: Upgrade 3.4.0 -> 3.4.1
python3-bitstring: Upgrade 4.2.3 -> 4.3.0
python3-inflate64: Upgrade 1.0.0 -> 1.0.1
python3-uswid: Upgrade 0.5.0 -> 0.5.1
python3-tomli-w: Upgrade 1.0.0 -> 1.1.0
python3-pydantic: Upgrade 2.10.2 -> 2.10.4
python3-apispec: Upgrade 6.8.0 -> 6.8.1
python3-anyio: Upgrade 4.7.0 -> 4.8.0
python3-git-pw: Upgrade 2.6.0 -> 2.7.0
python3-pymodbus: Upgrade 3.8.2 -> 3.8.3
python3-kivy: Upgrade 2.3.0 -> 2.3.1
python3-marshmallow: Upgrade 3.23.3 -> 3.24.1
python3-a2wsgi: Upgrade 1.10.7 -> 1.10.8
python3-cerberus: Upgrade 1.3.5 -> 1.3.7
python3-yamlloader: Upgrade 1.4.1 -> 1.5.1
python3-deprecated: Upgrade 1.2.14 -> 1.2.15
python3-cached-property: Upgrade 1.5.2 -> 2.0.1
python3-icecream: Upgrade 2.1.3 -> 2.1.4
python3-pyusb: Upgrade 1.3.0 -> 1.3.1
python3-cachecontrol: Upgrade 0.14.1 -> 0.14.2
python3-pydantic: Upgrade 2.10.4 -> 2.10.5
python3-dbus-fast: Upgrade 2.24.4 -> 2.28.0
python3-inline-snapshot: Upgrade 0.18.2 -> 0.19.1
python3-responses: Upgrade 0.25.3 -> 0.25.5
python3-bandit: Upgrade 1.8.0 -> 1.8.2
python3-pyscaffold: Upgrade 4.5 -> 4.6
python3-filelock: Upgrade 3.16.1 -> 3.17.0
python3-aioresponses: Upgrade 0.7.7 -> 0.7.8
python3-tox: Upgrade 4.23.2 -> 4.24.1
python3-imageio: Upgrade 2.36.1 -> 2.37.0
python3-snagboot: Upgrade 2.0 -> 2.1
python3-zeroconf: Upgrade 0.140.1 -> 0.141.0
python3-networkx: Upgrade 3.1 -> 3.4.2
python3-cachetools: Upgrade 5.5.0 -> 5.5.1
python3-pocketsphinx: Upgrade 5.0.3 -> 5.0.4
python3-marshmallow: Upgrade 3.25.1 -> 3.26.0
python3-wrapt: Upgrade 1.17.1 -> 1.17.2
python3-hpack: Upgrade 4.0.0 -> 4.1.0
python3-hyperframe: Upgrade 6.0.1 -> 6.1.0
python3-scikit-build-core: Use PYTHON_INCLUDE_DIR
python3-annotated-types: Add native and nativesdk
python3-tzdata: Add native and nativesdk
python3-pydantic-core: Add native and nativesdk
python3-pydantic: Add native and nativesdk
python3-lief: Add recipe
python3-nanobind: Add recipe
Luca Boccassi (2):
polkit: fix permissions of /usr/share/polkit-1/rules.d/ again
polkit: update 125 -> 126
Markus Volk (27):
iwd: update 3.0 -> 3.2
cbindgen: add recipe
mozjs: add recipe for mozjs-128
gjs: update 1.80.2 -> 1.82.1
luajit: update
lua-lgi: add recipe
libpeas: add recipe for 2.0.5
packagegroup-meta-oe: adjust after libpeas update
geary: build with libpeas-1
eog: build with libpeas-1
gedit: build with libpeas-1
malcontent: update 0.12.0 -> 0.13.0
gegl: update 0.4.50 -> 0.4.52
x265: drop restriction for x86/x86-64
packagegoup-meta-multimedia: adjust RDEPENDS for h264/hevc
x265: update 3.2.1 -> 4.1
openh264: update 2.3.1 -> 2.5.0
libheif: add recipe
dav1d: update 1.4.3 -> 1.5.0
libde265: update 1.0.12 -> 1.0.15
libde265: switch to cmake buildsystem
polkit: dont add mozjs PACKAGECONFIG
mozjs-115: remove recipe
iwd: update 3.2 -> 3.3
gnome-shell: update 47.2 -> 47.3
gnome-control-center: update 47.2 -> 47.3
gvfs: add backport patch to add support for libnfs6
Martin Jansa (3):
lapack: add PACKAGECONFIG for cblas
lapack: fix buildpaths in ptest also when CBLAS is enabled
lapack: upgrade to latest 3.12.1
Peter Kjellerstedt (1):
lvm2: Remove a lingering reference to ${PN}-udevrules
Peter Marko (52):
ace: ignore CVE-2009-1147
apache2: ignore CVE-1999-0678 and CVE-1999-1412
apache2: remove old version references from CVEs
spice: ignore CVE-2016-0749
gattlib: mark CVE-2019-6498 as fixed
monkey: ignore CVE-2013-1771
redis: ignore CVE-2022-0543
spice-gtk: mark CVE-2012-4425 as fixed
apache2: ignore disputed CVE CVE-2007-0086
swagger-ui: mark CVE-2016-1000229 as fixed
memcached: ignore disputed CVE-2022-26635
emlog: set CVE_PRODUCT
opensc: upgrade 0.25.1 -> 0.26.0
opensc: mark CVE-2024-8443 as fixed
memcached: add UPSTREAM_CHECK_URI
memcached: upgrade 1.6.17 -> 1.6.33
php: upgrade 8.2.20 -> 8.2.26
libmemcached: remove recipe for version 1.0.7
libmemcached: merge inc into bb
libmemcached: ignore CVE-2023-27478
sassc: ignore CVE-2022-43357
wireshark: upgrade 4.2.8 -> 4.2.9
weechat: upgrade 4.0.4 -> 4.5.0
apache2: ignore CVE-1999-1237
rtmpdump: mark CVE-2015-8270, CVE-2015-8271 and CVE-2015-8272 as fixed
rtmpdump: add +git to PV
libconfuse: patch CVE-2022-40320
opusfile: patch CVE-2022-47021
synergy: patch CVE-2020-15117
uw-imap: patch CVE-2018-19518
spice: set CVE-2016-2150 status to fixed
id3lib: mark CVE-2007-4460 as fixed
procmail: patch CVE-2014-3618
procmail: patch CVE-2017-16844.
imagemagick: refactor so devtool upgrade works
imagemagick: upgrade 7.1.1-26 -> 7.1.1-43
imagemagick: mark CVE-2023-5341 as fixed
libwmf; switched to unofficial fork
limwmf: upgrade 0.2.8.4 -> 0.2.13
audiofile: fix multiple CVEs
audiofile: patch CVE-2017-6829
audiofile: fix multiple CVEs
audiofile: patch CVE-2017-6831
audiofile: patch CVE-2017-6839
libtinyxml: patch CVE-2021-42260
libtinyxml: patch CVE-2023-34194
proftpd: define UPSTREAM_CHECK_GITTAGREGEX
proftpd: upgrade 1.3.8b -> 1.3.8c
proftpd: define suffix for CVE version comparison
vorbis-tools: patch CVE-2023-43361
audiofile: mark CVE-2020-18781 as patched
yasm: update to latest git revision
Piotr Łobacz (2):
plymouth: remove patch causing issue with no login prompt
plymouth: remove extra kernel parameter
Preeti Sachan (1):
bpftool: fix libelf.h not found error
Richard Purdie (2):
crash-cross-canadian: Update to match OE-Core virtual provider changes
recipes: Fix variable assignment whitespace
Ross Burton (3):
ncftp: update for autoconf changes in core
syslog-ng: remove obsolete double-run of configure
ntp: set CONFIG_SITE in do_compile
Sean Nyekjaer (1):
can-utils: RRECOMMENDS only ip from iproute2
Soumya Sambu (2):
python3-django: upgrade 4.2.16 -> 4.2.17
python3-django: upgrade 5.0.9 -> 5.0.10
Thomas Schlien (2):
collectd: add PACKAGECONFIG for dpdk
rtmpdump: update 2.4 -> v2.6
Tom Geelen (7):
python3-aiohttp: upgrade 3.11.8 -> 3.11.11
python3-pillow: upgrade 10.4.0 -> 11.0.0
python3-propcache: upgrade 0.2.0 -> 0.2.1
python3-pyjwt: upgrade 2.9.0 -> 2.10.1
python3-pytest-asyncio: upgrade 0.23.6 -> 0.24.0
python3-sqlalchemy: upgrade 2.0.35 -> 2.0.36
python3-yarl: upgrade 1.18.0 -> 1.18.3
Wang Mingyu (181):
ace: update 8.0.1 -> 8.0.2
ctags: upgrade 6.1.20241201.0 -> 6.1.20241215.0
graphviz: upgrade 12.2.0 -> 12.2.1
libnfs: upgrade 5.0.3 -> 6.0.2
libplist: upgrade 2.3.0 -> 2.6.0
libusbmuxd: upgrade 2.0.2 -> 2.1.0
localsearch: upgrade 3.8.1 -> 3.8.2
lvm2: update 2.03.28 -> 2.03.29
mcelog: upgrade 201 -> 202
monit: upgrade 5.34.2 -> 5.34.3
nanopb-generator(-runtime): upgrade 0.4.9 -> 0.4.9.1
openjpeg: upgrade 2.5.2 -> 2.5.3
python3-pybind11-json: upgrade 0.2.14 -> 0.2.15
stunnel: upgrade 5.73 -> 5.74
tinysparql: upgrade 3.8.1 -> 3.8.2
xkbevd: upgrade 1.1.5 -> 1.1.6
libp11: update 0.4.12 -> 0.4.13
ctags: upgrade 6.1.20241215.0 -> 6.1.20241222.0
libcapture-tiny-perl: upgrade 0.48 -> 0.50
libsdl2-image: upgrade 2.8.2 -> 2.8.3
nano: upgrade 8.2 -> 8.3
nvmetcli: upgrade 0.7 -> 0.8
ostree: upgrade 2024.9 -> 2024.10
python3-aiosignal: upgrade 1.3.1 -> 1.3.2
python3-anyio: upgrade 4.6.2 -> 4.7.0
python3-apiflask: upgrade 2.2.1 -> 2.3.2
python3-apispec: upgrade 6.7.1 -> 6.8.0
python3-astroid: upgrade 3.3.5 -> 3.3.7
python3-cantools: upgrade 39.4.13 -> 40.0.0
python3-cassandra-driver: upgrade 3.29.1 -> 3.29.2
python3-cmake: upgrade 3.31.1 -> 3.31.2
python3-cmd2: upgrade 2.5.7 -> 2.5.8
python3-coverage: upgrade 7.6.2 -> 7.6.9
python3-croniter: upgrade 5.0.1 -> 6.0.0
python3-cytoolz: upgrade 1.0.0 -> 1.0.1
python3-drgn: upgrade 0.0.29 -> 0.0.30
python3-elementpath: upgrade 4.6.0 -> 4.7.0
python3-eth-keyfile: upgrade 0.7.0 -> 0.8.0
python3-eth-utils: upgrade 5.0.0 -> 5.1.0
python3-fastjsonschema: upgrade 2.21.0 -> 2.21.1
python3-fastnumbers: upgrade 5.1.0 -> 5.1.1
python3-fsspec: upgrade 2024.10.0 -> 2024.12.0
python3-geojson: upgrade 3.1.0 -> 3.2.0
python3-google-api-python-client: upgrade 2.135.0 -> 2.136.0
python3-google-auth: upgrade 2.36.0 -> 2.37.0
python3-grpcio-channelz: upgrade 1.67.1 -> 1.68.1
python3-grpcio-reflection: upgrade 1.67.1 -> 1.68.1
python3-grpcio: upgrade 1.67.1 -> 1.68.1
python3-haversine: upgrade 2.8.1 -> 2.9.0
python3-httptools: upgrade 0.6.2 -> 0.6.4
python3-httpx: upgrade 0.28.0 -> 0.28.1
python3-importlib-metadata: upgrade 8.4.0 -> 8.5.0
python3-inline-snapshot: upgrade 0.14.0 -> 0.18.1
python3-ipython: upgrade 8.30.0 -> 8.31.0
python3-janus: upgrade 1.1.0 -> 2.0.0
python3-marshmallow: upgrade 3.23.1 -> 3.23.2
python3-mlcommons-loadgen: upgrade 5.0.0 -> 5.0.4
python3-moteus: upgrade 0.3.72 -> 0.3.76
python3-pdm-backend: upgrade 2.4.2 -> 2.4.3
python3-pdm: upgrade 2.22.0 -> 2.22.1
python3-pycurl: upgrade 7.45.3 -> 7.45.4
python3-pydantic-core: upgrade 2.27.1 -> 2.27.2
python3-pymisp: upgrade 2.5.0 -> 2.5.4
python3-pymodbus: upgrade 3.7.4 -> 3.8.2
python3-pyproject-api: upgrade 1.7.2 -> 1.8.0
python3-pyroute2: upgrade 0.7.12 -> 0.8.1
python3-pytest-benchmark: upgrade 4.0.0 -> 5.1.0
python3-pytest-cov: upgrade 5.0.0 -> 6.0.0
python3-pytest-freezer: upgrade 0.4.8 -> 0.4.9
python3-python-multipart: upgrade 0.0.12 -> 0.0.20
python3-redis: upgrade 5.1.1 -> 5.2.1
python3-robotframework: upgrade 7.1 -> 7.1.1
python3-schedule: upgrade 1.2.1 -> 1.2.2
python3-sqlparse: upgrade 0.5.2 -> 0.5.3
python3-starlette: upgrade 0.39.2 -> 0.42.0
python3-typer: upgrade 0.14.0 -> 0.15.1
python3-types-setuptools: upgrade 73.0.0.20240822 -> 75.5.0.20241120
python3-virtualenv: upgrade 20.26.6 -> 20.28.0
python3-web3: upgrade 7.3.0 -> 7.6.1
python3-wtforms: upgrade 3.1.2 -> 3.2.1
sip: upgrade 6.9.0 -> 6.9.1
thingsboard-gateway: upgrade 3.5.1 -> 3.5.3.1
tk: upgrade 9.0.0 -> 9.0.1
uftrace: upgrade 0.16 -> 0.17
ctags: upgrade 6.1.20241222.0 -> 6.1.20241229.0
doxygen: upgrade 1.12.0 -> 1.13.0
flatbuffers: upgrade 24.3.25 -> 24.12.23
libnet-dns-perl: upgrade 1.47 -> 1.49
libsdl2-image: upgrade 2.8.3 -> 2.8.4
memcached: upgrade 1.6.33 -> 1.6.34
parallel: upgrade 20241122 -> 20241222
python3-astroid: upgrade 3.3.7 -> 3.3.8
python3-coverage: upgrade 7.6.9 -> 7.6.10
python3-kiwisolver: upgrade 1.4.7 -> 1.4.8
python3-libusb1: upgrade 3.1.0 -> 3.2.0
python3-path: upgrade 17.0.0 -> 17.1.0
python3-pulsectl: upgrade 24.11.0 -> 24.12.0
python3-pybcj: upgrade 1.0.2 -> 1.0.3
python3-pyppmd: upgrade 1.1.0 -> 1.1.1
python3-starlette: upgrade 0.42.0 -> 0.44.0
python3-trio: upgrade 0.27.0 -> 0.28.0
ctags: upgrade 6.1.20241229.0 -> 6.1.20250105.0
doxygen: upgrade 1.13.0 -> 1.13.1
evolution-data-server: upgrade 3.54.2 -> 3.54.3
fping: upgrade 5.2 -> 5.3
byacc: upgrade 20230219 -> 20241231
composefs: upgrade 1.0.5 -> 1.0.8
libbpf: upgrade 1.4.7 -> 1.5.0
python3-grpcio-channelz: upgrade 1.68.1 -> 1.69.0
python3-grpcio-reflection: upgrade 1.68.1 -> 1.69.0
python3-grpcio: upgrade 1.68.1 -> 1.69.0
python3-inline-snapshot: upgrade 0.18.1 -> 0.18.2
python3-marshmallow: upgrade 3.23.2 -> 3.23.3
python3-pillow: upgrade 11.0.0 -> 11.1.0
python3-portalocker: upgrade 3.0.0 -> 3.1.1
python3-pyusb: upgrade 1.2.1 -> 1.3.0
python3-starlette: upgrade 0.44.0 -> 0.45.2
python3-trustme: upgrade 1.2.0 -> 1.2.1
python3-virtualenv: upgrade 20.28.0 -> 20.28.1
pocketpy: upgrade 2.0.3 -> 2.0.4
chrony: upgrade 4.5 -> 4.6.1
ctags: upgrade 6.1.20250105.0 -> 6.1.20250112.0
ddrescue: upgrade 1.28 -> 1.29
doxygen: upgrade 1.13.1 -> 1.13.2
gtk-vnc: upgrade 1.3.1 -> 1.4.0
iniparser: upgrade 4.2.4 -> 4.2.5
jsoncons: upgrade 1.0.0 -> 1.1.0
libconfig-general-perl: upgrade 2.65 -> 2.67
libdbi-perl: upgrade 1.644 -> 1.646
libserialport: upgrade 0.1.1 -> 0.1.2
lldpd: upgrade 1.0.18 -> 1.0.19
monit: upgrade 5.34.3 -> 5.34.4
paho-mqtt-c: upgrade 1.3.13 -> 1.3.14
pugixml: upgrade 1.14 -> 1.15
python3-aniso8601: upgrade 9.0.1 -> 10.0.0
python3-cmake: upgrade 3.31.2 -> 3.31.4
python3-dirty-equals: upgrade 0.8.0 -> 0.9.0
python3-flask-marshmallow: upgrade 1.2.1 -> 1.3.0
python3-gnupg: upgrade 0.5.3 -> 0.5.4
python3-marshmallow: upgrade 3.24.1 -> 3.25.1
python3-mlcommons-loadgen: upgrade 5.0.4 -> 5.0.5
python3-pdm: upgrade 2.22.1 -> 2.22.2
python3-sh: upgrade 2.1.0 -> 2.2.1
python3-sqlalchemy: upgrade 2.0.36 -> 2.0.37
python3-wrapt: upgrade 1.17.0 -> 1.17.1
python3-zeroconf: upgrade 0.136.2 -> 0.139.0
ser2net: upgrade 4.6.2 -> 4.6.3
thingsboard-gateway: upgrade 3.5.3.1 -> 3.6.3
wpan-tools: upgrade 0.9 -> 0.10
xdg-desktop-portal-gtk: upgrade 1.15.1 -> 1.15.2
ctags: upgrade 6.1.20250112.0 -> 6.1.20250119.0
cxxopts: upgrade 3.2.0 -> 3.2.1
dialog: upgrade 1.3-20240619 -> 1.3-20250116
freeipmi: update 1.6.14 -> 1.6.15
iotop: upgrade 1.26 -> 1.27
libgee: upgrade 0.20.6 -> 0.20.8
libtoml11: upgrade 4.2.0 -> 4.3.0
lvm2: update 2.03.29 -> 2.03.30
mutter: upgrade 47.3 -> 47.4
opensc: upgrade 0.26.0 -> 0.26.1
openvpn: upgrade 2.6.12 -> 2.6.13
pocketpy: upgrade 2.0.4 -> 2.0.5
python3-cantools: upgrade 40.0.0 -> 40.1.1
python3-cloudpickle: upgrade 3.1.0 -> 3.1.1
python3-cmd2: upgrade 2.5.8 -> 2.5.9
python3-dbus-fast: upgrade 2.28.0 -> 2.30.2
python3-eth-abi: upgrade 5.1.0 -> 5.2.0
python3-hexbytes: upgrade 1.2.1 -> 1.3.0
python3-inline-snapshot: upgrade 0.19.1 -> 0.19.3
python3-jdatetime: upgrade 5.0.0 -> 5.1.0
python3-psycopg: upgrade 3.2.3 -> 3.2.4
python3-responses: upgrade 0.25.5 -> 0.25.6
python3-robotframework: upgrade 7.1.1 -> 7.2
python3-smpplib: upgrade 2.2.3 -> 2.2.4
python3-twitter: upgrade 4.14.0 -> 4.15.0
python3-virtualenv: upgrade 20.28.1 -> 20.29.1
python3-web3: upgrade 7.6.1 -> 7.7.0
python3-zeroconf: upgrade 0.139.0 -> 0.140.1
toybox: upgrade 0.8.11 -> 0.8.12
cbindgen: update 0.27.0 -> 0.28.0
smarty: update 4.5.5 -> 5.4.2
Xiangyu Chen (1):
crash: fix crash cannot work with kaslr
Yi Zhao (20):
python3-kivy: cleanup dependencies
python3-pyproj: cleanup dependencies
frr: upgrade 10.1.1 -> 10.2
networkmanager: upgrade 1.48.10 -> 1.50.0
strongswan: upgrade 5.9.14 -> 6.0.0
nspr: upgrade 4.35 -> 4.36
nss: upgrade 3.103 -> 3.107
mce-inject: update to latest git rev
openldap: upgrade 2.6.8 -> 2.6.9
tigervnc: upgrade 1.14.0 -> 1.14.1
frr: upgrade 10.2 -> 10.2.1
snort3: upgrade 3.3.4.0 -> 3.6.1.0
pahole: upgrade 1.27 -> 1.28
libbpf: upgrade 1.4.6 -> 1.4.7
snapper: set pam module path to ${base_libdir}/security
mariadb: set pam module path to ${base_libdir}/security
malcontent: set pam module path to ${base_libdir}/security
cockpit: set pam module path to ${base_libdir}/security
zfs: enable packageconfig pam for pam distro feature
audit: upgrade 4.0.2 -> 4.0.3
Yogita Urade (2):
postgresql: upgrade 16.4 -> 16.5
poppler: upgrade 24.12.0 -> 25.01.0
Zhang Peng (1):
lapack: fix TMPDIR reference in do_package_qa
van Veen, Stephan (1):
tclap: use most recent version
meta-raspberrypi: 97d7a6b5ec..b58e2af859:
Andrei Gherzan (1):
docs: Fix ReadTheDocs sphinx.configuration requirement
Anibal Limon (1):
linux-firmware-rpidistro: Add cyfmac43455-sdio.bin symlink to minimal
Jan Vermaete (2):
kas: added the synaptics-killswitch license in comment
kas: debug-tweaks as IMAGE_FEATURE is removed
poky: cc5e3503e4..c2da016918:
Adrian Freihofer (17):
busybox: add klogd service to FILES
dropbear: add dropbearkey.service to FILES
systemd.bbclass: refactor adding files
systemd.bbclass: do not automatically add Also services
systemd: split networkd into its own package
devtool: modify support debug-builds
devtool: ide-sdk sort cmake preset
devtool: ide-sdk recommend DEBUG_BUILD
oe-selftest: devtool ide-sdk use modify debug-build
rust: increase test timeout again
devtool: build-sdk remove unused imports
devtool: ide-sdk remove the plugin from eSDK installer
migration-guides: systemd.bbclass do not add Also services for 5.2
sdk-manual: extensible.rst: update devtool ide-sdk
sdk-manual: extensible.rst: remove confusing post-install-logging
release-notes-5.2: cover devtool modify --debug-build
sdk-manual: extensible.rst: devtool ide-sdk improve
Alessio Cascone (1):
tzcode-native: Fix compiler setting from 2023d version
Alexander Kanavin (34):
oe-setup-build: raise exceptions on errors
python3-cryptography-vectors: correct upstream version check
conf/bitbake.conf: move addfragments to just after the local.conf include
gettext: update 0.22.5 -> 0.23.1
libxt: update 1.3.0 -> 1.3.1
libxshmfence: update 1.3.2 -> 1.3.3
rt-tests: update 2.7 -> 2.8
iproute2: update 6.11.0 -> 6.12.0
kbd: update 2.6.4 -> 2.7.1
shadow: merge .inc into .bb
shadow: exclude pre-releases from version checks
file: upgrade 5.45 -> 5.46
bbconfigbuild/configfragments.py: set BBPATH in standalone datastore
python3-click: update 8.1.7 -> 8.1.8
python3-jinja2: upgrade 3.1.4 -> 3.1.5
ppp: update 2.5.1 -> 2.5.2
tcl: update 9.0.0 -> 9.0.1
bc: update 1.07.1 -> 1.08.1
texinfo: update 7.1.1 -> 7.2
boost: update 1.86.0 -> 1.87.0
liburcu: update 0.14.1 -> 0.15.0
libxcrypt: update 4.4.36 -> 4.4.37
ruby: update 3.3.6 -> 3.4.1
shadow: update 4.16.0 -> 4.17.1
blktool: remove the recipe
python3-numpy: upgrade 2.1.3 -> 2.2.1
tcl8: upgrade 8.6.15 -> 8.6.16
libgit2: update 1.8.4 -> 1.9.0
sysvinit: update 3.11 -> 3.13
procps: update 4.0.4 -> 4.0.5
dbus: update 1.14.10 -> 1.16.0
tcl: disable 'zipfs' feature
tcl8: add a patch to address Y2038 issues (tcl 9.x doesn't need it)
selftest/virgl: add a link to RHEL merge request to address the missing vgem module
Alexander Yurkov (2):
oeqa/selftest/recipetool: Update create_go test.
classes: go-vendor: Change symlink creation.
Alexander van Gessel (1):
busybox: Change symlink locations to match alternative
Angelo.Ribeiro (1):
report-error: Add PN to error report file
Antonin Godard (34):
Gather dependencies in poky.yaml.in
poky.yaml.in: add missing locales dependency
poky.yaml.in: replace inkscape dependency by librsvg2-bin
system-requirements: add fedora 39 to supported distros
system-requirements: update list of supported distros
system-requirements.rst: add dependencies for pdf builds
Update the documentation for SRCPV
set_versions.py: use backward-compatible python argument in run
ref-manual/variables: document the KERNEL_CONSOLE variable
ref-manual/classes: drop the migrate_localcount class
ref-manual/variables: document the FIRMWARE_COMPRESSION variable
ref-manual/variables: add missing entries to SDK_ARCHIVE_TYPE
ref-manual/variables: document the WIC_SECTOR_SIZE variable
ref-manual/variable: remove obsolete SETUPTOOLS_INSTALL_ARGS
ref-manual/classes: document the cython class
Remove debug-tweaks references
Drop support for BB_DANGLINGAPPENDS_WARNONLY
ref-manual/variables: document the CHECKLAYER_REQUIRED_TESTS variable
ref-manual/classes: document the yocto-check-layer class
ref-manual/variables: document the CARGO_INSTALL_LIBRARIES variable
ref-manual/variables: document the PREFERRED_RPROVIDER variable
migration-guides: update the release notes for 5.2
bitbake: doc/bitbake-user-manual-metadata: fix unindent warnings
bitbake: doc: update releases.rst
ref-manual/qa-checks: remove patch-status-core/patch-status-noncore
contributor-guide/submit-changes.rst: suggest to remove the git signature
ref-manual/devtool-reference: add warning note on deploy-target and shared objects
SSTATE_MIRRORS/SOURCE_MIRROR_URL: add instructions for mirror authentication
ref-manual/packages: move ptest section to the test-manual
ref-manual: move runtime-testing section to the test-manual
Update autobuilder URLs to valkyrie
test-manual/reproducible-builds: fix reproducible links
test-manual/ptest: link to common framework ptest classes
dev-manual/building: document the initramfs-framework recipe
Archana Polampalli (1):
rsync: upgrade 3.3.0 -> 3.4.1
Artur Kowalski (8):
systemd-systemctl: add support for --global flag
systemd.bbclass: add ${sysconfdir}/systemd/user to search path
systemd.bbclass: factor out service lookup logic into separate function
systemd.bbclass: introduce systemd_service_searchpaths()
systemd.bbclass: properly handle user units in systemd_create_presets
systemd.bbclass: update postinst and prerm hooks
systemd.bbclass: support user units in postinst and prerm hooks
image.bbclass: enable systemd user services
Bastian Germann (6):
font-util: Correct SPDX expression
libbsd: Drop licenses that were removed upstream
libxfont2: Document more specific BSD-4-Clause-UC
man-pages: Document more specific BSD-4-Clause-UC
util-linux: Document more specific BSD-4-Clause-UC
busybox: Correct SPDX license reference
Bastien JAUNY (1):
classes/logging: Added the bbverbnote command to the logging set
Benjamin Bara (3):
multilib.conf: overwrite conf files for debs
glibc: set ld.so.conf as conf file
multilib-example.conf: explicitly overwrite the BASELIB
Benjamin Szőke (1):
systemd: Add WATCHDOG_RUNTIME_SEC optional variable
Bin Lan (3):
gcc: backport patch to fix data relocation to !ENDBR: stpcpy
package_rpm: set a timestamp handling policy with the new macro %build_mtime_policy
bitbake: bb/fetch2/__init__.py: remove a DeprecationWarning in uri_replace()
Bruce Ashfield (15):
linux-yocto/6.12: update to v6.12.5
linux-yocto/6.6: update to v6.6.66
kern-tools: fix python 3.12 warning
linux-yocto/6.6: update to v6.6.69
linux-yocto/6.12: update to v6.12.8
linux-yocto-dev: update to v6.13
linux-yocto/6.12: update to v6.12.9
yocto-bsp: drop genericarm64 SRCREV
linux-yocto/6.6: update to v6.6.71
linux-yoto/6.12: skylake drop CONFIG_SND_SOC_INTEL_SKL_RT286_MACH
linux-yocto/6.12: update to v6.12.10
linux-yocto/6.6: update to v6.6.72
linux-yocto/6.12: update to v6.12.11
linux-yocto/6.6: update to v6.6.74
linux-yocto/6.12: bsp/genericarm64: enable PowerVR DRM and Intel HDA sound drivers
Changqing Li (2):
sanity.bbclass: Lower the length of TMPDIR limit to 400
systemd: enable create-log-dirs
Chen Qi (2):
systemd: upgrade from 256.9 to 257
rpm: avoid empty plugindir error
Chris Laplante (13):
bitbake: cooker: Make cooker 'skiplist' per-multiconfig/mc
devtool: un-globalize the 'basepath' variable
devtool: un-globalize 'workspace' variable
devtool: un-globalize 'context' variable and convert it to a dataclass
devtool: un-globalize 'config' variable
devtool: un-globalize 'plugins' variable
devtool: misc cleanups
devtool: remove unused 'config' param from '_create_workspace' method
devtool: standard: cleanup imports; stop relying on transitive bb imports
devtool: standard: fix typo in variable
devtool: standard: fix unbound variable usage
devtool: standard: simplify get_staging_kver
oeqa/selftest: also copy local changes from the 'scripts/' dir
Christian Taedcke (1):
kernel-yocto: enable fetching kernel metadata using file fetcher
Christos Gavros (1):
sanity: Add test for functional c++ toolchain
Colin McAllister (2):
cve-check: Fix errors in log lines
cve-check: Rework patch parsing
Daniel McGregor (1):
util-linux-libuuid: use util-linux's CVE_PRODUCT value
Deepesh Varatharajan (3):
rust-target-config: Update the data layout for x86 , ppc , riscv64 , aarch64 and loongaarch64 targets.
rust: Fix for duplicate libstd.so
rust: Upgrade 1.80.1->1.81.0
Denis OSTERLAND-HEIM (1):
create-spdx: support line numbers
Derek Straka (5):
classes/pypi: update the default UPSTREAM_CHECK_URI to use the simple repo API
python3-*: Update recipes to correctly check the upstream packages
classes/ptest-python-pytest: add a new class to consolidate pytest ptest functionality
python3-*: Update recipes with pytest ptests to use the new ptest-python-pytest class
classes/ptest-python-pytest: simplify python ptest file overriding
Dmitry Baryshkov (1):
linux-firmware: upgrade 20241210 -> 20250109
Enrico Jörns (2):
kernel-yocto: make kernel commits reproducible
ref-manual: add documentation for the barebox class
Enrico Scholz (1):
rust-common: add LDFLAGS to 'build-rust-cc' wrapper
Esben Haabendal (2):
pulseaudio: fix webrtc audio depdency
files: overlayfs-create-dirs: Improve mount unit dependency
Fabio Estevam (2):
u-boot: upgrade 2024.10 -> 2025.01
piglit: Upgrade to latest revision
Georgi, Tom (1):
devtool: ide-sdk: check 'tools-debug' for gdbserver
Guénaël Muller (1):
ref-manual: use standardized method accross both ubuntu and debian for locale install
Guðni Már Gilbert (1):
gnupg: remove obsolete patch
Harish Sadineni (3):
rust: fix for rust multilib sdk configuration
rust: remove redundant cargo config file
oeqa/sdk/context: fix for gtk3 test failure during do_testsdk
Haseeb Ashraf (1):
llvm: set LLVM_HOST_TRIPLE for cross-compilation
Hiago De Franco (2):
libxkbcommon: replace locale dependecy from RDEPENDS to RRECOMMENDS
eudev: backport patch to fix udevd hanging while trying to access /dev/urandom
Hongxu Jia (6):
initramfs-module-install: remove loongarch64 from COMPATIBLE_HOST
packagegroup-core-tools-testapps: skip KEXECTOOLS for loongarch64
packagegroup-core-tools-profile: skip VALGRIND for loongarch64
meta/lib/oe/spdx30_tasks.py: set license alias to hasConcludedLicense relationship
meta/lib/oe/sbom30.py: set alias for scan declared licenses
classes/spdx-common: Fix patch error for recipes that inherit dos2unix.
Igor Opaniuk (1):
lib/spdx30_tasks: support directories deployed by image recipes
Jermain Horsman (2):
openssh: update SRC_URI to use https
webp: update SRC_URI to use https
Jiaying Song (3):
tcl: Resolve tcl-ptest run failure
expect: Replace tclsh with tclsh8 in the scripts used in the Expect
boost: fix do_fetch error
Joshua Watt (4):
lib/configfragments: Restrict fragment file checking
lib/configfragements: enable/disable multiple fragements at once
udev-extraconf: Allow FAT mount group to be specified
lib: spdx: Upgrade to final 3.0.1 release
Justin Bronder (1):
scripts: wrap lz4c and convert to lz4
Kevin Hao (2):
yocto-bsp: Bump the default kernel to v6.12 for beaglebone
yocto-bsp: Bump the default kernel to v6.12 for x86 machines
Khem Raj (8):
musl: Upgrade to latest
nfs-utils: Fix warnings found with clang
webkitgtk: Fix build on 32bit arches with 64bit time_t only
nfs-utils: Use v2 of upstream patch for tpyecast fix
webkitgtk: Fix a typo OFFF -> OFF
webkitgtk: Disable JIT on RISCV64
rt-tests: Fix build with glibc 2.41+
gawk: Enable high precision arithmetic support
Lee Chee Yang (2):
migration-guides: add release notes for 5.1.1
migration-guides: add release notes for 5.0.6
Lei YU (1):
systemd: PACKAGECONFIG mountfsd and nsresourced
Leon Anavi (1):
perf: Fix a minor typo
Marc Ferland (5):
linux-firmware: split ath10k firmwares in separate packages
linux-firmware: split ath11k firmwares in separate packages
linux-firmware: split amdgpu firmwares in separate packages
linux-firmware: split ath12k firmwares in separate packages
linux-firmware: split qca firmwares in separate packages
Marek Vasut (2):
u-boot: kernel-fitimage: Fix dependency loop if UBOOT_SIGN_ENABLE and UBOOT_ENV enabled
base-files: Drop /bin/sh dependency
Mark Hatle (1):
populate_sdk_ext: write_local_conf add shutil import
Markus Volk (2):
glib-2.0: update 2.82.2 -> 2.82.4
libsecret: update patch Upstream-Status
Maxin John (1):
formfactor: add support for qemuriscv64 and qemuriscv32
Michael Opdenacker (3):
dev-manual: fix styling of references to bmaptool
dev-manual/bmaptool.rst: correct command for bmaptool-native
dev-manual/bmaptool.rst: simplify and fix instructions
Mikko Rapeli (3):
systemd: set CVE_PRODUCT
systemd: add apparmor PACKAGECONFIG support
systemd: add fido to PACKAGECONFIG options
Nick Owens (1):
bitbake: git-make-shallow: use stdin mode
Omri Sarig (1):
python3: Update stringold summary
Pedro Ferreira (1):
rust-common.bbclass: soft assignment for RUSTLIB path
Peter Kjellerstedt (1):
systemd: Remove /var/log/README using a patch
Peter Marko (5):
openssl: remove obsolete CVE version suffix
ofono: patch CVE-2024-7540, CVE-2024-7541, CVE-2024-7542
go: upgrade 1.22.8 -> 1.22.9
go: upgrade 1.22.9 -> 1.22.10
go: upgrade 1.22.10 -> 1.22.11
Philip Lorenz (2):
image/populate_sdk: Support usrmerge in toolchain SDK builds
bitbake: asyncrpc: Handle websockets exceptions
Priyal Doshi (1):
tzdata/tzcode-native: upgrade 2024b -> 2025a
Quentin Schulz (4):
uboot-extlinux-config.bbclass: simplify FDT/FDTDIR logic
uboot-extlinux-config.bbclass: add support for DTBOs
uboot-extlinux-config.bbclass: invalidate do_create_extlinux_config on changes to UBOOT_EXTLINUX_FDTOVERLAYS:x
ref-manual: variables: fix spurious parenthesis
Ricardo Salveti (1):
efivar: enable support for riscv64
Richard Purdie (51):
build-appliance-image: Update to master head revision
subversion: Upgrade 1.14.4 -> 1.14.5
qemu: Upgrade 9.1.1 -> 9.2.0
lttng-modules: Upgrade 2.13.15 -> 2.13.16
bitbake: parse: Add include_all conf file directive
Revert "python3-numpy: upgrade 2.1.3 -> 2.2.0"
cve-update-nvd2-native: Tweak to work better with NFS DL_DIR
base-passwd: upgrade 3.6.5 -> 3.6.6
bash-completion: upgrade 2.15.0 -> 2.16.0
ca-certificates: upgrade 20240203 -> 20241223
cmake-native,cmake: upgrade 3.31.0 -> 3.31.3,3.31.0 -> 3.31.3
cracklib: upgrade 2.10.2 -> 2.10.3
debianutils: upgrade 5.20 -> 5.21
gpgme: upgrade 1.24.0 -> 1.24.1
init-system-helpers: upgrade 1.67 -> 1.68
libcap: upgrade 2.71 -> 2.73
libical: upgrade 3.0.18 -> 3.0.19
nettle: upgrade 3.10 -> 3.10.1
piglit: upgrade to latest revision
puzzles: upgrade to latest revision
python3-cryptography{,-vectors}: upgrade 43.0.3 -> 44.0.0
python3-hypothesis: upgrade 6.122.6 -> 6.123.2
python3-maturin: upgrade 1.7.8 -> 1.8.1
python3-pyparsing: upgrade 3.2.0 -> 3.2.1
python3-ruamel-yaml: upgrade 0.18.6 -> 0.18.7
python3-urllib3: upgrade 2.2.3 -> 2.3.0
xxhash: upgrade 0.8.2 -> 0.8.3
python3-attrs: upgrade 24.2.0 -> 24.3.0
go-vendor: Fix absolute paths issue
sstate: Ensure errors cause task failure
bitbake.conf: Add bash-completion-native to ASSUME_PROVIDED
bitbake.conf: Add libstdc++-native to ASSUME_PROVIDED
bitbake.conf: Drop obsolete and misleading comment
python3-rpds-py: upgrade 0.21.0 -> 0.22.3
conf/distro/defaultsetup: Use include_all for maintainers.inc
bitbake: bin/git-make-shallow: Fix syntax to work with older git versions
coreutils: Improve core-utils-native dependency handling
util-linux: Improve PACKAGES_DYNAMIC handling for util-linux-native
native: Improve ${PN}-XXX package name handling
python3-psutil: Fix native dependencies
oeqa/selftest/sstatetests: Cover aarch64 SDKMACHINE in tests
bitbake: parse/ast: Add support for BB_RECIPE_VIRTUAL_PROVIDERS
classes/recipes: Switch virtual/XXX-gcc to virtual/cross-cc (and c++/binutils)
base: Switch virtual/cross-XXX to be under recipe specific providers
python3-cffi: Add missing pkgconfig dependency
bitbake: tests/fetch: Fix git shallow test failure with git >= 2.48
oeqa/sshcontrol: Handle empty reads
bitbake.conf: Handle empty BB_CURRENT_MC
bitbake: cooker/cache: Drop mc 'default' string value
oeqa/sdk/context: Improve multilib handling
meta/meta-selftest: Fix variable assignment whitespace
Robert Yang (3):
base/features_check: Make PARSE_ALL_RECIPES and SOURCE_MIRROR_FETCH boolean
libx11-compose-data: Use CONFLICT_DISTRO_FEATURES to skip when x11
fmt: 11.0.2 -> 11.1.1
Ross Burton (28):
bash: remove aclocal workarounds
subversion: add explicit DEPENDS on expat
subversion: refactor do_configure
tcl: don't run aclocal in do_configure
tcl8: don't run aclocal in do_configure
expect: don't run aclocal in do_configure
expect: cleanup do_install
ofono: fix the build when toolchain has old linux headers
bitbake: fetch2/wget: handle HTTP 308 Permanent Redirect
bitbake: fetch2/wget: correctly construct the target URL in checkstatus()
libtheora: backport a patch to fix autoreconf
autotools: log when we're removing aclocal.m4
autotools: remove aclocal --automake-acdir, relocated so knows the right path
rsync: clean up configure/configure.sh fiddling
classes/nativesdk: also override TUNE_PKGARCH
classes/qemu: use tune to select QEMU_EXTRAOPTIONS, not package architecture
classes/qemu: move QEMU_EXTRAOPTIONS for PPC to the relevant tunes
qemu/machine: rename QEMU_EXTRAOPTIONS for consistency
lttng-tools: disable patching our libtool.m4
autotools: clean up aclocal/ search path assignments
libtool: remove obsolete ACLOCALEXTRAPATH
autoconf: rename autotools_aclocals and only run in do_configure
fmt: fix build with GCC 9.4
oeqa/poisoning: fix gcc include poisoning test
gcc: make include poisoning fatal again in gcc/g++
man-db: fix broken requirement for flex
build-appliance-image: Update to master head revision
meson: upgrade to 1.7.0
Savvas Etairidis (1):
bitbake: tests/parse: Add test for unclosed functions
Sean Nyekjaer (2):
rust-cross-canadian: set CC_<triple> for nativesdk
oeqa/sdk/rust: Add a crate that needs the target and SDK host toolchain
Simon A. Eugster (2):
bitbake: doc: Document suffix for BBFILE_PRIORITY
grub-efi-cfg: Add GRUB_TITLE for custom GRUB titles
Slawomir Stepien (1):
kernel-yocto: move the cp of ${KBUILD_DEFCONFIG} file outside if body
Stefan Gloor (1):
wic: add documentation for existing options to help.py
Stefan Herbrechtsmeier (11):
bitbake: tests: fetch: adapt npmsw tests to fixed unpack behavior
bitbake: tests: fetch: do not skip plain npmsw tests
bitbake: fetch2: npmsw: ignore bundled dependencies in packages
bitbake: tests: fetch: add npmsw test case for bundled dependencies
bitbake: tests: fetch: update npmsw tests to new lockfile format
bitbake: fetch2: npmsw: remove old lockfile format support
bitbake: tests: fetch: replace [url] with urls for npm
bitbake: fetch2: do not prefix embedded checksums
bitbake: fetch2: read checksum from SRC_URI flag for npm
bitbake: utils: add Go mod h1 checksum support
bitbake: tests: utils: add test for Go mod h1 checksum
Sunil Dora (1):
gcc: poison-system-directories patch updated for missing paths
Thomas Perrot (1):
opensbi: bump to 1.6
Thomas Roos (1):
gcc-sanitizers.inc: Workaround for aarch64
Tom Hochstein (5):
pkgconfig: Add pkg-config-native to SDK
wayland-protocols: Remove inoperative packaging override
weston: Fix wayland-protocols dependency
weston: Disable unused tests build
mesa: Fix missing GLES3 headers in SDK sysroot
Trevor Gamblin (6):
python3-numpy: upgrade 2.1.3 -> 2.2.0
reproducible-builds.rst: show how to build a single package
libdnf: backport patch to fix segfault
python3: upgrade 3.13.0 -> 3.13.1
python3-numpy: upgrade 2.2.1 -> 2.2.2
cmake: upgrade 3.31.3 -> 3.31.4
Walter Schweizer (1):
initrdscripts: add UBI support
Wang Mingyu (55):
systemd: upgrade 256.8 -> 256.9
appstream: upgrade 1.0.3 -> 1.0.4
erofs-utils: upgrade 1.8.2 -> 1.8.3
igt-gpu-tools: upgrade 1.29 -> 1.30
json-glib: upgrade 1.10.0 -> 1.10.6
libice: upgrade 1.1.1 -> 1.1.2
libjitterentropy: upgrade 3.6.0 -> 3.6.1
libsm: upgrade 1.2.4 -> 1.2.5
libxau: upgrade 1.0.11 -> 1.0.12
libxcvt: upgrade 0.1.2 -> 0.1.3
libxrender: upgrade 0.9.11 -> 0.9.12
libxv: upgrade 1.0.12 -> 1.0.13
libxxf86vm: upgrade 1.1.5 -> 1.1.6
mpg123: upgrade 1.32.9 -> 1.32.10
nfs-utils: upgrade 2.8.1 -> 2.8.2
ofono: upgrade 2.13 -> 2.14
pango: upgrade 1.55.0 -> 1.55.5
re2c: upgrade 4.0.1 -> 4.0.2
socat: upgrade 1.8.0.1 -> 1.8.0.2
bind: upgrade 9.20.3 -> 9.20.4
diffoscope: upgrade 283 -> 284
libportal: upgrade 0.8.1 -> 0.9.0
libwebp: upgrade 1.4.0 -> 1.5.0
llvm: upgrade 19.1.5 -> 19.1.6
meson: upgrade 1.6.0 -> 1.6.1
python3-certifi: upgrade 2024.8.30 -> 2024.12.14
python3-dbusmock: upgrade 0.32.2 -> 0.33.0
python3-hatchling: upgrade 1.26.3 -> 1.27.0
python3-hypothesis: upgrade 6.119.4 -> 6.122.6
python3-mako: upgrade 1.3.6 -> 1.3.8
python3-maturin: upgrade 1.7.4 -> 1.7.8
python3-psutil: upgrade 6.1.0 -> 6.1.1
python3-pyopenssl: upgrade 24.2.1 -> 24.3.0
python3-pytest-subtests: upgrade 0.13.1 -> 0.14.1
python3-pytest: upgrade 8.3.3 -> 8.3.4
python3-six: upgrade 1.16.0 -> 1.17.0
repo: upgrade 2.49.3 -> 2.50.1
wayland-protocols: upgrade 1.38 -> 1.39
webkitgtk: upgrade 2.46.4 -> 2.46.5
xserver-xorg: upgrade 21.1.14 -> 21.1.15
systemd: upgrade 257 -> 257.1
debugedit: Fix install conflict when enable multilib.
erofs-utils: upgrade 1.8.3 -> 1.8.4
gtk4: upgrade 4.16.7 -> 4.16.12
hwdata: upgrade 0.390 -> 0.391
libedit: upgrade 20240808-3.1 -> 20250104-3.1
libsdl2: upgrade 2.30.10 -> 2.30.11
libtest-warnings-perl: upgrade 0.033 -> 0.037
python3-gitdb: upgrade 4.0.11 -> 4.0.12
python3-poetry-core: upgrade 1.9.1 -> 2.0.0
python3-pygments: upgrade 2.18.0 -> 2.19.0
python3-ruamel-yaml: upgrade 0.18.7 -> 0.18.9
stress-ng: upgrade 0.18.07 -> 0.18.08
xf86-input-synaptics: upgrade 1.9.2 -> 1.10.0
xinit: upgrade 1.4.2 -> 1.4.3
Xiangyu Chen (1):
lttng-modules: fix sched_stat_runtime changed in Linux 6.6.66
Yash Shinde (1):
gdb: Upgrade 15.2 -> 16.1
Yi Zhao (3):
libpam: set pam module path to ${base_libdir}/security
util-linux: replace local patch with upstream patch
util-linux: add volatile file for lastlog2
Yoann Congal (4):
bitbake: tests/parse: add test for ?= and ??= operators for variable flags
bitbake: data_smart: fix ??= operator for variable flags
selftest/reproducible: Print full log path on failure
selftest/reproducible: Print error context on failure
Yogita Urade (1):
ofono: fix CVE-2024-7539
hongxu (3):
meta/lib/oe/sbom30.py: correct alias
meta/lib/oe/sbom30.py: fix alias in simplelicensing_customIdToUri not extracted
meta/lib/oe/cve_check.py: fix patched_cves not updated
Change-Id: I2081cc0af45520cce98a9edeba250e4dc214310a
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python')
364 files changed, 742 insertions, 1629 deletions
diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-a2wsgi_1.10.7.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-a2wsgi_1.10.8.bb index 023f227909..b9daf044f0 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-a2wsgi_1.10.7.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-a2wsgi_1.10.8.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e10d05d29ec6d8be8bfc503683f1bc9a" inherit pypi python_setuptools_build_meta ptest -SRC_URI[sha256sum] = "ce462ff7e1daac0bc57183c6f800f09a71c2a7a98ddd5cdeca149e3eabf3338e" +SRC_URI[sha256sum] = "fc00bab1fc792f89a8ce1b491b2ad1717b145d8caefb75d0a8586946edc97cb2" DEPENDS += " \ python3-pdm-native \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-aiohttp_3.11.8.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-aiohttp_3.11.11.bb index 9c4720daf2..3d4cb75e6a 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-aiohttp_3.11.8.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-aiohttp_3.11.11.bb @@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/aio-libs/aiohttp" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=748073912af33aa59430d3702aa32d41" -SRC_URI[sha256sum] = "7bc9d64a2350cbb29a9732334e1a0743cbb6844de1731cbdf5949b235653f3fd" +SRC_URI[sha256sum] = "bb49c7f1e6ebf3821a42d81d494f538107610c3a705987f53068546b0e90303e" PYPI_PACKAGE = "aiohttp" inherit python_setuptools_build_meta pypi diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-aioresponses_0.7.7.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-aioresponses_0.7.8.bb index 1f801877c6..1b74b839a1 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-aioresponses_0.7.7.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-aioresponses_0.7.8.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/pnuckowski/aioresponses" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=b22b40d5974300051216633098387c57" -SRC_URI[sha256sum] = "66292f1d5c94a3cb984f3336d806446042adb17347d3089f2d3962dd6e5ba55a" +SRC_URI[sha256sum] = "b861cdfe5dc58f3b8afac7b0a6973d5d7b2cb608dd0f6253d16b8ee8eaf6df11" DEPENDS += "python3-pbr-native" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-aiosignal_1.3.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-aiosignal_1.3.2.bb index 029f13cd44..33320770ab 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-aiosignal_1.3.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-aiosignal_1.3.2.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/aio-libs/aiosignal" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=cf056e8e7a0a5477451af18b7b5aa98c" -SRC_URI[sha256sum] = "54cd96e15e1649b75d6c87526a6ff0b6c1b0dd3459f43d9ca11d48c339b68cfc" +SRC_URI[sha256sum] = "a8c255c66fafb1e499c9351d0bf32ff2d8a0321595ebac3b93713656d2436f54" inherit pypi python_setuptools_build_meta diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-aniso8601_10.0.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-aniso8601_10.0.0.bb new file mode 100644 index 0000000000..4fe18d18eb --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-aniso8601_10.0.0.bb @@ -0,0 +1,8 @@ +DESCRIPTION = "A library for parsing ISO 8601 strings." + +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=ba35a7f4192a3ea09a01f4e8169a56bc" + +SRC_URI[sha256sum] = "ff1d0fc2346688c62c0151547136ac30e322896ed8af316ef7602c47da9426cf" + +inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-aniso8601_9.0.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-aniso8601_9.0.1.bb deleted file mode 100644 index 3d99e48c26..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-aniso8601_9.0.1.bb +++ /dev/null @@ -1,8 +0,0 @@ -DESCRIPTION = "A library for parsing ISO 8601 strings." - -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=6d91d56f51a54389d95526eefe039b1c" - -SRC_URI[sha256sum] = "72e3117667eedf66951bb2d93f4296a56b94b078a8a95905a052611fb3f1b973" - -inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-annotated-types_0.7.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-annotated-types_0.7.0.bb index 53552d0b7b..79e26e7ae3 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-annotated-types_0.7.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-annotated-types_0.7.0.bb @@ -9,6 +9,10 @@ SRC_URI[sha256sum] = "aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d7907235434083 S = "${WORKDIR}/annotated_types-${PV}" PYPI_PACKAGE = "annotated_types" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" + inherit pypi python_hatchling RDEPENDS:${PN} = "python3-typing-extensions" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-anyio_4.6.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-anyio_4.8.0.bb index 231a7fb878..c103eba46d 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-anyio_4.6.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-anyio_4.8.0.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c0a769411d2af7894099e8ff75058c9f" inherit pypi python_setuptools_build_meta -SRC_URI[sha256sum] = "f72a7bb3dd0752b3bd8b17a844a019d7fbf6ae218c588f4f9ba1b2f600b12347" +SRC_URI[sha256sum] = "1d9fe889df5212298c0c0723fa20479d1b94883a2df44bd3897aa91083316f7a" DEPENDS += " \ python3-setuptools-scm-native \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-apiflask_2.2.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-apiflask_2.3.2.bb index d6e88beecc..489d6be69a 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-apiflask_2.2.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-apiflask_2.3.2.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5f89d1b0dec37448d4f4163dc3c40e64" inherit pypi python_setuptools_build_meta -SRC_URI[sha256sum] = "9c7573fedbb75524396c5733d4b0c150d1839a5d52b905c15b6a36e030c44908" +SRC_URI[sha256sum] = "4b18ccdcc335a9ae8cd85701662d92c879339bf439b45fa7c85fca76c9588619" RDEPENDS:${PN} += "\ python3-apispec \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-apispec_6.7.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-apispec_6.8.1.bb index bccbc4bbcc..7619210eb9 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-apispec_6.7.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-apispec_6.8.1.bb @@ -5,6 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a75956865b40c80a37c1e864716592b4" inherit pypi python_setuptools_build_meta -SRC_URI[sha256sum] = "c01b8b6ff40ffedf55b79a67f9dd920e9b2fc3909aae116facf6c8372a08b933" +SRC_URI[sha256sum] = "f4916cbb7be156963b18f5929a0e42bd2349135834b680a81b12432bcfaa9a39" RDEPENDS:${PN} += "python3-packaging" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-appdirs/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-appdirs/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-appdirs/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-appdirs_1.4.4.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-appdirs_1.4.4.bb index eab39312ae..bee0b7d815 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-appdirs_1.4.4.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-appdirs_1.4.4.bb @@ -2,22 +2,10 @@ SUMMARY = "A small Python module for determining appropriate + platform-specific LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=31625363c45eb0c67c630a2f73e438e4" -SRC_URI += " \ - file://run-ptest \ -" - SRC_URI[sha256sum] = "7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41" -inherit pypi setuptools3 ptest - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" +inherit pypi setuptools3 ptest-python-pytest -do_install_ptest() { - install -d ${D}${PTEST_PATH}/test - cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ -} +PTEST_PYTEST_DIR = "test" BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-apply-defaults_0.1.6.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-apply-defaults_0.1.6.bb index 6bf61cfcd3..1be20f179a 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-apply-defaults_0.1.6.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-apply-defaults_0.1.6.bb @@ -4,6 +4,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=c89120516900f96f4c60d35fdc4c3f15" PYPI_PACKAGE = "apply_defaults" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" SRC_URI[sha256sum] = "3773de3491b94c0fe44310f1a85888389cdc71e1544b343bce0d2bd6991acea5" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-argcomplete_3.5.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-argcomplete_3.5.3.bb index 531399d364..a38a247b75 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-argcomplete_3.5.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-argcomplete_3.5.3.bb @@ -3,15 +3,13 @@ HOMEPAGE = "https://github.com/kislyuk/argcomplete" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=2ee41112a44fe7014dce33e26468ba93" -SRC_URI[sha256sum] = "eb1ee355aa2557bd3d0145de7b06b2a45b0ce461e1e7813f5d066039ab4177b4" +SRC_URI[sha256sum] = "c12bf50eded8aebb298c7b7da7a5ff3ee24dffd9f5281867dfe1424b58c55392" PYPI_PACKAGE = "argcomplete" -inherit pypi python_setuptools_build_meta +inherit pypi python_hatchling -DEPENDS += " \ - python3-setuptools-scm-native \ -" +DEPENDS += "python3-hatch-vcs-native" RDEPENDS:${PN} += "\ python3-core \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-arpeggio_2.0.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-arpeggio_2.0.2.bb index 3130e2cb96..85bb066be5 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-arpeggio_2.0.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-arpeggio_2.0.2.bb @@ -6,6 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=33b8d1ba459a2fa4d801acfd1d1b7ceb" SRC_URI[sha256sum] = "c790b2b06e226d2dd468e4fbfb5b7f506cec66416031fde1441cf1de2a0ba700" PYPI_PACKAGE = "Arpeggio" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" + inherit pypi setuptools3 # setup.py of Arpeggio needs this. diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-arrow/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-arrow/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-arrow/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-arrow_1.3.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-arrow_1.3.0.bb index c1b7c1a433..7ce9583d2a 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-arrow_1.3.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-arrow_1.3.0.bb @@ -6,26 +6,15 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=14a2e29a9d542fb9052d75344d67619d" SRC_URI[sha256sum] = "d4540617648cb5f895730f1ad8c82a65f2dad0166f57b75f3ca54759c4d67a85" -inherit pypi python_flit_core ptest - -SRC_URI += " \ - file://run-ptest \ -" +inherit pypi python_flit_core ptest-python-pytest RDEPENDS:${PN}-ptest += " \ python3-dateutil-zoneinfo \ - python3-pytest \ python3-pytest-mock \ python3-pytz \ python3-simplejson \ - python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - RDEPENDS:${PN} += " \ python3-compression \ python3-dateutil \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-asgiref/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-asgiref/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-asgiref/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-asgiref_3.8.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-asgiref_3.8.1.bb index 3b90eda5bb..5d68b3e3f9 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-asgiref_3.8.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-asgiref_3.8.1.bb @@ -4,27 +4,19 @@ SECTION = "devel/python" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa" -SRC_URI += "file://run-ptest \ - " SRC_URI[sha256sum] = "c343bd80a0bec947a9860adb4c432ffa7db769836c64238fc34bdc3fec84d590" export BUILD_SYS export HOST_SYS -inherit pypi ptest setuptools3 +inherit pypi ptest-python-pytest setuptools3 RDEPENDS:${PN}-ptest += " \ python3-asyncio \ python3-io \ python3-multiprocessing \ - python3-pytest \ - python3-unittest-automake-output \ + python3-pytest-asyncio \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-aspectlib/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-aspectlib/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-aspectlib/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-aspectlib_2.0.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-aspectlib_2.0.0.bb index 1341513289..854a14441c 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-aspectlib_2.0.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-aspectlib_2.0.0.bb @@ -10,21 +10,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=80721ace117fd1f814049ecb81c6be76" SRC_URI[sha256sum] = "a4b461b9da0b531aebcb93efcde3de808a72c60226dd8d902c467d13faf7ce92" -inherit ptest pypi setuptools3 - -SRC_URI += "file://run-ptest \ - " - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} +inherit ptest-python-pytest pypi setuptools3 RDEPENDS:${PN}-ptest += "\ python3-process-tests \ - python3-pytest \ python3-tornado \ - python3-unittest-automake-output \ " RDEPENDS:${PN} += " \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-astroid_3.3.5.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-astroid_3.3.8.bb index cfa58e7ee5..528cc158dc 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-astroid_3.3.5.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-astroid_3.3.8.bb @@ -4,7 +4,7 @@ SECTION = "devel/python" LICENSE = "LGPL-2.1-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1" -SRC_URI[sha256sum] = "5cfc40ae9f68311075d27ef68a4841bdc5cc7f6cf86671b49f00607d30188e2d" +SRC_URI[sha256sum] = "a88c7994f914a4ea8572fac479459f4955eeccc877be3f2d959a33273b0cf40b" inherit pypi python_setuptools_build_meta diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-bandit_1.8.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-bandit_1.8.2.bb index 147689309b..4c1ff88a87 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-bandit_1.8.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-bandit_1.8.2.bb @@ -2,7 +2,7 @@ SUMMARY = "Security oriented static analyser for python code." LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658" -SRC_URI[sha256sum] = "b5bfe55a095abd9fe20099178a7c6c060f844bfd4fe4c76d28e35e4c52b9d31e" +SRC_URI[sha256sum] = "e00ad5a6bc676c0954669fe13818024d66b70e42cf5adb971480cf3b671e835f" DEPENDS = "python3-pbr-native python3-git python3-pbr python3-pyyaml python3-six python3-stevedore" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-beautifulsoup4_4.12.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-beautifulsoup4_4.12.3.bb index 14dedba922..d08017d003 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-beautifulsoup4_4.12.3.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-beautifulsoup4_4.12.3.bb @@ -10,9 +10,11 @@ inherit pypi python_hatchling RDEPENDS:${PN} = "\ python3-html5lib \ python3-lxml \ - python3-soupsieve \ python3-html \ python3-logging \ " +RDEPENDS:${PN}:append:class-target = " \ + python3-soupsieve \ +" BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-bitstring_4.2.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-bitstring_4.3.0.bb index 4d86ce7df8..79591fde7d 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-bitstring_4.2.3.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-bitstring_4.3.0.bb @@ -1,9 +1,9 @@ SUMMARY = "Simple construction, analysis and modification of binary data." HOMEPAGE = "https://github.com/scott-griffiths/bitstring" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=661f450e2c0aef39b4b15597333444a7" +LIC_FILES_CHKSUM = "file://LICENSE;md5=963a24c175e658fbf16a764135121ffa" -SRC_URI[sha256sum] = "e0c447af3fda0d114f77b88c2d199f02f97ee7e957e6d719f40f41cf15fbb897" +SRC_URI[sha256sum] = "81800bc4e00b6508716adbae648e741256355c8dfd19541f76482fb89bee0313" PYPI_PACKAGE = "bitstring" @@ -14,6 +14,7 @@ RDEPENDS:${PN} = "\ python3-io \ python3-mmap \ python3-numbers \ + python3-bitarray \ " BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-bleak/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-bleak/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-bleak/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-bleak_0.22.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-bleak_0.22.3.bb index c0150c7901..47b3bcc62f 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-bleak_0.22.3.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-bleak_0.22.3.bb @@ -6,25 +6,14 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=bcbc2069a86cba1b5e47253679f66ed7" SRCREV = "2e6890f68f6718b4f92e602b9b926aa3d107b556" PYPI_SRC_URI = "git://github.com/hbldh/bleak.git;protocol=https;branch=develop" -inherit pypi python_poetry_core ptest +inherit pypi python_poetry_core ptest-python-pytest S = "${WORKDIR}/git" -SRC_URI += " \ - file://run-ptest \ -" - RDEPENDS:${PN}-ptest += " \ - python3-pytest \ python3-pytest-asyncio \ - python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - RDEPENDS:${PN} += " \ python3-core (>3.8) \ python3-dbus-fast \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-blinker/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-blinker/run-ptest deleted file mode 100644 index 69cd362f69..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-blinker/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-blinker_1.9.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-blinker_1.9.0.bb index 33263ce6b3..2ee8133fbb 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-blinker_1.9.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-blinker_1.9.0.bb @@ -4,20 +4,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=42cd19c88fc13d1307a4efd64ee90e4e" SRC_URI[sha256sum] = "b4ce2265a7abece45e7cc896e98dbebe6cead56bcf805a3d23136d145f5445bf" -inherit pypi python_setuptools_build_meta ptest - -SRC_URI += "file://run-ptest" +inherit pypi python_setuptools_build_meta ptest-python-pytest RDEPENDS:${PN} += "\ python3-asyncio \ " - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-brotli_1.1.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-brotli_1.1.0.bb index 542c8640d7..2f7016a546 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-brotli_1.1.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-brotli_1.1.0.bb @@ -5,6 +5,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=941ee9cd1609382f946352712a319b4b" PYPI_PACKAGE = "Brotli" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" SRC_URI[sha256sum] = "81de08ac11bcb85841e440c13611c00b67d3bf82698314928d0b676362546724" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-cachecontrol_0.14.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-cachecontrol_0.14.2.bb index 93f8c9f718..6a239c06ed 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-cachecontrol_0.14.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-cachecontrol_0.14.2.bb @@ -1,15 +1,12 @@ SUMMARY = "httplib2 caching for requests" HOMEPAGE = "https://pypi.org/project/CacheControl/" LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=12;endline=12;md5=e2fd6ddcf506e08972d5ba4b93c0022e" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=6572692148079ebbbd800be4b9f36c6d" -SRC_URI[sha256sum] = "06ef916a1e4eb7dba9948cdfc9c76e749db2e02104a9a1277e8b642591a0f717" +SRC_URI[sha256sum] = "7d47d19f866409b98ff6025b6a0fca8e4c791fb31abbd95f622093894ce903a2" inherit pypi python_poetry_core -UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/CacheControl/" -UPSTREAM_CHECK_REGEX = "/CacheControl/(?P<pver>(\d+[\.\-_]*)+)" - RDEPENDS:${PN} += "\ python3-crypt \ python3-datetime \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-cached-property_1.5.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-cached-property_2.0.1.bb index 059c34a29d..41211534b5 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-cached-property_1.5.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-cached-property_2.0.1.bb @@ -5,7 +5,8 @@ SECTION = "devel/python" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=db7ff60c4e14f58534201242803d8abc" -SRC_URI[sha256sum] = "9fa5755838eecbb2d234c3aa390bd80fbd3ac6b6869109bfc1b499f7bd89a130" +PYPI_PACKAGE = "cached_property" +SRC_URI[sha256sum] = "484d617105e3ee0e4f1f58725e72a8ef9e93deee462222dbd51cd91230897641" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-cachetools/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-cachetools/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-cachetools/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-cachetools_5.5.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-cachetools_5.5.1.bb index 00e208f9cf..6c49844f3e 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-cachetools_5.5.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-cachetools_5.5.1.bb @@ -8,26 +8,12 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=539275e657c6b7af026bb908356f7541" -inherit pypi python_setuptools_build_meta ptest - -SRC_URI += " \ - file://run-ptest \ -" +inherit pypi python_setuptools_build_meta ptest-python-pytest RDEPENDS:${PN} += " \ python3-math \ " -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - -SRC_URI[sha256sum] = "2cc24fb4cbe39633fb7badd9db9ca6295d766d9c2995f245725a46715d050f2a" +SRC_URI[sha256sum] = "70f238fbba50383ef62e55c6aff6d9673175fe59f7c6782c7a0b9e38f4a9df95" BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-can_4.4.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-can_4.4.2.bb index 3781737e1d..31190a9f1d 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-can_4.4.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-can_4.4.2.bb @@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e6a600fd5e1d9cbde2d983680233ad02" SRC_URI[sha256sum] = "1c46c0935f39f7a9c3e76b03249af0580689ebf7a1844195e92f87257f009df5" PYPI_PACKAGE = "python_can" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi python_setuptools_build_meta diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-cantools_39.4.13.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-cantools_40.1.1.bb index fa9447b918..0267e895e1 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-cantools_39.4.13.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-cantools_40.1.1.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/eerimoq/cantools" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=d9aa4ec07de78abae21c490c9ffe61bd" -SRC_URI[sha256sum] = "ad84fb561f5ab20ccd2a45b7fcb29093008f6c8981c9f636f2d94613ed37c3d1" +SRC_URI[sha256sum] = "b1731da5e6997661084c6019d6cdcb3773868c035ed8a728126cf8c6f31a2368" PYPI_PACKAGE = "cantools" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-cassandra-driver_3.29.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-cassandra-driver_3.29.2.bb index 3003e84acf..f60167d309 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-cassandra-driver_3.29.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-cassandra-driver_3.29.2.bb @@ -8,7 +8,7 @@ LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" SRCNAME = "cassandra-driver" -SRC_URI[sha256sum] = "38e9c2a2f2a9664bb03f1f852d5fccaeff2163942b5db35dffcf8bf32a51cfe5" +SRC_URI[sha256sum] = "c4310a7d0457f51a63fb019d8ef501588c491141362b53097fbc62fa06559b7c" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-cbor2/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-cbor2/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-cbor2/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-cbor2_5.6.5.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-cbor2_5.6.5.bb index 6dd9f0cd15..834bad6865 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-cbor2_5.6.5.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-cbor2_5.6.5.bb @@ -4,21 +4,11 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a79e64179819c7ce293372c059f1dbd8" DEPENDS += "python3-setuptools-scm-native" SRC_URI[sha256sum] = "b682820677ee1dbba45f7da11898d2720f92e06be36acec290867d5ebf3d7e09" -SRC_URI += " \ - file://run-ptest \ -" - -inherit pypi python_setuptools_build_meta ptest -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} +inherit pypi python_setuptools_build_meta ptest-python-pytest RDEPENDS:${PN}-ptest += " \ python3-hypothesis \ - python3-pytest \ - python3-unittest-automake-output \ python3-unixadmin \ " RDEPENDS:${PN} += " \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-cerberus_1.3.5.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-cerberus_1.3.7.bb index eb3453aeef..83a06c6f57 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-cerberus_1.3.5.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-cerberus_1.3.7.bb @@ -4,8 +4,8 @@ SECTION = "devel/python" LICENSE = "ISC" LIC_FILES_CHKSUM = "file://LICENSE;md5=48f8e9432d0dac5e0e7a18211a0bacdb" -# The PyPI package uses a capital letter so we have to specify this explicitly -PYPI_PACKAGE = "Cerberus" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" + inherit pypi python_poetry_core -SRC_URI[sha256sum] = "81011e10266ef71b6ec6d50e60171258a5b134d69f8fb387d16e4936d0d47642" +SRC_URI[sha256sum] = "ecf249665400a0b7a9d5e4ee1ffc234fd5d003186d3e1904f70bc14038642c13" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.1.bb index 10f199db49..b13524c227 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.1.bb @@ -1,13 +1,14 @@ SUMMARY = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet." HOMEPAGE = "https://github.com/ousret/charset_normalizer" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=0974a390827087287db39928f7c524b5" +LIC_FILES_CHKSUM = "file://LICENSE;md5=48178f3fc1374ad7e830412f812bde05" -SRC_URI[sha256sum] = "223217c3d4f82c3ac5e29032b3f1c2eb0fb591b72161f86d93f5719079dae93e" +SRC_URI[sha256sum] = "44251f18cd68a75b56585dd00dae26183e102cd5e0f9f1466e6df5da2ed64ea3" inherit pypi setuptools3 PYPI_PACKAGE = "charset_normalizer" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" RDEPENDS:${PN} += " \ python3-core \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-cheetah_3.2.6.post1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-cheetah_3.2.6.post1.bb index 448772960b..6cba6b3adf 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-cheetah_3.2.6.post1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-cheetah_3.2.6.post1.bb @@ -4,6 +4,8 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=15e13a4ed0e5880e3e55ec88b0921181" PYPI_PACKAGE = "Cheetah3" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" + inherit pypi setuptools3 RDEPENDS:${PN} = "python3-pickle python3-pprint" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-cloudpickle_3.1.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-cloudpickle_3.1.1.bb index 7e378e7abb..7e2fadda1c 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-cloudpickle_3.1.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-cloudpickle_3.1.1.bb @@ -14,5 +14,5 @@ inherit pypi python_flit_core SRC_URI += "https://raw.githubusercontent.com/cloudpipe/cloudpickle/v${PV}/LICENSE;downloadfilename=LICENSE.cloudpickle;name=license" -SRC_URI[sha256sum] = "81a929b6e3c7335c863c771d673d105f02efdb89dfaba0c90495d1c64796601b" +SRC_URI[sha256sum] = "b216fa8ae4019d5482a8ac3c95d8f6346115d8835911fd4aefd1a445e4242c64" SRC_URI[license.sha256sum] = "3029ea34173e9fdc233ad315dc6b100bd1ea71f529b1c1af97664a272fdc55f5" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-cmake_3.31.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-cmake_3.31.4.bb index 5e75246ecf..2f199d7cde 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-cmake_3.31.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-cmake_3.31.4.bb @@ -11,7 +11,7 @@ PYPI_PACKAGE = "cmake" PYPI_ARCHIVE_NAME_PREFIX = "pypi-" inherit pypi python_setuptools_build_meta -SRC_URI[sha256sum] = "45e09ef6fc5a0d3d4cac11bfee43ba3f9925f301660630d3d1e5457fbe12ecdf" +SRC_URI[sha256sum] = "a6ac2242e0b16ad7d94c9f8572d6f232e6169747be50e5cdf497f206c4819ce1" SRC_URI += " \ file://CMakeLists.txt \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-cmd2_2.5.7.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-cmd2_2.5.9.bb index b764fd7524..b49bce53e5 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-cmd2_2.5.7.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-cmd2_2.5.9.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=01d2b71040983a2abc614fc4d0284771" DEPENDS += "python3-setuptools-scm-native" -SRC_URI[sha256sum] = "0219e2bb75075fa16deffb88edf86efdd2a87439d1fa7b94fdea4b929a3dc914" +SRC_URI[sha256sum] = "09bb13637832bc818aad5577ccdf5dbeb0c9fbe5b9412ff78d5084f7846f83ab" inherit pypi python_setuptools_build_meta python3native diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-configargparse_1.7.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-configargparse_1.7.bb index 1c49d891d2..4d18b6392d 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-configargparse_1.7.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-configargparse_1.7.bb @@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=da746463714cc35999ed9a42339f2943" SRC_URI[sha256sum] = "e7067471884de5478c58a511e529f0f9bd1c66bfef1dea90935438d6c23306d1" PYPI_PACKAGE = "ConfigArgParse" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-configobj/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-configobj/run-ptest deleted file mode 100755 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-configobj/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-configobj_5.0.9.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-configobj_5.0.9.bb index d41d71a4ea..bd4764f4de 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-configobj_5.0.9.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-configobj_5.0.9.bb @@ -5,23 +5,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e2df3cb285297a24cd1097dfe6e96f95" SRC_URI[sha256sum] = "03c881bbf23aa07bccf1b837005975993c4ab4427ba57f959afdd9d1a2386848" -inherit pypi python_setuptools_build_meta ptest +inherit pypi python_setuptools_build_meta ptest-python-pytest -SRC_URI += " \ - file://run-ptest \ -" +PTEST_PYTEST_DIR = "src/tests" RDEPENDS:${PN} += " \ python3-pprint \ python3-six \ " - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/src/tests/* ${D}${PTEST_PATH}/tests/ -} diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-coverage_7.6.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-coverage_7.6.10.bb index c87cfdd164..b5af7f3efa 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-coverage_7.6.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-coverage_7.6.10.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://coverage.readthedocs.io" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2ee41112a44fe7014dce33e26468ba93" -SRC_URI[sha256sum] = "a5f81e68aa62bc0cfca04f7b19eaa8f9c826b53fc82ab9e2121976dc74f131f3" +SRC_URI[sha256sum] = "7fb105327c8f8f0682e29843e2ff96af9dcbe5bab8eeb4b398c6a33a16d80a23" inherit pypi python_setuptools_build_meta diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-croniter_5.0.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-croniter_6.0.0.bb index ca99bacf7a..201074e1e3 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-croniter_5.0.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-croniter_6.0.0.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b8ee59850b882cbf623188489ea748e2" PYPI_PACKAGE = "croniter" -SRC_URI[sha256sum] = "7d9b1ef25b10eece48fdf29d8ac52f9b6252abff983ac614ade4f3276294019e" +SRC_URI[sha256sum] = "37c504b313956114a983ece2c2b07790b1f1094fe9d81cc94739214748255577" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-custom-inherit_2.4.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-custom-inherit_2.4.1.bb index e7409f77e6..a8aad44943 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-custom-inherit_2.4.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-custom-inherit_2.4.1.bb @@ -4,6 +4,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.md;md5=f910a85a4c3da51edf780f17a7608434" PYPI_PACKAGE = "custom_inherit" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" SRC_URI += "file://0001-versioneer.py-do-not-use-SafeConfigParser.patch" SRC_URI[sha256sum] = "7052eb337bcce83551815264391cc4efc2bf70b295a3c52aba64f1ab57c3a8a2" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-cytoolz_1.0.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-cytoolz_1.0.1.bb index 9df99e03c8..4aa110107a 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-cytoolz_1.0.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-cytoolz_1.0.1.bb @@ -5,7 +5,7 @@ SECTION = "devel/python" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d422ebce3e9c6447563bd410e9b22f2e" -SRC_URI[sha256sum] = "eb453b30182152f9917a5189b7d99046b6ce90cdf8aeb0feff4b2683e600defd" +SRC_URI[sha256sum] = "89cc3161b89e1bb3ed7636f74ed2e55984fd35516904fc878cae216e42b2c7d6" inherit pypi setuptools3 cython diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-dasbus/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-dasbus/run-ptest deleted file mode 100755 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-dasbus/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-dasbus_1.7.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-dasbus_1.7.bb index d1d294a284..141e6bfbaf 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-dasbus_1.7.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-dasbus_1.7.bb @@ -5,18 +5,14 @@ LICENSE = "LGPL-2.1-or-later" LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742" SRC_URI = "git://github.com/dasbus-project/dasbus.git;protocol=https;branch=master \ - file://run-ptest \ " SRCREV = "413cf9a0b7c231468f1d28d9a29dd8dd8bda15c5" S = "${WORKDIR}/git" -inherit setuptools3 ptest - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +inherit setuptools3 ptest-python-pytest +do_install_ptest:append () { # Remove the problematic cases # https://github.com/dasbus-project/dasbus/issues/128 rm -rf ${D}${PTEST_PATH}/tests/lib_dbus.py @@ -25,8 +21,3 @@ do_install_ptest() { } RDEPENDS:${PN} = "python3-pygobject" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-dbus-fast_2.24.4.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-dbus-fast_2.30.2.bb index 48f7d2df5a..8031023465 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-dbus-fast_2.24.4.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-dbus-fast_2.30.2.bb @@ -3,9 +3,10 @@ HOMEPAGE = "https://github.com/bluetooth-devices/dbus-fast" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=729e372b5ea0168438e4fd4a00a04947" -SRC_URI[sha256sum] = "58f97e8342d6cd11ebb2c8ac959c5bb342eb83e29180528690b323a5a5def41c" +SRC_URI[sha256sum] = "87296315f4a2f2416d495f48cca019ba901d046989e94df2adda84c3170da7b3" PYPI_PACKAGE = "dbus_fast" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi python_poetry_core cython diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-dbus-next_0.2.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-dbus-next_0.2.3.bb index 9f6aa7ed7f..10c1bfda04 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-dbus-next_0.2.3.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-dbus-next_0.2.3.bb @@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=94e750c96e56788499b56c81de91431c" SRC_URI[sha256sum] = "f4eae26909332ada528c0a3549dda8d4f088f9b365153952a408e28023a626a5" PYPI_PACKAGE = "dbus_next" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-deprecated_1.2.14.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-deprecated_1.2.15.bb index 49d5f01c8f..46b8a19ddc 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-deprecated_1.2.14.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-deprecated_1.2.15.bb @@ -3,8 +3,7 @@ HOMEPAGE = "https://deprecated.readthedocs.io/en/latest/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=44288e26f4896bdab14072d4fa35ff01" -PYPI_PACKAGE = "Deprecated" -SRC_URI[sha256sum] = "e5323eb936458dccc2582dc6f9c322c852a775a27065ff2b0c4970b9d53d01b3" +SRC_URI[sha256sum] = "683e561a90de76239796e6b6feac66b99030d2dd3fcf61ef996330f14bbb9b0d" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-dirty-equals_0.8.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-dirty-equals_0.9.0.bb index 584d787a7b..f944d75e97 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-dirty-equals_0.8.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-dirty-equals_0.9.0.bb @@ -10,13 +10,14 @@ HOMEPAGE = "https://github.com/samuelcolvin/dirty-equals" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=ab599c188b4a314d2856b3a55030c75c" -SRC_URI[sha256sum] = "798db3b9481b9a5024c0e520946507676ed2f0c65317d3e95bdce1a01657cf60" +SRC_URI[sha256sum] = "17f515970b04ed7900b733c95fd8091f4f85e52f1fb5f268757f25c858eb1f7b" S = "${WORKDIR}/dirty_equals-${PV}" inherit pypi python_hatchling PYPI_PACKAGE = "dirty_equals" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" RDEPENDS:${PN} += " \ python3-pytz \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-django-south_1.0.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-django-south_1.0.2.bb index 8237cf034d..5b0f6c6f3b 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-django-south_1.0.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-django-south_1.0.2.bb @@ -7,6 +7,8 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=17;endline=18;md5=2155d8ae21e7c231 SRC_URI[sha256sum] = "d360bd31898f9df59f6faa786551065bba45b35e7ee3c39b381b4fbfef7392f4" PYPI_PACKAGE = "South" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" + inherit pypi setuptools3 BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-django.inc b/meta-openembedded/meta-python/recipes-devtools/python/python3-django.inc index d9ab3fd21f..6ff9192cac 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-django.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-django.inc @@ -4,9 +4,9 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa" PYPI_PACKAGE = "Django" -inherit pypi +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" -UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)/" +inherit pypi FILES:${PN} += "${datadir}/django" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-django_4.2.16.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-django_4.2.17.bb index 564e8741e5..4116eafcd1 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-django_4.2.16.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-django_4.2.17.bb @@ -1,7 +1,7 @@ require python3-django.inc -inherit setuptools3 +inherit python_setuptools_build_meta -SRC_URI[sha256sum] = "6f1616c2786c408ce86ab7e10f792b8f15742f7b7b7460243929cb371e7f1dad" +SRC_URI[sha256sum] = "6b56d834cc94c8b21a8f4e775064896be3b4a4ca387f2612d4406a5927cd2fdc" RDEPENDS:${PN} += "\ python3-sqlparse \ @@ -10,5 +10,5 @@ RDEPENDS:${PN} += "\ # Set DEFAULT_PREFERENCE so that the LTS version of django is built by # default. To build the 4.x branch, -# PREFERRED_VERSION_python3-django = "4.2.16" can be added to local.conf +# PREFERRED_VERSION_python3-django = "4.2.17" can be added to local.conf DEFAULT_PREFERENCE = "-1" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-django_5.0.9.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-django_5.0.10.bb index 2de4832163..beadf3e953 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-django_5.0.9.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-django_5.0.10.bb @@ -1,7 +1,7 @@ require python3-django.inc inherit python_setuptools_build_meta -SRC_URI[sha256sum] = "6333870d342329b60174da3a60dbd302e533f3b0bb0971516750e974a99b5a39" +SRC_URI[sha256sum] = "0f6cbc56cc298b0451d20a5120c6a8731e9073330fb5d84295c23c151a1eb300" RDEPENDS:${PN} += "\ python3-sqlparse \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-dominate/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-dominate/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-dominate/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-dominate_2.9.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-dominate_2.9.1.bb index cce304498a..a0dd638087 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-dominate_2.9.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-dominate_2.9.1.bb @@ -4,23 +4,12 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b52f2d57d10c4f7ee67a7eb9615d5d24" SRC_URI[sha256sum] = "558284687d9b8aae1904e3d6051ad132dd4a8c0cf551b37ea4e7e42a31d19dc4" -inherit pypi ptest python_setuptools_build_meta +inherit pypi ptest-python-pytest python_setuptools_build_meta SRC_URI += " \ file://58f7d7fdb171f80ed6ce97e6ca4409723975c47f.patch \ - file://run-ptest \ " -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - RDEPENDS:${PN} += "\ python3-numbers \ python3-threading \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-dynamic-dispatch_1.0.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-dynamic-dispatch_1.0.3.bb index eeb013d4fe..227e97c46c 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-dynamic-dispatch_1.0.3.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-dynamic-dispatch_1.0.3.bb @@ -8,9 +8,7 @@ inherit pypi setuptools3 SRC_URI[sha256sum] = "fbc676aaedc8ec542056c21e5e206b8b62b8d11c3f3c5cfb32b273936da89604" PYPI_PACKAGE = "dynamic_dispatch" - -UPSTREAM_CHECK_URI = "https://pypi.org/project/dynamic-dispatch/" -UPSTREAM_CHECK_REGEX = "/dynamic-dispatch/(?P<pver>(\d+[\.\-_]*)+)" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" DEPENDS += "python3-setuptools-scm-native" RDEPENDS:${PN} += "\ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-ecdsa/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-ecdsa/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-ecdsa/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-ecdsa_0.19.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-ecdsa_0.19.0.bb index 8e967f9259..f26c90d83b 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-ecdsa_0.19.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-ecdsa_0.19.0.bb @@ -6,19 +6,13 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=66ffc5e30f76cbb5358fe54b645e5a1d" PYPI_PACKAGE = "ecdsa" SRC_URI[sha256sum] = "60eaad1199659900dd0af521ed462b793bbdf867432b3948e87416ae4caf6bf8" -inherit pypi setuptools3 python3native ptest - -SRC_URI += " \ - file://run-ptest \ -" +inherit pypi setuptools3 python3native ptest-python-pytest RDEPENDS:${PN}-ptest += " \ python3-hypothesis \ - python3-pytest \ - python3-unittest-automake-output \ " -do_install_ptest() { +do_install_ptest:append () { install -d ${D}${PTEST_PATH}/tests cp -rf ${S}/src/ecdsa/* ${D}${PTEST_PATH}/tests/ } diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-elementpath_4.6.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-elementpath_4.7.0.bb index e4bb375a6f..2a9eb43b5e 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-elementpath_4.6.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-elementpath_4.7.0.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/sissaschool/elementpath" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=5dbb7fb7d72da3921202dd7b995d3ecf" -SRC_URI[sha256sum] = "ba46bf07f66774927727ade55022b6c435fac06b2523cb3cd7689a1884d33468" +SRC_URI[sha256sum] = "a2029dc8752fcfec49663d1ed1b412c6daf278c0c91938f50f63c4fe9ed1848e" PYPI_PACKAGE = "elementpath" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-email-validator_2.2.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-email-validator_2.2.0.bb index c17cce7237..104e6ef295 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-email-validator_2.2.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-email-validator_2.2.0.bb @@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2890aee62bd2a4c3197e2059016a397e" SRC_URI[sha256sum] = "cb690f344c617a714f22e66ae771445a1ceb46821152df8e165c5f9a364582b7" PYPI_PACKAGE = "email_validator" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-et-xmlfile_2.0.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-et-xmlfile_2.0.0.bb index 1f119c6bdf..9439deef0a 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-et-xmlfile_2.0.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-et-xmlfile_2.0.0.bb @@ -21,3 +21,4 @@ RDEPENDS:${PN} += " \ inherit setuptools3 pypi PYPI_PACKAGE = "et_xmlfile" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-abi_5.1.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-abi_5.2.0.bb index e8bfb437fb..e1459653ea 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-abi_5.1.0.bb +++ b/meta-openembedded/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 HOMEPAGE = "https://github.com/ethereum/eth-abi" SECTION = "devel/python" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=731f4de9c79bfeba6d8d55f83d0d2423" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2b6a85414b7d058ab1c58e11611c21b2" -SRC_URI[sha256sum] = "33ddd756206e90f7ddff1330cc8cac4aa411a824fe779314a0a52abea2c8fc14" +SRC_URI[sha256sum] = "178703fa98c07d8eecd5ae569e7e8d159e493ebb6eeb534a8fe973fbc4e40ef0" PYPI_PACKAGE = "eth_abi" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-keyfile_0.7.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-keyfile_0.8.0.bb index 2afc288bce..741db5ced0 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-keyfile_0.7.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-keyfile_0.8.0.bb @@ -4,7 +4,7 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=6749008d847c14b9718949c2e24d5c0a" -SRC_URI[sha256sum] = "6bdb8110c3a50439deb68a04c93c9d5ddd5402353bfae1bf4cfca1d6dff14fcf" +SRC_URI[sha256sum] = "02e3c2e564c7403b92db3fef8ecae3d21123b15787daecd5b643a57369c530f9" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-utils_5.0.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-utils_5.1.0.bb index f0a5e24413..6561e7cf65 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-utils_5.0.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-utils_5.1.0.bb @@ -4,9 +4,10 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=6749008d847c14b9718949c2e24d5c0a" -SRC_URI[sha256sum] = "a5eb9555f43f4579eb83cb84f9dda9f3d6663bbd4a5a6b693f8d35045f305a1f" +SRC_URI[sha256sum] = "84c6314b9cf1fcd526107464bbf487e3f87097a2e753360d5ed319f7d42e3f20" PYPI_PACKAGE = "eth_utils" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-execnet/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-execnet/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-execnet/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-execnet_2.1.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-execnet_2.1.1.bb index 94c1a228e3..54c102bec7 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-execnet_2.1.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-execnet_2.1.1.bb @@ -11,21 +11,11 @@ DEPENDS += "\ python3-hatch-vcs-native \ " -SRC_URI += "file://run-ptest \ - " SRC_URI[sha256sum] = "5189b52c6121c24feae288166ab41b32549c7e2348652736540b9e6e7d4e72e3" -inherit ptest pypi python_hatchling +inherit ptest-python-pytest pypi python_hatchling -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/testing/* ${D}${PTEST_PATH}/tests/ -} - -RDEPENDS:${PN}-ptest += "\ - python3-pytest \ - python3-unittest-automake-output \ -" +PTEST_PYTEST_DIR = "testing" RDEPENDS:${PN} += "python3-core python3-crypt python3-ctypes python3-fcntl python3-io python3-shell python3-threading" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-fastjsonschema/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-fastjsonschema/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-fastjsonschema/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-fastjsonschema_2.21.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-fastjsonschema_2.21.1.bb index c763a09048..11fc6de8d6 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-fastjsonschema_2.21.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-fastjsonschema_2.21.1.bb @@ -6,16 +6,9 @@ HOMEPAGE = "https://github.com/seznam/python-fastjsonschema" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=18950e8362b69c0c617b42b8bd8e7532" -SRC_URI[sha256sum] = "a02026bbbedc83729da3bfff215564b71902757f33f60089f1abae193daa4771" +SRC_URI[sha256sum] = "794d4f0a58f848961ba16af7b9c85a3e88cd360df008c59aac6fc5ae9323b5d4" -SRC_URI += "file://run-ptest" - -inherit ptest pypi setuptools3 - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} +inherit ptest-python-pytest pypi setuptools3 # python3-misc for timeit.py RDEPENDS:${PN}-ptest += "\ @@ -23,11 +16,9 @@ RDEPENDS:${PN}-ptest += "\ python3-jsonschema \ python3-misc \ python3-pylint \ - python3-pytest \ python3-pytest-benchmark \ python3-pytest-cache \ python3-statistics \ - python3-unittest-automake-output \ " RDEPENDS:${PN} += "\ python3-core \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-fastnumbers_5.1.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-fastnumbers_5.1.1.bb index 01aa8b3b44..28ef40fa05 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-fastnumbers_5.1.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-fastnumbers_5.1.1.bb @@ -5,6 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d32431d1b650010945da4e078011c8fa" PYPI_PACKAGE = "fastnumbers" -SRC_URI[sha256sum] = "e092d33f8b95c3171a2fb34e579efe0c54b0290dd7f96ffaa2762437601d90a7" +SRC_URI[sha256sum] = "183fa021cdc052edaeede5c23e3086461deb7562b567614edf71b29515f5fa4b" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-filelock_3.16.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-filelock_3.17.0.bb index abafa1245b..995a55c811 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-filelock_3.16.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-filelock_3.17.0.bb @@ -6,7 +6,7 @@ HOMEPAGE = "https://py-filelock.readthedocs.io/" LICENSE = "Unlicense" LIC_FILES_CHKSUM = "file://LICENSE;md5=911690f51af322440237a253d695d19f" -SRC_URI[sha256sum] = "c249fbfcd5db47e5e2d6d62198e565475ee65e4831e2561c8e313fa7eb961435" +SRC_URI[sha256sum] = "ee4e77401ef576ebb38cd7f13b9b28893194acc20a8e68e18730ba9c0e54660e" BBCLASSEXTEND = "native nativesdk" inherit pypi python_hatchling diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-babel_4.0.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-babel_4.0.0.bb index b445ec0e1c..4923eb9d58 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-babel_4.0.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-babel_4.0.0.bb @@ -5,6 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=51917f3e8e858f5ae295a7d0e2eb3cc9" SRC_URI[sha256sum] = "dbeab4027a3f4a87678a11686496e98e1492eb793cbdd77ab50f4e9a2602a593" PYPI_PACKAGE = "flask_babel" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi python_poetry_core diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-bootstrap_3.3.7.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-bootstrap_3.3.7.1.bb index 7553ce74a2..13a224a9d8 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-bootstrap_3.3.7.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-bootstrap_3.3.7.1.bb @@ -5,6 +5,7 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;md5=a03749709f06118a17349deb5a210619" SRC_URI[sha256sum] = "cb08ed940183f6343a64e465e83b3a3f13c53e1baabb8d72b5da4545ef123ac8" PYPI_PACKAGE = "Flask-Bootstrap" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-cors_4.0.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-cors_4.0.0.bb index 77b51c5515..6606b3037a 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-cors_4.0.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-cors_4.0.0.bb @@ -8,6 +8,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=118fecaa576ab51c1520f95e98db61ce" PYPI_PACKAGE = "Flask-Cors" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" SRC_URI += " \ file://CVE-2024-6221.patch \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-httpauth_4.8.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-httpauth_4.8.0.bb index 51b907e6db..1b43b834c1 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-httpauth_4.8.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-httpauth_4.8.0.bb @@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b69377f79f3f48c661701236d5a6a85" inherit pypi python_setuptools_build_meta PYPI_PACKAGE = "Flask-HTTPAuth" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" SRC_URI[sha256sum] = "66568a05bc73942c65f1e2201ae746295816dc009edd84b482c44c758d75097a" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-jsonpify_1.5.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-jsonpify_1.5.0.bb index 93ecf08453..d653b8adbf 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-jsonpify_1.5.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-jsonpify_1.5.0.bb @@ -5,6 +5,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://README.rst;md5=bd59445a234a0c8250b39178d42e3148" PYPI_PACKAGE = "Flask-Jsonpify" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" SRC_URI[sha256sum] = "8ac4c732aa5b11d9f6c2de58065d3b669f139518ca8f529bce943817e2fedbfb" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-jwt-extended_4.6.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-jwt-extended_4.6.0.bb index cc07c92f47..e188f2b09c 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-jwt-extended_4.6.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-jwt-extended_4.6.0.bb @@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=9166295d7c482b9440bbb2b5c0fa43ac" inherit pypi setuptools3 PYPI_PACKAGE = "Flask-JWT-Extended" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" SRC_URI[sha256sum] = "9215d05a9413d3855764bcd67035e75819d23af2fafb6b55197eb5a3313fdfb2" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-jwt_0.3.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-jwt_0.3.2.bb index f7044b314f..462d065a0e 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-jwt_0.3.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-jwt_0.3.2.bb @@ -5,6 +5,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=ff00db41c47ec84b4567a8b3c246a959" PYPI_PACKAGE = "Flask-JWT" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" SRC_URI[sha256sum] = "49c0672fbde0f1cd3374bd834918d28956e3c521c7e00089cdc5380d323bd0ad" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-login_0.6.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-login_0.6.3.bb index d990d4e80b..f197119bbc 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-login_0.6.3.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-login_0.6.3.bb @@ -9,6 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=8aa87a1cd9fa41d969ad32cfdac2c596" SRC_URI[sha256sum] = "5e23d14a607ef12806c699590b89d0f0e0d67baeec599d75947bf9c147330333" PYPI_PACKAGE = "Flask-Login" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-mail_0.9.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-mail_0.9.1.bb index 66f3936cd6..c5b839eb72 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-mail_0.9.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-mail_0.9.1.bb @@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5b16dfa6d3f275ace5985bb92949f770" SRC_URI[sha256sum] = "22e5eb9a940bf407bcf30410ecc3708f3c56cc44b29c34e1726fe85006935f41" PYPI_PACKAGE = "Flask-Mail" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-marshmallow_1.2.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-marshmallow_1.3.0.bb index 8408ebd7b0..631ea14c3d 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-marshmallow_1.2.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-marshmallow_1.3.0.bb @@ -6,8 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=27586b20700d7544c06933afe56f7df4" inherit pypi python_setuptools_build_meta PYPI_PACKAGE = "flask_marshmallow" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" -SRC_URI[sha256sum] = "00ee96399ed664963afff3b5d6ee518640b0f91dbc2aace2b5abcf32f40ef23a" +SRC_URI[sha256sum] = "27a35d0ce5dcba161cc5f2f4764afbc2536c93fa439a793250b827835e3f3be6" RDEPENDS:${PN} += "\ python3-flask \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-migrate_4.0.7.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-migrate_4.0.7.bb index bfd854ac05..bacf7851aa 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-migrate_4.0.7.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-migrate_4.0.7.bb @@ -5,6 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b69377f79f3f48c661701236d5a6a85" SRC_URI[sha256sum] = "dff7dd25113c210b069af280ea713b883f3840c1e3455274745d7355778c8622" PYPI_PACKAGE = "Flask-Migrate" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi python_setuptools_build_meta diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-pymongo_2.3.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-pymongo_2.3.0.bb index 1e751b9e5a..75a52a033e 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-pymongo_2.3.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-pymongo_2.3.0.bb @@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = "file://flask_pymongo/wrappers.py;beginline=1;endline=24;md5= SRC_URI[sha256sum] = "620eb02dc8808a5fcb90f26cab6cba9d6bf497b15032ae3ca99df80366e33314" PYPI_PACKAGE = "Flask-PyMongo" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-restful_0.3.10.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-restful_0.3.10.bb index 8ea455c633..0f97fbc259 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-restful_0.3.10.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-restful_0.3.10.bb @@ -11,5 +11,6 @@ SRC_URI[sha256sum] = "fe4af2ef0027df8f9b4f797aba20c5566801b6ade995ac63b588abf1a5 inherit pypi setuptools3 PYPI_PACKAGE = "Flask-RESTful" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" RDEPENDS:${PN} = "python3-flask" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-sijax_0.4.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-sijax_0.4.1.bb index d518a1877f..e74f315c4a 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-sijax_0.4.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-sijax_0.4.1.bb @@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=266adc7b911b7c84b837bf77196e1ba6" SRC_URI[sha256sum] = "fb2bf2d4f75408185102195055d75549fee8d9c9e954dca2427186925cdc429f" PYPI_PACKAGE = "Flask-Sijax" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-socketio_5.3.6.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-socketio_5.3.6.bb index 6b76e03f8d..7371d7646c 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-socketio_5.3.6.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-socketio_5.3.6.bb @@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=38cc21254909604298ce763a6e4440a0" inherit pypi python_setuptools_build_meta PYPI_PACKAGE = "Flask-SocketIO" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" SRC_URI[sha256sum] = "bb8f9f9123ef47632f5ce57a33514b0c0023ec3696b2384457f0fcaa5b70501c" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-sqlalchemy_3.1.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-sqlalchemy_3.1.1.bb index f5fe1cc446..9f3db38959 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-sqlalchemy_3.1.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-sqlalchemy_3.1.1.bb @@ -5,8 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=ffeffa59c90c9c4a033c7574f8f3fb75" SRC_URI[sha256sum] = "e4b68bb881802dda1a7d878b2fc84c06d1ee57fb40b874d3dc97dabfa36b8312" PYPI_PACKAGE = "flask_sqlalchemy" -UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/Flask-SQLAlchemy" -UPSTREAM_CHECK_REGEX = "/Flask-SQLAlchemy/(?P<pver>(\d+[\.\-_]*)+)" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi python_setuptools_build_meta diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-uploads_0.2.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-uploads_0.2.1.bb index a51ead3c8a..fa2b321814 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-uploads_0.2.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-uploads_0.2.1.bb @@ -5,6 +5,7 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;md5=b712ac634b39469660c9bdfb8d03421c" SRC_URI[sha256sum] = "53ecbd6033667d50ae02b63adebbaa33c7fc56c09e5293025810cf9d841ecb02" PYPI_PACKAGE = "Flask-Uploads" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-user_0.6.19.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-user_0.6.19.bb index 65be459b75..fadfabd0c0 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-user_0.6.19.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-user_0.6.19.bb @@ -9,6 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=97de97cd9d6e23c88129d884588ce71a" SRC_URI[sha256sum] = "601abcc0343dfbae0c56273d98362d5cdc266ac84d20b3f65a212e4a2c83b302" PYPI_PACKAGE = "Flask-User" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-versioned_0.9.4-20101221.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-versioned_0.9.4-20101221.bb index 7aaf439b83..4e2d5e6095 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-versioned_0.9.4-20101221.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-versioned_0.9.4-20101221.bb @@ -4,6 +4,8 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://flaskext/versioned/__init__.py;md5=dcb7d97884bf08c256ff5795766bcd24" PYPI_PACKAGE = "Flask-Versioned" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" + SRC_URI[sha256sum] = "516694dc860a1bc4f22ab60b324a85083c0150522be109282a3bed681057fd34" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-wtf_1.2.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-wtf_1.2.2.bb index ecdcd23d49..0ce3de0856 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-wtf_1.2.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-wtf_1.2.2.bb @@ -5,8 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=d98d089889e14b227732d45dac3aacc4" SRC_URI[sha256sum] = "79d2ee1e436cf570bccb7d916533fa18757a2f18c290accffab1b9a0b684666b" PYPI_PACKAGE = "flask_wtf" -UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/Flask-WTF" -UPSTREAM_CHECK_REGEX = "/Flask-WTF/(?P<pver>(\d+[\.\-_]*)+)" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi python_hatchling diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-xstatic_0.0.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-xstatic_0.0.1.bb index c4cad466ad..b8d73c8170 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-xstatic_0.0.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-xstatic_0.0.1.bb @@ -7,6 +7,7 @@ SRC_URI[sha256sum] = "226ea8e97065a9488b59bfe5c94af4c6e2ea70a25052e301fb231a1381 SRC_URI += "file://remove-pip-requires.patch" PYPI_PACKAGE = "Flask-XStatic" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" RDEPENDS:${PN} += "\ python3-flask \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask_3.1.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask_3.1.0.bb index dd2795bd7d..4d1d2d12e6 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask_3.1.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask_3.1.0.bb @@ -8,14 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ffeffa59c90c9c4a033c7574f8f3fb75" SRC_URI[sha256sum] = "5f873c5184c897c8d9d1b05df1e3d01b14910ce69607a117bd3277098a5836ac" -SRC_URI += " \ - file://run-ptest \ -" - -UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/Flask" -UPSTREAM_CHECK_REGEX = "/Flask/(?P<pver>(\d+[\.\-_]*)+)" - -inherit pypi python_setuptools_build_meta ptest +inherit pypi python_setuptools_build_meta ptest-python-pytest CLEANBROKEN = "1" @@ -30,10 +23,4 @@ RDEPENDS:${PN} = " \ RDEPENDS:${PN}-ptest += "\ python3-asgiref \ - python3-pytest \ - python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-flexcache/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-flexcache/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-flexcache/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-flexcache_0.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-flexcache_0.3.bb index 1bee774022..35769b45c4 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-flexcache_0.3.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-flexcache_0.3.bb @@ -5,22 +5,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=32f547dac365c355d2cdbcd7ebea9144" DEPENDS += "python3-setuptools-scm-native" SRC_URI[sha256sum] = "18743bd5a0621bfe2cf8d519e4c3bfdf57a269c15d1ced3fb4b64e0ff4600656" -inherit pypi python_setuptools_build_meta ptest +inherit pypi python_setuptools_build_meta ptest-python-pytest PYPI_PACKAGE = "flexcache" -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/testsuite - cp -rf ${S}/flexcache/testsuite/* ${D}${PTEST_PATH}/testsuite/ -} +PTEST_PYTEST_DIR = "flexcache/testsuite" RDEPENDS:${PN} += " \ python3-compression \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-flexparser/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-flexparser/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-flexparser/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-flexparser_0.4.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-flexparser_0.4.bb index ef8cbe5a54..c3d8fe28ac 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-flexparser_0.4.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-flexparser_0.4.bb @@ -6,23 +6,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=32f547dac365c355d2cdbcd7ebea9144" DEPENDS += "python3-setuptools-scm-native" SRC_URI[sha256sum] = "266d98905595be2ccc5da964fe0a2c3526fbbffdc45b65b3146d75db992ef6b2" -inherit pypi python_setuptools_build_meta ptest +inherit pypi python_setuptools_build_meta ptest-python-pytest PYPI_PACKAGE = "flexparser" -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/testsuite - cp -rf ${S}/flexparser/testsuite/* ${D}${PTEST_PATH}/testsuite/ -} +PTEST_PYTEST_DIR = "flexparser/testsuite" RDEPENDS:${PN} += " \ python3-compression \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-freezegun/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-freezegun/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-freezegun/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-freezegun_1.5.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-freezegun_1.5.1.bb index 431843bde4..9d823da507 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-freezegun_1.5.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-freezegun_1.5.1.bb @@ -5,24 +5,16 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=acf1d209bb6eddae4cbe6ffd6a0144fe" SRC_URI[sha256sum] = "b29dedfcda6d5e8e083ce71b2b542753ad48cfec44037b3fc79702e2980a89e9" -inherit pypi python_setuptools_build_meta ptest +inherit pypi python_setuptools_build_meta ptest-python-pytest SRC_URI += " \ - file://run-ptest \ file://1777174bb97c0b514033a09b820078b0d117f4a8.patch \ " RDEPENDS:${PN}-ptest += " \ - python3-pytest \ python3-sqlite3 \ - python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - RDEPENDS:${PN} = "\ python3-asyncio \ python3-dateutil \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-fsspec_2024.10.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-fsspec_2024.12.0.bb index e6c2b45f8c..faf33d28dd 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-fsspec_2024.10.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-fsspec_2024.12.0.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/fsspec/filesystem_spec" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=b38a11bf4dcdfc66307f8515ce1fbaa6" -SRC_URI[sha256sum] = "eda2d8a4116d4f2429db8550f2457da57279247dd930bb12f821b58391359493" +SRC_URI[sha256sum] = "670700c977ed2fb51e0d9f9253177ed20cbde4a3e5c0283cc5385b5870c8533f" inherit pypi python_hatchling ptest diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-geojson/py3.13.patch b/meta-openembedded/meta-python/recipes-devtools/python/python3-geojson/py3.13.patch deleted file mode 100644 index 45618fa6dd..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-geojson/py3.13.patch +++ /dev/null @@ -1,38 +0,0 @@ -From c13afff339e6b78f442785cc95f0eb66ddab3e7b Mon Sep 17 00:00:00 2001 -From: Bas Couwenberg <sebastic@xs4all.nl> -Date: Fri, 4 Oct 2024 16:18:34 +0200 -Subject: [PATCH] Don't fail with Python 3.13. (#228) - -Upstream-Status: Backport [https://github.com/jazzband/geojson/commit/c13afff339e6b78f442785cc95f0eb66ddab3e7b] -Signed-off-by: Alexander Kanavin <alex@linutronix.de> ---- - .github/workflows/test.yml | 2 +- - README.rst | 2 +- - setup.py | 5 +++-- - tox.ini | 2 +- - 4 files changed, 6 insertions(+), 5 deletions(-) - -diff --git a/setup.py b/setup.py -index 95b2823..004d3eb 100644 ---- a/setup.py -+++ b/setup.py -@@ -17,8 +17,8 @@ - - - major_version, minor_version = sys.version_info[:2] --if not (major_version == 3 and 7 <= minor_version <= 12): -- sys.stderr.write("Sorry, only Python 3.7 - 3.12 are " -+if not (major_version == 3 and 7 <= minor_version <= 13): -+ sys.stderr.write("Sorry, only Python 3.7 - 3.13 are " - "supported at this time.\n") - exit(1) - -@@ -53,6 +53,7 @@ - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", -+ "Programming Language :: Python :: 3.13", - "Topic :: Scientific/Engineering :: GIS", - ] - ) - diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-geojson/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-geojson/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-geojson/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-geojson_3.1.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-geojson_3.1.0.bb deleted file mode 100644 index 36f5fa09ec..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-geojson_3.1.0.bb +++ /dev/null @@ -1,27 +0,0 @@ -SUMMARY = "Python bindings and utilities for GeoJSON" -HOMEPAGE = "https://pypi.org/project/geojson/" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=f77f2ed49768c8d4c79ba874c0f94d8a" - -SRC_URI[sha256sum] = "58a7fa40727ea058efc28b0e9ff0099eadf6d0965e04690830208d3ef571adac" - -inherit pypi setuptools3 ptest - -SRC_URI += " \ - file://run-ptest \ - file://py3.13.patch \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - -RDEPENDS:${PN} += "python3-simplejson python3-math" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-geojson_3.2.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-geojson_3.2.0.bb new file mode 100644 index 0000000000..9ee6d580b2 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-geojson_3.2.0.bb @@ -0,0 +1,12 @@ +SUMMARY = "Python bindings and utilities for GeoJSON" +HOMEPAGE = "https://pypi.org/project/geojson/" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=f77f2ed49768c8d4c79ba874c0f94d8a" + +SRC_URI[sha256sum] = "b860baba1e8c6f71f8f5f6e3949a694daccf40820fa8f138b3f712bd85804903" + +inherit pypi setuptools3 ptest-python-pytest + +RDEPENDS:${PN} += "python3-simplejson python3-math" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-git-pw_2.6.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-git-pw_2.7.0.bb index c0b6a60814..07fd98ddd8 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-git-pw_2.6.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-git-pw_2.7.0.bb @@ -3,7 +3,8 @@ HOMEPAGE = "https://github.com/getpatchwork/git-pw" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=26e1a171d943c64f00c51f90c256b9d4" -SRC_URI[sha256sum] = "e118e31bbe259ed9ae540d627cc563a6ece553d02aed11b1a92bbac408a0da0e" +SRC_URI[sha256sum] = "99cb0b4a603386127c8205358d9780428a0468f8b1cb73ace804a5a466a28ef4" +PYPI_PACKAGE = "git_pw" inherit pypi python_setuptools_build_meta diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-gnupg_0.5.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-gnupg_0.5.4.bb index 8c231dce14..5de9a7be0e 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-gnupg_0.5.3.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-gnupg_0.5.4.bb @@ -4,7 +4,7 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5dabe659eadd6d97325b1582e41cfc11" PYPI_PACKAGE = "python-gnupg" -SRC_URI[sha256sum] = "290d8ddb9cd63df96cfe9284b9b265f19fd6e145e5582dc58fd7271f026d0a47" +SRC_URI[sha256sum] = "f2fdb5fb29615c77c2743e1cb3d9314353a6e87b10c37d238d91ae1c6feae086" inherit pypi python_setuptools_build_meta diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-google-api-python-client_2.135.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-google-api-python-client_2.136.0.bb index 2b48456031..629f1b9e23 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-google-api-python-client_2.135.0.bb +++ b/meta-openembedded/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" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" -SRC_URI[sha256sum] = "b552a28123ed95493035698db80e8ed78c9106a8b422e63a175150b9b55b704e" +SRC_URI[sha256sum] = "161c722c8864e7ed39393e2b7eea76ef4e1c933a6a59f9d7c70409b6635f225d" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-google-auth_2.36.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-google-auth_2.37.0.bb index 19f2c6cb2c..fa7e94a7e5 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-google-auth_2.36.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-google-auth_2.37.0.bb @@ -5,12 +5,13 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" inherit pypi setuptools3 ptest -SRC_URI[sha256sum] = "545e9618f2df0bcbb7dcbc45a546485b1212624716975a1ea5ae8149ce769ab1" +SRC_URI[sha256sum] = "0054623abf1f9c83492c63d3f47e77f0a544caa3d40b2d98e099a611c2dd5d00" SRC_URI += " \ file://run-ptest \ " PYPI_PACKAGE = "google_auth" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" RDEPENDS:${PN}-ptest += " \ python3-aioresponses \ @@ -19,6 +20,7 @@ RDEPENDS:${PN}-ptest += " \ python3-freezegun \ python3-grpcio \ python3-mock \ + python3-pyjwt \ python3-pyopenssl \ python3-pytest \ python3-pytest-asyncio \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-gpiod_2.2.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-gpiod_2.2.3.bb index a7c4ee52c3..58908ad0d5 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-gpiod_2.2.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-gpiod_2.2.3.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://setup.py;beginline=241;endline=241;md5=f5ddb56912b7f2 SRC_URI += "file://run-ptest" -SRC_URI[sha256sum] = "aa4571f64e1070d38e4c14c491f69637ee73e23c801d3a418dde4d5410e5d53f" +SRC_URI[sha256sum] = "b916c3741dfc4dbcf6224b39e50765f672b137896287715709d49e9f063304c5" inherit python_setuptools_build_meta python_pep517 ptest pypi diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-channelz_1.67.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-channelz_1.69.0.bb index 23447d71e8..4c0172e2d6 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-channelz_1.67.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-channelz_1.69.0.bb @@ -9,8 +9,9 @@ inherit pypi setuptools3 DEPENDS += "python3-grpcio" PYPI_PACKAGE = "grpcio_channelz" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" -SRC_URI[sha256sum] = "a4ae742c9ca04327ae0eec43d7e5b96c9686b8fc24200ae0816a67ab18342710" +SRC_URI[sha256sum] = "c7b5900a6d3c3e8229e65ae4b6313d64c1693dfaa767f5b0e1c6d1915324820f" RDEPENDS:${PN} = "python3-grpcio" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-reflection_1.67.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-reflection_1.69.0.bb index 48c0ccffff..7720ab2fa7 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-reflection_1.67.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-reflection_1.69.0.bb @@ -9,8 +9,9 @@ inherit pypi setuptools3 DEPENDS += "python3-grpcio" PYPI_PACKAGE = "grpcio_reflection" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" -SRC_URI[sha256sum] = "507d9785a72032816e9bb5add4a660c655813a6bc1537b957822c652c88bf458" +SRC_URI[sha256sum] = "3474aaedfb10d8da5503135a2fb9fbb4e1f72044ad7ee2d0bf22090934e80908" RDEPENDS:${PN} = "python3-grpcio" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch b/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch index bf13c71cdd..cb12fb4983 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch @@ -1,4 +1,4 @@ -From 028a02fa7f03a3bcd590624d32b09100129e096a Mon Sep 17 00:00:00 2001 +From ded393c799d4d970d69a75c458f3672b03099aeb Mon Sep 17 00:00:00 2001 From: Khem Raj <raj.khem@gmail.com> Date: Fri, 16 Sep 2022 19:09:15 -0700 Subject: [PATCH] protobuf: Disable musttail attribute on mips @@ -13,10 +13,10 @@ Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> 1 file changed, 1 insertion(+) diff --git a/third_party/protobuf/src/google/protobuf/port_def.inc b/third_party/protobuf/src/google/protobuf/port_def.inc -index 2b13718..8875e3e 100644 +index 56f995e..4d36c2f 100644 --- a/third_party/protobuf/src/google/protobuf/port_def.inc +++ b/third_party/protobuf/src/google/protobuf/port_def.inc -@@ -242,6 +242,7 @@ static_assert(PROTOBUF_ABSL_MIN(20230125, 3), +@@ -227,6 +227,7 @@ static_assert(PROTOBUF_ABSL_MIN(20230125, 3), #error PROTOBUF_TAILCALL was previously defined #endif #if ABSL_HAVE_CPP_ATTRIBUTE(clang::musttail) && !defined(__arm__) && \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-tools_1.67.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-tools_1.69.0.bb index 6ac826c5cf..76f5739f95 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-tools_1.67.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-tools_1.69.0.bb @@ -8,13 +8,14 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=7145f7cdd263359b62 inherit pypi setuptools3 PYPI_PACKAGE = "grpcio_tools" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" DEPENDS += "python3-grpcio" SRC_URI += "file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch \ file://0001-protobuf-Disable-musttail-attribute-on-mips.patch \ " -SRC_URI[sha256sum] = "d9657f5ddc62b52f58904e6054b7d8a8909ed08a1e28b734be3a707087bcf004" +SRC_URI[sha256sum] = "3e1a98f4d9decb84979e1ddd3deb09c0a33a84b6e3c0776d5bde4097e3ab66dd" RDEPENDS:${PN} = "python3-grpcio" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio/0001-PR-1644-unscaledcycleclock-remove-RISC-V-support.patch b/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio/0001-PR-1644-unscaledcycleclock-remove-RISC-V-support.patch deleted file mode 100644 index 63ec2e23d1..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio/0001-PR-1644-unscaledcycleclock-remove-RISC-V-support.patch +++ /dev/null @@ -1,79 +0,0 @@ -From ee0e37b02d0d28279e103653688bf7203275ec47 Mon Sep 17 00:00:00 2001 -From: aurel32 <aurelien@aurel32.net> -Date: Fri, 22 Mar 2024 14:21:13 -0700 -Subject: [PATCH] PR #1644: unscaledcycleclock: remove RISC-V support - -Imported from GitHub PR https://github.com/abseil/abseil-cpp/pull/1644 - -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. - -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]. - -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. - -This fixes the testsuite on riscv64, tested on a VisionFive 2 board. - -[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cc4c07c89aada16229084eeb93895c95b7eabaa3 -[2] https://github.com/abseil/abseil-cpp/pull/1631 -Merge 43356a2548cfde76e164d446cb69004b488c6a71 into 76f8011beabdaee872b5fde7546e02407b220cb1 - -Merging this change closes #1644 - -COPYBARA_INTEGRATE_REVIEW=https://github.com/abseil/abseil-cpp/pull/1644 from aurel32:rv64-no-unscaledcycleclock 43356a2548cfde76e164d446cb69004b488c6a71 -PiperOrigin-RevId: 618286262 -Change-Id: Ie4120a727e7d0bb185df6e06ea145c780ebe6652 - -Upstream-Status: Backport [https://github.com/abseil/abseil-cpp/commit/7335a36d] -[Adapted to apply on top of meta-oe's patch stack] -Signed-off-by: Scott Murray <scott.murray@konsulko.com> ---- - .../absl/base/internal/unscaledcycleclock.cc | 12 ------------ - .../absl/base/internal/unscaledcycleclock_config.h | 5 ++--- - 2 files changed, 2 insertions(+), 15 deletions(-) - -diff --git a/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc b/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc -index f11fecb..103b4f6 100644 ---- a/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc -+++ b/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc -@@ -121,18 +121,6 @@ double UnscaledCycleClock::Frequency() { - return aarch64_timer_frequency; - } - --#elif defined(__riscv) -- --int64_t UnscaledCycleClock::Now() { -- int64_t virtual_timer_value; -- asm volatile("rdcycle %0" : "=r"(virtual_timer_value)); -- return virtual_timer_value; --} -- --double UnscaledCycleClock::Frequency() { -- return base_internal::NominalCPUFrequency(); --} -- - #elif defined(_M_IX86) || defined(_M_X64) - - #pragma intrinsic(__rdtsc) -diff --git a/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock_config.h b/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock_config.h -index 5e232c1..83552fc 100644 ---- a/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock_config.h -+++ b/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock_config.h -@@ -22,7 +22,6 @@ - // The following platforms have an implementation of a hardware counter. - #if defined(__i386__) || defined(__x86_64__) || defined(__aarch64__) || \ - ((defined(__powerpc__) || defined(__ppc__)) && defined(__GLIBC__)) || \ -- defined(__riscv) || \ - defined(_M_IX86) || (defined(_M_X64) && !defined(_M_ARM64EC)) - #define ABSL_HAVE_UNSCALED_CYCLECLOCK_IMPLEMENTATION 1 - #else -@@ -54,8 +53,8 @@ - #if ABSL_USE_UNSCALED_CYCLECLOCK - // This macro can be used to test if UnscaledCycleClock::Frequency() - // is NominalCPUFrequency() on a particular platform. --#if (defined(__i386__) || defined(__x86_64__) || defined(__riscv) || \ -- defined(_M_IX86) || defined(_M_X64)) -+#if (defined(__i386__) || defined(__x86_64__) || defined(_M_IX86) || \ -+ defined(_M_X64)) - #define ABSL_INTERNAL_UNSCALED_CYCLECLOCK_FREQUENCY_IS_CPU_FREQUENCY - #endif - #endif diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio/abseil-ppc-fixes.patch b/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio/abseil-ppc-fixes.patch index 1daebfa19d..69e06a7918 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio/abseil-ppc-fixes.patch +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio/abseil-ppc-fixes.patch @@ -1,5 +1,5 @@ From a2ec96a96ff7ba016e800212a942b9f29f255415 Mon Sep 17 00:00:00 2001 -From: Khem Raj <raj.khem@gmail.com> +From: Khem Raj <raj.khem@gmail.com> Date: Sat, 13 Mar 2021 10:26:25 -0800 Subject: [PATCH] An all-in-one patch that fixes several issues: @@ -13,6 +13,7 @@ Sourced from void linux Upstream-Status: Pending Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com> +Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> --- .../abseil-cpp/absl/base/internal/unscaledcycleclock.cc | 4 ++-- .../absl/base/internal/unscaledcycleclock_config.h | 3 ++- @@ -21,7 +22,7 @@ Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com> 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc b/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc -index 05e0e7b..f11fecb 100644 +index a0bf3a6..103b4f6 100644 --- a/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc +++ b/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc @@ -20,7 +20,7 @@ @@ -43,17 +44,17 @@ index 05e0e7b..f11fecb 100644 int64_t UnscaledCycleClock::Now() { #ifdef __GLIBC__ diff --git a/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock_config.h b/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock_config.h -index 24b324a..5e232c1 100644 +index 43a3dab..196a853 100644 --- a/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock_config.h +++ b/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock_config.h @@ -21,7 +21,8 @@ // The following platforms have an implementation of a hardware counter. #if defined(__i386__) || defined(__x86_64__) || defined(__aarch64__) || \ -- defined(__powerpc__) || defined(__ppc__) || defined(__riscv) || \ +- defined(__powerpc__) || defined(__ppc__) || defined(_M_IX86) || \ + ((defined(__powerpc__) || defined(__ppc__)) && defined(__GLIBC__)) || \ -+ defined(__riscv) || \ - defined(_M_IX86) || (defined(_M_X64) && !defined(_M_ARM64EC)) ++ defined(_M_IX86) || \ + (defined(_M_X64) && !defined(_M_ARM64EC)) #define ABSL_HAVE_UNSCALED_CYCLECLOCK_IMPLEMENTATION 1 #else 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 #define ABSL_STACKTRACE_INL_HEADER \ "absl/debugging/internal/stacktrace_powerpc-inl.inc" #elif defined(__aarch64__) +-- +2.43.0 + diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio_1.67.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio_1.69.0.bb index c574033a11..617e982382 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio_1.67.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio_1.69.0.bb @@ -11,9 +11,8 @@ SRC_URI += "file://0001-Include-missing-cstdint-header.patch \ file://0001-zlib-Include-unistd.h-for-open-close-C-APIs.patch \ file://0001-crypto-use-_Generic-only-if-defined-__cplusplus.patch;patchdir=third_party/boringssl-with-bazel/src/ \ file://0001-target.h-define-proper-macro-for-ppc-ppc64.patch \ - file://0001-PR-1644-unscaledcycleclock-remove-RISC-V-support.patch \ " -SRC_URI[sha256sum] = "3dc2ed4cabea4dc14d5e708c2b426205956077cc5de419b4d4079315017e9732" +SRC_URI[sha256sum] = "936fa44241b5379c5afc344e1260d467bee495747eaf478de825bab2791da6f5" RDEPENDS:${PN} = "python3-protobuf" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-h5py_3.12.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-h5py_3.12.1.bb index 152d952263..3a06fa88ef 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-h5py_3.12.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-h5py_3.12.1.bb @@ -25,4 +25,4 @@ RDEPENDS:${PN} = "python3-numpy \ python3-json \ " -export HDF5_VERSION="1.14.0" +export HDF5_VERSION = "1.14.0" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-hatch-requirements-txt_0.4.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-hatch-requirements-txt_0.4.1.bb index 8b3218790e..d9026e4577 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-hatch-requirements-txt_0.4.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-hatch-requirements-txt_0.4.1.bb @@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=58206c261591d2c13b00ab61cec32abe" SRC_URI[sha256sum] = "2c686e5758fd05bb55fa7d0c198fdd481f8d3aaa3c693260f5c0d74ce3547d20" PYPI_PACKAGE = "hatch_requirements_txt" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi python_hatchling diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-haversine_2.8.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-haversine_2.9.0.bb index 5fd5ddd71c..2dfb3356a7 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-haversine_2.8.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-haversine_2.9.0.bb @@ -2,7 +2,7 @@ SUMMARY = "Calculate the distance between 2 points on Earth" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=20a52d2c688975e989fcbee3e6c8d1a1" -SRC_URI[sha256sum] = "ab750caa0c8f2168bd7b00a429757a83a8393be1aa30f91c2becf6b523189e2a" +SRC_URI[sha256sum] = "1103d7e1f0f108c25b31b63452c54d9d6f29389a70de7dd75fd4b908329b6fcf" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-hexbytes_1.2.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-hexbytes_1.3.0.bb index c8e34fc401..f3cb7d7b8a 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-hexbytes_1.2.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-hexbytes_1.3.0.bb @@ -2,9 +2,9 @@ SUMMARY = "Python bytes subclass that decodes hex, with a readable console outpu HOMEPAGE = "https://github.com/ethereum/hexbytes" SECTION = "devel/python" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=16ffc86adf4293d4cfb204e77d62cfe6" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a26e64020156e806cf0054a6d504b301" -SRC_URI[sha256sum] = "515f00dddf31053db4d0d7636dd16061c1d896c3109b8e751005db4ca46bcca7" +SRC_URI[sha256sum] = "4a61840c24b0909a6534350e2d28ee50159ca1c9e89ce275fd31c110312cf684" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-html2text/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-html2text/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-html2text/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-html2text_2024.2.26.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-html2text_2024.2.26.bb index 55f4c8b0a6..98e0cde1e5 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-html2text_2024.2.26.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-html2text_2024.2.26.bb @@ -6,22 +6,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" SRC_URI[sha256sum] = "05f8e367d15aaabc96415376776cdd11afd5127a77fce6e36afc60c563ca2c32" -inherit pypi setuptools3 ptest +inherit pypi setuptools3 ptest-python-pytest -SRC_URI += " \ - file://run-ptest \ -" +PTEST_PYTEST_DIR = "test" RDEPENDS:${PN} += "python3-html" -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/test - cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ -} - BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-httptools/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-httptools/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-httptools/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-httptools_0.6.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-httptools_0.6.2.bb deleted file mode 100644 index 73378baffd..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-httptools_0.6.2.bb +++ /dev/null @@ -1,22 +0,0 @@ -SUMMARY = "A collection of framework independent HTTP protocol utils." -HOMEPAGE = "https://github.com/MagicStack/httptools" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=0a2d82955bf3facdf04cb882655e840e" - -inherit pypi setuptools3 ptest - -SRC_URI[sha256sum] = "ae694efefcb61317c79b2fa1caebc122060992408e389bb00889567e463a47f1" - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-httptools_0.6.4.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-httptools_0.6.4.bb new file mode 100644 index 0000000000..49f14da206 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-httptools_0.6.4.bb @@ -0,0 +1,8 @@ +SUMMARY = "A collection of framework independent HTTP protocol utils." +HOMEPAGE = "https://github.com/MagicStack/httptools" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=0a2d82955bf3facdf04cb882655e840e" + +inherit pypi setuptools3 ptest-python-pytest + +SRC_URI[sha256sum] = "4e93eee4add6493b59a5c514da98c939b244fce4a0d8879cd3f466562f4b7d5c" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-httpx_0.28.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-httpx_0.28.1.bb index 2b8c809c08..fc41d7d2b2 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-httpx_0.28.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-httpx_0.28.1.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=c624803bdf6fc1c4ce39f5ae11d7bd05" inherit pypi python_hatchling -SRC_URI[sha256sum] = "0858d3bab51ba7e386637f22a61d8ccddaeec5f3fe4209da3a6168dbb91573e0" +SRC_URI[sha256sum] = "75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc" DEPENDS += "\ python3-hatch-fancy-pypi-readme-native \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-icecream_2.1.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-icecream_2.1.4.bb index ec3a4b90f1..e417564fa9 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-icecream_2.1.3.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-icecream_2.1.4.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/gruns/icecream" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=eca5ce1610d64ed40920efdce85ff8d1" -SRC_URI[sha256sum] = "0aa4a7c3374ec36153a1d08f81e3080e83d8ac1eefd97d2f4fe9544e8f9b49de" +SRC_URI[sha256sum] = "58755e58397d5350a76f25976dee7b607f5febb3c6e1cddfe6b1951896e91573" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-icu_2.14.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-icu_2.14.bb index facfa4ffe2..25d5925538 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-icu_2.14.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-icu_2.14.bb @@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=0724597863f1581ab01429e0423e779f" DEPENDS += "icu" PYPI_PACKAGE = "PyICU" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" SRC_URI[sha256sum] = "acc7eb92bd5c554ed577249c6978450a4feda0aa6f01470152b3a7b382a02132" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-idna-ssl_1.1.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-idna-ssl_1.1.0.bb index 503b79d667..331dc0355c 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-idna-ssl_1.1.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-idna-ssl_1.1.0.bb @@ -6,10 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a61b9c5aec8796b64a6bf15d42605073" SRC_URI[sha256sum] = "a933e3bb13da54383f9e8f35dc4f9cb9eb9b3b78c6b36f311254d6d0d92c6c7c" PYPI_PACKAGE = "idna-ssl" -inherit pypi setuptools3 +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" -UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/idna_ssl/" -UPSTREAM_CHECK_REGEX = "/idna_ssl/(?P<pver>(\d+[\.\-_]*)+)" +inherit pypi setuptools3 RDEPENDS:${PN} += " \ python3-idna \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-imageio_2.36.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-imageio_2.37.0.bb index 2fff0cdff3..5de9ee466c 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-imageio_2.36.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-imageio_2.37.0.bb @@ -5,7 +5,7 @@ SECTION = "devel/python" LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=24cb9a367a9e641b459a01c4d15256ba" -SRC_URI[sha256sum] = "e4e1d231f47f9a9e16100b0f7ce1a86e8856fb4d1c0fa2c4365a316f1746be62" +SRC_URI[sha256sum] = "71b57b3669666272c818497aebba2b4c5f20d5b37c81720e5e1a56d59c492996" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-importlib-metadata_8.4.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-importlib-metadata_8.5.0.bb index b81d173839..d51edf3356 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-importlib-metadata_8.4.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-importlib-metadata_8.5.0.bb @@ -6,9 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" inherit pypi python_setuptools_build_meta PYPI_PACKAGE = "importlib_metadata" -UPSTREAM_CHECK_REGEX = "/importlib-metadata/(?P<pver>(\d+[\.\-_]*)+)/" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" -SRC_URI[sha256sum] = "9a547d3bc3608b025f93d403fdd1aae741c24fbb8314df4b155675742ce303c5" +SRC_URI[sha256sum] = "71522656f0abace1d072b9e5481a48f07c138e00f079c38c8f883823f9c26bd7" S = "${WORKDIR}/importlib_metadata-${PV}" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-inflate64/0001-Do-not-override-const-qualifier.patch b/meta-openembedded/meta-python/recipes-devtools/python/python3-inflate64/0001-Do-not-override-const-qualifier.patch deleted file mode 100644 index 5391a11da0..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-inflate64/0001-Do-not-override-const-qualifier.patch +++ /dev/null @@ -1,83 +0,0 @@ -From 7e3a795cbeea94b3324aa926f2b11904cb169acc Mon Sep 17 00:00:00 2001 -From: Khem Raj <raj.khem@gmail.com> -Date: Tue, 2 Jul 2024 22:02:38 -0700 -Subject: [PATCH] Do not override 'const' qualifier - -This has worked so far but with fortified system headers from -Glibc 2.40+ and clang compiler it ends up in compile errors - -| In file included from /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/python3-inflate64/1.0.0/recipe-sysroot/usr/include/string.h:548: -| /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/python3-inflate64/1.0.0/recipe-sysroot/usr/include/bits/string_fortified.h:77:66: error: pass_object_size attribute only applies to constant pointer arguments -| 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), -| | ^ -| /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/python3-inflate64/1.0.0/recipe-sysroot/usr/include/bits/string_fortified.h:86:66: error: pass_object_size attribute only applies to constant pointer arguments -| 86 | __NTH (stpcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), -| | ^ -| /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/python3-inflate64/1.0.0/recipe-sysroot/usr/include/bits/string_fortified.h:96:67: error: pass_object_size attribute only applies to constant pointer arguments -| 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), -| | ^ -| /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/python3-inflate64/1.0.0/recipe-sysroot/usr/include/bits/string_fortified.h:107:56: error: pass_object_size attribute only applies to constant pointer arguments -| 107 | __NTH (stpncpy (__fortify_clang_overload_arg (char *, ,__dest), -| | ^ -| /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/python3-inflate64/1.0.0/recipe-sysroot/usr/include/bits/string_fortified.h:136:66: error: pass_object_size attribute only applies to constant pointer arguments -| 136 | __NTH (strcat (__fortify_clang_overload_arg (char *, __restrict, __dest), -| | ^ -| /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/python3-inflate64/1.0.0/recipe-sysroot/usr/include/bits/string_fortified.h:145:67: error: pass_object_size attribute only applies to constant pointer arguments -| 145 | __NTH (strncat (__fortify_clang_overload_arg (char *, __restrict, __dest), -| | ^ -| /mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/python3-inflate64/1.0.0/recipe-sysroot/usr/include/bits/string_fortified.h:161:67: error: pass_object_size attribute only applies to constant pointer arguments -| 161 | __NTH (strlcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - -Therefore adjust needed places to use const qualifier - -Upstream-Status: Submitted [https://codeberg.org/miurahr/inflate64/pulls/13] -Signed-off-by: Khem Raj <raj.khem@gmail.com> ---- - src/lib/deflate.h | 2 +- - src/lib/deflate_tree.c | 4 ++-- - src/lib/inflate64_config.h | 3 --- - 3 files changed, 3 insertions(+), 6 deletions(-) - -diff --git a/src/lib/deflate.h b/src/lib/deflate.h -index 72a324f..c780be9 100644 ---- a/src/lib/deflate.h -+++ b/src/lib/deflate.h -@@ -288,6 +288,6 @@ void ZLIB_INTERNAL _tr_stored_block OF((deflate_state *s, char FAR *buf, - extern const unsigned char ZLIB_INTERNAL _dist_code[]; - #endif - #endif --extern uch ZLIB_INTERNAL length_code[]; -+extern const uch ZLIB_INTERNAL length_code[]; - - #endif /* DEFLATE_H */ -diff --git a/src/lib/deflate_tree.c b/src/lib/deflate_tree.c -index 5a66139..cdee934 100644 ---- a/src/lib/deflate_tree.c -+++ b/src/lib/deflate_tree.c -@@ -78,10 +78,10 @@ local const uch bl_order[BL_CODES] - - #define DIST_CODE_LEN 768 /* see definition of array dist_code below */ - --local int base_length[LENGTH_CODES]; -+local const int base_length[LENGTH_CODES]; - /* First normalized length for each code (0 = MIN_MATCH) */ - --uch length_code[BASE_MATCH-MIN_MATCH+1]; -+const uch length_code[BASE_MATCH-MIN_MATCH+1]; - /* length code for each normalized match length (0 == MIN_MATCH) */ - - #if defined(GEN_TREES_H) || !defined(STDC) -diff --git a/src/lib/inflate64_config.h b/src/lib/inflate64_config.h -index 16cfd12..ade7300 100644 ---- a/src/lib/inflate64_config.h -+++ b/src/lib/inflate64_config.h -@@ -53,9 +53,6 @@ - # define FAR - #endif - --#ifndef const --# define const --#endif - #define z_const const - - typedef unsigned char uch; diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-inflate64_1.0.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-inflate64_1.0.1.bb index 7804152d94..841c9239a5 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-inflate64_1.0.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-inflate64_1.0.1.bb @@ -6,8 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" inherit python_setuptools_build_meta pypi -SRC_URI += "file://0001-Do-not-override-const-qualifier.patch" -SRC_URI[sha256sum] = "3278827b803cf006a1df251f3e13374c7d26db779e5a33329cc11789b804bc2d" +SRC_URI[sha256sum] = "3b1c83c22651b5942b35829df526e89602e494192bf021e0d7d0b600e76c429d" DEPENDS += "python3-setuptools-scm-native" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-inflection/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-inflection/run-ptest deleted file mode 100644 index f1c8729f0e..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-inflection/run-ptest +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -pytest --automake - diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-inflection_0.5.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-inflection_0.5.1.bb index ba1d0ec539..368b9e49b7 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-inflection_0.5.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-inflection_0.5.1.bb @@ -6,18 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2fb6fa1a6f1792d78de19ad1bb653c31" SRC_URI[sha256sum] = "1a29730d366e996aaacffb2f1f1cb9593dc38e2ddd30c91250c6dde09ea9b417" -inherit pypi setuptools3 ptest +inherit pypi setuptools3 ptest-python-pytest -SRC_URI +=" \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest +=" \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { +do_install_ptest:append () { cp -f ${S}/test_inflection.py ${D}${PTEST_PATH}/ } diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-inline-snapshot_0.14.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-inline-snapshot_0.19.3.bb index 8ccd4ba8d2..4e172e1820 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-inline-snapshot_0.14.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-inline-snapshot_0.19.3.bb @@ -4,11 +4,12 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=7a35eb90dfdf03953dd2074d0fdba1d4" DEPENDS = "python3-hatchling-native" -SRC_URI[sha256sum] = "54fdf7831055d06a2423054875d640102865a164cc8291a8086e44dd9b4fd316" +SRC_URI[sha256sum] = "1e40f34da64fe2406c6bba3f473905e22386da43e16c85060610692325aa94d7" inherit pypi python_hatchling PYPI_PACKAGE = "inline_snapshot" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" RDEPENDS:${PN} = "python3-asttokens \ python3-black \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-inotify/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-inotify/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-inotify/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-inotify_git.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-inotify_git.bb index 582599bca8..f7df716654 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-inotify_git.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-inotify_git.bb @@ -8,26 +8,15 @@ SRC_URI[sha256sum] = "974a623a338482b62e16d4eb705fb863ed33ec178680fc3e96ccdf0df6 SRC_URI = " \ git://github.com/dsoprea/pyinotify.git;branch=master;protocol=https \ file://new-test-inotify.patch \ - file://run-ptest \ " SRCREV = "9be6a51d1660991562eefaaddefa757ca0e0e00f" S = "${WORKDIR}/git" -inherit setuptools3 ptest +inherit setuptools3 ptest-python-pytest RDEPENDS:${PN} += " \ python3-ctypes \ python3-logging \ " - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-intervals/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-intervals/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-intervals/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb index 3c5be47806..dd9f88748b 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb @@ -7,18 +7,9 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=05f1e16a8e59ce3e9a979e881816c2ab" PYPI_PACKAGE := "python-intervals" -SRC_URI += " \ - file://run-ptest \ -" +inherit pypi setuptools3 ptest-python-pytest -inherit pypi setuptools3 ptest - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { +do_install_ptest:append () { cp -f ${S}/test_intervals.py ${D}${PTEST_PATH} cp -f ${S}/README.md ${D}${PTEST_PATH} } diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-ipy/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-ipy/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-ipy/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-ipy_1.01.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-ipy_1.01.bb index 6e65d622a8..6a35e12ffe 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-ipy_1.01.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-ipy_1.01.bb @@ -11,22 +11,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=848d24919845901b4f48bae5f13252e6" SRC_URI[sha256sum] = "edeca741dea2d54aca568fa23740288c3fe86c0f3ea700344571e9ef14a7cc1a" -inherit pypi setuptools3_legacy ptest +inherit pypi setuptools3_legacy ptest-python-pytest -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/test/ - cp -rf ${S}/test/* ${D}${PTEST_PATH}/test -} +PTEST_PYTEST_DIR = "test" PYPI_PACKAGE = "IPy" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" BBCLASSEXTEND = "native" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-ipython-genutils_0.2.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-ipython-genutils_0.2.0.bb index 2a25d1d913..0ce04829b6 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-ipython-genutils_0.2.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-ipython-genutils_0.2.0.bb @@ -4,9 +4,7 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING.md;md5=f7c3032c3ac398265224533a0a333a35" PYPI_PACKAGE = "ipython_genutils" - -UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/ipython_genutils" -UPSTREAM_CHECK_REGEX = "/ipython_genutils/(?P<pver>(\d+[\.\-_]*)+)" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" SRC_URI[sha256sum] = "eb2e116e75ecef9d4d228fdc66af54269afa26ab4463042e33785b887c628ba8" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-ipython_8.28.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-ipython_8.31.0.bb index f290971cb0..d8b57a5c9a 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-ipython_8.28.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-ipython_8.31.0.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://ipython.org" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING.rst;md5=59b20262b8663cdd094005bddf47af5f" -SRC_URI[sha256sum] = "0d0d15ca1e01faeb868ef56bc7ee5a0de5bd66885735682e8a322ae289a13d1a" +SRC_URI[sha256sum] = "b6a2274606bec6166405ff05e54932ed6e5cfecaca1fc05f2cacde7bb074d70b" RDEPENDS:${PN} = "\ python3-setuptools \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-iso3166/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-iso3166/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-iso3166/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-iso3166_2.1.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-iso3166_2.1.1.bb index 3aa084d10a..6b96f5775c 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-iso3166_2.1.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-iso3166_2.1.1.bb @@ -5,21 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5e2f4edc7e7408a82e4a1d05f229b695" SRC_URI[sha256sum] = "fcd551b8dda66b44e9f9e6d6bbbee3a1145a22447c0a556e5d0fb1ad1e491719" -inherit pypi python_setuptools_build_meta ptest - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} +inherit pypi python_setuptools_build_meta ptest-python-pytest RDEPENDS:${PN} += "python3-numbers" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-janus_1.0.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-janus_2.0.0.bb index c709bcfbff..9209f96d66 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-janus_1.0.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-janus_2.0.0.bb @@ -3,7 +3,7 @@ SECTION = "devel/python" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=23878c357ebb4c8ce1109be365043349" -SRC_URI[sha256sum] = "df976f2cdcfb034b147a2d51edfc34ff6bfb12d4e2643d3ad0e10de058cb1612" +SRC_URI[sha256sum] = "0970f38e0e725400496c834a368a67ee551dc3b5ad0a257e132f5b46f2e77770" inherit pypi python_setuptools_build_meta diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-jdatetime_5.0.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-jdatetime_5.1.0.bb index f1dd368ea0..e2db6e3428 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-jdatetime_5.0.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-jdatetime_5.1.0.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/slashmili/python-jalali" LICENSE = "Python-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=c80be45b33471b4a23cf53d06a8172be" -SRC_URI[sha256sum] = "2cc603d913c0d8e328928454d3d295261cb037e9950227f67c9629ab4710fdf9" +SRC_URI[sha256sum] = "25af1f48d1456b9a0acc7b32c68c66e9cccbae541672f9b9724f274d7810a307" PYPI_PACKAGE = "jdatetime" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-jdcal/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-jdcal/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-jdcal/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-jdcal_1.4.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-jdcal_1.4.1.bb index d20c9ad42f..d947a73cf0 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-jdcal_1.4.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-jdcal_1.4.1.bb @@ -7,21 +7,12 @@ HOMEPAGE = "https://github.com/phn/jdcal" LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = "file://PKG-INFO;md5=bd236e1f590973467a427bb354be0f46" -inherit pypi setuptools3 ptest +inherit pypi setuptools3 ptest-python-pytest SRC_URI[sha256sum] = "472872e096eb8df219c23f2689fc336668bdb43d194094b5cc1707e1640acfc8" RDEPENDS:${PN} += "python3-compression python3-io python3-pprint python3-shell" -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { +do_install_ptest:append () { cp -f ${S}/test_jdcal.py ${D}${PTEST_PATH}/ } diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-jsbeautifier_1.15.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-jsbeautifier_1.15.1.bb index 5a0e5a8499..8390a8f78a 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-jsbeautifier_1.15.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-jsbeautifier_1.15.1.bb @@ -8,7 +8,7 @@ inherit pypi setuptools3 SRC_URI[sha256sum] = "ebd733b560704c602d744eafc839db60a1ee9326e30a2a80c4adb8718adc1b24" -PYPI_PACKAGE="jsbeautifier" +PYPI_PACKAGE = "jsbeautifier" RDEPENDS:${PN} += "\ python3-core \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-keras-preprocessing_1.1.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-keras-preprocessing_1.1.2.bb index 5a2d7d9508..8f382c99b4 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-keras-preprocessing_1.1.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-keras-preprocessing_1.1.2.bb @@ -9,7 +9,7 @@ inherit pypi setuptools3 SRC_URI[sha256sum] = "add82567c50c8bc648c14195bf544a5ce7c1f76761536956c3d2978970179ef3" PYPI_PACKAGE = "Keras_Preprocessing" -PYPI_SRC_URI = "https://files.pythonhosted.org/packages/5e/f1/b44337faca48874333769a29398fe4666686733c8880aa160b9fd5dfe600/Keras_Preprocessing-${PV}.tar.gz" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" BBCLASSEXTEND = "native" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-kivy_2.3.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-kivy_2.3.1.bb index 861ca32ad6..e64a62bd36 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-kivy_2.3.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-kivy_2.3.1.bb @@ -14,7 +14,7 @@ SRC_URI = "git://github.com/kivy/kivy.git;protocol=https;branch=stable \ file://0001-add-support-for-glesv2.patch \ " -SRCREV = "9ef218027178115a66b417ae34b21f488bdd3617" +SRCREV = "20d74dcd30f143abbd1aa94c76bafc5bd934d5bd" S = "${WORKDIR}/git" @@ -51,8 +51,6 @@ DEPENDS += " \ libsdl2-image \ libsdl2-mixer \ pango \ - python3 \ - python3-cython-native \ " RDEPENDS:${PN} = " \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-kiwisolver_1.4.7.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-kiwisolver_1.4.8.bb index 9c422490ef..d3044a65c8 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-kiwisolver_1.4.7.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-kiwisolver_1.4.8.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/nucleic/kiwi" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=5f7ce5ba663b186ce35b78df96a2eb0a" -SRC_URI[sha256sum] = "9893ff81bd7107f7b685d3017cc6583daadb4fc26e4a888350df530e41980a60" +SRC_URI[sha256sum] = "23d5f023bdc8c7e54eb65f03ca5d5bb25b601eac4d7f1a042888a1f45237987e" inherit pypi python_setuptools_build_meta diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-libusb1_3.1.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-libusb1_3.2.0.bb index 96c83b3fa3..8bbb8d2eb2 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-libusb1_3.1.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-libusb1_3.2.0.bb @@ -6,11 +6,8 @@ LIC_FILES_CHKSUM = " \ file://COPYING.LESSER;md5=4fbd65380cdd255951079008b364516c \ " -SRC_URI = "https://github.com/vpelletier/${BPN}/releases/download/${PV}/libusb1-${PV}.tar.gz" -SRC_URI[sha256sum] = "4ee9b0a55f8bd0b3ea7017ae919a6c1f439af742c4a4b04543c5fd7af89b828c" - -S = "${WORKDIR}/libusb1-${PV}" +SRC_URI[sha256sum] = "a11a6095e718cd49418a96329314da271cca6be7b4317a142724523371ac8961" RDEPENDS:${PN} = "libusb1" -inherit setuptools3 +inherit setuptools3 pypi diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-lief/0001-build-requirements.txt-Allow-newer-versions.patch b/meta-openembedded/meta-python/recipes-devtools/python/python3-lief/0001-build-requirements.txt-Allow-newer-versions.patch new file mode 100644 index 0000000000..e2d041dac7 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-lief/0001-build-requirements.txt-Allow-newer-versions.patch @@ -0,0 +1,39 @@ +From d6686206658aadc74d21a29c781320e2e13fe8f3 Mon Sep 17 00:00:00 2001 +From: Leon Anavi <leon.anavi@konsulko.com> +Date: Mon, 27 Jan 2025 17:05:53 +0000 +Subject: [PATCH] build-requirements.txt: Allow newer versions + +Allowing building with newer version + +Upstream-Status: Inappropriate [oe specific] + +Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> +--- + api/python/build-requirements.txt | 14 +++++++------- + 1 file changed, 7 insertions(+), 7 deletions(-) + +diff --git a/api/python/build-requirements.txt b/api/python/build-requirements.txt +index 4c9004ca..fe0d1055 100644 +--- a/api/python/build-requirements.txt ++++ b/api/python/build-requirements.txt +@@ -1,10 +1,10 @@ +-tomli==2.0.1 +-scikit-build-core==0.9.8 ++tomli>=2.0.1 ++scikit-build-core>=0.9.8 + # For Ninja: msvc.msvc14_get_vc_env +-setuptools==70.2.0 ++setuptools>=70.2.0 + # For the "env" feature +-pydantic==2.8.2 ++pydantic>=2.8.2 + # Implicit from scikit-build-core +-pathspec==0.12.1 +-build==1.2.1 +-wheel==0.43.0 ++pathspec>=0.12.1 ++build>=1.2.1 ++wheel>=0.43.0 +-- +2.39.5 + diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-lief/0002-api-python-config-default.toml-Debug.patch b/meta-openembedded/meta-python/recipes-devtools/python/python3-lief/0002-api-python-config-default.toml-Debug.patch new file mode 100644 index 0000000000..bc38a63726 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-lief/0002-api-python-config-default.toml-Debug.patch @@ -0,0 +1,28 @@ +From 064f361f113e1e4496f40dd0a075f89d21bad5a3 Mon Sep 17 00:00:00 2001 +From: Leon Anavi <leon.anavi@konsulko.com> +Date: Tue, 28 Jan 2025 12:25:31 +0000 +Subject: [PATCH] api/python/config-default.toml: Debug + +Fixes do_package: QA Issue: [already-stripped] + +Upstream-Status: Inappropriate [oe specific] + +Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> +--- + api/python/config-default.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/api/python/config-default.toml b/api/python/config-default.toml +index 519bc046..49477864 100644 +--- a/api/python/config-default.toml ++++ b/api/python/config-default.toml +@@ -1,5 +1,5 @@ + [lief.build] +-type = "Release" ++type = "Debug" + cache = true + ninja = true + parallel-jobs = 0 +-- +2.39.5 + diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-lief_0.16.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-lief_0.16.2.bb new file mode 100644 index 0000000000..6cc6e7e5ae --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-lief_0.16.2.bb @@ -0,0 +1,29 @@ +SUMMARY = "Library to instrument executable formats" +DESCRIPTION = "LIEF: Library to Instrument Executable Formats" +HOMEPAGE = "https://github.com/lief-project/LIEF" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=9ab5db472ff936b441055522f5000547" +SECTION = "libs" + +SRC_URI = " \ + git://github.com/lief-project/LIEF.git;protocol=https;branch=main \ + file://0001-build-requirements.txt-Allow-newer-versions.patch \ + file://0002-api-python-config-default.toml-Debug.patch \ +" +SRCREV = "d3ad812008fd286322b7085e84136e422b3afea4" + +S = "${WORKDIR}/git" +PEP517_SOURCE_PATH = "${S}/api/python" + +inherit python_setuptools_build_meta + +DEPENDS += "\ + python3-scikit-build-native \ + python3-scikit-build-core-native \ + python3-tomli-native \ + python3-pydantic-native \ + ninja-native \ + ccache-native \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-luma-core_2.4.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-luma-core_2.4.2.bb index 90967f8e56..7c03aef40e 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-luma-core_2.4.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-luma-core_2.4.2.bb @@ -9,6 +9,7 @@ inherit pypi python_setuptools_build_meta SRC_URI[sha256sum] = "963c264164d4374f549d57db09599e0ca458cea1bd05e16939897619be4e6dbd" PYPI_PACKAGE = "luma.core" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" RDEPENDS:${PN} += " \ python3-pillow \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-luma-oled_3.14.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-luma-oled_3.14.0.bb index a95254c38e..0c0906cedc 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-luma-oled_3.14.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-luma-oled_3.14.0.bb @@ -11,6 +11,7 @@ inherit pypi python_setuptools_build_meta SRC_URI[sha256sum] = "36218565eda0614c8cf44ef42cb9a5904ddf808e4516e99ddae111fc93c5a206" PYPI_PACKAGE = "luma_oled" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" RDEPENDS:${PN} += " \ python3-luma-core \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-lz4/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-lz4/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-lz4/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-lz4_4.3.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-lz4_4.3.3.bb index 746926da4e..7bbe59e8b7 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-lz4_4.3.3.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-lz4_4.3.3.bb @@ -9,24 +9,19 @@ DEPENDS += " \ python3-pkgconfig-native \ " -SRC_URI += "file://run-ptest" - SRC_URI[sha256sum] = "01fe674ef2889dbb9899d8a67361e0c4a2c833af5aeb37dd505727cf5d2a131e" -inherit pkgconfig pypi python_setuptools_build_meta ptest +inherit pkgconfig pypi python_setuptools_build_meta ptest-python-pytest RDEPENDS:${PN}-ptest += "\ python3-coverage \ - python3-pytest \ python3-pytest-cov \ python3-pytest-runner \ python3-multiprocessing \ python3-psutil \ - python3-unittest-automake-output \ " -do_install_ptest() { - cp -rf ${S}/tests/ ${D}${PTEST_PATH}/ +do_install_ptest:append () { # The stream API is experimental and not enabled yet, so don't ship the test suite rm -rf ${D}${PTEST_PATH}/tests/stream } diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-marshmallow/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-marshmallow/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-marshmallow/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-marshmallow_3.23.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-marshmallow_3.26.0.bb index 964e32c10f..bde3819379 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-marshmallow_3.23.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-marshmallow_3.26.0.bb @@ -6,27 +6,19 @@ LIC_FILES_CHKSUM = "\ file://LICENSE;md5=27586b20700d7544c06933afe56f7df4 \ file://docs/license.rst;md5=13da439ad060419fb7cf364523017cfb" -SRC_URI[sha256sum] = "3a8dfda6edd8dcdbf216c0ede1d1e78d230a6dc9c5a088f58c4083b974a0d468" +SRC_URI[sha256sum] = "eb36762a1cc76d7abf831e18a3a1b26d3d481bbc74581b8e532a3d3a8115e1cb" -inherit python_flit_core pypi ptest - -SRC_URI += " \ - file://run-ptest \ -" +inherit python_flit_core pypi ptest-python-pytest RDEPENDS:${PN}-ptest += " \ - python3-pytest \ python3-pytz \ python3-simplejson \ - python3-unittest-automake-output \ python3-zoneinfo \ python3-tzdata \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - rm -rf ${S}/tests/mypy_test_cases - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +do_install_ptest:append () { + rm -rf ${D}${PTEST_PATH}/tests/mypy_test_cases } RDEPENDS:${PN} += " \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-matplotlib-inline_0.1.7.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-matplotlib-inline_0.1.7.bb index 335565643a..b7d5c8efc3 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-matplotlib-inline_0.1.7.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-matplotlib-inline_0.1.7.bb @@ -6,6 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d4692a0eb42ca54892399db2cb35e61e" SRC_URI[sha256sum] = "8423b23ec666be3d16e16b60bdd8ac4e86e840ebd1dd11a30b9f117f2fa0ab90" PYPI_PACKAGE = "matplotlib_inline" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" + inherit pypi python_setuptools_build_meta RDEPENDS:${PN} = "python3-traitlets" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-moteus_0.3.72.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-moteus_0.3.76.bb index be560c7180..b86b0ded02 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-moteus_0.3.72.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-moteus_0.3.76.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://setup.py;beginline=3;endline=9;md5=24025d3c660abfc62a inherit pypi setuptools3 -SRC_URI[sha256sum] = "3aa30eea9ab9bc7209ab7c6f382650265ab648663edead5c54d69d9f0a3fd36e" +SRC_URI[sha256sum] = "acc10f7ffe34b6fcb2f1e767d6fb63a1bc0107dbbbd054fca8c2ac5b499de0f7" S = "${WORKDIR}/moteus-${PV}" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack_1.1.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack_1.1.0.bb index eb04dc2e0f..cf755517e7 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack_1.1.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack_1.1.0.bb @@ -2,7 +2,9 @@ SUMMARY = "MessagePack (de)serializer" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://COPYING;md5=cd9523181d9d4fbf7ffca52eaa2a5751" -inherit pypi python_setuptools_build_meta ptest +inherit pypi python_setuptools_build_meta ptest-python-pytest + +PTEST_PYTEST_DIR = "test" SRC_URI[sha256sum] = "dd432ccc2c72b914e4cb77afce64aab761c1137cc698be3984eee260bcb2896e" @@ -11,17 +13,3 @@ RDEPENDS:${PN}:class-target += "\ " BBCLASSEXTEND = "native nativesdk" - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/test - cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ -} diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-multidict/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-multidict/run-ptest deleted file mode 100644 index d74acaf564..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-multidict/run-ptest +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-multidict_6.1.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-multidict_6.1.0.bb index 1132e9ba5d..ed49b8ff02 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-multidict_6.1.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-multidict_6.1.0.bb @@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/aio-libs/multidict/" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=b4fef6e4b0828c2401fb983363985b39" -inherit pypi python_setuptools_build_meta ptest +inherit pypi python_setuptools_build_meta ptest-python-pytest PV .= "+git" @@ -12,19 +12,8 @@ SRCREV = "4140e63780dc6dd600a1837cb9b4c5198c3dcd68" PYPI_SRC_URI = "git://github.com/aio-libs/multidict;branch=master;protocol=https" S = "${WORKDIR}/git" -SRC_URI += " \ - file://run-ptest \ -" - RDEPENDS:${PN}-ptest += " \ - python3-pytest \ python3-pytest-cov \ - python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-mypy-extensions_1.0.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-mypy-extensions_1.0.0.bb index 4c431431c2..cda1eb0533 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-mypy-extensions_1.0.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-mypy-extensions_1.0.0.bb @@ -4,6 +4,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=0fe3219e2470a78c0d1837019b8b426e" PYPI_PACKAGE = "mypy_extensions" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-nanobind_2.4.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-nanobind_2.4.0.bb new file mode 100644 index 0000000000..a151d6db4e --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-nanobind_2.4.0.bb @@ -0,0 +1,26 @@ +SUMMARY = "nanobind: tiny and efficient C++/Python bindings" +DESCRIPTION = "nanobind: tiny and efficient C++/Python bindings" +HOMEPAGE = "https://github.com/wjakob/nanobind" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=7646f9ee25e49eaf53f89a10665c568c" + +SRC_URI[sha256sum] = "a0392dee5f58881085b2ac8bfe8e53f74285aa4868b1472bfaf76cfb414e1c96" + +inherit pypi python_setuptools_build_meta cmake lib_package + +EXTRA_OECMAKE += "-DNB_TEST=OFF" + +DEPENDS += "\ + python3-scikit-build-native \ + python3-scikit-build-core-native \ + ninja-native \ +" + +do_install:append() { + install -d ${D}${base_libdir}/cmake/${PN} + install -m 0644 ${S}/cmake/* ${D}${base_libdir}/cmake/${PN}/ +} + +FILES:${PN} += "${prefix_native}/* ${prefix_native}/${PN}/* ${base_libdir}/cmake/*" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-netaddr/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-netaddr/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-netaddr/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-netaddr_1.3.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-netaddr_1.3.0.bb index b8a772566a..8b486d26ff 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-netaddr_1.3.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-netaddr_1.3.0.bb @@ -4,18 +4,9 @@ LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=8afa43eca873b71d5d85dd0be1f707fa" SRC_URI[sha256sum] = "5c3c3d9895b551b763779ba7db7a03487dc1f8e3b385af819af341ae9ef6e48a" -inherit pypi python_setuptools_build_meta ptest +inherit pypi python_setuptools_build_meta ptest-python-pytest -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { +do_install_ptest:append () { install -d ${D}${PTEST_PATH}/tests cp -rf ${S}/netaddr/tests/* ${D}${PTEST_PATH}/tests/ } diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-networkx_3.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-networkx_3.4.2.bb index 2f2c3cfc3d..33caf7529d 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-networkx_3.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-networkx_3.4.2.bb @@ -1,11 +1,11 @@ DESCRIPTION = "Python package for creating and manipulating graphs and networks" HOMEPAGE = "http://networkx.github.io/" LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4266362445d56549f7b8973d02e5f22a" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=810f34d8853910e36388f63c0e87f0ed" -SRC_URI[sha256sum] = "de346335408f84de0eada6ff9fafafff9bcda11f0a0dfaa931133debb146ab61" +SRC_URI[sha256sum] = "307c3669428c5362aab27c8a1260aa8f47c4e91d3891f48be0141738d8d053e1" -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta RDEPENDS:${PN} += "\ python3-decorator \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-ninja-syntax_1.7.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-ninja-syntax_1.7.2.bb index 2f94f7a6a5..7e389a5772 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-ninja-syntax_1.7.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-ninja-syntax_1.7.2.bb @@ -8,7 +8,6 @@ SRC_URI[sha256sum] = "342dc97b9e88a6495bae22953ee6063f91d2f03db6f727b62ba5c3092a inherit pypi setuptools3 PYPI_PACKAGE = "ninja_syntax" -UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/ninja_syntax/" -UPSTREAM_CHECK_REGEX = "/ninja_syntax/(?P<pver>(\d+[\.\-_]*)+)" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-oletools_0.60.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-oletools_0.60.2.bb index 162ebcab2d..991d0d1baa 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-oletools_0.60.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-oletools_0.60.2.bb @@ -1,7 +1,7 @@ SUMMARY = "Python tools to analyze security characteristics of MS Office and OLE files" HOMEPAGE = "https://github.com/decalage2/olefile" LICENSE = "BSD-2-Clause" -LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=181754d317256f1b037529d3e994e1b4" +LIC_FILES_CHKSUM = "file://LICENSE.md;md5=062477247e75fcb78ae3e1280be9e4e1" SRC_URI[sha256sum] = "ad452099f4695ffd8855113f453348200d195ee9fa341a09e197d66ee7e0b2c3" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-ordered-set/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-ordered-set/run-ptest deleted file mode 100644 index 64799ba008..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-ordered-set/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake test_ordered_set.py diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-ordered-set_4.1.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-ordered-set_4.1.0.bb index 64637b858d..2d6b6ca06c 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-ordered-set_4.1.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-ordered-set_4.1.0.bb @@ -5,19 +5,9 @@ LIC_FILES_CHKSUM = "file://MIT-LICENSE;md5=3bf5e1ad64c0d99032c3143361fa234e" SRC_URI[sha256sum] = "694a8e44c87657c59292ede72891eb91d34131f6531463aab3009191c77364a8" -inherit pypi python_flit_core ptest +inherit pypi python_flit_core ptest-python-pytest -DEPENDS += "python3-pytest-runner-native" - -SRC_URI += " \ - file://run-ptest \ -" +PTEST_PYTEST_DIR = "test" -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" +DEPENDS += "python3-pytest-runner-native" -do_install_ptest() { - cp -f ${S}/test/test_ordered_set.py ${D}${PTEST_PATH}/ -} diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-outcome/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-outcome/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-outcome/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-outcome_1.3.0.post0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-outcome_1.3.0.post0.bb index 9714301879..308eb78a79 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-outcome_1.3.0.post0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-outcome_1.3.0.post0.bb @@ -7,16 +7,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=fa7b86389e58dd4087a8d2b833e5fe96 \ SRC_URI[sha256sum] = "9dcf02e65f2971b80047b377468e72a268e15c0af3cf1238e6ff14f7f91143b8" -inherit pypi setuptools3 ptest - -SRC_URI += " \ - file://run-ptest \ -" +inherit pypi setuptools3 ptest-python-pytest RDEPENDS:${PN}-ptest += " \ - python3-pytest \ python3-pytest-asyncio \ - python3-unittest-automake-output \ python3-outcome \ " @@ -27,8 +21,3 @@ RDEPENDS:${PN} += " \ python3-pytest \ python3-typing-extensions \ " - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pandas_2.2.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pandas_2.2.2.bb index 1e7bb1f3f6..c12a237653 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pandas_2.2.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pandas_2.2.2.bb @@ -13,7 +13,7 @@ SRC_URI += " \ SRC_URI[sha256sum] = "9e79019aba43cb4fda9e4d983f8e88ca0373adbb697ae9c6c43093218de28b54" -inherit pypi python_mesonpy cython +inherit pkgconfig pypi python_mesonpy cython DEPENDS += " \ python3-numpy-native \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-parse-type_0.6.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-parse-type_0.6.3.bb index 06843c03cb..8932d95609 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-parse-type_0.6.3.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-parse-type_0.6.3.bb @@ -9,6 +9,7 @@ SRC_URI += " \ " PYPI_PACKAGE = "parse_type" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi ptest python_setuptools_build_meta diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pastedeploy_3.1.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pastedeploy_3.1.0.bb index e3405939c7..1f6b36bd2b 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pastedeploy_3.1.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pastedeploy_3.1.0.bb @@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://license.txt;md5=1798f29d55080c60365e6283cb49779c" inherit pypi python_setuptools_build_meta PYPI_PACKAGE = "PasteDeploy" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" SRC_URI[sha256sum] = "9ddbaf152f8095438a9fe81f82c78a6714b92ae8e066bed418b6a7ff6a095a95" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-path_17.0.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-path_17.1.0.bb index e809952079..066f756730 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-path_17.0.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-path_17.1.0.bb @@ -2,7 +2,7 @@ SUMMARY = "A module wrapper for os.path" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=141643e11c48898150daa83802dbc65f" -SRC_URI[sha256sum] = "e1540261d22df1416fb1b498b3b1ed5353a371a48fe197d66611bb01e7fab2d5" +SRC_URI[sha256sum] = "d41e05ed4fa1d4f6d702df3c1e0a1a255d7b544287432456455dc7c51e5f98e9" SRC_URI += "\ file://run-ptest \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pcodedmp_1.2.6.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pcodedmp_1.2.6.bb index 185597dea1..e4246f594e 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pcodedmp_1.2.6.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pcodedmp_1.2.6.bb @@ -7,6 +7,6 @@ SRC_URI[sha256sum] = "025f8c809a126f45a082ffa820893e6a8d990d9d7ddb68694b5a9f0a6d inherit pypi setuptools3 -PYPI_PACKAGE="pcodedmp" +PYPI_PACKAGE = "pcodedmp" BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pdm-backend_2.4.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pdm-backend_2.4.3.bb index 903caad6eb..46440c9d5d 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pdm-backend_2.4.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pdm-backend_2.4.3.bb @@ -4,10 +4,11 @@ LICENSE = "MIT" SECTION = "devel/python" LIC_FILES_CHKSUM = "file://LICENSE;md5=4a564297b3c5b629a528b92fd8ff61ea" -SRC_URI[sha256sum] = "1f833e527ae172f34b4b84e2fcf1f65859a2a5ca746e496d8313b3ea6539969f" +SRC_URI[sha256sum] = "dbd9047a7ac10d11a5227e97163b617ad5d665050476ff63867d971758200728" inherit pypi python_setuptools_build_meta -PYPI_PACKAGE= "pdm_backend" +PYPI_PACKAGE = "pdm_backend" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pdm-build-locked_0.3.4.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pdm-build-locked_0.3.4.bb index 72ffe61256..5dbd2b0edd 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pdm-build-locked_0.3.4.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pdm-build-locked_0.3.4.bb @@ -9,5 +9,6 @@ inherit pypi python_setuptools_build_meta DEPENDS += " python3-pdm-backend-native" PYPI_PACKAGE = "pdm_build_locked" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" BBCLASSEXTEND += "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pdm_2.22.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pdm_2.22.2.bb index e65e0e459b..53c0828bcb 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pdm_2.22.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pdm_2.22.2.bb @@ -4,7 +4,7 @@ LICENSE = "MIT" SECTION = "devel/python" LIC_FILES_CHKSUM = "file://LICENSE;md5=2eb31a2cc1a758c34b499f287dd04ef2" -SRC_URI[sha256sum] = "61b4f0f8238bf99ba59ffae3db524604417379df917e081d61b1e257bfc20e43" +SRC_URI[sha256sum] = "907dbaa1659f07c763902f8429c1573aa32b5ef2d99b3b123b5f1e38015c917b" inherit pypi python_setuptools_build_meta diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pexpect_4.9.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pexpect_4.9.0.bb index 521df9dcd4..8305c1ed6d 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pexpect_4.9.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pexpect_4.9.0.bb @@ -10,8 +10,6 @@ SRC_URI[sha256sum] = "ee7d41123f3c9911050ea2c2dac107568dc43b2d3b0c7557a33212c398 inherit pypi setuptools3 -UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/pexpect" - RDEPENDS:${PN} = "\ python3-core \ python3-io \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pillow/0001-support-cross-compiling.patch b/meta-openembedded/meta-python/recipes-devtools/python/python3-pillow/0001-support-cross-compiling.patch index 220c4edc3f..f96da323ff 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pillow/0001-support-cross-compiling.patch +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pillow/0001-support-cross-compiling.patch @@ -1,4 +1,4 @@ -From 5b28d19d6513cc3eb3105d3f917df352283f3c5e Mon Sep 17 00:00:00 2001 +From 2e59ade9de405e4cdea07bfc7432c76f1e8cb64b Mon Sep 17 00:00:00 2001 From: Leon Anavi <leon.anavi@konsulko.com> Date: Mon, 11 Jan 2021 13:25:12 +0000 Subject: [PATCH] support cross compiling @@ -12,10 +12,10 @@ Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py -index 0abfaaddc..557420a6b 100644 +index a85731db9..d55eb5324 100644 --- a/setup.py +++ b/setup.py -@@ -129,7 +129,7 @@ _LIB_IMAGING = ( +@@ -131,7 +131,7 @@ _LIB_IMAGING = ( "codec_fd", ) @@ -24,7 +24,7 @@ index 0abfaaddc..557420a6b 100644 class DependencyException(Exception): -@@ -508,12 +508,12 @@ class pil_build_ext(build_ext): +@@ -537,12 +537,12 @@ class pil_build_ext(build_ext): _add_directory(library_dirs, match.group(1)) # include, rpath, if set as environment variables: diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pillow/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-pillow/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pillow/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pillow_10.4.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pillow_11.1.0.bb index a9cb903ac1..f8341c90f7 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pillow_10.4.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pillow_11.1.0.bb @@ -2,16 +2,17 @@ DESCRIPTION = "Python Imaging Library (Fork). Pillow is the friendly PIL fork by Clark and Contributors. PIL is the Python Imaging Library by Fredrik Lundh and \ Contributors." HOMEPAGE = "https://pillow.readthedocs.io" -LICENSE = "HPND" -LIC_FILES_CHKSUM = "file://LICENSE;md5=c349a4b4b9ec2377a8fd6a7df87dbffe" +LICENSE = "MIT-CMU" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a1b708da743e3fc0e5c35e92daac0bf8" SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=main;protocol=https \ file://0001-support-cross-compiling.patch \ - file://run-ptest \ " -SRCREV = "9b4fae77178e827ab17118fbc89c739ffd6a0fab" +SRCREV = "4c1aed801e43c6b307e7135279ca1dbc02bbf052" -inherit python_setuptools_build_meta ptest +inherit python_setuptools_build_meta ptest-python-pytest + +PTEST_PYTEST_DIR = "Tests" PEP517_BUILD_OPTS += " \ -C platform-guessing=disable \ @@ -51,10 +52,8 @@ RDEPENDS:${PN}-ptest += " \ python3-core \ python3-image \ python3-mmap \ - python3-pytest \ python3-pytest-timeout \ python3-resource \ - python3-unittest-automake-output \ python3-unixadmin\ ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'tk', '', d)} \ " @@ -65,9 +64,4 @@ S = "${WORKDIR}/git" RPROVIDES:${PN} += "python3-imaging" -do_install_ptest() { - install -d ${D}${PTEST_PATH}/Tests - cp -rf ${S}/Tests ${D}${PTEST_PATH}/ -} - BBCLASSEXTEND = "native" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pint/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-pint/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pint/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pint_0.24.4.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pint_0.24.4.bb index 88efefff58..1bf62ca729 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pint_0.24.4.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pint_0.24.4.bb @@ -6,7 +6,7 @@ SECTION = "devel/python" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b" -inherit pypi ptest python_setuptools_build_meta +inherit pypi ptest-python-pytest python_setuptools_build_meta SRC_URI[sha256sum] = "35275439b574837a6cd3020a5a4a73645eb125ce4152a73a2f126bf164b91b80" @@ -14,9 +14,7 @@ DEPENDS += "python3-setuptools-scm-native" BBCLASSEXTEND = "native nativesdk" -SRC_URI += " \ - file://run-ptest \ -" +PTEST_PYTEST_DIR = "pint" RDEPENDS:${PN} += " \ python3-setuptools \ @@ -30,14 +28,8 @@ RDEPENDS:${PN}-ptest += " \ python3-flexcache \ python3-flexparser \ python3-misc \ - python3-pytest \ python3-pytest-benchmark \ python3-pytest-subtests \ python3-statistics \ - python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/testsuite - cp -rf ${S}/pint/* ${D}${PTEST_PATH}/ -} diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-platformdirs/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-platformdirs/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-platformdirs/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-platformdirs_4.3.6.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-platformdirs_4.3.6.bb index 02d8c3cec7..c85e12ab5c 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-platformdirs_4.3.6.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-platformdirs_4.3.6.bb @@ -3,13 +3,9 @@ HOMEPAGE = "https://github.com/platformdirs/platformdirs" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4f5a41454746a9ed111e3d8723d17a" -SRC_URI += " \ - file://run-ptest \ -" - SRC_URI[sha256sum] = "357fb2acbc885b0419afd3ce3ed34564c13c9b95c89360cd9563f73aa5e2b907" -inherit pypi python_hatchling ptest +inherit pypi python_hatchling ptest-python-pytest DEPENDS += " \ python3-hatch-vcs-native \ @@ -18,15 +14,8 @@ DEPENDS += " \ RDEPENDS:${PN}-ptest += " \ python3-appdirs \ python3-covdefaults \ - python3-pytest \ python3-pytest-cov \ python3-pytest-mock \ - python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH} - cp -rf ${S}/tests ${D}${PTEST_PATH}/ -} - BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pocketsphinx_5.0.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pocketsphinx_5.0.4.bb index 4391da177e..2276ea8571 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pocketsphinx_5.0.3.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pocketsphinx_5.0.4.bb @@ -6,7 +6,7 @@ LICENSE = "BSD-2-Clause | BSD-3-Clause | MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=c4d720cdc9c6953091f65e8b01524bb4" SRC_URI += "file://0001-cython-Use-cythyon3-in-cmake-check.patch" -SRC_URI[sha256sum] = "27f4de0ca2d2bce391ce87eaab84fe6f0bc059b306fd1702d5fe6549b66e1586" +SRC_URI[sha256sum] = "17d2971e998490def9554b6ba41886708422af5b4ae888723b1b077aab0fe8d4" inherit cmake pkgconfig pypi python3native cython diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-polyline/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-polyline/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-polyline/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-polyline_2.0.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-polyline_2.0.2.bb index 00cb51be41..a91ceb76ee 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-polyline_2.0.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-polyline_2.0.2.bb @@ -5,22 +5,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1fb8d1dc685695195bb3c1e48adfef48" SRC_URI[sha256sum] = "10541e759c5fd51f746ee304e9af94744089a4055b6257b293b3afd1df64e369" -inherit pypi python_setuptools_build_meta ptest +inherit pypi python_setuptools_build_meta ptest-python-pytest RDEPENDS:${PN} += "python3-six" BBCLASSEXTEND = "native nativesdk" -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/test - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/test/ -} diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-portion/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-portion/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-portion/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-portion_2.6.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-portion_2.6.0.bb index 31c6f07316..2c2e67579e 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-portion_2.6.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-portion_2.6.0.bb @@ -5,28 +5,17 @@ SECTION = "devel/python" LICENSE = "LGPL-3.0-only" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3000208d539ec061b899bce1d9ce9404" -inherit pypi python_setuptools_build_meta ptest +inherit pypi python_setuptools_build_meta ptest-python-pytest SRC_URI[sha256sum] = "6fb538b57a92058f0edd360667694448aa3fc028ab97e41e3091359d14ba4dd5" -SRC_URI += " \ - file://run-ptest \ -" - RDEPENDS:${PN} += "\ python3-sortedcontainers \ " -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - # This file tests README.md and deleted as redundant. - rm -f ${S}/tests/test_doc.py - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +do_install_ptest:append () { + # test_doc.py tests README.md. + install -Dm 0644 ${S}/README.md ${D}${PTEST_PATH}/README.md } BBCLASSEXTEND = "native" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-posix-ipc/0001-Use-default-cc-from-environment-variable.patch b/meta-openembedded/meta-python/recipes-devtools/python/python3-posix-ipc/0001-Use-default-cc-from-environment-variable.patch new file mode 100644 index 0000000000..86829869a2 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-posix-ipc/0001-Use-default-cc-from-environment-variable.patch @@ -0,0 +1,45 @@ +From 2db4d9974052e28f25252b3204a73dd25de1dd89 Mon Sep 17 00:00:00 2001 +From: Gyorgy Sarvari <skandigraun@gmail.com> +Date: Sat, 25 Jan 2025 13:09:00 +0100 +Subject: [PATCH] Use default cc from environment variable + +In case the system uses a custom c compiler instead of cc +(e.g. for cross-compiling), probing system features can +fail or can misidentify the features due to the incorrect C compiler. + +Instead of using only "cc" for probing features, check if the CC environment +variable has a custom C compiler set. If it is present, use that instead of +"cc". If it is not present, fall back to "cc". + +Upstream-Status: Submitted [https://github.com/osvenskan/posix_ipc/pull/56] +--- + prober.py | 7 +++++-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +diff --git a/prober.py b/prober.py +index 48432b7..ace6d3b 100644 +--- a/prober.py ++++ b/prober.py +@@ -52,14 +52,17 @@ def print_bad_news(value_name, default): + def does_build_succeed(filename, linker_options=""): + # Utility function that returns True if the file compiles and links + # successfully, False otherwise. +- # Two things to note here -- ++ # Three things to note here -- + # - If there's a linker option like -lrt, it needs to come *after* + # the specification of the C file or linking will fail on Ubuntu 11.10 + # (maybe because of the gcc version?) + # - Some versions of Linux place the sem_xxx() functions in libpthread. + # Rather than testing whether or not it's needed, I just specify it + # everywhere since it's harmless to specify it when it's not needed. +- cmd = "cc -Wall -o ./prober/foo ./prober/%s %s -lpthread" % (filename, linker_options) ++ # - In case the used C compiler is not cc, take it from the CC environment ++ # variable ++ cc = os.getenv("CC", "cc") ++ cmd = "%s -Wall -o ./prober/foo ./prober/%s %s -lpthread" % (cc, filename, linker_options) + + p = subprocess.Popen(cmd, shell=True, stdout=STDOUT, stderr=STDERR) + +-- +2.48.1 + diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-posix-ipc_1.1.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-posix-ipc_1.1.1.bb index a71187399b..8fcf83b06a 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-posix-ipc_1.1.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-posix-ipc_1.1.1.bb @@ -5,7 +5,10 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=513d94a7390d4d72f3475e2d45c739b5" PYPI_PACKAGE = "posix_ipc" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" SRC_URI[sha256sum] = "e2456ba0cfb2ee5ba14121450e8d825b3c4a1461fca0761220aab66d4111cbb7" +SRC_URI += "file://0001-Use-default-cc-from-environment-variable.patch" + inherit setuptools3 pypi diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-precise-runner/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-precise-runner/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-precise-runner/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb index ea453366a6..53fc31ab83 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb @@ -5,18 +5,6 @@ LIC_FILES_CHKSUM = "file://README.md;md5=2ad29e930f3107d52d2a55728bf62116" SRC_URI[sha256sum] = "1a464209fb4bf0a3f5d5a428310cb2a70487a01a6bc3a960d1dda90af896b80d" -inherit pypi setuptools3 ptest +inherit pypi setuptools3 ptest-python-pytest -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/test - cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ -} +PTEST_PYTEST_DIR = "test" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-prettytable/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-prettytable/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-prettytable/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-prettytable_3.12.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-prettytable_3.12.0.bb index 442aadda29..007c0bffac 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-prettytable_3.12.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-prettytable_3.12.0.bb @@ -5,10 +5,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c9a6829fcd174d9535b46211917c7671" SRC_URI[sha256sum] = "f04b3e1ba35747ac86e96ec33e3bb9748ce08e254dc2a1c6253945901beec804" -SRC_URI += " \ - file://run-ptest \ -" -inherit pypi ptest python_hatchling + +inherit pypi ptest-python-pytest python_hatchling do_install:append() { perm_files=`find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "*.txt" -o -name "PKG-INFO"` @@ -31,15 +29,8 @@ RDEPENDS:${PN} += " \ " RDEPENDS:${PN}-ptest += " \ - python3-pytest \ python3-pytest-lazy-fixtures \ python3-sqlite3 \ - python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-propcache/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-propcache/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-propcache/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-propcache_0.2.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-propcache_0.2.0.bb deleted file mode 100644 index 0b1ebc853d..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-propcache_0.2.0.bb +++ /dev/null @@ -1,27 +0,0 @@ -SUMMARY = "Fast property caching" -HOMEPAGE = "https://github.com/aio-libs/propcache" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" - -SRC_URI[sha256sum] = "df81779732feb9d01e5d513fad0122efb3d53bbc75f61b2a4f29a020bc985e70" - -inherit pypi python_setuptools_build_meta ptest cython - -SRC_URI += " \ - file://run-ptest \ -" - -DEPENDS += " \ - python3-expandvars-native \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-pytest-xdist \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-propcache_0.2.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-propcache_0.2.1.bb new file mode 100644 index 0000000000..d15ead9205 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-propcache_0.2.1.bb @@ -0,0 +1,20 @@ +SUMMARY = "Fast property caching" +HOMEPAGE = "https://github.com/aio-libs/propcache" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +SRC_URI[sha256sum] = "3f77ce728b19cb537714499928fe800c3dda29e8d9428778fc7c186da4c09a64" + +inherit pypi python_setuptools_build_meta ptest-python-pytest cython + +DEPENDS += " \ + python3-expandvars-native \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-pytest-codspeed \ + python3-pytest-xdist \ + python3-rich \ + python3-statistics \ +" + diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-protobuf_4.25.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-protobuf_4.25.3.bb index c7e1f3c3f2..b92f91b714 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-protobuf_4.25.3.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-protobuf_4.25.3.bb @@ -12,8 +12,6 @@ SRC_URI[sha256sum] = "25b5d0b42fd000320bd7830b349e3b696435f3b329810427a6bcce6a54 # Can't find required file: ../src/google/protobuf/descriptor.proto CLEANBROKEN = "1" -UPSTREAM_CHECK_REGEX = "protobuf/(?P<pver>\d+(\.\d+)+)/" - DEPENDS += "protobuf" RDEPENDS:${PN} += " \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-ptyprocess/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-ptyprocess/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-ptyprocess/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb index e0c5e47199..e63c2c50b7 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb @@ -9,9 +9,7 @@ SRCNAME = "ptyprocess" SRC_URI += "file://a44312974bd9084aa568d2e18ce5b2a7e0e45983.patch" SRC_URI[sha256sum] = "5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220" -inherit pypi python_flit_core - -UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/ptyprocess" +inherit pypi python_flit_core ptest-python-pytest S = "${WORKDIR}/${SRCNAME}-${PV}" @@ -24,22 +22,10 @@ RDEPENDS:${PN} = "\ BBCLASSEXTEND = "native nativesdk" -inherit ptest - -SRC_URI += " \ - file://run-ptest \ -" - RDEPENDS:${PN}-ptest += " \ bash \ python3-fcntl \ - python3-pytest \ python3-resource \ python3-terminal \ - python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pulsectl_24.11.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pulsectl_24.12.0.bb index bd0e0b9602..43bdbd34d9 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pulsectl_24.11.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pulsectl_24.12.0.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/mk-fg/python-pulse-control" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=f1d10048469ff90123263eb5e214061d" -SRC_URI[sha256sum] = "0ba32745d3f198d5657af19f7ee3eb007af5a86a306ec3cd45af42e767820d0d" +SRC_URI[sha256sum] = "288d6715232ac6f3dcdb123fbecaa2c0b9a50ea4087e6e87c3f841ab0a8a07fc" RDEPENDS:${PN} += " \ libpulse \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pure-eval_0.2.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pure-eval_0.2.3.bb index f52b235e8f..63212346c6 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pure-eval_0.2.3.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pure-eval_0.2.3.bb @@ -5,6 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a3d6c15f7859ae235a78f2758e5a48cf" DEPENDS = "python3-setuptools-scm-native" PYPI_PACKAGE = "pure_eval" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi python_setuptools_build_meta diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-py-cpuinfo/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-py-cpuinfo/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-py-cpuinfo/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb index 2d59a99b14..8aef266e37 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb @@ -8,9 +8,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d2379ecb0d7a8299101b1e4c160cd1f7" SRC_URI[sha256sum] = "3cdbbf3fac90dc6f118bfd64384f309edeadd902d7c8fb17f02ffa1fc3f49690" -inherit ptest pypi python_setuptools_build_meta +inherit ptest-python-pytest pypi python_setuptools_build_meta -SRC_URI += "file://run-ptest \ +SRC_URI += " \ file://0001-test_cli.py-disable.patch \ " @@ -21,15 +21,8 @@ do_install:append() { done } -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - RDEPENDS:${PN}-ptest += "\ python3-compile \ - python3-pytest \ - python3-unittest-automake-output \ " 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-openembedded/meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.1.bb index 03097801b8..0ef2eaa1da 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.1.bb @@ -10,23 +10,11 @@ SRC_URI += "file://0001-Stop-using-pyasn1.compat.octets.patch" SRC_URI[sha256sum] = "c28e2dbf9c06ad61c71a075c7e0f9fd0f1b0bb2d2ad4377f240d33ac2ab60a7c" PYPI_PACKAGE = "pyasn1_modules" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" -inherit pypi ptest python_setuptools_build_meta +inherit pypi ptest-python-pytest python_setuptools_build_meta RDEPENDS:${PN} = "python3-pyasn1" BBCLASSEXTEND = "native nativesdk" -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyaudio_0.2.14.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyaudio_0.2.14.bb index 6a325dbe8b..0e2810ae74 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyaudio_0.2.14.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyaudio_0.2.14.bb @@ -4,6 +4,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7c3152b432b96d6dc4a1cb35397da9ec" PYPI_PACKAGE = "PyAudio" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" SRC_URI[sha256sum] = "78dfff3879b4994d1f4fc6485646a57755c6ee3c19647a491f790a0895bd2f87" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pybcj_1.0.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pybcj_1.0.3.bb index 8cb176f2b5..2b78e3a7b3 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pybcj_1.0.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pybcj_1.0.3.bb @@ -4,7 +4,7 @@ LICENSE = "LGPL-2.1-or-later" SECTION = "devel/python" LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c" -SRC_URI[sha256sum] = "c7f5bef7f47723c53420e377bc64d2553843bee8bcac5f0ad076ab1524780018" +SRC_URI[sha256sum] = "b8873637f0be00ceaa372d0fb81693604b4bbc8decdb2b1ae5f9b84d196788d9" inherit pypi python_setuptools_build_meta pypi diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11-json_0.2.14.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11-json_0.2.15.bb index 8211e06dce..3667ba872c 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11-json_0.2.14.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11-json_0.2.15.bb @@ -2,7 +2,7 @@ SUMMARY = "Using nlohmann::json with pybind11" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=0e25ff0ec476d06d366439e1120cce98" -SRCREV = "1399451fde59f4d931c72213f209b3e83a07290b" +SRCREV = "32043f433ed987b2c2ce99d689ec337bcbd4ba95" SRC_URI = "git://github.com/pybind/pybind11_json;branch=master;protocol=https" DEPENDS += "nlohmann-json python3-pybind11" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pybluez_0.23.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pybluez_0.23.bb index 188700be29..8887ab27d2 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pybluez_0.23.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pybluez_0.23.bb @@ -12,6 +12,7 @@ SRC_URI += "file://0001-Use-Py_ssize_t-when-parsing-buffer-length-fix-426-42.pat SRC_URI[sha256sum] = "c8f04d2e78951eaa9de486b4d49381704e8943d0a6e6e58f55fcd7b8582e90de" PYPI_PACKAGE = "PyBluez" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pychromecast_14.0.5.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pychromecast_14.0.5.bb index 5deb5e92f7..6c8c093486 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pychromecast_14.0.5.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pychromecast_14.0.5.bb @@ -7,6 +7,7 @@ SRC_URI += "file://0001-Allow-newer-version-of-wheel-and-setuptools.patch" SRC_URI[sha256sum] = "a8671ee4ea4a7095e2e0670e2215145ec1e3e0aa0737ff74d648ae4dc268b2b1" PYPI_PACKAGE = "PyChromecast" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi python_setuptools_build_meta diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pycurl_7.45.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pycurl_7.45.4.bb index 8dcc2dff18..240b78fb4a 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pycurl_7.45.3.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pycurl_7.45.4.bb @@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING-LGPL;md5=4fbd65380cdd255951079008b364516c \ file://COPYING-MIT;md5=be42e1b1e58c8d59c2901fd747bfc55d \ " -SRC_URI[sha256sum] = "8c2471af9079ad798e1645ec0b0d3d4223db687379d17dd36a70637449f81d6b" +SRC_URI[sha256sum] = "32c8e237069273f4260b6ae13d1e0f99daae938977016021565dc6e11050e803" DEPENDS = "curl" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic-core/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic-core/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic-core/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic-core_2.27.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic-core_2.27.2.bb index 2f7a2f242f..7b84a3a6f7 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic-core_2.27.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic-core_2.27.2.bb @@ -10,15 +10,14 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=ab599c188b4a314d2856b3a55030c75c" require ${BPN}-crates.inc -SRC_URI += "file://run-ptest" - -SRC_URI[sha256sum] = "62a763352879b84aa31058fc931884055fd75089cccbd9d58bb6afd01141b235" +SRC_URI[sha256sum] = "eb026e5a4c1fee05726072337ff51d1efb6f59090b7da90d30ea58625b1ffb39" DEPENDS = "python3-maturin-native python3-typing-extensions" -inherit pypi cargo-update-recipe-crates python_maturin +inherit pypi cargo-update-recipe-crates python_maturin ptest-python-pytest PYPI_PACKAGE = "pydantic_core" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" RDEPENDS:${PN} += " \ python3-compression \ @@ -26,26 +25,24 @@ RDEPENDS:${PN} += " \ " INSANE_SKIP:${PN} = "already-stripped" -INSANE_SKIP:${PN} += "buildpaths" # python3-misc is for Lib/timeit.py which is not split out elsewhere -inherit ptest RDEPENDS:${PN}-ptest += "\ python3-dateutil \ python3-dirty-equals \ python3-hypothesis \ python3-inline-snapshot \ python3-misc \ - python3-pytest \ python3-pytest-mock \ python3-pytest-timeout \ python3-pytest-benchmark \ python3-tzdata \ - python3-unittest-automake-output \ python3-zoneinfo \ " -do_install_ptest() { +do_install_ptest:append () { cp -rf ${S}/tests/ ${D}${PTEST_PATH}/ 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 } + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic_2.10.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic_2.10.5.bb index bfc658e38a..77568a368a 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic_2.10.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic_2.10.5.bb @@ -9,9 +9,9 @@ HOMEPAGE = "https://github.com/samuelcolvin/pydantic" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6" -inherit pypi python_hatchling +inherit pypi python_hatchling ptest-python-pytest -SRC_URI[sha256sum] = "2bc2d7f17232e0841cbba4641e65ba1eb6fafb3a08de3a091ff3ce14a197c4fa" +SRC_URI[sha256sum] = "278b38dbbaec562011d659ee05f63346951b3a248a6f3642e1bc68894ea2b4ff" DEPENDS += "python3-hatch-fancy-pypi-readme-native" @@ -35,8 +35,6 @@ RDEPENDS:${PN} += "\ python3-zoneinfo \ " -inherit ptest -SRC_URI += "file://run-ptest" RDEPENDS:${PN}-ptest += "\ python3-ansi2html \ python3-coverage \ @@ -50,17 +48,15 @@ RDEPENDS:${PN}-ptest += "\ python3-mypy \ python3-packaging \ python3-pydoc \ - python3-pytest \ python3-pytest-codspeed \ python3-pytest-mock \ python3-pytz \ python3-rich \ python3-sqlalchemy \ - python3-unittest-automake-output \ python3-unixadmin \ " -do_install_ptest() { +do_install_ptest:append() { cp -rf ${S}/tests/ ${D}${PTEST_PATH}/ # Requires 'ruff' (python3-ruff) which we cannot build # until we have Rust 1.71+ in oe-core @@ -71,3 +67,5 @@ do_install_ptest() { rm -rf ${D}${PTEST_PATH}/tests/benchmarks 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 } + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyfirmata_1.1.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyfirmata_1.1.0.bb index f902c705ee..f57ea97fc5 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyfirmata_1.1.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyfirmata_1.1.0.bb @@ -1,7 +1,9 @@ SUMMARY = "A Python interface for the Firmata protocol" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=84ddcef430b7c44caa22b2ff4b37a3df" + PYPI_PACKAGE = "pyFirmata" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" RDEPENDS:${PN} = "\ python3-pyserial \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyhamcrest_2.1.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyhamcrest_2.1.0.bb index dcc9ebfa93..9a804f7485 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyhamcrest_2.1.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyhamcrest_2.1.0.bb @@ -9,9 +9,6 @@ inherit pypi python_hatchling DEPENDS += "python3-hatch-vcs-native" -UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/PyHamcrest/" -UPSTREAM_CHECK_REGEX = "/PyHamcrest/(?P<pver>(\d+[\.\-_]*)+)" - RDEPENDS:${PN} += " \ python3-asyncio \ python3-numbers \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyjwt_2.9.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyjwt_2.10.1.bb index 7bc3cffdd3..12b76ec3c1 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyjwt_2.9.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyjwt_2.10.1.bb @@ -5,7 +5,7 @@ HOMEPAGE = "http://github.com/jpadilla/pyjwt" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=e4b56d2c9973d8cf54655555be06e551" -SRC_URI[sha256sum] = "7e1e5b56cc735432a7369cbfa0efe50fa113ebecdc04ae6922deba8b84582d0c" +SRC_URI[sha256sum] = "3cc5772eb20009233caf06e9d8a0577824723b44e6648ee0a2aedb6cf9381953" PYPI_PACKAGE = "pyjwt" inherit pypi python_setuptools_build_meta diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pylint_3.3.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pylint_3.3.3.bb index 1b2e033f11..f3654360de 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pylint_3.3.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pylint_3.3.3.bb @@ -1,9 +1,9 @@ -SUMMARY="Pylint is a Python source code analyzer" -HOMEPAGE= "http://www.pylint.org/" +SUMMARY = "Pylint is a Python source code analyzer" +HOMEPAGE = "http://www.pylint.org/" LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9" -SRCREV = "76bce72bc57cc8089e439cc9d22fed5806341ed4" +SRCREV = "c28580be76fe1ec55a6cac41833c0bd68070d2f7" SRC_URI += "git://github.com/pylint-dev/pylint;branch=main;protocol=https \ file://0001-Adjust-test-expectations-for-ptest.patch \ file://run-ptest \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pylyrics_1.1.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pylyrics_1.1.0.bb index 49f4f7da8b..8c7b1c0f72 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pylyrics_1.1.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pylyrics_1.1.0.bb @@ -7,6 +7,7 @@ SRC_URI[sha256sum] = "c5f36e8ef0ed3b487a9242ce34c19f9684e418a5bbffd5d367dc1d1604 PYPI_PACKAGE = "PyLyrics" PYPI_PACKAGE_EXT = "zip" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pymisp_2.5.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pymisp_2.5.4.bb index 83b3c82ab8..c644f34581 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pymisp_2.5.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pymisp_2.5.4.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/MISP/PyMISP" LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=a3639cf5780f71b125d3e9d1dc127c20" -SRC_URI[sha256sum] = "d3bfc7a337e4382026343f05aa442bfdecc3e11a4f3a5479ad0e6087dcde7e78" +SRC_URI[sha256sum] = "368fef2152d9d276d8b476b0f1c72376e9ead49bf58631e31bdb5d7ed86d603f" inherit python_poetry_core pypi diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pymodbus_3.7.4.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pymodbus_3.8.3.bb index b38cdfb234..b26a943d52 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pymodbus_3.7.4.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pymodbus_3.8.3.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/riptideio/pymodbus/" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=eba8057aa82c058d2042b4b0a0e9cc63" -SRC_URI[sha256sum] = "573c370aea04523403eea1e159616a583cd7b93cfc5c81b07340d3cccd52c99f" +SRC_URI[sha256sum] = "d886186bf7c3cc140f17e830919c23e4cc88334fbb91d6e5e1d7dd05860fe2c8" inherit pypi python_setuptools_build_meta diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pymysql_1.1.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pymysql_1.1.0.bb index 5e56a64aa1..19e552bf88 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pymysql_1.1.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pymysql_1.1.0.bb @@ -11,9 +11,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=528175c84163bb800d23ad835c7fa0fc" SRC_URI[sha256sum] = "4f13a7df8bf36a51e81dd9f3605fede45a4878fe02f9236349fd82a3f0612f96" PYPI_PACKAGE = "PyMySQL" -inherit pypi python_setuptools_build_meta +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" -UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/pymysql/" -UPSTREAM_CHECK_REGEX = "/pymysql/(?P<pver>(\d+[\.\-_]*)+)" +inherit pypi python_setuptools_build_meta RDEPENDS:${PN} += "python3-cryptography" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pynacl_1.5.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pynacl_1.5.0.bb index a2f2ab4df4..77ca2e1ff4 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pynacl_1.5.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pynacl_1.5.0.bb @@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=8cc789b082b3d97e1ccc5261f8594d3f" SRC_URI[sha256sum] = "8ac7448f09ab85811607bdd21ec2464495ac8b7c66d146bf545b0f08fb9220ba" PYPI_PACKAGE = "PyNaCl" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi python_setuptools_build_meta diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyppmd_1.1.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyppmd_1.1.1.bb index cec21007a2..753ca4be40 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyppmd_1.1.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyppmd_1.1.1.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c" inherit pypi python_setuptools_build_meta -SRC_URI[sha256sum] = "1d38ce2e4b7eb84b53bc8a52380b94f66ba6c39328b8800b30c2b5bf31693973" +SRC_URI[sha256sum] = "f1a812f1e7628f4c26d05de340b91b72165d7b62778c27d322b82ce2e8ff00cb" DEPENDS += " \ python3-setuptools-scm-native \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyproj_3.7.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyproj_3.7.0.bb index 70bc3b76a3..0143943e89 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyproj_3.7.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyproj_3.7.0.bb @@ -1,8 +1,6 @@ SUMMARY = "Python interface to PROJ (cartographic projections and coordinate transformations library)" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=3f3574263859ef2dc9bd7817d51adbaa" -DEPENDS = "python3-cython proj" -DEPENDS:append:class-target = " python3-cython-native proj-native" inherit pypi python_setuptools_build_meta cython @@ -10,6 +8,8 @@ SRC_URI += "file://rpath.patch" SRC_URI[sha256sum] = "bf658f4aaf815d9d03c8121650b6f0b8067265c36e31bc6660b98ef144d81813" +DEPENDS = "proj proj-native" + RDEPENDS:${PN} = " \ python3-certifi \ python3-compression \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyproject-api_1.7.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyproject-api_1.8.0.bb index ee8949add7..ddbddbea84 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyproject-api_1.7.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyproject-api_1.8.0.bb @@ -6,9 +6,10 @@ HOMEPAGE = "https://pyproject-api.readthedocs.io" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=11610a9d8fd95649cf8159be12b98cb7" -SRC_URI[sha256sum] = "dc5b0e0f6e291a4f22b46e182c9c6d4915c62b1f089b8de1b73f2d06ae453593" +SRC_URI[sha256sum] = "77b8049f2feb5d33eefcc21b57f1e279636277a8ac8ad6b5871037b243778496" PYPI_PACKAGE = "pyproject_api" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" BBCLASSEXTEND = "native nativesdk" inherit pypi python_hatchling diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyrad/208.patch b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyrad/208.patch new file mode 100644 index 0000000000..b08f183583 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyrad/208.patch @@ -0,0 +1,51 @@ +From d17438da2008f48aa13cc95a626c990bf645799a Mon Sep 17 00:00:00 2001 +From: Luca Barbieri <lucabarb@gmail.com> +Date: Wed, 8 Jan 2025 10:35:22 +0100 +Subject: [PATCH 1/2] Fix pyproject.toml format + +Fix pyproject format to correctly build with poetry-core 2.0.0 +Upstream-Status: Submitted [https://github.com/pyradius/pyrad/pull/208] +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- + pyproject.toml | 28 ++++++++++++++-------------- + 1 file changed, 14 insertions(+), 14 deletions(-) + +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -2,16 +2,16 @@ + requires = ["poetry-core>=1.0.0"] + build-backend = "poetry.core.masonry.api" + +-[tool.poetry] ++[project] + name = "pyrad" + version= "2.4" + readme = "README.rst" + license = "BSD-3-Clause" + description="RADIUS tools" + authors = [ +- "Istvan Ruzman <istvan@ruzman.eu>", +- "Christian Giese <developer@gicnet.de>", +-] ++ { name = "Istvan Ruzman", email = "istvan@ruzman.eu" }, ++ { name = "Christian Giese", email = "developer@gicnet.de" }, ++ ] + keywords = ["AAA", "accounting", "authentication", "authorization", "RADIUS"] + classifiers = [ + "Development Status :: 6 - Mature", +@@ -28,7 +28,7 @@ include = [ + "example/*" + ] + +-[tool.poetry.urls] ++[project.urls] + repository = "https://github.com/pyradius/pyrad" + + [tool.poetry.dependencies] +@@ -36,5 +36,5 @@ python = "^2.7 || ^3.6" + six = "^1.15.0" + netaddr = "^0.8" + +-[tool.poetry.dev-dependencies] ++[tool.poetry.group.dev.dependencies] + nose = "^0.10.0b1" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyrad_2.4.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyrad_2.4.bb index 801233a026..fbe7a0924a 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyrad_2.4.bb +++ b/meta-openembedded/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 PYPI_PACKAGE = "pyrad" SRC_URI[sha256sum] = "057de4b7e89d8da57ba782c1bde45c63ebee720ae2c0b0a69beaff15c47e30d9" -SRC_URI += "file://use-poetry-core.patch" +SRC_URI += "file://use-poetry-core.patch \ + file://208.patch \ + " inherit pypi python_poetry_core diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyroute2/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyroute2/run-ptest deleted file mode 100644 index f1c8729f0e..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyroute2/run-ptest +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -pytest --automake - diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyroute2_0.7.12.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyroute2_0.8.1.bb index a12fa0ac4c..8f5ec7fcb4 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyroute2_0.7.12.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyroute2_0.8.1.bb @@ -4,9 +4,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=dccbff78d7d79ae7e53953d43445c6e6 \ file://LICENSE.GPL-2.0-or-later;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ file://LICENSE.Apache-2.0;md5=34281e312165f843a2b7d1f114fe65ce" -SRC_URI[sha256sum] = "54d226fc3ff2732f49bac9b26853c50c9d05be05a4d9daf09c7cf6d77301eff3" +SRC_URI[sha256sum] = "b91f4a1f7abb9824637b1fe67e6e4a0a071d98d4a1a1b47ef792304ff3adad11" -inherit python_setuptools_build_meta pypi ptest +inherit python_setuptools_build_meta pypi ptest-python-pytest RDEPENDS:${PN} += " \ python3-ctypes \ @@ -22,20 +22,14 @@ RDEPENDS:${PN} += " \ python3-unixadmin \ " -SRC_URI += " \ - file://run-ptest \ -" - RDEPENDS:${PN}-ptest += " \ python3-fcntl \ python3-html \ python3-netclient \ - python3-pytest \ python3-sqlite3 \ - python3-unittest-automake-output \ " -do_install_ptest() { +do_install_ptest:append () { install -d ${D}${PTEST_PATH}/tests cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ 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-openembedded/meta-python/recipes-devtools/python/python3-pyscaffold_4.5.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyscaffold_4.6.bb index dda81e2256..a8fa531a05 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyscaffold_4.5.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyscaffold_4.6.bb @@ -9,10 +9,9 @@ LICENSE = "0BSD & MIT" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=14a49c74a1d91829908ac756c07e6b91" DEPENDS += "python3-setuptools-scm-native" -SRC_URI[sha256sum] = "d849f9a2e15bdcf165e19f96835f0b17e1a2d59d4c561c445b827a081de6d262" +SRC_URI[sha256sum] = "4085b8de9200b9f319df6f8ea7997288f159a8e4b284b062d9b2a4d6a9c1234c" inherit pypi python_setuptools_build_meta -PYPI_PACKAGE = "PyScaffold" RDEPENDS:${PN} += " \ python3-email \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyserial/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyserial/run-ptest deleted file mode 100644 index b651411db7..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyserial/run-ptest +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb index ade137a385..93a81568c2 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb @@ -4,7 +4,9 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=520e45e59fc2cf94aa53850f46b86436" SRC_URI[sha256sum] = "3c77e014170dfffbd816e6ffc205e9842efb10be9f58ec16d3e8675b4925cddb" -inherit pypi setuptools3 ptest +inherit pypi setuptools3 ptest-python-pytest + +PTEST_PYTEST_DIR = "test" do_install:append() { rm -f ${D}${bindir}/pyserial-miniterm @@ -49,16 +51,3 @@ RDEPENDS:${PN} = "\ BBCLASSEXTEND = "native nativesdk" -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/test - cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ -} diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-asyncio_0.23.6.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-asyncio_0.24.0.bb index 492020477e..1059b788f4 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-asyncio_0.23.6.bb +++ b/meta-openembedded/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, LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=136e4f49dbf29942c572a3a8f6e88a77" -SRC_URI[sha256sum] = "ffe523a89c1c222598c76856e76852b787504ddb72dd5d9b6617ffa8aa2cde5f" +SRC_URI[sha256sum] = "d081d828e576d85f875399194281e92bf8a68d60d72d1a2faf2feddb6c46b276" inherit pypi python_setuptools_build_meta +PYPI_PACKAGE = "pytest_asyncio" + DEPENDS += "python3-setuptools-scm-native" RDEPENDS:${PN} += " \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-benchmark_4.0.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-benchmark_5.1.0.bb index 98ba6c3822..ae4b12c210 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-benchmark_4.0.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-benchmark_5.1.0.bb @@ -1,9 +1,9 @@ SUMMARY = "A ``pytest`` fixture for benchmarking code. It will group the tests into rounds that are calibrated to the chosen timer." HOMEPAGE = "https://github.com/ionelmc/pytest-benchmark" LICENSE = "BSD-2-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=c7d2e9d24c2b5bad57ca894da972e22e" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d606e94f56c21c8e0cdde0b622dcdf57" -SRC_URI[sha256sum] = "fb0785b83efe599a6a956361c0691ae1dbb5318018561af10f3e915caa0048d1" +SRC_URI[sha256sum] = "9ea661cdc292e8231f7cd4c10b0319e56a2118e2c09d9f50e1b3d150d2aca105" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-codspeed_3.0.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-codspeed_3.0.0.bb index b731e77f17..dd08c0fbfe 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-codspeed_3.0.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-codspeed_3.0.0.bb @@ -9,4 +9,6 @@ SRC_URI[sha256sum] = "c5b80100ea32dd44079bb2db298288763eb8fe859eafa1650a8711bd2c inherit pypi python_hatchling PYPI_PACKAGE = "pytest_codspeed" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" + RDEPENDS:${PN} = "python3-cffi python3-filelock python3-pytest" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-cov_5.0.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-cov_6.0.0.bb index e3e4affb9d..75742f3e8f 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-cov_5.0.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-cov_6.0.0.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = " \ file://LICENSE;md5=cbc4e25353c748c817db2daffe605e43 \ " -SRC_URI[sha256sum] = "5837b58e9f6ebd335b0f8060eecce69b662415b16dc503883a02f45dfeb14857" +SRC_URI[sha256sum] = "fde0b595ca248bb8e2d76f020b465f3b107c9632e6a1d1705f17834c89dcadc0" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-freezer_0.4.8.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-freezer_0.4.9.bb index 6ff69a3964..212be0ef8b 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-freezer_0.4.8.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-freezer_0.4.9.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/pytest-dev/pytest-freezer" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=1661a0f2b9b83ed73b8e05b5683b10d0" -SRC_URI[sha256sum] = "8ee2f724b3ff3540523fa355958a22e6f4c1c819928b78a7a183ae4248ce6ee6" +SRC_URI[sha256sum] = "21bf16bc9cc46bf98f94382c4b5c3c389be7056ff0be33029111ae11b3f1c82a" inherit pypi python_flit_core @@ -13,3 +13,4 @@ RDEPENDS:${PN} = "\ " PYPI_PACKAGE = "pytest_freezer" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-html_4.1.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-html_4.1.1.bb index 154ec255cb..d45f6a25ee 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-html_4.1.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-html_4.1.1.bb @@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5d425c8f3157dbf212db2ec53d9e5132" SRC_URI[sha256sum] = "70a01e8ae5800f4a074b56a4cb1025c8f4f9b038bba5fe31e3c98eb996686f07" PYPI_PACKAGE = "pytest_html" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi python_hatchling diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-lazy-fixtures_1.1.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-lazy-fixtures_1.1.1.bb index bd6d81aec4..103ea655b5 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-lazy-fixtures_1.1.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-lazy-fixtures_1.1.1.bb @@ -17,5 +17,6 @@ SRC_URI[sha256sum] = "0c561f0d29eea5b55cf29b9264a3241999ffdb74c6b6e8c4ccc0bd2c93 inherit pypi python_poetry_core PYPI_PACKAGE = "pytest_lazy_fixtures" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" RDEPENDS:${PN} = "python3-pytest" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-localserver/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-localserver/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-localserver/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-localserver_0.8.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-localserver_0.8.1.bb index 669817829d..e9500bd3db 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-localserver_0.8.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-localserver_0.8.1.bb @@ -5,25 +5,14 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b8da7a541d738b054dcbf70c31530432" DEPENDS += "python3-setuptools-scm-native" -inherit pypi python_setuptools_build_meta ptest +inherit pypi python_setuptools_build_meta ptest-python-pytest SRC_URI[sha256sum] = "66569c34fef31a5750b16effd1cd1288a7a90b59155d005e7f916accd3dee4f1" -SRC_URI += " \ - file://run-ptest \ -" - RDEPENDS:${PN}-ptest += " \ - python3-pytest \ python3-requests \ - python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - RDEPENDS:${PN} += " \ python3-werkzeug \ " diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-socket_0.7.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-socket_0.7.0.bb index 86b03724a0..feb2f6fbb5 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-socket_0.7.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-socket_0.7.0.bb @@ -12,3 +12,4 @@ RDEPENDS:${PN} = "python3-pytest" BBCLASSEXTEND = "native nativesdk" PYPI_PACKAGE = "pytest_socket" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-python-multipart/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-python-multipart/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-python-multipart/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-python-multipart_0.0.12.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-python-multipart_0.0.12.bb deleted file mode 100644 index b3c018629c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-python-multipart_0.0.12.bb +++ /dev/null @@ -1,24 +0,0 @@ -SUMMARY = "A streaming multipart parser for Python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3d98f0d58b28321924a89ab60c82410e" - -SRC_URI[sha256sum] = "045e1f98d719c1ce085ed7f7e1ef9d8ccc8c02ba02b5566d5f7521410ced58cb" - -inherit pypi python_hatchling ptest - -PYPI_PACKAGE = "python_multipart" - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-pyyaml \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-python-multipart_0.0.20.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-python-multipart_0.0.20.bb new file mode 100644 index 0000000000..71f9674ec8 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-python-multipart_0.0.20.bb @@ -0,0 +1,15 @@ +SUMMARY = "A streaming multipart parser for Python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3d98f0d58b28321924a89ab60c82410e" + +SRC_URI[sha256sum] = "8dd0cab45b8e23064ae09147625994d090fa46f5b0d1e13af944c331a7fa9d13" + +inherit pypi python_hatchling ptest-python-pytest + +PYPI_PACKAGE = "python_multipart" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" + +RDEPENDS:${PN}-ptest += " \ + python3-pyyaml \ +" + diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pytoml/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-pytoml/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pytoml/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb index 49390df83d..15dc2f2c44 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb @@ -6,25 +6,14 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=cfff423699bdaef24331933ac4f56078" SRC_URI[sha256sum] = "8eecf7c8d0adcff3b375b09fe403407aa9b645c499e5ab8cac670ac4a35f61e7" -inherit pypi setuptools3 ptest +inherit pypi setuptools3 ptest-python-pytest -BBCLASSEXTEND = "native nativesdk" +PTEST_PYTEST_DIR = "test" -SRC_URI += " \ - file://run-ptest \ -" +BBCLASSEXTEND = "native nativesdk" RDEPENDS:${PN} += " \ python3-datetime \ python3-stringold \ " -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/test - cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ -} diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyusb_1.2.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyusb_1.3.1.bb index 2282e0300b..595033580a 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyusb_1.2.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyusb_1.3.1.bb @@ -9,7 +9,7 @@ RDEPENDS:${PN} += " \ python3-logging \ " -SRC_URI[sha256sum] = "a4cc7404a203144754164b8b40994e2849fde1cfff06b08492f12fff9d9de7b9" +SRC_URI[sha256sum] = "3af070b607467c1c164f49d5b0caabe8ac78dbed9298d703a8dbf9df4052d17e" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyyaml-include/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyyaml-include/run-ptest deleted file mode 100755 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyyaml-include/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyyaml-include_2.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyyaml-include_2.2.bb index a93a2391dc..49e643c710 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyyaml-include_2.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyyaml-include_2.2.bb @@ -7,17 +7,11 @@ SRCREV = "c5be2b7dfc4aaa91e44dbeb6fa42adc80936ef9d" SRC_URI = " \ git://github.com/tanbro/pyyaml-include;protocol=https;branch=main \ - file://run-ptest \ " S = "${WORKDIR}/git" -inherit python_setuptools_build_meta ptest - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} +inherit python_setuptools_build_meta ptest-python-pytest RDEPENDS:${PN} += " \ python3-pyyaml \ @@ -27,7 +21,5 @@ RDEPENDS:${PN}-ptest += " \ python3-fsspec \ python3-aiohttp \ python3-requests \ - python3-pytest \ - python3-unittest-automake-output \ " BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-rapidjson/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-rapidjson/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-rapidjson/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-rapidjson_1.19.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-rapidjson_1.19.bb index bfc05a7354..5c47e06918 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-rapidjson_1.19.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-rapidjson_1.19.bb @@ -7,25 +7,18 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=6fe0b2465366662d7cfa6793ccbab563" SRC_URI[sha256sum] = "81e7260f6297cad564389b700783c0a33de71310b9eb01fd013faec5e7ed4eff" # Inheriting ptest provides functionality for packaging and installing runtime tests for this recipe -inherit setuptools3 pypi ptest +inherit setuptools3 pypi ptest-python-pytest PYPI_PACKAGE = "python-rapidjson" SETUPTOOLS_BUILD_ARGS += " --rj-include-dir=${RECIPE_SYSROOT}${includedir}" -# run-ptest is a shell script that starts the test suite -SRC_URI += " \ - file://run-ptest \ -" - DEPENDS += " \ rapidjson \ " # Adding required python package for the ptest (pytest and pytest->automake report translation) RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ python3-pytz \ " @@ -33,8 +26,3 @@ RDEPENDS:${PN} += " \ python3-core \ " -# Installing the test suite on the target -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-rarfile_4.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-rarfile_4.2.bb index 41cff4bfc4..3f4423a71f 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-rarfile_4.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-rarfile_4.2.bb @@ -10,10 +10,10 @@ SRC_URI[sha256sum] = "8e1c8e72d0845ad2b32a47ab11a719bc2e41165ec101fd4d3fe9e92aa3 inherit pypi -PYPI_PACKAGE="rarfile" +PYPI_PACKAGE = "rarfile" RDEPENDS:${PN} += "\ - p7zip \ + 7zip \ python3-core \ python3-datetime \ python3-crypt \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-redis_5.1.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-redis_5.2.1.bb index a7ccc95588..8e762580f6 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-redis_5.1.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-redis_5.2.1.bb @@ -5,9 +5,9 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=609ded3add9111c4c6e102f1d421d3f8" # Prefix archive to avoid clashing with the main redis archives -PYPI_ARCHIVE_NAME_PREFIX="pypi-" +PYPI_ARCHIVE_NAME_PREFIX = "pypi-" -SRC_URI[sha256sum] = "f6c997521fedbae53387307c5d0bf784d9acc28d9f1d058abeac566ec4dbed72" +SRC_URI[sha256sum] = "16f2e22dff21d5125e8481515e386711a34cbec50f0e44413dd7d9c060a54e0f" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-file/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-file/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-file/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb index 4e0adc39f6..6e20a10f42 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb @@ -6,25 +6,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=9cc728d6087e43796227b0a31422de6b" SRC_URI[sha256sum] = "0f549a3f3b0699415ac04d167e9cb39bccfb730cb832b4d20be3d9867356e658" PYPI_PACKAGE = "requests_file" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" -inherit pypi python_setuptools_build_meta ptest - -SRC_URI += " \ - file://run-ptest \ -" +inherit pypi python_setuptools_build_meta ptest-python-pytest DEPENDS += "python3-setuptools-scm-native" -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - RDEPENDS:${PN} += " \ python3-requests \ " diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-toolbelt/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-toolbelt/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-toolbelt/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-toolbelt_1.0.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-toolbelt_1.0.0.bb index 9cbe4927a2..8956dee1f1 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-toolbelt_1.0.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-toolbelt_1.0.0.bb @@ -4,14 +4,14 @@ HOMEPAGE = "https://toolbelt.readthedocs.org" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=6f14302a4b4099009ab38b4dde5f1075" -SRC_URI = "file://run-ptest \ +SRC_URI = " \ file://090856f4159c40a2927fb88546419f2e1697ad5f.patch \ file://720240501dca0b4eacc3295665d7ced8719e11d2.patch \ " SRC_URI[sha256sum] = "7681a0a3d047012b5bdc0ee37d7f8f07ebe76ab08caeccfc3921ce23c88d5bc6" -inherit pypi setuptools3 ptest +inherit pypi setuptools3 ptest-python-pytest RDEPENDS:${PN} += " \ python3-requests (>=2.0.1) \ @@ -21,12 +21,10 @@ RDEPENDS:${PN}-ptest += " \ python3-betamax \ python3-mock \ python3-multiprocessing \ - python3-pytest \ python3-trustme \ - python3-unittest-automake-output \ " -do_install_ptest() { +do_install_ptest:append() { install -d ${D}${PTEST_PATH}/tests cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ cp -rf ${S}/setup.py ${D}${PTEST_PATH} diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-responses_0.25.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-responses_0.25.6.bb index 50835883d8..ae34f300e4 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-responses_0.25.3.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-responses_0.25.6.bb @@ -3,9 +3,9 @@ HOMEPAGE = "https://github.com/getsentry/responses" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=0e601511a8517f4daf688a8eb95be7a2" -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta -SRC_URI[sha256sum] = "617b9247abd9ae28313d57a75880422d55ec63c29d33d629697590a034358dba" +SRC_URI[sha256sum] = "eae7ce61a9603004e76c05691e7c389e59652d91e94b419623c12bbfb8e331d8" RDEPENDS:${PN} += " \ python3-mock \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb index 21f588bc11..9ebc34eabc 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a21b13b5a996f08f7e0b088aa38ce9c6" SRC_URI[sha256sum] = "3d44bde7921b3b9ec3ae4e3adca370438eccebc676456449b145d533b240d055" PYPI_PACKAGE = "rfc3986_validator" -UPSTREAM_CHECK_REGEX = "/rfc3986-validator/(?P<pver>(\d+[\.\-_]*)+)/" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.4.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.4.3.bb index 0f34a1366d..c48c3e2cec 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.4.3.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.4.3.bb @@ -1,7 +1,7 @@ SUMMARY = "Robot Framework test library for serial connection" HOMEPAGE = "https://github.com/whosaysni/robotframework-seriallibrary" LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=1af2e051b493d9552af443cf2f99d480" +LIC_FILES_CHKSUM = "file://LICENSE;md5=ad407cda031a6aaf51a1fecaaa6e7d29" SRC_URI[sha256sum] = "f20befe5c1106dd8ddca9f60a2f18bf5ec7d5f06f6f09a03fa66bae54777e6bb" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-robotframework_7.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-robotframework_7.2.bb index 979aba6812..4f43c6816d 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-robotframework_7.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-robotframework_7.2.bb @@ -11,9 +11,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" inherit pypi setuptools3 -PYPI_PACKAGE_EXT = "zip" - -SRC_URI[sha256sum] = "34796d387e182b36f05d82f3bbc802bd6a30192ebf1e03c76d2086d0d04faaff" +SRC_URI[sha256sum] = "9fc77d40283c26690bbc1563fb7fcadac789afe8695d332ced3fa4696df39eb9" RDEPENDS:${PN} += " \ python3-shell \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-schedule_1.2.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-schedule_1.2.2.bb index 6ebde30e61..ecf6bfd4c1 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-schedule_1.2.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-schedule_1.2.2.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/dbader/schedule" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=6400f153491d45ea3459761627ca24b2" -SRC_URI[sha256sum] = "843bc0538b99c93f02b8b50e3e39886c06f2d003b24f48e1aa4cadfa3f341279" +SRC_URI[sha256sum] = "15fe9c75fe5fd9b9627f3f19cc0ef1420508f9f9a46f45cd0769ef75ede5f0b7" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-scikit-build-core/0001-builder.py-Check-PYTHON_INCLUDE_DIR.patch b/meta-openembedded/meta-python/recipes-devtools/python/python3-scikit-build-core/0001-builder.py-Check-PYTHON_INCLUDE_DIR.patch new file mode 100644 index 0000000000..13cb7b1e7f --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-scikit-build-core/0001-builder.py-Check-PYTHON_INCLUDE_DIR.patch @@ -0,0 +1,32 @@ +From 5bc2d175c6a31a3de04444e5e22af310799ab10d Mon Sep 17 00:00:00 2001 +From: Leon Anavi <leon.anavi@konsulko.com> +Date: Mon, 27 Jan 2025 19:17:48 +0200 +Subject: [PATCH] builder.py: Check PYTHON_INCLUDE_DIR + +Use PYTHON_INCLUDE_DIR to find Python Interpreter and +Development.Module. + +Upstream-Status: Inappropriate [oe specific] + +Suggested-by: Stephan Kulow <stephan.kulow@siemens.com> +Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> +--- + src/scikit_build_core/builder/builder.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/scikit_build_core/builder/builder.py b/src/scikit_build_core/builder/builder.py +index b19173f..f4fb2af 100644 +--- a/src/scikit_build_core/builder/builder.py ++++ b/src/scikit_build_core/builder/builder.py +@@ -203,7 +203,7 @@ class Builder: + python_sabi_library = ( + get_python_library(self.config.env, abi3=True) if limited_api else None + ) +- python_include_dir = get_python_include_dir() ++ python_include_dir = os.getenv("PYTHON_INCLUDE_DIR") or get_python_include_dir() + numpy_include_dir = get_numpy_include_dir() + + # Classic Find Python +-- +2.39.5 + diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-scikit-build-core_0.10.7.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-scikit-build-core_0.10.7.bb index 8259f90aab..4df47c3c5d 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-scikit-build-core_0.10.7.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-scikit-build-core_0.10.7.bb @@ -3,11 +3,13 @@ LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b4e748e5f102e31c9390dcd6fa66f09" PYPI_PACKAGE = "scikit_build_core" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" DEPENDS = "python3-hatch-vcs-native" inherit pypi python_hatchling +SRC_URI += "file://0001-builder.py-Check-PYTHON_INCLUDE_DIR.patch" SRC_URI[sha256sum] = "04cbb59fe795202a7eeede1849112ee9dcbf3469feebd9b8b36aa541336ac4f8" BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-scikit-build_0.18.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-scikit-build_0.18.1.bb index eacd67a05c..3b2e8b714e 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-scikit-build_0.18.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-scikit-build_0.18.1.bb @@ -5,6 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=7c96d2b08b3cec6d3c67fb864d1fd8cc" DEPENDS = "python3-hatch-vcs-native python3-hatch-fancy-pypi-readme-native" PYPI_PACKAGE = "scikit_build" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi python_hatchling diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-scrypt/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-scrypt/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-scrypt/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-scrypt_0.8.27.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-scrypt_0.8.27.bb index a3254de07d..02f1da8f59 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-scrypt_0.8.27.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-scrypt_0.8.27.bb @@ -7,22 +7,13 @@ SRC_URI += "file://0001-py-scrypt-remove-the-hard-coded-include-paths.patch" SRC_URI[sha256sum] = "a7b637848ed518c1ea2b31a9ecaaa3f49616598d8442de8706cf1f01fbabf0a7" -inherit pypi ptest setuptools3 dos2unix - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" +inherit pypi ptest-python-pytest setuptools3 dos2unix RDEPENDS:${PN} += " \ python3-ctypes \ " -do_install_ptest() { +do_install_ptest:append() { install -d ${D}${PTEST_PATH}/tests cp -rf ${S}/scrypt/tests/* ${D}${PTEST_PATH}/tests/ } diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-semver/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-semver/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-semver/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-semver_3.0.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-semver_3.0.2.bb index 25222bb5ff..b329d65e1f 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-semver_3.0.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-semver_3.0.2.bb @@ -6,21 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d9da679db3bdce30a1b4328d5c474f98" SRC_URI[sha256sum] = "6253adb39c70f6e51afed2fa7152bcd414c411286088fb4b9effb133885ab4cc" -inherit pypi python_setuptools_build_meta ptest +inherit pypi python_setuptools_build_meta ptest-python-pytest BBCLASSEXTEND = "native nativesdk" -SRC_URI += " \ - file://run-ptest \ -" - DEPENDS += " python3-setuptools-scm-native" -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - cp -rf ${S}/tests ${D}${PTEST_PATH}/ -} diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-serpent/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-serpent/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-serpent/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-serpent_1.41.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-serpent_1.41.bb index 9265081fd0..f6c7b5443b 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-serpent_1.41.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-serpent_1.41.bb @@ -4,25 +4,15 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d7c28f460fafe7be454fcdcac0b60263" SRC_URI[sha256sum] = "0407035fe3c6644387d48cff1467d5aa9feff814d07372b78677ed0ee3ed7095" -inherit pypi ptest setuptools3 +inherit pypi ptest-python-pytest setuptools3 -SRC_URI += " \ - file://run-ptest \ -" # python3-misc for timeit.py RDEPENDS:${PN}-ptest += " \ python3-attrs \ python3-misc \ - python3-pytest \ python3-pytz \ - python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - RDEPENDS:${PN} += "\ python3-netclient \ python3-numbers \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-service-identity/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-service-identity/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-service-identity/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-service-identity_24.2.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-service-identity_24.2.0.bb index 2cae3b08c8..bbd6ab80d6 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-service-identity_24.2.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-service-identity_24.2.0.bb @@ -6,13 +6,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=76edce6a3fa1b82b0bf2b6ce174c19e2" SRC_URI[sha256sum] = "b8683ba13f0d39c6cd5d625d2c5f65421d6d707b013b375c355751557cbe8e09" -inherit pypi python_hatchling ptest +inherit pypi python_hatchling ptest-python-pytest PYPI_PACKAGE = "service_identity" - -SRC_URI += " \ - file://run-ptest \ -" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" DEPENDS += "python3-hatch-vcs-native python3-hatch-fancy-pypi-readme-native" @@ -24,13 +21,6 @@ RDEPENDS:${PN} += " \ RDEPENDS:${PN}-ptest += " \ python3-attrs \ - python3-pytest \ python3-six \ - python3-unittest-automake-output \ python3-pyopenssl \ " - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-sh_2.1.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-sh_2.2.1.bb index 948235fd78..f75932fd72 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-sh_2.1.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-sh_2.2.1.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/amoffat/sh" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5317094292296f03405f59ae5f6544b6" -SRC_URI[sha256sum] = "7e27301c574bec8ca5bf6f211851357526455ee97cd27a7c4c6cc5e2375399cb" +SRC_URI[sha256sum] = "287021ae84183dea49787985e33797dda7fe769e4f95f2c94dff8e245ab4cb00" PYPI_PACKAGE = "sh" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-sijax_0.3.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-sijax_0.3.2.bb index 9a28fc5586..4d21650059 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-sijax_0.3.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-sijax_0.3.2.bb @@ -7,4 +7,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=16e213d75641a392478df50cf0841903" SRC_URI[sha256sum] = "11b062f4a8b2aad95c87e7c09e5daf5a6b0d0f08abf9efe5f91a0075c6be7c0d" PYPI_PACKAGE = "Sijax" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" + inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-simpleeval/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-simpleeval/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-simpleeval/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-simpleeval_1.0.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-simpleeval_1.0.3.bb index 4537645c73..b4dc82bfb3 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-simpleeval_1.0.3.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-simpleeval_1.0.3.bb @@ -5,21 +5,14 @@ LIC_FILES_CHKSUM = "file://LICENCE;md5=83843c8f0f3beb18af2f282faecbdebe" SRC_URI[sha256sum] = "67bbf246040ac3b57c29cf048657b9cf31d4e7b9d6659684daa08ca8f1e45829" -inherit pypi python_setuptools_build_meta python_hatchling ptest +inherit pypi python_setuptools_build_meta python_hatchling ptest-python-pytest BBCLASSEXTEND = "native nativesdk" -SRC_URI += "file://run-ptest" - RDEPENDS:${PN} += " \ python3-math \ " -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { +do_install_ptest:append() { cp -f ${S}/test_simpleeval.py ${D}${PTEST_PATH}/ } diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-smpplib/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-smpplib/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-smpplib/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-smpplib_2.2.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-smpplib_2.2.4.bb index 7979f04c5b..c177d4020c 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-smpplib_2.2.3.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-smpplib_2.2.4.bb @@ -4,13 +4,9 @@ LICENSE = "GPL-3.0-only" LIC_FILES_CHKSUM = "file://README.md;md5=8b4e2ac8cf248f7b991784f88b630852" PYPI_PACKAGE = "smpplib" -SRC_URI[sha256sum] = "5215a95b0538d26f189600e0982b31da8281f7453cd6e2862c5b21e3e1002331" +SRC_URI[sha256sum] = "6f3b036fcb2643c1b7a3289bb5ac4c9a720af1bf73e572e2729db6b5d800c273" -inherit pypi setuptools3 ptest - -SRC_URI += " \ - file://run-ptest \ -" +inherit pypi setuptools3 ptest-python-pytest RDEPENDS:${PN} += " \ python3-logging \ @@ -20,12 +16,9 @@ RDEPENDS:${PN} += " \ RDEPENDS:${PN}-ptest += " \ python3-mock \ python3-profile \ - python3-pytest \ - python3-unittest \ - python3-unittest-automake-output \ " -do_install_ptest() { +do_install_ptest:append() { install -d ${D}${PTEST_PATH}/tests cp -rf ${S}/smpplib/tests/* ${D}${PTEST_PATH}/tests/ } diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-snagboot_2.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-snagboot_2.1.bb index f22c53c6c3..db9bb82054 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-snagboot_2.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-snagboot_2.1.bb @@ -3,7 +3,7 @@ SUMMARY = "Snagboot intends to be an open-source replacement vendor-specific too LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" -SRC_URI[sha256sum] = "bc220722231b7f498a7b5df0bab8552ef9115e9ee1ad675079efe79da299fa9a" +SRC_URI[sha256sum] = "cfd5e80db6010768d129eb123c4de6a8f3661fac353e20cc6e103e731d13c8d8" inherit pypi python_setuptools_build_meta diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-soupsieve/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-soupsieve/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-soupsieve/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-soupsieve_2.6.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-soupsieve_2.6.bb index 6572a68459..dfcd9f4842 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-soupsieve_2.6.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-soupsieve_2.6.bb @@ -6,26 +6,18 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=1bdfa4c8e8b6830bcf8e78cba1669e4d" SRC_URI[sha256sum] = "e2e68417777af359ec65daac1057404a3c8a5455bb8abc36f1a9866ab1a51abb" -inherit pypi python_hatchling python_setuptools_build_meta ptest +inherit pypi python_hatchling python_setuptools_build_meta ptest-python-pytest -SRC_URI += " \ - file://run-ptest \ -" RDEPENDS:${PN} += " \ python3-core \ python3-datetime \ +" +RDEPENDS:${PN}:append:class-target = " \ python3-beautifulsoup4 \ " RDEPENDS:${PN}-ptest += " \ python3-beautifulsoup4 \ - python3-pytest \ - python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.35.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.37.bb index 87d76e9e33..fdaf5f7d91 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.35.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.37.bb @@ -2,9 +2,9 @@ DESCRIPTION = "Python SQL toolkit and Object Relational Mapper that gives \ application developers the full power and flexibility of SQL" HOMEPAGE = "http://www.sqlalchemy.org/" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=c78b979ae6c20775a28a287d32092cbb" +LIC_FILES_CHKSUM = "file://LICENSE;md5=061025f14213ac2818ff353223d6eca6" -SRC_URI[sha256sum] = "e11d7ea4d24f0a262bccf9a7cd6284c976c5369dac21db237cff59586045ab9f" +SRC_URI[sha256sum] = "12b28d99a9c14eaf4055810df1001557176716de0167b91026e648e65229bffb" inherit pypi python_setuptools_build_meta cython diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-sqlparse/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-sqlparse/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-sqlparse/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-sqlparse_0.5.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-sqlparse_0.5.3.bb index a293b0bd96..0282c1848d 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-sqlparse_0.5.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-sqlparse_0.5.3.bb @@ -4,27 +4,16 @@ SECTION = "devel/python" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=2b136f573f5386001ea3b7b9016222fc" -SRC_URI:append = " \ - file://run-ptest \ -" - -SRC_URI[sha256sum] = "9e37b35e16d1cc652a2545f0997c1deb23ea28fa1f3eefe609eee3063c3b105f" +SRC_URI[sha256sum] = "09f67787f56a0b16ecdbde1bfc7f5d9c3371ca683cfeaa8e6ff60b4807ec9272" export BUILD_SYS export HOST_SYS -inherit pypi ptest python_hatchling +inherit pypi ptest-python-pytest python_hatchling RDEPENDS:${PN}-ptest += "\ python3-mypy \ - python3-pytest \ - python3-unittest-automake-output \ python3-unixadmin \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-stack-data_0.6.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-stack-data_0.6.3.bb index 55ddff383f..9bf895e386 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-stack-data_0.6.3.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-stack-data_0.6.3.bb @@ -5,6 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a3d6c15f7859ae235a78f2758e5a48cf" DEPENDS = "python3-setuptools-scm-native" PYPI_PACKAGE = "stack_data" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi python_setuptools_build_meta diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-starlette_0.39.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-starlette_0.45.2.bb index 87080e9fe9..5acbe2f76b 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-starlette_0.39.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-starlette_0.45.2.bb @@ -2,7 +2,7 @@ SUMMARY = "Starlette is a lightweight ASGI framework/toolkit, which is ideal for LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE.md;md5=11e8c8dbfd5fa373c703de492140ff7a" -SRC_URI[sha256sum] = "caaa3b87ef8518ef913dac4f073dea44e85f73343ad2bdc17941931835b2a26a" +SRC_URI[sha256sum] = "bba1831d15ae5212b22feab2f218bab6ed3cd0fc2dc1d4442443bb1ee52260e0" inherit pypi python_hatchling ptest diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-strenum_0.4.15.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-strenum_0.4.15.bb index cbe7fcc215..abe5c03d8e 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-strenum_0.4.15.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-strenum_0.4.15.bb @@ -10,5 +10,6 @@ DEPENDS = "python3-pytest-runner-native" SRC_URI[sha256sum] = "878fb5ab705442070e4dd1929bb5e2249511c0bcf2b0eeacf3bcd80875c82eff" PYPI_PACKAGE = "StrEnum" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi python_setuptools_build_meta diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-tomli-w/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-tomli-w/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-tomli-w/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-tomli-w_1.0.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-tomli-w_1.1.0.bb index 8a8a48467d..94ea20049f 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-tomli-w_1.0.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-tomli-w_1.1.0.bb @@ -3,27 +3,19 @@ HOMEPAGE = "https://github.com/hukkin/tomli-w" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=aaaaf0879d17df0110d1aa8c8c9f46f5" -SRCREV = "19099125f32e7c491603e393263754262b356956" +SRCREV = "179105660c367874818f2cdd1e06ed98eea668f1" PYPI_SRC_URI = "git://github.com/hukkin/tomli-w.git;protocol=https;branch=master" -inherit pypi python_flit_core ptest +inherit pypi python_flit_core ptest-python-pytest S = "${WORKDIR}/git" -SRC_URI += " \ - file://run-ptest \ -" - RDEPENDS:${PN}-ptest += " \ - python3-pytest \ python3-tomli \ - python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests +do_install_ptest:append() { install -d ${D}${PTEST_PATH}/benchmark - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ cp -rf ${S}/benchmark/* ${D}${PTEST_PATH}/benchmark/ } diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-tomlkit/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-tomlkit/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-tomlkit/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-tomlkit_0.13.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-tomlkit_0.13.2.bb index 9fca145407..8eeb9d7603 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-tomlkit_0.13.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-tomlkit_0.13.2.bb @@ -5,11 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=31aac0dbc1babd278d5386dadb7f8e82" SRC_URI[sha256sum] = "fff5fe59a87295b278abd31bec92c15d9bc4a06885ab12bcea52c71119392e79" -inherit pypi python_poetry_core ptest - -SRC_URI += " \ - file://run-ptest \ -" +inherit pypi python_poetry_core ptest-python-pytest RDEPENDS:${PN} += " \ python3-datetime \ @@ -19,14 +15,7 @@ RDEPENDS:${PN} += " \ RDEPENDS:${PN}-ptest += " \ python3-poetry-core \ - python3-pytest \ python3-pyyaml \ - python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-tox_4.23.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-tox_4.24.1.bb index cce2cf76e7..9532c6a094 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-tox_4.23.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-tox_4.24.1.bb @@ -6,7 +6,7 @@ HOMEPAGE = "http://tox.readthedocs.org/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=11610a9d8fd95649cf8159be12b98cb7" -SRC_URI[sha256sum] = "86075e00e555df6e82e74cfc333917f91ecb47ffbc868dcafbd2672e332f4a2c" +SRC_URI[sha256sum] = "083a720adbc6166fff0b7d1df9d154f9d00bfccb9403b8abf6bc0ee435d6a62e" BBCLASSEXTEND = "native nativesdk" inherit pypi python_hatchling diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-trio_0.27.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-trio_0.28.0.bb index 524e439d4e..04458b766c 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-trio_0.27.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-trio_0.28.0.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=447ea202d14d2aee40d8a2c26c865da9 \ file://LICENSE.APACHE2;md5=3b83ef96387f14655fc854ddc3c6bd57 \ file://LICENSE.MIT;md5=5f229c828e5a6f0a2ce90c7d3c054721" -SRC_URI[sha256sum] = "1dcc95ab1726b2da054afea8fd761af74bad79bd52381b84eae408e983c76831" +SRC_URI[sha256sum] = "4e547896fe9e8a5658e54e4c7c5fa1db748cbbbaa7c965e7d40505b928c73c05" inherit pypi python_setuptools_build_meta diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-trustme/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-trustme/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-trustme/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-trustme_1.2.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-trustme_1.2.1.bb index 69db7e6189..bdf5a494a7 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-trustme_1.2.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-trustme_1.2.1.bb @@ -2,15 +2,11 @@ DESCRIPTION = "A utility provides a fake certificate authority (CA)" HOMEPAGE = "https://pypi.org/project/trustme" LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=d5a7af1a4b73e57431e25d15a2da745a" +LIC_FILES_CHKSUM = "file://LICENSE;md5=fb59582a4d7ecbb79dfeefa0f69932e1" -SRC_URI[sha256sum] = "ed2264fb46c35459e6de9e454ed4bab73be44b6a2a26ad417f9b6854aebb644a" +SRC_URI[sha256sum] = "6528ba2bbc7f2db41f33825c8dd13e3e3eb9d334ba0f909713c8c3139f4ae47f" -inherit pypi python_hatchling python_setuptools_build_meta ptest - -SRC_URI += " \ - file://run-ptest \ -" +inherit pypi python_hatchling python_setuptools_build_meta ptest-python-pytest RDEPENDS:${PN} += " \ python3-cryptography \ @@ -23,13 +19,6 @@ RDEPENDS:${PN}-ptest += " \ python3-attrs \ python3-pyopenssl \ python3-pyasn1-modules \ - python3-pytest \ python3-service-identity \ python3-six \ - python3-unittest-automake-output \ " - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-twitter_4.14.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-twitter_4.15.0.bb index 23ea996258..19c4b8680c 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-twitter_4.14.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-twitter_4.15.0.bb @@ -4,7 +4,7 @@ DESCRIPTION = "Python module to support twitter API" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=9;endline=9;md5=8227180126797a0148f94f483f3e1489" -SRC_URI[sha256sum] = "1f9f1707d6972de6cff6c5fd90dfe6a449cd2e0d70bd40043ffab01e07a06c8c" +SRC_URI[sha256sum] = "1345cbcdf0a75e2d89f424c559fd49fda4d8cd7be25cd5131e3b57bad8a21d76" PYPI_PACKAGE = "tweepy" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-typeguard/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-typeguard/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-typeguard/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-typeguard_4.4.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-typeguard_4.4.1.bb index 8b2604e4a2..45b32f5120 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-typeguard_4.4.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-typeguard_4.4.1.bb @@ -5,11 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=f0e423eea5c91e7aa21bdb70184b3e53" SRC_URI[sha256sum] = "0d22a89d00b453b47c49875f42b6601b961757541a2e1e0ef517b6e24213c21b" -inherit pypi python_setuptools_build_meta ptest - -SRC_URI += " \ - file://run-ptest \ -" +inherit pypi python_setuptools_build_meta ptest-python-pytest RDEPENDS:${PN} += " \ python3-core \ @@ -19,18 +15,11 @@ RDEPENDS:${PN} += " \ " RDEPENDS:${PN}-ptest += " \ - python3-pytest \ python3-typing-extensions \ - python3-unittest-automake-output \ python3-unixadmin \ python3-mypy \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - DEPENDS += "\ python3-distutils-extra-native \ python3-setuptools-scm-native \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-typer_0.14.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-typer_0.15.1.bb index 4074f31eb8..6206427a70 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-typer_0.14.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-typer_0.15.1.bb @@ -7,7 +7,7 @@ HOMEPAGE = "https://github.com/tiangolo/typer" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=173d405eb704b1499218013178722617" -SRC_URI[sha256sum] = "af58f737f8d0c0c37b9f955a6d39000b9ff97813afcbeef56af5e37cf743b45a" +SRC_URI[sha256sum] = "a0588c0a7fa68a1978a069818657778f86abe6ff5ea6abf472f940a08bfe4f0a" inherit pypi python_setuptools_build_meta ptest diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-types-setuptools_73.0.0.20240822.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-types-setuptools_75.5.0.20241120.bb index 2eaa2d136e..b9f35406bd 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-types-setuptools_73.0.0.20240822.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-types-setuptools_75.5.0.20241120.bb @@ -5,6 +5,6 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=c2d9643b4523fdf462 inherit pypi setuptools3 -SRC_URI[sha256sum] = "3a060681098eb3fbc2fea0a86f7f6af6aa1ca71906039d88d891ea2cecdd4dbf" +SRC_URI[sha256sum] = "d3c7e95b0598bf87fede29b3b57b19f5cdcd62a85b9298a7b30f8343f6f21c4f" BBCLASSEXTEND = "native" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-tzdata/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-tzdata/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-tzdata/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-tzdata_2024.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-tzdata_2024.2.bb index 614d813e84..3d0166d20e 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-tzdata_2024.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-tzdata_2024.2.bb @@ -6,20 +6,15 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=fca9fd5c15a28eb874ba38577a585d48 \ SRC_URI[sha256sum] = "7d85cc416e9382e69095b7bdf4afd9e3880418a2413feec7069d533d6b4e31cc" -inherit pypi python_setuptools_build_meta - -inherit ptest - -SRC_URI += "file://run-ptest" +inherit pypi python_setuptools_build_meta ptest-python-pytest RDEPENDS:${PN}-ptest += "\ python3-attrs \ - python3-pytest \ python3-pytest-subtests \ - python3-unittest-automake-output \ " -do_install_ptest() { - cp -rf ${S}/tests/ ${D}${PTEST_PATH}/ +do_install_ptest:append() { install ${S}/VERSION ${D}${PTEST_PATH}/ } + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-u-msgpack-python/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-u-msgpack-python/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-u-msgpack-python/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-u-msgpack-python_2.8.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-u-msgpack-python_2.8.0.bb index 6cde243fe8..e95e4bbfb0 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-u-msgpack-python_2.8.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-u-msgpack-python_2.8.0.bb @@ -5,18 +5,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=17df11353545c53a2df0ce7655859306" SRC_URI[sha256sum] = "b801a83d6ed75e6df41e44518b4f2a9c221dc2da4bcd5380e3a0feda520bc61a" -inherit pypi setuptools3 ptest +inherit pypi setuptools3 ptest-python-pytest -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { +do_install_ptest:append() { cp -f ${S}/test_umsgpack.py ${D}${PTEST_PATH}/ } diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-ujson/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-ujson/run-ptest deleted file mode 100644 index 4863c5e5a3..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-ujson/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -FORCE_COLOR=1 pytest --automake --capture=no diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-ujson_5.10.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-ujson_5.10.0.bb index 5f4439c4c3..9832a4fe40 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-ujson_5.10.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-ujson_5.10.0.bb @@ -2,21 +2,17 @@ SUMMARY = "Ultra fast JSON encoder and decoder for Python" DESCRIPTION = "UltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 2.5+ and 3." LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e0039a83d8a99726b5418f0b03302d0a" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1e3768cfe2662fa77c49c9c2d3804d87" SRC_URI[sha256sum] = "b3cd8f3c5d8c7738257f1018880444f7b7d9b66232c64649f562d7ba86ad4bc1" -inherit pypi ptest python_setuptools_build_meta +inherit pypi ptest-python-pytest python_setuptools_build_meta # let OE do the strip operation export UJSON_BUILD_NO_STRIP = "1" DEPENDS += "python3-setuptools-scm-native" -SRC_URI += " \ - file://run-ptest \ -" - RDEPENDS:${PN} += "\ python3-datetime \ python3-numbers \ @@ -25,14 +21,7 @@ RDEPENDS:${PN} += "\ RDEPENDS:${PN}-ptest += " \ python3-json \ python3-misc \ - python3-pytest \ python3-pytz \ - python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-unidiff/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-unidiff/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-unidiff/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-unidiff_0.7.5.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-unidiff_0.7.5.bb index d77252beac..c1e931e07e 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-unidiff_0.7.5.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-unidiff_0.7.5.bb @@ -5,21 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4c434b08ef42fea235bb019b5e5a97b3" SRC_URI[sha256sum] = "2e5f0162052248946b9f0970a40e9e124236bf86c82b70821143a6fc1dea2574" -inherit pypi setuptools3 ptest - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} +inherit pypi setuptools3 ptest-python-pytest RDEPENDS:${PN} += " \ python3-codecs \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-unoconv_0.9.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-unoconv_0.9.0.bb index 8bfb8a6deb..6ff9a091f0 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-unoconv_0.9.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-unoconv_0.9.0.bb @@ -8,7 +8,7 @@ SRC_URI[sha256sum] = "308ebfd98e67d898834876348b27caf41470cd853fbe2681cc7dacd8fd inherit pypi setuptools3 -PYPI_PACKAGE="unoconv" +PYPI_PACKAGE = "unoconv" RDEPENDS:${PN} += "\ python3-setuptools \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-uritemplate/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-uritemplate/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-uritemplate/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-uritemplate_4.1.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-uritemplate_4.1.1.bb index e741b6268d..77a52fa58f 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-uritemplate_4.1.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-uritemplate_4.1.1.bb @@ -7,20 +7,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=0f6d769bdcfacac3c1a1ffa568937fe0" SRC_URI[sha256sum] = "4346edfc5c3b79f694bccd6d6099a322bbeb628dbf2cd86eea55a456ce5124f0" -inherit pypi setuptools3 ptest - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} +inherit pypi setuptools3 ptest-python-pytest BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-uswid_0.5.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-uswid_0.5.1.bb index 1381d7e880..32eeeca585 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-uswid_0.5.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-uswid_0.5.1.bb @@ -4,7 +4,7 @@ SECTION = "devel/python" LICENSE = "BSD-2-Clause-Patent" LIC_FILES_CHKSUM = "file://LICENSE;md5=f3636dfe71e94cc72918423cec0d1971" -SRC_URI[sha256sum] = "bdcd7ee5afac1da60ee688c357aa12f5f8d74bc28012446b10e2b4a9cf52fc6d" +SRC_URI[sha256sum] = "92b48a8f6601687c1cc556878571abf9ddb0bdbaf244713b7ff838c48fcb68b3" inherit setuptools3 python3native pypi @@ -14,6 +14,7 @@ RDEPENDS:${PN} += " \ python3-json \ python3-lxml \ python3-netclient \ + python3-pefile \ " BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-validators/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-validators/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-validators/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-validators_0.34.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-validators_0.34.0.bb index 41ead5c051..5bbcf4d5a5 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-validators_0.34.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-validators_0.34.0.bb @@ -5,26 +5,15 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b3fb4b9e6db86c69a33d5e3ee013ab59" SRC_URI[sha256sum] = "647fe407b45af9a74d245b943b18e6a816acf4926974278f6dd617778e1e781f" -inherit pypi python_setuptools_build_meta ptest - -SRC_URI += " \ - file://run-ptest \ -" +inherit pypi python_setuptools_build_meta ptest-python-pytest RDEPENDS:${PN}-ptest += " \ python3-decorator \ python3-eth-hash \ python3-isort \ python3-pycryptodome \ - python3-pytest \ - python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - RDEPENDS:${PN} += " \ python3-crypt \ python3-datetime \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-virtualenv_20.26.6.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-virtualenv_20.29.1.bb index e40561e8fa..dc42b4c79f 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-virtualenv_20.26.6.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-virtualenv_20.29.1.bb @@ -6,7 +6,7 @@ HOMEPAGE = "https://github.com/pypa/virtualenv" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=0ce089158cf60a8ab6abb452b6405538" -SRC_URI[sha256sum] = "280aede09a2a5c317e409a00102e7077c6432c5a38f0ef938e643805a7ad2c48" +SRC_URI[sha256sum] = "b8b8970138d32fb606192cb97f6cd4bb644fa486be9308fb9b63f81091b5dc35" BBCLASSEXTEND = "native nativesdk" inherit pypi python_hatchling diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-wand_0.6.13.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-wand_0.6.13.bb index 85e05ad97b..8de764a7b6 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-wand_0.6.13.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-wand_0.6.13.bb @@ -8,7 +8,8 @@ SRC_URI[sha256sum] = "f5013484eaf7a20eb22d1821aaefe60b50cc329722372b5f8565d46d4a inherit pypi setuptools3 -PYPI_PACKAGE="Wand" +PYPI_PACKAGE = "Wand" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" FILES:${PN}-doc += "${datadir}/README.rst" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-web3_7.3.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-web3_7.7.0.bb index b0b67dfac4..3d8acd9d28 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-web3_7.3.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-web3_7.7.0.bb @@ -4,7 +4,7 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=c8694da5a97575618474d9caf8c812da" -SRC_URI[sha256sum] = "74d52cfcc23b8e99c837190128b932923f38fca290ae2cf2d690edbf622252a0" +SRC_URI[sha256sum] = "4d0332b9a78b855e57ccebd9e1e74c8e855b95869ac7b8fe5878731593e76408" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-wpa-supplicant_0.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-wpa-supplicant_0.2.bb index bb0007e615..68ff6c1863 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-wpa-supplicant_0.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-wpa-supplicant_0.2.bb @@ -9,8 +9,7 @@ SRC_URI[sha256sum] = "3ad0f40a696763bb0f4d4dec5b51f6b53ccfeb7c16ebb5897349303045 SRC_URI += "file://0001-cli-drop-the-second-argument-from-click.argument-dec.patch" PYPI_PACKAGE = "wpa_supplicant" -UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/wpa_supplicant" -UPSTREAM_CHECK_REGEX = "/wpa_supplicant/(?P<pver>(\d+[\.\-_]*)+)" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-wrapt/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-wrapt/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-wrapt/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-wrapt_1.17.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-wrapt_1.17.2.bb index b72bafb6de..2da6c88bc8 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-wrapt_1.17.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-wrapt_1.17.2.bb @@ -6,11 +6,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=dc34cbad60bc961452eb7ade801d25f7" SRC_URI[sha256sum] = "5f370f952971e7d17c7d1ead40e49f32345a7f7a5373571ef44d800d06b1899d" -inherit setuptools3 ptest +inherit setuptools3 ptest-python-pytest -SRCREV = "e663d4910a81d666786ac773ad7c16199b01d31b" -SRC_URI += "git://github.com/GrahamDumpleton/wrapt;protocol=https;branch=develop \ - file://run-ptest \ +SRCREV = "bcc1f26b2fe8fc962f5033c3a3a773425500789a" +SRC_URI += "git://github.com/GrahamDumpleton/wrapt;protocol=https;branch=master \ " S = "${WORKDIR}/git" @@ -18,15 +17,8 @@ S = "${WORKDIR}/git" # python3-misc for 'this' module RDEPENDS:${PN}-ptest += " \ python3-misc \ - python3-pytest \ - python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - RDEPENDS:${PN}:class-target += "\ python3-stringold \ python3-threading \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-wsproto/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-wsproto/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-wsproto/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-wsproto_1.2.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-wsproto_1.2.0.bb index 09f5565a94..4aac092fbe 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-wsproto_1.2.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-wsproto_1.2.0.bb @@ -3,23 +3,11 @@ HOMEPAGE = "https://github.com/python-hyper/wsproto/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=69fabf732409f4ac61875827b258caaf" -inherit pypi setuptools3 ptest +inherit pypi setuptools3 ptest-python-pytest -SRC_URI[sha256sum] = "ad565f26ecb92588a3e43bc3d96164de84cd9902482b130d0ddbaa9664a85065" - -SRC_URI += " \ - file://run-ptest \ -" +PTEST_PYTEST_DIR = "test" -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/test/* ${D}${PTEST_PATH}/tests/ -} +SRC_URI[sha256sum] = "ad565f26ecb92588a3e43bc3d96164de84cd9902482b130d0ddbaa9664a85065" RDEPENDS:${PN} += " \ python3-h11 \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-wtforms_3.1.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-wtforms_3.2.1.bb index b3ba14ff7f..f7cbff2f4e 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-wtforms_3.1.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-wtforms_3.2.1.bb @@ -5,10 +5,7 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=17ed54aa95f4a6cd0d7a4747d14b64d0" -SRC_URI[sha256sum] = "f8d76180d7239c94c6322f7990ae1216dae3659b7aa1cee94b6318bdffb474b9" - -UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/WTForms" -UPSTREAM_CHECK_REGEX = "/WTForms/(?P<pver>(\d+[\.\-_]*)+)" +SRC_URI[sha256sum] = "df3e6b70f3192e92623128123ec8dca3067df9cfadd43d59681e210cfb8d4682" inherit pypi python_hatchling diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-xlrd/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-xlrd/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-xlrd/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb index aedf483bef..5c572c615b 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb @@ -10,13 +10,12 @@ SRC_URI[sha256sum] = "f72f148f54442c6b056bf931dbc34f986fd0c3b0b6b5a58d013c9aef27 SRC_URI = "git://github.com/python-excel/xlrd.git;branch=master;protocol=https \ - file://run-ptest \ " SRCREV = "b8d573e11ec149da695d695c81a156232b89a949" S = "${WORKDIR}/git" -inherit ptest setuptools3 +inherit ptest-python-pytest setuptools3 RDEPENDS:${PN} += " \ python3-compression \ @@ -31,9 +30,4 @@ RDEPENDS:${PN}-ptest += " \ python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-xlsxwriter_3.2.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-xlsxwriter_3.2.0.bb index 6e8f1b24da..e3376ab55b 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-xlsxwriter_3.2.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-xlsxwriter_3.2.0.bb @@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a4bab8df34a9a138b4e0ca56b8559a05" inherit pypi setuptools3 PYPI_PACKAGE = "XlsxWriter" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" RDEPENDS:${PN} += " \ python3-crypt \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-xstatic-font-awesome_6.2.1.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-xstatic-font-awesome_6.2.1.1.bb index f4a51f318e..0562cc2671 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-xstatic-font-awesome_6.2.1.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-xstatic-font-awesome_6.2.1.1.bb @@ -5,6 +5,7 @@ LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://PKG-INFO;md5=f1a2fe131dcb2fc6243c26cf05ecdb36" PYPI_PACKAGE = "XStatic-Font-Awesome" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" SRC_URI[sha256sum] = "f075871096128638f2e1539020d8227754c3d885dd68e7ee6de9a01235076828" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-xstatic_1.0.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-xstatic_1.0.3.bb index 22bfa365ff..f4a75c9b6c 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-xstatic_1.0.3.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-xstatic_1.0.3.bb @@ -5,6 +5,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://README.txt;md5=1418684272f85f400cebf1b1a255c5cd" PYPI_PACKAGE = "XStatic" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" SRC_URI[sha256sum] = "402544cc9e179489441054f09c807804e115ea246907de87c0355fb4f5a31268" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-yamlloader_1.4.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-yamlloader_1.5.1.bb index 55c48f889c..11d7cf96fb 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-yamlloader_1.4.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-yamlloader_1.5.1.bb @@ -3,9 +3,13 @@ HOMEPAGE = "https://github.com/Phynix/yamlloader" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=6831ef36faa29329bce2420c5356f97e" -SRC_URI[sha256sum] = "b6fe40ecf5af596d840e920670ed3475f9813492bf6e55b24f2ad450c212bab5" +SRC_URI[sha256sum] = "8dece19b050acb1c6a8ca14aa30793388f9be154f734b826541f9a1828d41cec" -inherit pypi python_setuptools_build_meta +inherit pypi python_hatchling + +DEPENDS += "\ + python3-hatch-vcs-native \ +" RDEPENDS:${PN}:class-target += "\ python3-pyyaml \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-yappi/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-yappi/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-yappi/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-yappi_1.6.10.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-yappi_1.6.10.bb index c87d5aca61..bced340b94 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-yappi_1.6.10.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-yappi_1.6.10.bb @@ -6,12 +6,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=71c208c9a4fd864385eb69ad4caa3bee" SRC_URI[sha256sum] = "463b822727658937bd95a7d80ca9758605b8cd0014e004e9e520ec9cb4db0c92" -SRC_URI += "file://run-ptest \ +SRC_URI += " \ file://0001-test_functionality-convert-line-endings-to-Unix.patch \ file://0002-Fix-import-of-tests.utils-to-enable-pytest.patch \ " -inherit pypi python_setuptools_build_meta ptest +inherit pypi python_setuptools_build_meta ptest-python-pytest RDEPENDS:${PN} += "\ python3-datetime \ @@ -28,9 +28,7 @@ RDEPENDS:${PN}-ptest += " \ python3-zopeinterface \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests ${D}${PTEST_PATH} +do_install_ptest:append() { cp -f ${S}/run_tests.py ${D}${PTEST_PATH} } diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-yarl/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-yarl/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-yarl/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-yarl_1.18.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-yarl_1.18.3.bb index 8cf74f1fd7..5370573a32 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-yarl_1.18.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-yarl_1.18.3.bb @@ -3,13 +3,11 @@ HOMEPAGE = "https://github.com/aio-libs/yarl/" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" -SRC_URI[sha256sum] = "20d95535e7d833889982bfe7cc321b7f63bf8879788fee982c76ae2b24cfb715" - -SRC_URI += "file://run-ptest" +SRC_URI[sha256sum] = "ac1801c45cbf77b6c99242eeff4fffb5e4e73a800b5c4ad4fc0be5def634d2e1" PYPI_PACKAGE = "yarl" -inherit pypi ptest python_setuptools_build_meta cython +inherit pypi ptest-python-pytest python_setuptools_build_meta cython DEPENDS += " \ python3-expandvars-native \ @@ -31,7 +29,3 @@ RDEPENDS:${PN}-ptest += " \ python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-zeroconf_0.136.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-zeroconf_0.141.0.bb index 43c3276e70..a968a65182 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-zeroconf_0.136.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-zeroconf_0.141.0.bb @@ -1,9 +1,9 @@ SUMMARY = "Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)" HOMEPAGE = "https://github.com/jstasiak/python-zeroconf" LICENSE = "LGPL-2.1-or-later" -LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=e77986dc8e2ee22d44a7c863e96852ae" +LIC_FILES_CHKSUM = "file://COPYING;md5=9fe712b1bc27c5c4e9ecd7f31d208900" -SRC_URI[sha256sum] = "37d223febad4569f0d14563eb8e80a9742be35d0419847b45d84c37fc4224bb4" +SRC_URI[sha256sum] = "c0c41cfe1331cf885f132dd2400e4091f59ae0a571cae14f3db66919a055489b" inherit pypi python_poetry_core cython diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-zopeevent_5.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-zopeevent_5.0.bb index 4d914c63e9..f03ab22d24 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-zopeevent_5.0.bb +++ b/meta-openembedded/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 SRC_URI[sha256sum] = "bac440d8d9891b4068e2b5a2c5e2c9765a9df762944bda6955f96bb9b91e67cd" PYPI_PACKAGE = "zope.event" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-zopeinterface_7.1.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-zopeinterface_7.1.1.bb index dcf660d419..79e00ce23e 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-zopeinterface_7.1.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-zopeinterface_7.1.1.bb @@ -3,6 +3,7 @@ LICENSE = "ZPL-2.1" LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e54fd776274c1b7423ec128974bd9d46" PYPI_PACKAGE = "zope.interface" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi python_setuptools_build_meta SRC_URI += "file://0001-Allow-using-setuptools-74.patch" |
