[oe] [meta-oe][PATCH v2] Add recipe for python bindings of Berkeley DB

Khem Raj raj.khem at gmail.com
Sat Jan 19 22:34:28 UTC 2019


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 at senic.com> wrote:
>
> Included correction suggested from Khem of using STAGING_EXECPREFIXDIR
>
> Signed-off-by: Shantanu <shantanu at 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 at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


More information about the Openembedded-devel mailing list