mirror of
https://git.yoctoproject.org/poky
synced 2026-04-11 08:02:21 +02:00
python3-rfc3986-validator: remove recipe (moved to meta-python)
The only user of this recipe in core is python3-jsonschema, but only if you select the non-default 'nongpl' PACKAGECONFIG. Move to meta-python so it's there if needed. (From OE-Core rev: 41ecbbe06f3d747cb68789817e19b600d672d9ea) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
2700bde99d
commit
f5bea8767f
@@ -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
|
||||
|
||||
@@ -1,24 +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"
|
||||
UPSTREAM_CHECK_REGEX = "/rfc3986-validator/(?P<pver>(\d+[\.\-_]*)+)/"
|
||||
|
||||
inherit pypi setuptools3
|
||||
|
||||
SRC_URI += "\
|
||||
file://0001-setup.py-move-pytest-runner-to-test_requirements.patch \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN} += "\
|
||||
python3-core \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
Reference in New Issue
Block a user