diff options
3 files changed, 20 insertions, 18 deletions
diff --git a/meta-python/recipes-devtools/python/python-markupsafe.inc b/meta-python/recipes-devtools/python/python-markupsafe.inc new file mode 100644 index 0000000000..1b3e0a05c9 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-markupsafe.inc | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | DESCRIPTION = "Implements a XML/HTML/XHTML Markup safe string for Python" | ||
| 2 | HOMEPAGE = "http://github.com/mitsuhiko/markupsafe" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "BSD-3-Clause" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c6d1adcf45d69359f256c1cea3254127" | ||
| 6 | |||
| 7 | PR = "r0" | ||
| 8 | SRCNAME = "MarkupSafe" | ||
| 9 | |||
| 10 | SRC_URI = "https://pypi.python.org/packages/source/M/${SRCNAME}/${SRCNAME}-${PV}.tar.gz" | ||
| 11 | |||
| 12 | SRC_URI[md5sum] = "f5ab3deee4c37cd6a922fb81e730da6e" | ||
| 13 | SRC_URI[sha256sum] = "a4ec1aff59b95a14b45eb2e23761a0179e98319da5a7eb76b56ea8cdc7b871c3" | ||
| 14 | |||
| 15 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
| 16 | |||
| 17 | RDEPENDS_${PN} += "${PYTHON_PN}-re" | ||
diff --git a/meta-python/recipes-devtools/python/python-markupsafe_0.23.bb b/meta-python/recipes-devtools/python/python-markupsafe_0.23.bb index 4821c0a3b6..396eff102e 100644 --- a/meta-python/recipes-devtools/python/python-markupsafe_0.23.bb +++ b/meta-python/recipes-devtools/python/python-markupsafe_0.23.bb | |||
| @@ -1,19 +1,2 @@ | |||
| 1 | DESCRIPTION = "Implements a XML/HTML/XHTML Markup safe string for Python" | ||
| 2 | HOMEPAGE = "http://github.com/mitsuhiko/markupsafe" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "BSD-3-Clause" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c6d1adcf45d69359f256c1cea3254127" | ||
| 6 | |||
| 7 | PR = "r0" | ||
| 8 | SRCNAME = "MarkupSafe" | ||
| 9 | |||
| 10 | SRC_URI = "https://pypi.python.org/packages/source/M/${SRCNAME}/${SRCNAME}-${PV}.tar.gz" | ||
| 11 | |||
| 12 | SRC_URI[md5sum] = "f5ab3deee4c37cd6a922fb81e730da6e" | ||
| 13 | SRC_URI[sha256sum] = "a4ec1aff59b95a14b45eb2e23761a0179e98319da5a7eb76b56ea8cdc7b871c3" | ||
| 14 | |||
| 15 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
| 16 | |||
| 17 | inherit setuptools | 1 | inherit setuptools |
| 18 | 2 | require python-markupsafe.inc | |
| 19 | RDEPENDS_${PN} += "python-re" | ||
diff --git a/meta-python/recipes-devtools/python/python3-markupsafe_0.23.bb b/meta-python/recipes-devtools/python/python3-markupsafe_0.23.bb new file mode 100644 index 0000000000..765e3c906b --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-markupsafe_0.23.bb | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | inherit setuptools3 | ||
| 2 | require python-markupsafe.inc | ||
