From 2349dd7dc0f5c09534bb6d3411e2b9736a6cdefa Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 22 May 2019 11:45:11 -0700 Subject: python-jsmin,python-pytoml,python-which: Add recipes These packages are needed for mozjs 60.x to build Signed-off-by: Khem Raj --- meta-oe/recipes-devtools/python/python-jsmin_2.2.2.bb | 11 +++++++++++ meta-oe/recipes-devtools/python/python-pytoml.inc | 12 ++++++++++++ .../recipes-devtools/python/python-pytoml_0.1.20.bb | 2 ++ meta-oe/recipes-devtools/python/python-which_1.1.0.bb | 19 +++++++++++++++++++ 4 files changed, 44 insertions(+) create mode 100644 meta-oe/recipes-devtools/python/python-jsmin_2.2.2.bb create mode 100644 meta-oe/recipes-devtools/python/python-pytoml.inc create mode 100644 meta-oe/recipes-devtools/python/python-pytoml_0.1.20.bb create mode 100644 meta-oe/recipes-devtools/python/python-which_1.1.0.bb (limited to 'meta-oe/recipes-devtools/python') diff --git a/meta-oe/recipes-devtools/python/python-jsmin_2.2.2.bb b/meta-oe/recipes-devtools/python/python-jsmin_2.2.2.bb new file mode 100644 index 0000000000..d00d1e2a08 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-jsmin_2.2.2.bb @@ -0,0 +1,11 @@ +DESCRIPTION = "JavaScript minifier." +HOMEPAGE = "https://github.com/tikitu/jsmin/" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3a3301ce2ad647e172f4a1016c67324d" + +inherit setuptools pypi +SRC_URI[md5sum] = "00e7a3179a4591aab2ee707b3214e2fd" +SRC_URI[sha256sum] = "b6df99b2cd1c75d9d342e4335b535789b8da9107ec748212706ef7bbe5c2553b" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-oe/recipes-devtools/python/python-pytoml.inc b/meta-oe/recipes-devtools/python/python-pytoml.inc new file mode 100644 index 0000000000..1019c09d03 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-pytoml.inc @@ -0,0 +1,12 @@ +SUMMARY = "A TOML-0.4.0 parser/writer for Python" +HOMEPAGE = "https://pypi.python.org/pypi/pytoml/" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=cfff423699bdaef24331933ac4f56078" + +SRC_URI[md5sum] = "a11d8a4859b53f6ebe2f782314428911" +SRC_URI[sha256sum] = "ca2d0cb127c938b8b76a9a0d0f855cf930c1d50cc3a0af6d3595b566519a1013" + +inherit pypi + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-oe/recipes-devtools/python/python-pytoml_0.1.20.bb b/meta-oe/recipes-devtools/python/python-pytoml_0.1.20.bb new file mode 100644 index 0000000000..88fa95317f --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-pytoml_0.1.20.bb @@ -0,0 +1,2 @@ +inherit pypi setuptools +require python-pytoml.inc diff --git a/meta-oe/recipes-devtools/python/python-which_1.1.0.bb b/meta-oe/recipes-devtools/python/python-which_1.1.0.bb new file mode 100644 index 0000000000..901fdc7637 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-which_1.1.0.bb @@ -0,0 +1,19 @@ +DESCRIPTION = "which.py -- a portable GNU which replacement" +HOMEPAGE = "http://code.google.com/p/which/" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=030b09798681482b9ad12ac47be496ea" + +inherit setuptools pypi python-dir + +SRCREV = "425bdeeb2d87c36e2313dc4b8d69ff2bb5a02ee9" +PYPI_SRC_URI = "git://github.com/trentm/which" + +S = "${WORKDIR}/git" + +do_install_append() { + rmdir -p --ignore-fail-on-non-empty ${D}${STAGING_BINDIR_NATIVE} + rmdir -p --ignore-fail-on-non-empty ${D}${datadir} +} + +BBCLASSEXTEND = "native nativesdk" -- cgit 1.2.3-korg