All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] python3-docutils: Upgrade to 0.17.1
@ 2021-04-23 20:03 Khem Raj
  2021-04-23 20:03 ` [PATCH] python3-markupsafe: Enable ptests Khem Raj
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Khem Raj @ 2021-04-23 20:03 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

This was in meta-python for a while so merge the changes here
and  upgrade, once applied, delete from meta-python

License-Change: Deleted legacy stylesheets from LICENSE [1]
                Updated URI for BSD-2 [2]

[1] https://sourceforge.net/p/docutils/code/8487/
[2] https://sourceforge.net/p/docutils/code/8554/

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../python/python3-docutils_0.16.bb             | 17 -----------------
 .../python/python3-docutils_0.17.1.bb           | 11 +++++++++++
 2 files changed, 11 insertions(+), 17 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python3-docutils_0.16.bb
 create mode 100644 meta/recipes-devtools/python/python3-docutils_0.17.1.bb

diff --git a/meta/recipes-devtools/python/python3-docutils_0.16.bb b/meta/recipes-devtools/python/python3-docutils_0.16.bb
deleted file mode 100644
index 50547a1b0c..0000000000
--- a/meta/recipes-devtools/python/python3-docutils_0.16.bb
+++ /dev/null
@@ -1,17 +0,0 @@
-SUMMARY = "Text processing system for documentation"
-HOMEPAGE = "http://docutils.sourceforge.net"
-SECTION = "devel/python"
-LICENSE = "PSF & BSD-2-Clause & GPLv3"
-LIC_FILES_CHKSUM = "file://COPYING.txt;md5=7a4646907ab9083c826280b19e103106"
-
-DEPENDS = "python3"
-
-SRC_URI = "${SOURCEFORGE_MIRROR}/docutils/docutils-${PV}.tar.gz"
-SRC_URI[md5sum] = "9ccb6f332e23360f964de72c8ea5f0ed"
-SRC_URI[sha256sum] = "7d4e999cca74a52611773a42912088078363a30912e8822f7a3d38043b767573"
-
-S = "${WORKDIR}/docutils-${PV}"
-
-inherit distutils3
-
-BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/python/python3-docutils_0.17.1.bb b/meta/recipes-devtools/python/python3-docutils_0.17.1.bb
new file mode 100644
index 0000000000..54a809847f
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-docutils_0.17.1.bb
@@ -0,0 +1,11 @@
+SUMMARY = "Docutils is a modular system for processing documentation into useful formats"
+HOMEPAGE = "http://docutils.sourceforge.net"
+SECTION = "devel/python"
+LICENSE = "PSF & BSD-2-Clause & GPLv3"
+LIC_FILES_CHKSUM = "file://COPYING.txt;md5=836a1950177996968a49ff477a4a61c4"
+
+SRC_URI[sha256sum] = "686577d2e4c32380bb50cbb22f575ed742d58168cee37e99117a854bcd88f125"
+
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native"
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH] python3-markupsafe: Enable ptests
  2021-04-23 20:03 [PATCH 1/4] python3-docutils: Upgrade to 0.17.1 Khem Raj
@ 2021-04-23 20:03 ` Khem Raj
  2021-04-23 20:03 ` [PATCH 2/4] python3-jinja2: " Khem Raj
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Khem Raj @ 2021-04-23 20:03 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

pytest is now in OE-Core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-devtools/python/python3-markupsafe_1.1.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3-markupsafe_1.1.1.bb b/meta/recipes-devtools/python/python3-markupsafe_1.1.1.bb
index 403a98a43f..cade4e0f51 100644
--- a/meta/recipes-devtools/python/python3-markupsafe_1.1.1.bb
+++ b/meta/recipes-devtools/python/python3-markupsafe_1.1.1.bb
@@ -8,7 +8,7 @@ SRC_URI[sha256sum] = "29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8
 
 PYPI_PACKAGE = "MarkupSafe"
 inherit pypi setuptools3
-# ptest disabled in OE-Core for now due to missing dependencies
+inherit ${@bb.utils.filter('DISTRO_FEATURES', 'ptest', d)}
 
 RDEPENDS_${PN} += "${PYTHON_PN}-stringold"
 
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/4] python3-jinja2: Enable ptests
  2021-04-23 20:03 [PATCH 1/4] python3-docutils: Upgrade to 0.17.1 Khem Raj
  2021-04-23 20:03 ` [PATCH] python3-markupsafe: Enable ptests Khem Raj
@ 2021-04-23 20:03 ` Khem Raj
  2021-04-23 20:03 ` [PATCH 3/4] python3-pyyaml: Add recipe Khem Raj
  2021-04-23 20:04 ` [PATCH 4/4] python3-markupsafe: Enable ptests Khem Raj
  3 siblings, 0 replies; 5+ messages in thread
From: Khem Raj @ 2021-04-23 20:03 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

Needed dependencies on toml and pytest and unixadmin
are in core now

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-devtools/python/python3-jinja2_2.11.3.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/python/python3-jinja2_2.11.3.bb b/meta/recipes-devtools/python/python3-jinja2_2.11.3.bb
index dbdf563f87..11a4d5432c 100644
--- a/meta/recipes-devtools/python/python3-jinja2_2.11.3.bb
+++ b/meta/recipes-devtools/python/python3-jinja2_2.11.3.bb
@@ -13,8 +13,7 @@ CVE_PRODUCT = "jinja2 jinja"
 CLEANBROKEN = "1"
 
 inherit pypi setuptools3
-# ptest disabled in OE-Core for now due to missing dependencies
-
+inherit ${@bb.utils.filter('DISTRO_FEATURES', 'ptest', d)}
 
 SRC_URI += " \
 	file://run-ptest \
@@ -27,6 +26,7 @@ do_install_ptest() {
 
 RDEPENDS_${PN}-ptest += " \
 	${PYTHON_PN}-pytest \
+        ${PYTHON_PN}-toml \
 	${PYTHON_PN}-unixadmin \
 "
 
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 3/4] python3-pyyaml: Add recipe
  2021-04-23 20:03 [PATCH 1/4] python3-docutils: Upgrade to 0.17.1 Khem Raj
  2021-04-23 20:03 ` [PATCH] python3-markupsafe: Enable ptests Khem Raj
  2021-04-23 20:03 ` [PATCH 2/4] python3-jinja2: " Khem Raj
@ 2021-04-23 20:03 ` Khem Raj
  2021-04-23 20:04 ` [PATCH 4/4] python3-markupsafe: Enable ptests Khem Raj
  3 siblings, 0 replies; 5+ messages in thread
From: Khem Raj @ 2021-04-23 20:03 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj, Tim Orling

This is migrated from meta-python

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Tim Orling <timothy.t.orling@linux.intel.com>
---
 meta/conf/distro/include/maintainers.inc       |  1 +
 .../python/python3-pyyaml_5.4.1.bb             | 18 ++++++++++++++++++
 2 files changed, 19 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-pyyaml_5.4.1.bb

diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
index 3ef62e54dd..db13382ce1 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -614,6 +614,7 @@ RECIPE_MAINTAINER_pn-python3-pbr = "Zang Ruochen <zangrc.fnst@fujitsu.com>"
 RECIPE_MAINTAINER_pn-python3-pip = "Zang Ruochen <zangrc.fnst@fujitsu.com>"
 RECIPE_MAINTAINER_pn-python3-pluggy = "Tim Orling <timothy.t.orling@linux.intel.com>"
 RECIPE_MAINTAINER_pn-python3-py = "Tim Orling <timothy.t.orling@linux.intel.com>"
+RECIPE_MAINTAINER_pn-python3-pyyaml = "Tim Orling <timothy.t.orling@linux.intel.com>"
 RECIPE_MAINTAINER_pn-python3-pycairo = "Zang Ruochen <zangrc.fnst@fujitsu.com>"
 RECIPE_MAINTAINER_pn-python3-pyelftools = "Joshua Watt <JPEWhacker@gmail.com>"
 RECIPE_MAINTAINER_pn-python3-pygments = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>"
diff --git a/meta/recipes-devtools/python/python3-pyyaml_5.4.1.bb b/meta/recipes-devtools/python/python3-pyyaml_5.4.1.bb
new file mode 100644
index 0000000000..c3025fdc66
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pyyaml_5.4.1.bb
@@ -0,0 +1,18 @@
+SUMMARY = "Python support for YAML"
+DEPENDS += "libyaml ${PYTHON_PN}-cython-native"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=6d8242660a8371add5fe547adf083079"
+
+PYPI_PACKAGE = "PyYAML"
+
+inherit pypi setuptools3
+
+SRC_URI[sha256sum] = "607774cbba28732bfa802b54baa7484215f530991055bb562efbed5b2f20a45e"
+
+RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-datetime \
+    ${PYTHON_PN}-netclient \
+"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 4/4] python3-markupsafe: Enable ptests
  2021-04-23 20:03 [PATCH 1/4] python3-docutils: Upgrade to 0.17.1 Khem Raj
                   ` (2 preceding siblings ...)
  2021-04-23 20:03 ` [PATCH 3/4] python3-pyyaml: Add recipe Khem Raj
@ 2021-04-23 20:04 ` Khem Raj
  3 siblings, 0 replies; 5+ messages in thread
From: Khem Raj @ 2021-04-23 20:04 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

pytest is now in OE-Core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-devtools/python/python3-markupsafe_1.1.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3-markupsafe_1.1.1.bb b/meta/recipes-devtools/python/python3-markupsafe_1.1.1.bb
index 403a98a43f..cade4e0f51 100644
--- a/meta/recipes-devtools/python/python3-markupsafe_1.1.1.bb
+++ b/meta/recipes-devtools/python/python3-markupsafe_1.1.1.bb
@@ -8,7 +8,7 @@ SRC_URI[sha256sum] = "29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8
 
 PYPI_PACKAGE = "MarkupSafe"
 inherit pypi setuptools3
-# ptest disabled in OE-Core for now due to missing dependencies
+inherit ${@bb.utils.filter('DISTRO_FEATURES', 'ptest', d)}
 
 RDEPENDS_${PN} += "${PYTHON_PN}-stringold"
 
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-04-23 20:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-23 20:03 [PATCH 1/4] python3-docutils: Upgrade to 0.17.1 Khem Raj
2021-04-23 20:03 ` [PATCH] python3-markupsafe: Enable ptests Khem Raj
2021-04-23 20:03 ` [PATCH 2/4] python3-jinja2: " Khem Raj
2021-04-23 20:03 ` [PATCH 3/4] python3-pyyaml: Add recipe Khem Raj
2021-04-23 20:04 ` [PATCH 4/4] python3-markupsafe: Enable ptests Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.