[oe] [meta-python][PATCH 2/4] python-markupsafe: add recipe

Ben Shelton ben.shelton at ni.com
Wed Feb 18 23:03:40 UTC 2015


MarkupSafe is a Python library for escaping HTML strings, and it is a
dependency for Jinja2.  Add a recipe to build it.

Copied from commit 6ba88a72843826370773cda29309545c7c800dc0 in
meta-cloud-services/meta-openstack and updated to version 0.23.

Signed-off-by: Ben Shelton <ben.shelton at ni.com>
---
 .../recipes-devtools/python/python-markupsafe_0.23.bb | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-markupsafe_0.23.bb

diff --git a/meta-python/recipes-devtools/python/python-markupsafe_0.23.bb b/meta-python/recipes-devtools/python/python-markupsafe_0.23.bb
new file mode 100644
index 0000000..4821c0a
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-markupsafe_0.23.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "Implements a XML/HTML/XHTML Markup safe string for Python"
+HOMEPAGE = "http://github.com/mitsuhiko/markupsafe"
+SECTION = "devel/python"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=c6d1adcf45d69359f256c1cea3254127"
+
+PR = "r0"
+SRCNAME = "MarkupSafe"
+
+SRC_URI = "https://pypi.python.org/packages/source/M/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "f5ab3deee4c37cd6a922fb81e730da6e"
+SRC_URI[sha256sum] = "a4ec1aff59b95a14b45eb2e23761a0179e98319da5a7eb76b56ea8cdc7b871c3"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit setuptools
+
+RDEPENDS_${PN} += "python-re"
-- 
2.3.0




More information about the Openembedded-devel mailing list