Add python3-editables (from meta-python)
PATCH v3 1/5 Add python3-editables (from meta-python)
This is a dependency of the Hatch build system, to be added as python3-hatchling.
Signed-off-by Ross Burton <[email protected]>
--- meta/conf/distro/include/maintainers.inc | 1 + meta/recipes-devtools/python/python3-editables_0.3.bb | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-editables_0.3.bb
meta/conf/distro/include/maintainers.inc +1 -0
@@ -604,6 +604,7 @@ RECIPE_MAINTAINER:pn-python3-dbusmock = "Oleksandr Kravchuk <open.source@oleksan RECIPE_MAINTAINER:pn-python3-docutils = "Oleksandr Kravchuk <[email protected]>" RECIPE_MAINTAINER:pn-python3-dtschema = "Bruce Ashfield <[email protected]>" RECIPE_MAINTAINER:pn-python3-dtschema-wrapper = "Bruce Ashfield <[email protected]>" +RECIPE_MAINTAINER:pn-python3-editables = "Ross Burton <[email protected]>" RECIPE_MAINTAINER:pn-python3-pycryptodome = "Joshua Watt <[email protected]>" RECIPE_MAINTAINER:pn-python3-pycryptodomex = "Joshua Watt <[email protected]>" RECIPE_MAINTAINER:pn-python3-pyrsistent = "Bruce Ashfield <[email protected]>"
meta/recipes-devtools/python/python3-editables_0.3.bb new file +11 -0
@@ -0,0 +1,11 @@ +SUMMARY = "A Python library for creating editable wheels" +HOMEPAGE = "https://github.com/pfmoore/editables" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=41bc1be47b7bb8240db3ef928c7cb0bf" + +SRC_URI[sha256sum] = "167524e377358ed1f1374e61c268f0d7a4bf7dbd046c656f7b410cde16161b1a" + +inherit pypi python_setuptools_build_meta + +BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.25.1
PATCH v3 2/5 Add python3-pathspec (from meta-python)
This is a dependency of the Hatch build system, to be added as python3-hatchling.
Signed-off-by Ross Burton <[email protected]>
--- meta/conf/distro/include/maintainers.inc | 1 + .../recipes-devtools/python/python3-pathspec_0.9.0.bb | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-pathspec_0.9.0.bb
meta/conf/distro/include/maintainers.inc +1 -0
@@ -633,6 +633,7 @@ RECIPE_MAINTAINER:pn-python3-ndg-httpsclient = "Tim Orling <tim.orling@konsulko. RECIPE_MAINTAINER:pn-python3-numpy = "Oleksandr Kravchuk <[email protected]>" RECIPE_MAINTAINER:pn-python3-packaging = "Tim Orling <[email protected]>" RECIPE_MAINTAINER:pn-python3-pathlib2 = "Tim Orling <[email protected]>" +RECIPE_MAINTAINER:pn-python3-pathspec = "Ross Burton <[email protected]>" RECIPE_MAINTAINER:pn-python3-pbr = "Zang Ruochen <[email protected]>" RECIPE_MAINTAINER:pn-python3-pip = "Zang Ruochen <[email protected]>" RECIPE_MAINTAINER:pn-python3-pluggy = "Tim Orling <[email protected]>"
meta/recipes-devtools/python/python3-pathspec_0.9.0.bb new file +11 -0
@@ -0,0 +1,11 @@ +SUMMARY = "Utility library for gitignore style pattern matching of file paths." +HOMEPAGE = "https://github.com/cpburnz/python-path-specification" +SECTION = "devel/python" +LICENSE = "MPL-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=815ca599c9df247a0c7f619bab123dad" + +SRC_URI[sha256sum] = "e564499435a2673d586f6b2130bb5b95f04a3ba06f81b8f895b651a3c76aabb1" + +inherit pypi setuptools3 + +BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.25.1
PATCH v3 3/5 Add python3-hatchling (from meta-oe)
In reply to Ross BurtonRecipes in core are now needing to use the Hatch build system, so move the hatchling recipe and class from meta-oe to oe-core.
Signed-off-by Ross Burton <[email protected]>
--- meta/classes/python_hatchling.bbclass | 5 +++++ meta/conf/distro/include/maintainers.inc | 1 + .../python/python3-hatchling_1.3.0.bb | 21 +++++++++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 meta/classes/python_hatchling.bbclass create mode 100644 meta/recipes-devtools/python/python3-hatchling_1.3.0.bb
meta/classes/python_hatchling.bbclass new file +5 -0
@@ -0,0 +1,5 @@ +inherit python_pep517 python3native python3-dir setuptools3-base + +DEPENDS += "python3-hatchling-native" + +PEP517_BUILD_API = "hatchling.build"
meta/conf/distro/include/maintainers.inc +1 -0
@@ -612,6 +612,7 @@ RECIPE_MAINTAINER:pn-python3-extras = "Oleksandr Kravchuk <open.source@oleksandr RECIPE_MAINTAINER:pn-python3-flit-core = "Tim Orling <[email protected]>" RECIPE_MAINTAINER:pn-python3-git = "Oleksandr Kravchuk <[email protected]>" RECIPE_MAINTAINER:pn-python3-gitdb = "Oleksandr Kravchuk <[email protected]>" +RECIPE_MAINTAINER:pn-python3-hatchling = "Ross Burton <[email protected]>" RECIPE_MAINTAINER:pn-python3-hypothesis = "Tim Orling <[email protected]>" RECIPE_MAINTAINER:pn-python3-idna = "Bruce Ashfield <[email protected]>" RECIPE_MAINTAINER:pn-python3-imagesize = "Tim Orling <[email protected]>"
meta/recipes-devtools/python/python3-hatchling_1.3.0.bb new file +21 -0
@@ -0,0 +1,21 @@ +SUMMARY = "The extensible, standards compliant build backend used by Hatch" +HOMEPAGE = "https://hatch.pypa.io/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cbe2fd33fc9297692812fc94b7d27fd9" + +inherit pypi python_hatchling + +DEPENDS += "python3-pluggy-native python3-tomli-native python3-pathspec-native python3-packaging-native python3-editables-native" +DEPENDS:remove:class-native = "python3-hatchling-native" + +SRC_URI[sha256sum] = "1401d45d3dd6a5910f64d539acaa943486d5e8b7dda1a97f2b0040fdddc5b85e" + +# Until we have a proper tool to invoke PEP517 builds, hatchling can't +# bootstrap itself automatically. +PEP517_BUILD_API = "hatchling.ouroboros" + +do_compile:prepend() { + export PYTHONPATH=src +} + +BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.25.1
PATCH v3 4/5 python3-hatch-vcs: add new recipe
In reply to Ross BurtonThis recipe (a VCS plugin for Hatch) is needed by the new python3-jsonschema to build.
Signed-off-by Ross Burton <[email protected]>
--- meta/conf/distro/include/maintainers.inc | 1 + .../python/python3-hatch-vcs_0.2.0.bb | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-hatch-vcs_0.2.0.bb
meta/conf/distro/include/maintainers.inc +1 -0
@@ -613,6 +613,7 @@ RECIPE_MAINTAINER:pn-python3-flit-core = "Tim Orling <[email protected]>" RECIPE_MAINTAINER:pn-python3-git = "Oleksandr Kravchuk <[email protected]>" RECIPE_MAINTAINER:pn-python3-gitdb = "Oleksandr Kravchuk <[email protected]>" RECIPE_MAINTAINER:pn-python3-hatchling = "Ross Burton <[email protected]>" +RECIPE_MAINTAINER:pn-python3-hatch-vcs = "Ross Burton <[email protected]>" RECIPE_MAINTAINER:pn-python3-hypothesis = "Tim Orling <[email protected]>" RECIPE_MAINTAINER:pn-python3-idna = "Bruce Ashfield <[email protected]>" RECIPE_MAINTAINER:pn-python3-imagesize = "Tim Orling <[email protected]>"
meta/recipes-devtools/python/python3-hatch-vcs_0.2.0.bb new file +12 -0
@@ -0,0 +1,12 @@ +SUMMARY = "Hatch plugin for versioning with your preferred VCS" +HOMEPAGE = "https://pypi.org/project/hatch-vcs/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=26501cfd0bbddf830ee820e95551fa3d" + +inherit pypi python_hatchling + +PYPI_PACKAGE = "hatch_vcs" + +SRC_URI[sha256sum] = "9913d733b34eec9bb0345d0626ca32165a4ad2de15d1ce643c36d09ca908abff" + +BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.25.1
PATCH v3 5/5 python3-jsonschema: upgrade 4.5.1 -> 4.6.0
In reply to Ross BurtonSwitch the build system from setuptools to hatch.
Signed-off-by Ross Burton <[email protected]>
---
...hon3-jsonschema_4.5.1.bb => python3-jsonschema_4.6.0.bb} | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
rename meta/recipes-devtools/python/{python3-jsonschema_4.5.1.bb => python3-jsonschema_4.6.0.bb} (84%)meta/recipes-devtools/python/python3-jsonschema_4.6.0.bb renamed from meta/recipes-devtools/python/python3-jsonschema_4.5.1.bb +3 -3
@@ -4,11 +4,11 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=7a60a81c146ec25599a3e1dabb8610a8 \ file://json/LICENSE;md5=9d4de43111d33570c8fe49b4cb0e01af" -SRC_URI[sha256sum] = "7c6d882619340c3347a1bf7315e147e6d3dae439033ae6383d6acb908c101dfc" +SRC_URI[sha256sum] = "9d6397ba4a6c0bf0300736057f649e3e12ecbc07d3e81a0dacb72de4e9801957" -inherit pypi python_setuptools_build_meta +inherit pypi python_hatchling -DEPENDS += "${PYTHON_PN}-vcversioner-native ${PYTHON_PN}-setuptools-scm-native" +DEPENDS += "${PYTHON_PN}-hatch-vcs-native" PACKAGECONFIG ??= "format" PACKAGECONFIG[format] = ",,,\
Signature · 1 line
2.25.1