All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] add python3-brotli_1.0.9 in meta/recipes-devtools/python
@ 2022-11-04  2:02 cp0613
  2022-11-04  2:28 ` cp0613
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: cp0613 @ 2022-11-04  2:02 UTC (permalink / raw)
  To: openembedded-core; +Cc: cp0613

The following changes since commit 6050d1f74c02495490d982ead2993b6b3c9cc04a:
are available in the Git repository at:

  https://github.com/cp0613/openembedded-core brotli
  https://github.com/cp0613/openembedded-core/tree/brotli

cp0613 (1):
  add python3-brotli_1.0.9 in meta/recipes-devtools/python

 .../python/python3-brotli_1.0.9.bb            | 20 +++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-brotli_1.0.9.bb

-- 
2.25.1



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

* Re: [PATCH 0/1] add python3-brotli_1.0.9 in meta/recipes-devtools/python
  2022-11-04  2:02 [PATCH 0/1] add python3-brotli_1.0.9 in meta/recipes-devtools/python cp0613
@ 2022-11-04  2:28 ` cp0613
  2022-11-04 14:28 ` [OE-core] " Alexandre Belloni
  2022-11-04 14:50 ` Ross Burton
  2 siblings, 0 replies; 7+ messages in thread
From: cp0613 @ 2022-11-04  2:28 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 100 bytes --]

The synchronous submission is located in https://github.com/openembedded/openembedded-core/pull/82

[-- Attachment #2: Type: text/html, Size: 309 bytes --]

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

* Re: [OE-core] [PATCH 0/1] add python3-brotli_1.0.9 in meta/recipes-devtools/python
  2022-11-04  2:02 [PATCH 0/1] add python3-brotli_1.0.9 in meta/recipes-devtools/python cp0613
  2022-11-04  2:28 ` cp0613
@ 2022-11-04 14:28 ` Alexandre Belloni
  2022-11-04 14:50 ` Ross Burton
  2 siblings, 0 replies; 7+ messages in thread
From: Alexandre Belloni @ 2022-11-04 14:28 UTC (permalink / raw)
  To: cp0613; +Cc: openembedded-core

Hello,

On 04/11/2022 10:02:08+0800, cp0613 wrote:
> The following changes since commit 6050d1f74c02495490d982ead2993b6b3c9cc04a:
> are available in the Git repository at:
> 
>   https://github.com/cp0613/openembedded-core brotli
>   https://github.com/cp0613/openembedded-core/tree/brotli
> 
> cp0613 (1):
>   add python3-brotli_1.0.9 in meta/recipes-devtools/python

This fails on the autobuilders:

The following recipes do not have a HOMEPAGE. Please add an entry for HOMEPAGE in the recipe.
python3-brotli (/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/recipes-devtools/python/python3-brotli_1.0.9.bb)

The following recipes do not have a maintainer assigned to them. Please add an entry to meta/conf/distro/include/maintainers.inc file.
python3-brotli (/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/recipes-devtools/python/python3-brotli_1.0.9.bb)

> 
>  .../python/python3-brotli_1.0.9.bb            | 20 +++++++++++++++++++
>  1 file changed, 20 insertions(+)
>  create mode 100644 meta/recipes-devtools/python/python3-brotli_1.0.9.bb
> 
> -- 
> 2.25.1
> 

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#172658): https://lists.openembedded.org/g/openembedded-core/message/172658
> Mute This Topic: https://lists.openembedded.org/mt/94798159/3617179
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 


-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


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

* Re: [OE-core] [PATCH 0/1] add python3-brotli_1.0.9 in meta/recipes-devtools/python
  2022-11-04  2:02 [PATCH 0/1] add python3-brotli_1.0.9 in meta/recipes-devtools/python cp0613
  2022-11-04  2:28 ` cp0613
  2022-11-04 14:28 ` [OE-core] " Alexandre Belloni
@ 2022-11-04 14:50 ` Ross Burton
  2022-11-04 16:19   ` Ross Burton
       [not found]   ` <31379.1667635113750086818@lists.openembedded.org>
  2 siblings, 2 replies; 7+ messages in thread
From: Ross Burton @ 2022-11-04 14:50 UTC (permalink / raw)
  To: cp0613; +Cc: openembedded-core

On 4 Nov 2022, at 02:02, cp0613 via lists.openembedded.org <cp0613=linux.alibaba.com@lists.openembedded.org> wrote:
> 
> The following changes since commit 6050d1f74c02495490d982ead2993b6b3c9cc04a:
> are available in the Git repository at:
> 
>  https://github.com/cp0613/openembedded-core brotli
>  https://github.com/cp0613/openembedded-core/tree/brotli


We take patches sent via git-send-email, so please resend using that.

However, there’s a high bar to getting a python module into oe-core instead of meta-python.  Why do you think this module should be in oe-core, and not in meta-python?

Ross

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

* Re: [OE-core] [PATCH 0/1] add python3-brotli_1.0.9 in meta/recipes-devtools/python
  2022-11-04 14:50 ` Ross Burton
@ 2022-11-04 16:19   ` Ross Burton
  2022-11-04 16:24     ` Alexander Kanavin
       [not found]   ` <31379.1667635113750086818@lists.openembedded.org>
  1 sibling, 1 reply; 7+ messages in thread
From: Ross Burton @ 2022-11-04 16:19 UTC (permalink / raw)
  To: cp0613; +Cc: openembedded-core

+LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=941ee9cd1609382f946352712a319b4b”

Relative paths are relative to S, so this can be just file://LICENSE.

+# there is no valid file in pypi, so download from github
+SRC_URI = "http://codeload.github.com/google/brotli/tar.gz/v${PV};downloadfilename=brotli-${PV}.tar.gz”
+SRC_URI[sha256sum] = "f9e8d81d0405ba66d181529af42a3354f838c939095ff99930da6aa9cdf6fe46"

That looks like a dynamically generated git archive, which means the checksum will change over time.

If there is no static tarball, use the git: fetcher.

Ross

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

* Re: [OE-core] [PATCH 0/1] add python3-brotli_1.0.9 in meta/recipes-devtools/python
  2022-11-04 16:19   ` Ross Burton
@ 2022-11-04 16:24     ` Alexander Kanavin
  0 siblings, 0 replies; 7+ messages in thread
From: Alexander Kanavin @ 2022-11-04 16:24 UTC (permalink / raw)
  To: Ross Burton; +Cc: cp0613, openembedded-core

On Fri, 4 Nov 2022 at 17:20, Ross Burton <ross.burton@arm.com> wrote:
> +LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=941ee9cd1609382f946352712a319b4b”
>
> Relative paths are relative to S, so this can be just file://LICENSE.
>
> +# there is no valid file in pypi, so download from github
> +SRC_URI = "http://codeload.github.com/google/brotli/tar.gz/v${PV};downloadfilename=brotli-${PV}.tar.gz”
> +SRC_URI[sha256sum] = "f9e8d81d0405ba66d181529af42a3354f838c939095ff99930da6aa9cdf6fe46"
>
> That looks like a dynamically generated git archive, which means the checksum will change over time.
>
> If there is no static tarball, use the git: fetcher.

There is:
https://pypi.org/project/Brotli/#files

You just need to set the filename suffix correctly (pypi class has a
facility for it) so it doesn't try to fetch with the default suffix.

Alex


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

* Re: Private: Re: [OE-core] [PATCH 0/1] add python3-brotli_1.0.9 in meta/recipes-devtools/python
       [not found]   ` <31379.1667635113750086818@lists.openembedded.org>
@ 2022-11-07  9:54     ` Ross Burton
  0 siblings, 0 replies; 7+ messages in thread
From: Ross Burton @ 2022-11-07  9:54 UTC (permalink / raw)
  To: cp0613, Openembedded Core

Re-adding oe-core to the CC as this discussion should be on the list.

I suggest you add the recipe to meta-python then.

Ross

> On 5 Nov 2022, at 07:58, cp0613 <cp0613@linux.alibaba.com> wrote:
> 
> Thanks. This is my first submission and there may be some operation is wrong. I will continue to try git-send-email.
> 
> The reason for using python3-brotli is that this library is dependent on many other projects. However, it cannot be installed directly through pip3 on the RISCV platform. Therefore, we use yocto to compile it. We find that many python bb are here, so we add them here.




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

end of thread, other threads:[~2022-11-07  9:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-04  2:02 [PATCH 0/1] add python3-brotli_1.0.9 in meta/recipes-devtools/python cp0613
2022-11-04  2:28 ` cp0613
2022-11-04 14:28 ` [OE-core] " Alexandre Belloni
2022-11-04 14:50 ` Ross Burton
2022-11-04 16:19   ` Ross Burton
2022-11-04 16:24     ` Alexander Kanavin
     [not found]   ` <31379.1667635113750086818@lists.openembedded.org>
2022-11-07  9:54     ` Private: " Ross Burton

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.