[oe-commits] [meta-openembedded] 21/35: python(3)-markupsafe: add recipes

git at git.openembedded.org git at git.openembedded.org
Wed Jan 27 11:47:56 UTC 2016


martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit 5ae5d5fa75fe5635ff52296899cee6a4c67d8819
Author: Sven Ebenfeld <sven.ebenfeld at gmail.com>
AuthorDate: Fri Jan 22 23:22:50 2016 +0100

    python(3)-markupsafe: add recipes
    
    Signed-off-by: Sven Ebenfeld <sven.ebenfeld at gmail.com>
---
 ...ython-markupsafe_0.23.bb => python-markupsafe.inc} |  4 +---
 .../recipes-devtools/python/python-markupsafe_0.23.bb | 19 +------------------
 .../python/python3-markupsafe_0.23.bb                 |  2 ++
 3 files changed, 4 insertions(+), 21 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python-markupsafe_0.23.bb b/meta-python/recipes-devtools/python/python-markupsafe.inc
similarity index 91%
copy from meta-python/recipes-devtools/python/python-markupsafe_0.23.bb
copy to meta-python/recipes-devtools/python/python-markupsafe.inc
index 4821c0a..1b3e0a0 100644
--- a/meta-python/recipes-devtools/python/python-markupsafe_0.23.bb
+++ b/meta-python/recipes-devtools/python/python-markupsafe.inc
@@ -14,6 +14,4 @@ SRC_URI[sha256sum] = "a4ec1aff59b95a14b45eb2e23761a0179e98319da5a7eb76b56ea8cdc7
 
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
-inherit setuptools
-
-RDEPENDS_${PN} += "python-re"
+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 4821c0a..396eff1 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 @@
-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"
+require python-markupsafe.inc
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 0000000..765e3c9
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-markupsafe_0.23.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-markupsafe.inc

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list