Skip to contentSkip to conversation

add python3-brotli_1.0.9 in meta/recipes-devtools/python

PATCH In review [email protected] 2 participants 6 messages Nov 5, 2022 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 add python3-brotli_1.0.9 in meta/recipes-devtools/python

From: cp0613 <[email protected]>

---
 meta/conf/distro/include/maintainers.inc      |  1 +
 .../python/python3-brotli_1.0.9.bb            | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-brotli_1.0.9.bb
meta/conf/distro/include/maintainers.inc +1 -0
index 57319cd8f5..ac708239b4 100644
@@ -593,6 +593,7 @@ RECIPE_MAINTAINER:pn-python3-atomicwrites = "Tim Orling <[email protected]
 RECIPE_MAINTAINER:pn-python3-attrs = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-babel = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-bcrypt = "Tim Orling <[email protected]>"
+RECIPE_MAINTAINER:pn-python3-brotli = "Chen Pei <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-certifi = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-cffi = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-chardet = "Tim Orling <[email protected]>"
meta/recipes-devtools/python/python3-brotli_1.0.9.bb new file +19 -0
new file mode 100644
index 0000000000..cd0dff9c4b
@@ -0,0 +1,19 @@
+SUMMARY = "Brotli compression format"
+HOMEPAGE = "https://pypi.org/project/Brotli/"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=941ee9cd1609382f946352712a319b4b"
+
+PYPI_PACKAGE = "Brotli"
+PYPI_PACKAGE_EXT = "zip"
+
+SRC_URI[sha256sum] = "4d1b810aa0ed773f81dceda2cc7b403d01057458730e309856356d4ef4188438"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} = "\
+  ${PYTHON_PN}-cffi \
+"
+
+BBCLASSEXTEND = "native nativesdk"
+
Signature · 1 line
2.25.1
#1 lore raw

This should go to meta-python in meta-openembedded. Why core?

Alex

Quoted 72 lines · On Sat 5. Nov 2022 at 9.43, cp0613 <[email protected]> wrote:

From: cp0613 <[email protected]>

---
 meta/conf/distro/include/maintainers.inc      |  1 +
 .../python/python3-brotli_1.0.9.bb            | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-brotli_1.0.9.bb
meta/conf/distro/include/maintainers.inc +0 -0
index 57319cd8f5..ac708239b4 100644
@@ -593,6 +593,7 @@ RECIPE_MAINTAINER:pn-python3-atomicwrites = "Tim

Orling <[email protected]
RECIPE_MAINTAINER:pn-python3-attrs = "Tim Orling <[email protected]

Quoted 1 line

"

RECIPE_MAINTAINER:pn-python3-babel = "Tim Orling <[email protected]

Quoted 1 line

"

RECIPE_MAINTAINER:pn-python3-bcrypt = "Tim Orling <
[email protected]>"
+RECIPE_MAINTAINER:pn-python3-brotli = "Chen Pei <[email protected]

Quoted 1 line

"

RECIPE_MAINTAINER:pn-python3-certifi = "Tim Orling <
[email protected]>"
RECIPE_MAINTAINER:pn-python3-cffi = "Tim Orling <[email protected]

Quoted 1 line

"

RECIPE_MAINTAINER:pn-python3-chardet = "Tim Orling <
[email protected]>"

meta/recipes-devtools/python/python3-brotli_1.0.9.bb new file +10 -0
new file mode 100644
index 0000000000..cd0dff9c4b
@@ -0,0 +1,19 @@
+SUMMARY = "Brotli compression format"
+HOMEPAGE = "https://pypi.org/project/Brotli/"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=941ee9cd1609382f946352712a319b4b"
+
+PYPI_PACKAGE = "Brotli"
+PYPI_PACKAGE_EXT = "zip"
+
+SRC_URI[sha256sum] =

"4d1b810aa0ed773f81dceda2cc7b403d01057458730e309856356d4ef4188438"

meta/recipes-devtools/python/python3-brotli_1.0.9.bb new file +9 -1
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} = "\
+  ${PYTHON_PN}-cffi \
+"
+
+BBCLASSEXTEND = "native nativesdk"
+
--

2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#172736):
https://lists.openembedded.org/g/openembedded-core/message/172736
Mute This Topic: https://lists.openembedded.org/mt/94823104/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

author
#2 lore raw

OK, I'll move it to meta python in meta openembedded.

#3 lore raw

It's actually already there:
http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-extended/brotli/brotli_1.0.9.bb?h=master

Alex

Quoted 10 lines · On Sat, 5 Nov 2022 at 10:11, cp0613 <[email protected]> wrote:

OK, I'll move it to meta python in meta openembedded.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#172738): https://lists.openembedded.org/g/openembedded-core/message/172738
Mute This Topic: https://lists.openembedded.org/mt/94823104/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

A message that is not in the archive (sent off-list or not yet received): [email protected]

#6 lore raw

Then you need to adjust the recipe to build both. Or place a second recipe next to the current one.

Alex

Quoted 12 lines · On Sat, 5 Nov 2022 at 10:30, cp0613 <[email protected]> wrote:

[Edited Message Follows]

Yes. But I need to build a python version for python development. This is C/C++.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#172741): https://lists.openembedded.org/g/openembedded-core/message/172741
Mute This Topic: https://lists.openembedded.org/mt/94823104/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-