diff options
author | zangrc <zangrc.fnst@cn.fujitsu.com> | 2020-01-13 11:02:30 +0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-01-15 16:23:55 -0500 |
commit | 23d81a47784bde091518f679ced7e9e6195f973d (patch) | |
tree | 7ae9d372ad0d18119a3395c26be3d8e18b9a52aa | |
parent | 8746dc3045a399d6f10551ce96b1a78fed6907b2 (diff) | |
download | meta-cloud-services-23d81a47784bde091518f679ced7e9e6195f973d.tar.gz |
python-lesscpy: Add python3 version
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
3 files changed, 22 insertions, 18 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-lesscpy.inc b/meta-openstack/recipes-devtools/python/python-lesscpy.inc new file mode 100644 index 0000000..c10b0b8 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-lesscpy.inc | |||
@@ -0,0 +1,18 @@ | |||
1 | DESCRIPTION = "Python lesscpy: Python LESS Compiler" | ||
2 | HOMEPAGE = "https://pypi.python.org/pypi/lesscpy" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "Apache-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a01aae31681ac25b4c46f98d627b9b5d" | ||
6 | |||
7 | DEPENDS += "${PYTHON_PN}-ply" | ||
8 | RDEPENDS_${PN} += "${PYTHON_PN}-ply" | ||
9 | |||
10 | SRC_URI[md5sum] = "fedbad1f4eb19c3af37f09560156246d" | ||
11 | SRC_URI[sha256sum] = "ccad1ad2a89ced1875c5ca4e16e5478b791d31fb187fe29f1541859318ed9055" | ||
12 | |||
13 | inherit pypi | ||
14 | |||
15 | DISTUTILS_INSTALL_ARGS = "--root=${D} \ | ||
16 | --prefix=${prefix} \ | ||
17 | --install-lib=${PYTHON_SITEPACKAGES_DIR} \ | ||
18 | --install-data=${datadir}" | ||
diff --git a/meta-openstack/recipes-devtools/python/python-lesscpy_0.10.2.bb b/meta-openstack/recipes-devtools/python/python-lesscpy_0.10.2.bb index ca27cb5..43d7ff8 100644 --- a/meta-openstack/recipes-devtools/python/python-lesscpy_0.10.2.bb +++ b/meta-openstack/recipes-devtools/python/python-lesscpy_0.10.2.bb | |||
@@ -1,18 +1,2 @@ | |||
1 | DESCRIPTION = "Python lesscpy: Python LESS Compiler" | 1 | require python-lesscpy.inc |
2 | HOMEPAGE = "https://pypi.python.org/pypi/lesscpy" | 2 | inherit setuptools |
3 | SECTION = "devel/python" | ||
4 | LICENSE = "Apache-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a01aae31681ac25b4c46f98d627b9b5d" | ||
6 | |||
7 | DEPENDS += "python-ply" | ||
8 | RDEPENDS_${PN} += "python-ply" | ||
9 | |||
10 | SRC_URI[md5sum] = "fedbad1f4eb19c3af37f09560156246d" | ||
11 | SRC_URI[sha256sum] = "ccad1ad2a89ced1875c5ca4e16e5478b791d31fb187fe29f1541859318ed9055" | ||
12 | |||
13 | inherit setuptools pypi | ||
14 | |||
15 | DISTUTILS_INSTALL_ARGS = "--root=${D} \ | ||
16 | --prefix=${prefix} \ | ||
17 | --install-lib=${PYTHON_SITEPACKAGES_DIR} \ | ||
18 | --install-data=${datadir}" | ||
diff --git a/meta-openstack/recipes-devtools/python/python3-lesscpy_0.10.2.bb b/meta-openstack/recipes-devtools/python/python3-lesscpy_0.10.2.bb new file mode 100644 index 0000000..167b970 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-lesscpy_0.10.2.bb | |||
@@ -0,0 +1,2 @@ | |||
1 | require python-lesscpy.inc | ||
2 | inherit setuptools3 | ||