diff options
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-cppy/0001-Fix-build-error-as-following.patch | 28 | ||||
| -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 @@ | |||
| 1 | From a6ba15048bbb660abfa094b581862b4936ac4005 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Lei Maohui <leimaohui@fujitsu.com> | ||
| 3 | Date: Mon, 18 Apr 2022 12:19:35 +0900 | ||
| 4 | Subject: [PATCH] Fix build error as following: | ||
| 5 | |||
| 6 | flit_core.config.ConfigError: description must be specified under [project] or listed as a dynamic field. | ||
| 7 | |||
| 8 | Upstream-Status: Pending | ||
| 9 | Signed-off-by: Lei Maohui <leimaohui@fujitsu.com> | ||
| 10 | --- | ||
| 11 | pyproject.toml | 1 + | ||
| 12 | 1 file changed, 1 insertion(+) | ||
| 13 | |||
| 14 | diff --git a/pyproject.toml b/pyproject.toml | ||
| 15 | index 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 | -- | ||
| 27 | 2.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/" | |||
| 3 | LICENSE = "BSD-3-Clause" | 3 | LICENSE = "BSD-3-Clause" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0bfb3e39b13587f0028f17baf0e42371" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0bfb3e39b13587f0028f17baf0e42371" |
| 5 | 5 | ||
| 6 | SRC_URI[sha256sum] = "95e8862e4f826c3f2a6b7b658333b162f80cbe9f943aa0d0a7a6b2ef850aeffc" | 6 | SRC_URI[sha256sum] = "83b43bf17b1085ac15c5debdb42154f138b928234b21447358981f69d0d6fe1b" |
| 7 | 7 | ||
| 8 | RDEPENDS:${PN} += "python3-setuptools python3-distutils" | 8 | RDEPENDS:${PN} += "python3-setuptools python3-distutils" |
| 9 | 9 | ||
| 10 | inherit pypi setuptools3 | 10 | inherit pypi python_flit_core |
| 11 | |||
| 12 | SRC_URI += " file://0001-Fix-build-error-as-following.patch \ | ||
| 13 | " | ||
| 14 | |||
| 15 | DEPENDS += "python3-setuptools-native" | ||
| 11 | 16 | ||
| 12 | BBCLASSEXTEND = "native nativesdk" | 17 | BBCLASSEXTEND = "native nativesdk" |
