Skip to contentSkip to conversation

Add recipe for python bindings of Berkeley DB

PATCH In review Shantanu 2 participants 2 messages Jan 19, 2019

lore
Share & tools
lore

Shantanu

author
#0 lore raw

PATCH 1/1 Add recipe for python bindings of Berkeley DB

---
 .../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
meta-python/recipes-devtools/python/python3-bsddb3_6.2.6.bb new file +19 -0
new file mode 100644
index 000000000..0cb10fbab
@@ -0,0 +1,19 @@
+DESCRIPTION = "pybsddb is the Python binding for the Oracle Berkeley DB"
+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"
+SRC_URI[md5sum] = "ebb7554bbe1a518abbe742753a617577"
+
+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"
Signature · 1 line
2.17.1
#1 lore raw
Quoted 1 line · Shantanu

Wrong ML, this belongs to openembedded-devel ML.

meta-python/recipes-devtools/python/python3-bsddb3_6.2.6.bb line 1

Quoted 12 lines
---
 .../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
meta-python/recipes-devtools/python/python3-bsddb3_6.2.6.bb new file +1 -0
new file mode 100644
index 000000000..0cb10fbab
@@ -0,0 +1,19 @@
+DESCRIPTION = "pybsddb is the Python binding for the Oracle Berkeley DB"

Use SUMMARY.

meta-python/recipes-devtools/python/python3-bsddb3_6.2.6.bb line 5

Quoted 4 lines
meta-python/recipes-devtools/python/python3-bsddb3_6.2.6.bb new file +4 -0
+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.

meta-python/recipes-devtools/python/python3-bsddb3_6.2.6.bb line 6

Quoted 1 line
meta-python/recipes-devtools/python/python3-bsddb3_6.2.6.bb new file +1 -0
+SRC_URI[md5sum] = "ebb7554bbe1a518abbe742753a617577"

Where is sha256sum?

Quoted 21 lines
meta-python/recipes-devtools/python/python3-bsddb3_6.2.6.bb new file +13 -0
+
+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"
Signature · 7 lines
2.17.1

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]