diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-05-22 11:45:11 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-05-29 02:26:16 -0700 |
commit | 2349dd7dc0f5c09534bb6d3411e2b9736a6cdefa (patch) | |
tree | 119e28439a8ec8080abf5378ecf76ab377cf1bfa /meta-oe/recipes-devtools/python | |
parent | e3392ec71968ccf16ed667dbc70683f00419906e (diff) | |
download | meta-openembedded-2349dd7dc0f5c09534bb6d3411e2b9736a6cdefa.tar.gz |
python-jsmin,python-pytoml,python-which: Add recipes
These packages are needed for mozjs 60.x to build
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/python')
4 files changed, 44 insertions, 0 deletions
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 000000000..d00d1e2a0 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-jsmin_2.2.2.bb | |||
@@ -0,0 +1,11 @@ | |||
1 | DESCRIPTION = "JavaScript minifier." | ||
2 | HOMEPAGE = "https://github.com/tikitu/jsmin/" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3a3301ce2ad647e172f4a1016c67324d" | ||
6 | |||
7 | inherit setuptools pypi | ||
8 | SRC_URI[md5sum] = "00e7a3179a4591aab2ee707b3214e2fd" | ||
9 | SRC_URI[sha256sum] = "b6df99b2cd1c75d9d342e4335b535789b8da9107ec748212706ef7bbe5c2553b" | ||
10 | |||
11 | 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 000000000..1019c09d0 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-pytoml.inc | |||
@@ -0,0 +1,12 @@ | |||
1 | SUMMARY = "A TOML-0.4.0 parser/writer for Python" | ||
2 | HOMEPAGE = "https://pypi.python.org/pypi/pytoml/" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=cfff423699bdaef24331933ac4f56078" | ||
6 | |||
7 | SRC_URI[md5sum] = "a11d8a4859b53f6ebe2f782314428911" | ||
8 | SRC_URI[sha256sum] = "ca2d0cb127c938b8b76a9a0d0f855cf930c1d50cc3a0af6d3595b566519a1013" | ||
9 | |||
10 | inherit pypi | ||
11 | |||
12 | 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 000000000..88fa95317 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-pytoml_0.1.20.bb | |||
@@ -0,0 +1,2 @@ | |||
1 | inherit pypi setuptools | ||
2 | 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 000000000..901fdc763 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-which_1.1.0.bb | |||
@@ -0,0 +1,19 @@ | |||
1 | DESCRIPTION = "which.py -- a portable GNU which replacement" | ||
2 | HOMEPAGE = "http://code.google.com/p/which/" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=030b09798681482b9ad12ac47be496ea" | ||
6 | |||
7 | inherit setuptools pypi python-dir | ||
8 | |||
9 | SRCREV = "425bdeeb2d87c36e2313dc4b8d69ff2bb5a02ee9" | ||
10 | PYPI_SRC_URI = "git://github.com/trentm/which" | ||
11 | |||
12 | S = "${WORKDIR}/git" | ||
13 | |||
14 | do_install_append() { | ||
15 | rmdir -p --ignore-fail-on-non-empty ${D}${STAGING_BINDIR_NATIVE} | ||
16 | rmdir -p --ignore-fail-on-non-empty ${D}${datadir} | ||
17 | } | ||
18 | |||
19 | BBCLASSEXTEND = "native nativesdk" | ||