python: remove recipes imported to oe-core

To support device tree schema validation in kernels v5.16+, we've
imported dt-schema + dependencies to core. So we can safely drop
them from meta-python.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Bruce Ashfield
2021-11-26 12:54:39 -05:00
committed by Khem Raj
parent 2fb000b020
commit 9b3c3c0803
14 changed files with 0 additions and 270 deletions

View File

@@ -1,32 +0,0 @@
From 3531ff73631a0d59234eb4713e7b3a7f5ea57bbb Mon Sep 17 00:00:00 2001
From: Nicola Lunghi <nicola.lunghi@jci.com>
Date: Thu, 14 Nov 2019 12:17:51 +0000
Subject: [PATCH] setup.py: move pytest-runner to test_requirements
This fixes an issue with yocto build.
pytest-runner is only needed when running tests.
Upstream-Status: Pending
---
setup.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/setup.py b/setup.py
index 53ebea7..ebb0de2 100644
--- a/setup.py
+++ b/setup.py
@@ -10,9 +10,9 @@ with open('README.md') as readme_file:
requirements = []
-setup_requirements = ['pytest-runner', ]
+setup_requirements = []
-test_requirements = ['pytest>=3', ]
+test_requirements = ['pytest>=3', 'pytest-runner']
setup(
author="Nicolas Aimetti",
--
2.20.1

View File

@@ -1,19 +0,0 @@
SUMMARY = "Internationalised Domain Names in Applications"
HOMEPAGE = "https://github.com/kjd/idna"
LICENSE = "BSD-3-Clause & Python-2.0 & Unicode"
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=239668a7c6066d9e0c5382e9c8c6c0e1"
SRC_URI[sha256sum] = "9d643ff0a55b762d5cdb124b8eaa99c66322e2157b69160bc32796e824360e6d"
inherit pypi setuptools3
# Remove bundled egg-info
do_compile:prepend() {
rm -rf ${S}/idna.egg-info
}
RDEPENDS:${PN}:class-target = "\
${PYTHON_PN}-codecs \
"
BBCLASSEXTEND = "native nativesdk"

View File

@@ -1,3 +0,0 @@
#!/bin/sh
python3 tests.py

View File

@@ -1,26 +0,0 @@
SUMMARY = "Resolve JSON Pointers in Python"
HOMEPAGE = "https://github.com/stefankoegl/python-json-pointer"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=32b15c843b7a329130f4e266a281ebb3"
inherit pypi ptest setuptools3
SRC_URI[sha256sum] = "f09f8deecaaa5aea65b5eb4f67ca4e54e1a61f7a11c75085e360fe6feb6a48bf"
RDEPENDS:${PN} += " \
${PYTHON_PN}-json \
"
BBCLASSEXTEND = "native nativesdk"
SRC_URI += " \
file://run-ptest \
"
RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-pytest \
"
do_install_ptest() {
cp -f ${S}/tests.py ${D}${PTEST_PATH}/
}

View File

@@ -1,48 +0,0 @@
SUMMARY = "An implementation of JSON Schema validation for Python"
HOMEPAGE = "https://github.com/Julian/jsonschema"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=7a60a81c146ec25599a3e1dabb8610a8 \
file://json/LICENSE;md5=9d4de43111d33570c8fe49b4cb0e01af"
DEPENDS += "${PYTHON_PN}-vcversioner-native ${PYTHON_PN}-setuptools-scm-native"
SRC_URI[md5sum] = "f1a0b5011f05a02a8dee1070cd10a26d"
SRC_URI[sha256sum] = "c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a"
inherit pypi setuptools3
PACKAGECONFIG ??= "format"
PACKAGECONFIG[format] = ",,,\
${PYTHON_PN}-idna \
${PYTHON_PN}-jsonpointer \
${PYTHON_PN}-webcolors \
${PYTHON_PN}-rfc3987 \
${PYTHON_PN}-strict-rfc3339 \
"
PACKAGECONFIG[nongpl] = ",,,\
${PYTHON_PN}-idna \
${PYTHON_PN}-jsonpointer \
${PYTHON_PN}-webcolors \
${PYTHON_PN}-rfc3986-validator \
${PYTHON_PN}-rfc3339-validator \
"
RDEPENDS:${PN} += " \
${PYTHON_PN}-attrs \
${PYTHON_PN}-core \
${PYTHON_PN}-datetime \
${PYTHON_PN}-importlib-metadata \
${PYTHON_PN}-io \
${PYTHON_PN}-json \
${PYTHON_PN}-netclient \
${PYTHON_PN}-numbers \
${PYTHON_PN}-pkgutil \
${PYTHON_PN}-pprint \
${PYTHON_PN}-pyrsistent \
${PYTHON_PN}-shell \
${PYTHON_PN}-six \
${PYTHON_PN}-unittest \
${PYTHON_PN}-setuptools-scm \
${PYTHON_PN}-zipp \
"
BBCLASSEXTEND = "native nativesdk"

View File

@@ -1,14 +0,0 @@
SUMMARY = "Persistent/Immutable/Functional data structures for Python"
HOMEPAGE = "https://github.com/tobgu/pyrsistent"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.mit;md5=a4b94c2b800b582a8d3925a9939cbf44"
SRC_URI[sha256sum] = "773c781216f8c2900b42a7b638d5b517bb134ae1acbebe4d1e8f1f41ea60eb4b"
inherit pypi setuptools3
RDEPENDS:${PN} += " \
${PYTHON_PN}-numbers \
"
BBCLASSEXTEND = "native nativesdk"

View File

@@ -1,20 +0,0 @@
SUMMARY = "A pure python RFC3339 validator"
HOMEPAGE = "https://github.com/naimetti/rfc3339-validator"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=a21b13b5a996f08f7e0b088aa38ce9c6"
FILESEXTRAPATHS:prepend := "${THISDIR}/python-rfc3339-validator:"
SRC_URI[sha256sum] = "138a2abdf93304ad60530167e51d2dfb9549521a836871b88d7f4695d0022f6b"
PYPI_PACKAGE = "rfc3339_validator"
inherit pypi setuptools3
RDEPENDS:${PN} += "\
${PYTHON_PN}-core \
${PYTHON_PN}-datetime \
${PYTHON_PN}-six \
"
BBCLASSEXTEND = "native nativesdk"

View File

@@ -1,23 +0,0 @@
SUMMARY = "Pure python rfc3986 validator"
HOMEPAGE = "https://github.com/naimetti/rfc3986-validator"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=a21b13b5a996f08f7e0b088aa38ce9c6"
FILESEXTRAPATHS:prepend := "${THISDIR}/python-rfc3986-validator:"
SRC_URI[md5sum] = "47f7657b790aaf6011a1ab3d86c6be95"
SRC_URI[sha256sum] = "3d44bde7921b3b9ec3ae4e3adca370438eccebc676456449b145d533b240d055"
PYPI_PACKAGE = "rfc3986_validator"
inherit pypi setuptools3
SRC_URI:append = " \
file://0001-setup.py-move-pytest-runner-to-test_requirements.patch \
"
RDEPENDS:${PN} += "\
python3-core \
"
BBCLASSEXTEND = "native nativesdk"

View File

@@ -1,10 +0,0 @@
SUMMARY = "Parsing and validation of URIs (RFC 3986) and IRIs (RFC 3987)"
LICENSE = "GPLv3+"
LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=9;md5=2b723edf67b2f3088bc5e339b1ceda2d"
SRC_URI[md5sum] = "b6c4028acdc788a9ba697e1c1d6b896c"
SRC_URI[sha256sum] = "d3c4d257a560d544e9826b38bc81db676890c79ab9d7ac92b39c7a253d5ca733"
inherit pypi setuptools3
BBCLASSEXTEND = "native nativesdk"

View File

@@ -1,23 +0,0 @@
SUMMARY = "YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order."
AUTHOR = "Anthon van der Neut"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=fa0a51dfb461e2f803969e0f3fa71dfe"
PYPI_PACKAGE = "ruamel.yaml"
inherit pypi setuptools3
SRC_URI[sha256sum] = "1a771fc92d3823682b7f0893ad56cb5a5c87c48e62b5399d6f42c8759a583b33"
RDEPENDS:${PN} += "\
${PYTHON_PN}-shell \
${PYTHON_PN}-datetime \
${PYTHON_PN}-netclient \
"
do_install:prepend() {
export RUAMEL_NO_PIP_INSTALL_CHECK=1
}
BBCLASSEXTEND = "native nativesdk"

View File

@@ -1,10 +0,0 @@
SUMMARY = "Strict, simple, lightweight RFC3339 function.s"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://LICENSE;md5=8f0e2cd40e05189ec81232da84bd6e1a"
SRC_URI[md5sum] = "4d9b635b4df885bc37bc1189d66c9abc"
SRC_URI[sha256sum] = "5cad17bedfc3af57b399db0fed32771f18fc54bbd917e85546088607ac5e1277"
inherit pypi setuptools3
BBCLASSEXTEND = "native nativesdk"

View File

@@ -1,12 +0,0 @@
SUMMARY = "Python vcversioner, automagically update the project's version"
HOMEPAGE = "https://github.com/habnabit/vcversioner"
LICENSE = "ISC"
LIC_FILES_CHKSUM = "file://PKG-INFO;md5=827a7a91a8d20d3c666b665cd96db8e3"
SRC_URI[md5sum] = "aab6ef5e0cf8614a1b1140ed5b7f107d"
SRC_URI[sha256sum] = "dae60c17a479781f44a4010701833f1829140b1eeccd258762a74974aa06e19b"
inherit pypi setuptools3
BBCLASSEXTEND = "native"

View File

@@ -1,3 +0,0 @@
#!/bin/sh
pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'

View File

@@ -1,27 +0,0 @@
SUMMARY = "Simple Python module for working with HTML/CSS color definitions."
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=25b90379a52351261c51272e7923d240"
SRC_URI[md5sum] = "54d28a7c80b3e4d974ec2fee86768be9"
SRC_URI[sha256sum] = "76f360636957d1c976db7466bc71dcb713bb95ac8911944dffc55c01cb516de6"
inherit pypi setuptools3 ptest
RDEPENDS:${PN}:class-target = "\
${PYTHON_PN}-stringold \
"
SRC_URI += " \
file://run-ptest \
"
RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-pytest \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}
BBCLASSEXTEND = "native nativesdk"