Skip to content

Commit f16f788

Browse files
wangmingyu84kraj
authored andcommitted
python3-cppy: upgrade 1.2.0 -> 1.2.1
Add patch 0001-Fix-build-bug.patch to fix build bug caused by setup.py. Changelog: ========== make the pyproject.toml fully PEP 621 compliant PR openembedded#19 Signed-off-by: Wang Mingyu <[email protected]> Signed-off-by: Khem Raj <[email protected]>
1 parent 9b42072 commit f16f788

File tree

2 files changed

+42
-1
lines changed

2 files changed

+42
-1
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
From 57733d2cece47095b3faf14090219fcb5fa8ca2c Mon Sep 17 00:00:00 2001
2+
From: Lei Maohui <[email protected]>
3+
Date: Wed, 13 Apr 2022 13:01:32 +0900
4+
Subject: [PATCH] Fix build bug.
5+
6+
Because the upstream cleared the setup.py, do_compile can't be excuted
7+
correctly. So, recover setup.py from the last version.
8+
9+
Upstream-Status: Pending
10+
Signed-off-by: Lei Maohui <[email protected]>
11+
---
12+
setup.py | 12 +++++++++++-
13+
1 file changed, 11 insertions(+), 1 deletion(-)
14+
15+
diff --git a/setup.py b/setup.py
16+
index f6f8487..8dfc33f 100644
17+
--- a/setup.py
18+
+++ b/setup.py
19+
@@ -7,4 +7,14 @@
20+
# ------------------------------------------------------------------------------
21+
from setuptools import setup
22+
23+
-setup()
24+
+setup(
25+
+ name="cppy",
26+
+ author="The Nucleic Development Team",
27+
+ author_email="[email protected]",
28+
+ maintainer_email="[email protected]",
29+
+ url="https://github.com/nucleic/cppy",
30+
+ description="C++ headers for C extension development",
31+
+ long_description=open("README.rst").read(),
32+
+ packages=["cppy"],
33+
+ package_data={"cppy": ["include/cppy/*.h"]},
34+
+)
35+
--
36+
2.25.1
37+

meta-python/recipes-devtools/python/python3-cppy_1.2.0.bb renamed to meta-python/recipes-devtools/python/python3-cppy_1.2.1.bb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ HOMEPAGE = "https://cppy.readthedocs.io/en/latest/"
33
LICENSE = "BSD-3-Clause"
44
LIC_FILES_CHKSUM = "file://LICENSE;md5=0bfb3e39b13587f0028f17baf0e42371"
55

6-
SRC_URI[sha256sum] = "95e8862e4f826c3f2a6b7b658333b162f80cbe9f943aa0d0a7a6b2ef850aeffc"
6+
SRC_URI += " \
7+
file://0001-Fix-build-bug.patch \
8+
"
9+
10+
SRC_URI[sha256sum] = "83b43bf17b1085ac15c5debdb42154f138b928234b21447358981f69d0d6fe1b"
711

812
RDEPENDS:${PN} += "python3-setuptools python3-distutils"
913

0 commit comments

Comments
 (0)