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

Martin Jansa martin.jansa at gmail.com
Sat Jan 19 13:09:59 UTC 2019


On Sat, Jan 19, 2019 at 05:56:18PM +0530, Shantanu wrote:
> Signed-off-by: Shantanu <shantanu at senic.com>

Wrong ML, this belongs to openembedded-devel ML.

> ---
>  .../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..0cb10fbab
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-bsddb3_6.2.6.bb
> @@ -0,0 +1,19 @@
> +DESCRIPTION = "pybsddb is the Python binding for the Oracle Berkeley DB"

Use SUMMARY.

> +HOMEPAGE = "https://www.jcea.es/programacion/pybsddb.htm"
> +SECTION = "devel/python"
> +LICENSE = "AGPL-3.0"
> +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/AGPL-3.0;md5=73f1eb20517c55bf9493b7dd6e480788"

Don't use COMMON_LICENSE_DIR in LIC_FILES_CHKSUM.

> +SRC_URI[md5sum] = "ebb7554bbe1a518abbe742753a617577"

Where is sha256sum?

> +
> +inherit pypi setuptools3
> +
> +PYPI_PACKAGE = "bsddb3"
> +
> +DEPENDS = "db \
> +  python3-core \
> +"
> +
> +DISTUTILS_BUILD_ARGS = "--berkeley-db=${STAGING_DIR_HOST}/usr"
> +DISTUTILS_INSTALL_ARGS = "--berkeley-db=${STAGING_DIR_HOST}/usr"
> +
> +RDEPENDS_${PN} = "db"
> -- 
> 2.17.1
> 
> -- 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20190119/2e955842/attachment.sig>


More information about the Openembedded-core mailing list