All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH v2] Add recipe for python bindings of Berkeley DB
@ 2019-01-19 17:45 Shantanu
  2019-01-19 22:34 ` Khem Raj
  0 siblings, 1 reply; 6+ messages in thread
From: Shantanu @ 2019-01-19 17:45 UTC (permalink / raw)
  To: openembedded-devel

Included correction suggested from Khem of using STAGING_EXECPREFIXDIR

Signed-off-by: Shantanu <shantanu@senic.com>
---
 .../python/python3-bsddb3_6.2.6.bb            | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-bsddb3_6.2.6.bb

diff --git a/meta-python/recipes-devtools/python/python3-bsddb3_6.2.6.bb b/meta-python/recipes-devtools/python/python3-bsddb3_6.2.6.bb
new file mode 100644
index 000000000..81baf98fd
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-bsddb3_6.2.6.bb
@@ -0,0 +1,19 @@
+SUMMARY = "pybsddb is the Python binding for the Oracle Berkeley DB"
+HOMEPAGE = "https://www.jcea.es/programacion/pybsddb.htm"
+SECTION = "devel/python"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b3c8796b7e1f8eda0aef7e242e18ed43"
+SRC_URI[sha256sum] = "42d621f4037425afcb16b67d5600c4556271a071a9a7f7f2c2b1ba65bc582d05"
+
+inherit pypi setuptools3
+
+PYPI_PACKAGE = "bsddb3"
+
+DEPENDS = "db \
+  python3-core \
+"
+
+DISTUTILS_BUILD_ARGS = "--berkeley-db=${STAGING_EXECPREFIXDIR}"
+DISTUTILS_INSTALL_ARGS = "--berkeley-db=${STAGING_EXECPREFIXDIR}"
+
+RDEPENDS_${PN} = "db"
\ No newline at end of file
-- 
2.17.1



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

* Re: [meta-oe][PATCH v2] Add recipe for python bindings of Berkeley DB
  2019-01-19 17:45 [meta-oe][PATCH v2] Add recipe for python bindings of Berkeley DB Shantanu
@ 2019-01-19 22:34 ` Khem Raj
  2019-01-20  2:56   ` Shantanu Choudhary
  0 siblings, 1 reply; 6+ messages in thread
From: Khem Raj @ 2019-01-19 22:34 UTC (permalink / raw)
  To: Shantanu; +Cc: openembeded-devel

This does not address the build problem that I mentioned, please send
a fix the dep should be converted into rdep

RDEPENDS_${PN} = "python3-core"

On Sat, Jan 19, 2019 at 9:46 AM Shantanu <shantanu@senic.com> wrote:
>
> Included correction suggested from Khem of using STAGING_EXECPREFIXDIR
>
> Signed-off-by: Shantanu <shantanu@senic.com>
> ---
>  .../python/python3-bsddb3_6.2.6.bb            | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
>  create mode 100644 meta-python/recipes-devtools/python/python3-bsddb3_6.2.6.bb
>
> diff --git a/meta-python/recipes-devtools/python/python3-bsddb3_6.2.6.bb b/meta-python/recipes-devtools/python/python3-bsddb3_6.2.6.bb
> new file mode 100644
> index 000000000..81baf98fd
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-bsddb3_6.2.6.bb
> @@ -0,0 +1,19 @@
> +SUMMARY = "pybsddb is the Python binding for the Oracle Berkeley DB"
> +HOMEPAGE = "https://www.jcea.es/programacion/pybsddb.htm"
> +SECTION = "devel/python"
> +LICENSE = "BSD-3-Clause"
> +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b3c8796b7e1f8eda0aef7e242e18ed43"
> +SRC_URI[sha256sum] = "42d621f4037425afcb16b67d5600c4556271a071a9a7f7f2c2b1ba65bc582d05"
> +
> +inherit pypi setuptools3
> +
> +PYPI_PACKAGE = "bsddb3"
> +
> +DEPENDS = "db \
> +  python3-core \
> +"
> +
> +DISTUTILS_BUILD_ARGS = "--berkeley-db=${STAGING_EXECPREFIXDIR}"
> +DISTUTILS_INSTALL_ARGS = "--berkeley-db=${STAGING_EXECPREFIXDIR}"
> +
> +RDEPENDS_${PN} = "db"
> \ No newline at end of file
> --
> 2.17.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


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

* Re: [meta-oe][PATCH v2] Add recipe for python bindings of Berkeley DB
  2019-01-19 22:34 ` Khem Raj
@ 2019-01-20  2:56   ` Shantanu Choudhary
  2019-01-20  9:21     ` Khem Raj
  0 siblings, 1 reply; 6+ messages in thread
From: Shantanu Choudhary @ 2019-01-20  2:56 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembeded-devel

Hello Khem,

Thanks for the review and suggesting the fix,

On Sun, Jan 20, 2019 at 4:04 AM Khem Raj <raj.khem@gmail.com> wrote:

> This does not address the build problem that I mentioned, please send
> a fix the dep should be converted into rdep
>
> RDEPENDS_${PN} = "python3-core"
>

When I move python3-core to RDEPENDS_${PN} I start getting following error:

FileNotFoundError: [Errno 2] No such file or directory:
'[clipped]/python3-bsddb3/6.2.6-r0/recipe-sysroot/usr/lib/python3.5/config-3.5m/Makefile'

We are currently using Rocko 2.4 branch and that's where I am testing the
changes before submitting the patch.


>
> On Sat, Jan 19, 2019 at 9:46 AM Shantanu <shantanu@senic.com> wrote:
> >
> > Included correction suggested from Khem of using STAGING_EXECPREFIXDIR
> >
> > Signed-off-by: Shantanu <shantanu@senic.com>
> > ---
> >  .../python/python3-bsddb3_6.2.6.bb            | 19 +++++++++++++++++++
> >  1 file changed, 19 insertions(+)
> >  create mode 100644 meta-python/recipes-devtools/python/
> python3-bsddb3_6.2.6.bb
> >
> > diff --git a/meta-python/recipes-devtools/python/python3-bsddb3_6.2.6.bb
> b/meta-python/recipes-devtools/python/python3-bsddb3_6.2.6.bb
> > new file mode 100644
> > index 000000000..81baf98fd
> > --- /dev/null
> > +++ b/meta-python/recipes-devtools/python/python3-bsddb3_6.2.6.bb
> > @@ -0,0 +1,19 @@
> > +SUMMARY = "pybsddb is the Python binding for the Oracle Berkeley DB"
> > +HOMEPAGE = "https://www.jcea.es/programacion/pybsddb.htm"
> > +SECTION = "devel/python"
> > +LICENSE = "BSD-3-Clause"
> > +LIC_FILES_CHKSUM =
> "file://LICENSE.txt;md5=b3c8796b7e1f8eda0aef7e242e18ed43"
> > +SRC_URI[sha256sum] =
> "42d621f4037425afcb16b67d5600c4556271a071a9a7f7f2c2b1ba65bc582d05"
> > +
> > +inherit pypi setuptools3
> > +
> > +PYPI_PACKAGE = "bsddb3"
> > +
> > +DEPENDS = "db \
> > +  python3-core \
> > +"
> > +
> > +DISTUTILS_BUILD_ARGS = "--berkeley-db=${STAGING_EXECPREFIXDIR}"
> > +DISTUTILS_INSTALL_ARGS = "--berkeley-db=${STAGING_EXECPREFIXDIR}"
> > +
> > +RDEPENDS_${PN} = "db"
> > \ No newline at end of file
> > --
> > 2.17.1
> >
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


-- 

*Shantanu *

Software Developer at Senic <https://www.senic.com>

Join Newsletter <https://senic.co/join-newsletter> · We're hiring
<https://senic.co/about-senic> · In the News <https://senic.co/in-the-news>

SENIC GmbH
Pfuelstr. 5
<https://maps.google.com/?q=Pfuelstr.+5+10997+Berlin+Germany&entry=gmail&source=g>
10997 Berlin
<https://maps.google.com/?q=Pfuelstr.+5+10997+Berlin+Germany&entry=gmail&source=g>
Germany
<https://maps.google.com/?q=Pfuelstr.+5+10997+Berlin+Germany&entry=gmail&source=g>


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

* Re: [meta-oe][PATCH v2] Add recipe for python bindings of Berkeley DB
  2019-01-20  2:56   ` Shantanu Choudhary
@ 2019-01-20  9:21     ` Khem Raj
  0 siblings, 0 replies; 6+ messages in thread
From: Khem Raj @ 2019-01-20  9:21 UTC (permalink / raw)
  To: Shantanu Choudhary; +Cc: openembeded-devel

On Sat, Jan 19, 2019 at 6:56 PM Shantanu Choudhary <shantanu@senic.com> wrote:
>
> Hello Khem,
>
> Thanks for the review and suggesting the fix,
>
> On Sun, Jan 20, 2019 at 4:04 AM Khem Raj <raj.khem@gmail.com> wrote:
>>
>> This does not address the build problem that I mentioned, please send
>> a fix the dep should be converted into rdep
>>
>> RDEPENDS_${PN} = "python3-core"
>
>
> When I move python3-core to RDEPENDS_${PN} I start getting following error:
>
> FileNotFoundError: [Errno 2] No such file or directory: '[clipped]/python3-bsddb3/6.2.6-r0/recipe-sysroot/usr/lib/python3.5/config-3.5m/Makefile'
>
> We are currently using Rocko 2.4 branch and that's where I am testing the changes before submitting the patch.
>

Then add DEPENDS += "python3"

test it on master if you want to upstream it.
>>
>>
>> On Sat, Jan 19, 2019 at 9:46 AM Shantanu <shantanu@senic.com> wrote:
>> >
>> > Included correction suggested from Khem of using STAGING_EXECPREFIXDIR
>> >
>> > Signed-off-by: Shantanu <shantanu@senic.com>
>> > ---
>> >  .../python/python3-bsddb3_6.2.6.bb            | 19 +++++++++++++++++++
>> >  1 file changed, 19 insertions(+)
>> >  create mode 100644 meta-python/recipes-devtools/python/python3-bsddb3_6.2.6.bb
>> >
>> > diff --git a/meta-python/recipes-devtools/python/python3-bsddb3_6.2.6.bb b/meta-python/recipes-devtools/python/python3-bsddb3_6.2.6.bb
>> > new file mode 100644
>> > index 000000000..81baf98fd
>> > --- /dev/null
>> > +++ b/meta-python/recipes-devtools/python/python3-bsddb3_6.2.6.bb
>> > @@ -0,0 +1,19 @@
>> > +SUMMARY = "pybsddb is the Python binding for the Oracle Berkeley DB"
>> > +HOMEPAGE = "https://www.jcea.es/programacion/pybsddb.htm"
>> > +SECTION = "devel/python"
>> > +LICENSE = "BSD-3-Clause"
>> > +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b3c8796b7e1f8eda0aef7e242e18ed43"
>> > +SRC_URI[sha256sum] = "42d621f4037425afcb16b67d5600c4556271a071a9a7f7f2c2b1ba65bc582d05"
>> > +
>> > +inherit pypi setuptools3
>> > +
>> > +PYPI_PACKAGE = "bsddb3"
>> > +
>> > +DEPENDS = "db \
>> > +  python3-core \
>> > +"
>> > +
>> > +DISTUTILS_BUILD_ARGS = "--berkeley-db=${STAGING_EXECPREFIXDIR}"
>> > +DISTUTILS_INSTALL_ARGS = "--berkeley-db=${STAGING_EXECPREFIXDIR}"
>> > +
>> > +RDEPENDS_${PN} = "db"
>> > \ No newline at end of file
>> > --
>> > 2.17.1
>> >
>> > --
>> > _______________________________________________
>> > Openembedded-devel mailing list
>> > Openembedded-devel@lists.openembedded.org
>> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
>
>
> --
>
> Shantanu
>
> Software Developer at Senic
>
> Join Newsletter · We're hiring · In the News
>
> SENIC GmbH
> Pfuelstr. 5
> 10997 Berlin
> Germany
>


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

* Re: [meta-oe][PATCH v2] Add recipe for python bindings of Berkeley DB
  2019-07-22 19:52 Shantanu
@ 2019-07-22 19:54 ` Shantanu Choudhary
  0 siblings, 0 replies; 6+ messages in thread
From: Shantanu Choudhary @ 2019-07-22 19:54 UTC (permalink / raw)
  To: openembeded-devel

On Tue, Jul 23, 2019 at 1:22 AM Shantanu <shantanu@senic.com> wrote:

> Included correction suggested from Khem of using STAGING_EXECPREFIXDIR
> and including python3 with DEPENDS.
>

I don't have access to the master branch to test the suggestions, could
someone help me out and confirm if this recipe works okay on the master,
please?


>
> Signed-off-by: Shantanu <shantanu@senic.com>
> ---
>  .../python/python3-bsddb3_6.2.6.bb            | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
>  create mode 100644 meta-python/recipes-devtools/python/
> python3-bsddb3_6.2.6.bb
>
> diff --git a/meta-python/recipes-devtools/python/python3-bsddb3_6.2.6.bb
> b/meta-python/recipes-devtools/python/python3-bsddb3_6.2.6.bb
> new file mode 100644
> index 000000000..7a298014b
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-bsddb3_6.2.6.bb
> @@ -0,0 +1,19 @@
> +SUMMARY = "pybsddb is the Python binding for the Oracle Berkeley DB"
> +HOMEPAGE = "https://www.jcea.es/programacion/pybsddb.htm"
> +SECTION = "devel/python"
> +LICENSE = "BSD-3-Clause"
> +LIC_FILES_CHKSUM =
> "file://LICENSE.txt;md5=b3c8796b7e1f8eda0aef7e242e18ed43"
> +SRC_URI[sha256sum] =
> "42d621f4037425afcb16b67d5600c4556271a071a9a7f7f2c2b1ba65bc582d05"
> +
> +inherit pypi setuptools3
> +
> +PYPI_PACKAGE = "bsddb3"
> +
> +DEPENDS = "db \
> +  python3 \
> +"
> +
> +DISTUTILS_BUILD_ARGS = "--berkeley-db=${STAGING_EXECPREFIXDIR}"
> +DISTUTILS_INSTALL_ARGS = "--berkeley-db=${STAGING_EXECPREFIXDIR}"
> +
> +RDEPENDS_${PN} = "db"
> \ No newline at end of file
> --
> 2.17.1
>
>

-- 

*Shantanu *

Software Developer at Senic <https://www.senic.com>


Buy Nuimo Click
<http://www.senic.com/en/nuimo-click?utm_source=emailsignature&utm_medium=organic>
 · Buy Nuimo Control
<http://www.senic.com/en/nuimo-control?utm_source=emailsignature&utm_medium=organic>

Join Newsletter <https://senic.co/join-newsletter> · We're hiring
<https://senic.co/about-senic> · In the News <https://senic.co/in-the-news>

SENIC GmbH
Pfuelstr. 5
10997 Berlin
Germany

Amtsgericht Charlottenburg, HRB160913, Ust-Ident.Nr.: DE294820161

IBAN: DE 77 59070070 0026919100 BIC: DEUTDEDB595 Deutsche Bank


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

* [meta-oe][PATCH v2] Add recipe for python bindings of Berkeley DB
@ 2019-07-22 19:52 Shantanu
  2019-07-22 19:54 ` Shantanu Choudhary
  0 siblings, 1 reply; 6+ messages in thread
From: Shantanu @ 2019-07-22 19:52 UTC (permalink / raw)
  To: openembedded-devel

Included correction suggested from Khem of using STAGING_EXECPREFIXDIR
and including python3 with DEPENDS.

Signed-off-by: Shantanu <shantanu@senic.com>
---
 .../python/python3-bsddb3_6.2.6.bb            | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-bsddb3_6.2.6.bb

diff --git a/meta-python/recipes-devtools/python/python3-bsddb3_6.2.6.bb b/meta-python/recipes-devtools/python/python3-bsddb3_6.2.6.bb
new file mode 100644
index 000000000..7a298014b
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-bsddb3_6.2.6.bb
@@ -0,0 +1,19 @@
+SUMMARY = "pybsddb is the Python binding for the Oracle Berkeley DB"
+HOMEPAGE = "https://www.jcea.es/programacion/pybsddb.htm"
+SECTION = "devel/python"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b3c8796b7e1f8eda0aef7e242e18ed43"
+SRC_URI[sha256sum] = "42d621f4037425afcb16b67d5600c4556271a071a9a7f7f2c2b1ba65bc582d05"
+
+inherit pypi setuptools3
+
+PYPI_PACKAGE = "bsddb3"
+
+DEPENDS = "db \
+  python3 \
+"
+
+DISTUTILS_BUILD_ARGS = "--berkeley-db=${STAGING_EXECPREFIXDIR}"
+DISTUTILS_INSTALL_ARGS = "--berkeley-db=${STAGING_EXECPREFIXDIR}"
+
+RDEPENDS_${PN} = "db"
\ No newline at end of file
-- 
2.17.1



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

end of thread, other threads:[~2019-07-22 19:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-19 17:45 [meta-oe][PATCH v2] Add recipe for python bindings of Berkeley DB Shantanu
2019-01-19 22:34 ` Khem Raj
2019-01-20  2:56   ` Shantanu Choudhary
2019-01-20  9:21     ` Khem Raj
2019-07-22 19:52 Shantanu
2019-07-22 19:54 ` Shantanu Choudhary

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.