summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwangmy <wangmy@fujitsu.com>2022-04-18 19:28:56 +0800
committerTrevor Gamblin <tvgamblin@gmail.com>2022-04-22 16:26:22 +0000
commitb3be90be2f6ad6a794df9cf756542434dde0888b (patch)
treee8d2f846ad6bfa651704804e3d4348cbabb4c74e
parent12058113c4d6336a0b1d3af665b98cce8e345975 (diff)
downloadmeta-openembedded-b3be90be2f6ad6a794df9cf756542434dde0888b.tar.gz
python3-cppy: upgrade 1.2.0 -> 1.2.1
Add patch 0001-Fix-build-error-as-following.patch to fix build bug. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <tvgamblin@gmail.com>
-rw-r--r--meta-python/recipes-devtools/python/python3-cppy/0001-Fix-build-error-as-following.patch28
-rw-r--r--meta-python/recipes-devtools/python/python3-cppy_1.2.1.bb (renamed from meta-python/recipes-devtools/python/python3-cppy_1.2.0.bb)9
2 files changed, 35 insertions, 2 deletions
diff --git a/meta-python/recipes-devtools/python/python3-cppy/0001-Fix-build-error-as-following.patch b/meta-python/recipes-devtools/python/python3-cppy/0001-Fix-build-error-as-following.patch
new file mode 100644
index 0000000000..5a613c827a
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-cppy/0001-Fix-build-error-as-following.patch
@@ -0,0 +1,28 @@
1From a6ba15048bbb660abfa094b581862b4936ac4005 Mon Sep 17 00:00:00 2001
2From: Lei Maohui <leimaohui@fujitsu.com>
3Date: Mon, 18 Apr 2022 12:19:35 +0900
4Subject: [PATCH] Fix build error as following:
5
6flit_core.config.ConfigError: description must be specified under [project] or listed as a dynamic field.
7
8Upstream-Status: Pending
9Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
10---
11 pyproject.toml | 1 +
12 1 file changed, 1 insertion(+)
13
14diff --git a/pyproject.toml b/pyproject.toml
15index 2d2ac74..66fcee0 100644
16--- a/pyproject.toml
17+++ b/pyproject.toml
18@@ -8,6 +8,7 @@
19
20 [project]
21 name = "cppy"
22+description = "A small C++ header library"
23 readme = "README.rst"
24 requires-python = ">=3.7"
25 license = {file = "LICENSE"}
26--
272.25.1
28
diff --git a/meta-python/recipes-devtools/python/python3-cppy_1.2.0.bb b/meta-python/recipes-devtools/python/python3-cppy_1.2.1.bb
index f86f571938..57ef3b2776 100644
--- a/meta-python/recipes-devtools/python/python3-cppy_1.2.0.bb
+++ b/meta-python/recipes-devtools/python/python3-cppy_1.2.1.bb
@@ -3,10 +3,15 @@ HOMEPAGE = "https://cppy.readthedocs.io/en/latest/"
3LICENSE = "BSD-3-Clause" 3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=0bfb3e39b13587f0028f17baf0e42371" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=0bfb3e39b13587f0028f17baf0e42371"
5 5
6SRC_URI[sha256sum] = "95e8862e4f826c3f2a6b7b658333b162f80cbe9f943aa0d0a7a6b2ef850aeffc" 6SRC_URI[sha256sum] = "83b43bf17b1085ac15c5debdb42154f138b928234b21447358981f69d0d6fe1b"
7 7
8RDEPENDS:${PN} += "python3-setuptools python3-distutils" 8RDEPENDS:${PN} += "python3-setuptools python3-distutils"
9 9
10inherit pypi setuptools3 10inherit pypi python_flit_core
11
12SRC_URI += " file://0001-Fix-build-error-as-following.patch \
13 "
14
15DEPENDS += "python3-setuptools-native"
11 16
12BBCLASSEXTEND = "native nativesdk" 17BBCLASSEXTEND = "native nativesdk"