Skip to contentSkip to conversation

switch to PEP-517 build backend

PATCH New Armin Kuster 1 participant 2 messages Aug 10, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 switch to PEP-517 build backend

---
 .../python/python3-flask-script_2.0.6.bb      |  6 ++++-
 .../python/python3-json2html_1.3.0.bb         |  6 ++++-
 .../python/python3-pyinotify_0.9.6.bb         | 22 +++++++++++--------
 .../python/python3-segno_1.5.2.bb             |  6 +++--
 .../python/python3-xmldiff_2.6.3.bb           |  6 ++++-
 .../python/python3-yamlpath_3.8.0.bb          |  6 ++++-
 .../python/python3-oauth2client_4.1.3.bb      |  6 ++++-
 7 files changed, 42 insertions(+), 16 deletions(-)
dynamic-layers/meta-python/recipes-devtools/python/python3-flask-script_2.0.6.bb +5 -1
index ba0f974..46cdc8e 100644
@@ -7,7 +7,11 @@ SRC_URI[sha256sum] = "6425963d91054cfcc185807141c7314a9c5ad46325911bd24dcb489bd0
 
 PYPI_PACKAGE = "Flask-Script"
 
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
+
+DEPENDS += " \
+    python3-setuptools-scm-native \
+"
 
 RDEPENDS:${PN} += "\
     python3-flask \
dynamic-layers/meta-python/recipes-devtools/python/python3-json2html_1.3.0.bb +5 -1
index 638c56f..3d7e897 100644
@@ -6,4 +6,8 @@ SRC_URI[sha256sum] = "8951a53662ae9cfd812685facdba693fc950ffc1c1fd1a8a2d3cf4c346
 
 PYPI_PACKAGE = "json2html"
 
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
+
+DEPENDS += " \
+    python3-setuptools-scm-native \
+"
dynamic-layers/meta-python/recipes-devtools/python/python3-pyinotify_0.9.6.bb +13 -9
index ff1b611..9aaa7c9 100644
@@ -2,6 +2,19 @@ DESCRIPTION = "Python pyinotify: Linux filesystem events monitoring"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=ab173cade7965b411528464589a08382"
 
+SRC_URI[md5sum] = "8e580fa1ff3971f94a6f81672b76c406"
+SRC_URI[sha256sum] = "9c998a5d7606ca835065cdabc013ae6c66eb9ea76a00a1e3bc6e0cfe2b4f71f4"
+
+SRC_URI += " \
+           file://0001-Make-asyncore-support-optional-for-Python-3.patch \
+"
+
+inherit pypi python_setuptools_build_meta
+
+DEPENDS += " \
+    python3-setuptools-scm-native \
+"
+
 RDEPENDS:${PN} += "\
     python3-ctypes \
     python3-fcntl \
@@ -11,12 +24,3 @@ RDEPENDS:${PN} += "\
     python3-shell \
     python3-threading \
 "
-
-SRC_URI[md5sum] = "8e580fa1ff3971f94a6f81672b76c406"
-SRC_URI[sha256sum] = "9c998a5d7606ca835065cdabc013ae6c66eb9ea76a00a1e3bc6e0cfe2b4f71f4"
-
-SRC_URI += " \
-           file://0001-Make-asyncore-support-optional-for-Python-3.patch \
-"
-
-inherit pypi setuptools3
dynamic-layers/meta-python/recipes-devtools/python/python3-segno_1.5.2.bb +4 -2
index f8a6552..e24f322 100644
@@ -4,6 +4,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=8e8db3765a57bcb968140e0a353c1a35"
 
 SRC_URI[sha256sum] = "983424b296e62189d70fc73460cd946cf56dcbe82b9bda18c066fc1b24371cdc"
 
-#PYPI_PACKAGE = "Flask-Script"
+inherit pypi python_setuptools_build_meta
 
-inherit pypi setuptools3
+DEPENDS += " \
+    python3-setuptools-scm-native \
+"
dynamic-layers/meta-python/recipes-devtools/python/python3-xmldiff_2.6.3.bb +5 -1
index 517ed87..811cf36 100644
@@ -6,4 +6,8 @@ SRC_URI[sha256sum] = "19b030b3fa37d1f0b5c5ad9ada9059884c3bf2c751c5dd8f1eb4ed49cf
 
 PYPI_PACKAGE = "xmldiff"
 
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
+
+DEPENDS += " \
+    python3-setuptools-scm-native \
+"
dynamic-layers/meta-python/recipes-devtools/python/python3-yamlpath_3.8.0.bb +5 -1
index 5d88951..8d5f33e 100644
@@ -6,4 +6,8 @@ SRC_URI[sha256sum] = "81d5b8baba60c255b519ccd31a691f9bc064223ff196709d41119bde81
 
 PYPI_PACKAGE = "yamlpath"
 
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
+
+DEPENDS += " \
+    python3-setuptools-scm-native \
+"
dynamic-layers/meta-python/recipes-security/python/python3-oauth2client_4.1.3.bb +5 -1
index 3a07461..62157e0 100644
@@ -6,6 +6,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=038e1390e94fe637991fa5569daa62bc"
 PYPI_PACKAGE = "oauth2client"
 SRC_URI[sha256sum] = "d486741e451287f69568a4d26d70d9acd73a2bbfa275746c535b4209891cccc6"
 
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
+
+DEPENDS += " \
+    python3-setuptools-scm-native \
+"
 
 RDEPENDS:${PN} = "python3-six python3-rsa python3-httplib2 python3-pyasn1 python3-pyasn1-modules"
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/2 python3-tpm2-pyts: switch to PEP-517 build backend

---
 meta-tpm/recipes-tpm2/tpm2-pytss/python3-tpm2-pytss_2.3.0.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-tpm/recipes-tpm2/tpm2-pytss/python3-tpm2-pytss_2.3.0.bb +2 -1
index ae7dcfa..57e284b 100644
@@ -7,9 +7,10 @@ PYPI_PACKAGE = "tpm2-pytss"
 
 SRC_URI[sha256sum] = "20071129379656f5f3c3bc16d364612672b147d81191fb4eb9f9ff9fbee48410"
 
-inherit autotools pkgconfig pypi setuptools3
+inherit autotools pkgconfig pypi python_setuptools_build_meta
 
 DEPENDS = " \
+    python3-setuptools-scm-native \
     python3-asn1crypto-native \
     python3-cryptography-native \
     python3-pkgconfig-native \
Signature · 1 line
2.34.1