Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [meta-python][PATCH] python3-cffi: consolidate inc and bb files into a single bb file
@ 2020-02-14 22:37 Derek Straka
  2020-02-14 23:02 ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Derek Straka @ 2020-02-14 22:37 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Derek Straka <derek@asterius.io>
---
 .../recipes-devtools/python/python-cffi.inc   | 17 -----------------
 .../python/python3-cffi_1.13.2.bb             | 19 ++++++++++++++++++-
 2 files changed, 18 insertions(+), 18 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python-cffi.inc

diff --git a/meta-python/recipes-devtools/python/python-cffi.inc b/meta-python/recipes-devtools/python/python-cffi.inc
deleted file mode 100644
index a2b0c3bb0c..0000000000
--- a/meta-python/recipes-devtools/python/python-cffi.inc
+++ /dev/null
@@ -1,17 +0,0 @@
-SUMMARY = "Foreign Function Interface for Python calling C code"
-HOMEPAGE = "http://cffi.readthedocs.org/"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=5677e2fdbf7cdda61d6dd2b57df547bf"
-DEPENDS += "libffi ${PYTHON_PN}-pycparser"
-
-SRC_URI[md5sum] = "652203cf99faa254efff7fab23c2f3a2"
-SRC_URI[sha256sum] = "599a1e8ff057ac530c9ad1778293c665cb81a791421f46922d80a86473c13346"
-
-RDEPENDS_${PN}_class-target = " \
-    ${PYTHON_PN}-ctypes \
-    ${PYTHON_PN}-io \
-    ${PYTHON_PN}-pycparser \
-    ${PYTHON_PN}-shell \
-"
-
-BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python3-cffi_1.13.2.bb b/meta-python/recipes-devtools/python/python3-cffi_1.13.2.bb
index e888084347..6156081126 100644
--- a/meta-python/recipes-devtools/python/python3-cffi_1.13.2.bb
+++ b/meta-python/recipes-devtools/python/python3-cffi_1.13.2.bb
@@ -1,2 +1,19 @@
+SUMMARY = "Foreign Function Interface for Python calling C code"
+HOMEPAGE = "http://cffi.readthedocs.org/"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=5677e2fdbf7cdda61d6dd2b57df547bf"
+DEPENDS += "libffi ${PYTHON_PN}-pycparser"
+
+SRC_URI[md5sum] = "652203cf99faa254efff7fab23c2f3a2"
+SRC_URI[sha256sum] = "599a1e8ff057ac530c9ad1778293c665cb81a791421f46922d80a86473c13346"
+
 inherit pypi setuptools3
-require python-cffi.inc
+
+RDEPENDS_${PN}_class-target = " \
+    ${PYTHON_PN}-ctypes \
+    ${PYTHON_PN}-io \
+    ${PYTHON_PN}-pycparser \
+    ${PYTHON_PN}-shell \
+"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.17.1



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

* Re: [meta-python][PATCH] python3-cffi: consolidate inc and bb files into a single bb file
  2020-02-14 22:37 [meta-python][PATCH] python3-cffi: consolidate inc and bb files into a single bb file Derek Straka
@ 2020-02-14 23:02 ` Khem Raj
  2020-02-14 23:09   ` Derek Straka
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2020-02-14 23:02 UTC (permalink / raw)
  To: Derek Straka, openembedded-devel

On 2/14/20 2:37 PM, Derek Straka wrote:
> Signed-off-by: Derek Straka <derek@asterius.io>
> ---
>   .../recipes-devtools/python/python-cffi.inc   | 17 -----------------
>   .../python/python3-cffi_1.13.2.bb             | 19 ++++++++++++++++++-
>   2 files changed, 18 insertions(+), 18 deletions(-)
>   delete mode 100644 meta-python/recipes-devtools/python/python-cffi.inc
> 
> diff --git a/meta-python/recipes-devtools/python/python-cffi.inc b/meta-python/recipes-devtools/python/python-cffi.inc
> deleted file mode 100644
> index a2b0c3bb0c..0000000000
> --- a/meta-python/recipes-devtools/python/python-cffi.inc
> +++ /dev/null
> @@ -1,17 +0,0 @@
> -SUMMARY = "Foreign Function Interface for Python calling C code"
> -HOMEPAGE = "http://cffi.readthedocs.org/"
> -LICENSE = "MIT"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=5677e2fdbf7cdda61d6dd2b57df547bf"
> -DEPENDS += "libffi ${PYTHON_PN}-pycparser"
> -
> -SRC_URI[md5sum] = "652203cf99faa254efff7fab23c2f3a2"
> -SRC_URI[sha256sum] = "599a1e8ff057ac530c9ad1778293c665cb81a791421f46922d80a86473c13346"
> -
> -RDEPENDS_${PN}_class-target = " \
> -    ${PYTHON_PN}-ctypes \
> -    ${PYTHON_PN}-io \
> -    ${PYTHON_PN}-pycparser \
> -    ${PYTHON_PN}-shell \
> -"
> -
> -BBCLASSEXTEND = "native nativesdk"
> diff --git a/meta-python/recipes-devtools/python/python3-cffi_1.13.2.bb b/meta-python/recipes-devtools/python/python3-cffi_1.13.2.bb
> index e888084347..6156081126 100644
> --- a/meta-python/recipes-devtools/python/python3-cffi_1.13.2.bb
> +++ b/meta-python/recipes-devtools/python/python3-cffi_1.13.2.bb
> @@ -1,2 +1,19 @@
> +SUMMARY = "Foreign Function Interface for Python calling C code"
> +HOMEPAGE = "http://cffi.readthedocs.org/"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=5677e2fdbf7cdda61d6dd2b57df547bf"
> +DEPENDS += "libffi ${PYTHON_PN}-pycparser"
> +
> +SRC_URI[md5sum] = "652203cf99faa254efff7fab23c2f3a2"
> +SRC_URI[sha256sum] = "599a1e8ff057ac530c9ad1778293c665cb81a791421f46922d80a86473c13346"
> +
>   inherit pypi setuptools3
> -require python-cffi.inc
> +
> +RDEPENDS_${PN}_class-target = " \
> +    ${PYTHON_PN}-ctypes \
> +    ${PYTHON_PN}-io \
> +    ${PYTHON_PN}-pycparser \
> +    ${PYTHON_PN}-shell \
> +"
> +
> +BBCLASSEXTEND = "native nativesdk"
> 

this patch does not apply cleanly on master-next, can you rebase and 
send v2 please ?


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

* Re: [meta-python][PATCH] python3-cffi: consolidate inc and bb files into a single bb file
  2020-02-14 23:02 ` Khem Raj
@ 2020-02-14 23:09   ` Derek Straka
  0 siblings, 0 replies; 3+ messages in thread
From: Derek Straka @ 2020-02-14 23:09 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembeded-devel

On Fri, Feb 14, 2020 at 5:02 PM Khem Raj <raj.khem@gmail.com> wrote:

> On 2/14/20 2:37 PM, Derek Straka wrote:
> > Signed-off-by: Derek Straka <derek@asterius.io>
> > ---
> >   .../recipes-devtools/python/python-cffi.inc   | 17 -----------------
> >   .../python/python3-cffi_1.13.2.bb             | 19 ++++++++++++++++++-
> >   2 files changed, 18 insertions(+), 18 deletions(-)
> >   delete mode 100644 meta-python/recipes-devtools/python/python-cffi.inc
> >
> > diff --git a/meta-python/recipes-devtools/python/python-cffi.inc
> b/meta-python/recipes-devtools/python/python-cffi.inc
> > deleted file mode 100644
> > index a2b0c3bb0c..0000000000
> > --- a/meta-python/recipes-devtools/python/python-cffi.inc
> > +++ /dev/null
> > @@ -1,17 +0,0 @@
> > -SUMMARY = "Foreign Function Interface for Python calling C code"
> > -HOMEPAGE = "http://cffi.readthedocs.org/"
> > -LICENSE = "MIT"
> > -LIC_FILES_CHKSUM = "file://LICENSE;md5=5677e2fdbf7cdda61d6dd2b57df547bf"
> > -DEPENDS += "libffi ${PYTHON_PN}-pycparser"
> > -
> > -SRC_URI[md5sum] = "652203cf99faa254efff7fab23c2f3a2"
> > -SRC_URI[sha256sum] =
> "599a1e8ff057ac530c9ad1778293c665cb81a791421f46922d80a86473c13346"
> > -
> > -RDEPENDS_${PN}_class-target = " \
> > -    ${PYTHON_PN}-ctypes \
> > -    ${PYTHON_PN}-io \
> > -    ${PYTHON_PN}-pycparser \
> > -    ${PYTHON_PN}-shell \
> > -"
> > -
> > -BBCLASSEXTEND = "native nativesdk"
> > diff --git a/meta-python/recipes-devtools/python/python3-cffi_1.13.2.bb
> b/meta-python/recipes-devtools/python/python3-cffi_1.13.2.bb
> > index e888084347..6156081126 100644
> > --- a/meta-python/recipes-devtools/python/python3-cffi_1.13.2.bb
> > +++ b/meta-python/recipes-devtools/python/python3-cffi_1.13.2.bb
> > @@ -1,2 +1,19 @@
> > +SUMMARY = "Foreign Function Interface for Python calling C code"
> > +HOMEPAGE = "http://cffi.readthedocs.org/"
> > +LICENSE = "MIT"
> > +LIC_FILES_CHKSUM = "file://LICENSE;md5=5677e2fdbf7cdda61d6dd2b57df547bf"
> > +DEPENDS += "libffi ${PYTHON_PN}-pycparser"
> > +
> > +SRC_URI[md5sum] = "652203cf99faa254efff7fab23c2f3a2"
> > +SRC_URI[sha256sum] =
> "599a1e8ff057ac530c9ad1778293c665cb81a791421f46922d80a86473c13346"
> > +
> >   inherit pypi setuptools3
> > -require python-cffi.inc
> > +
> > +RDEPENDS_${PN}_class-target = " \
> > +    ${PYTHON_PN}-ctypes \
> > +    ${PYTHON_PN}-io \
> > +    ${PYTHON_PN}-pycparser \
> > +    ${PYTHON_PN}-shell \
> > +"
> > +
> > +BBCLASSEXTEND = "native nativesdk"
> >
>
> this patch does not apply cleanly on master-next, can you rebase and
> send v2 please ?
>
No problem.  v2 sent.


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

end of thread, other threads:[~2020-02-14 23:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-14 22:37 [meta-python][PATCH] python3-cffi: consolidate inc and bb files into a single bb file Derek Straka
2020-02-14 23:02 ` Khem Raj
2020-02-14 23:09   ` Derek Straka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox