diff options
author | zangrc <zangrc.fnst@cn.fujitsu.com> | 2019-11-29 13:31:45 +0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2019-12-01 23:17:09 -0500 |
commit | 35c3909e41b7a59686774399ba2acf39b3019d66 (patch) | |
tree | 07ca0a7f5174c47a279cbf442fa118ddcae4ebf3 /meta-openstack/recipes-devtools | |
parent | ba7505bc2ef78b0e90e67168d0ef348a61000015 (diff) | |
download | meta-cloud-services-35c3909e41b7a59686774399ba2acf39b3019d66.tar.gz |
python-i18n: Add python3 version
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'meta-openstack/recipes-devtools')
3 files changed, 27 insertions, 23 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-i18n.inc b/meta-openstack/recipes-devtools/python/python-i18n.inc new file mode 100644 index 0000000..74200e7 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-i18n.inc | |||
@@ -0,0 +1,23 @@ | |||
1 | DESCRIPTION = "Translation library for Python" | ||
2 | HOMEPAGE = "https://github.com/tuvistavie/python-i18n" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://README.md;md5=7624ac071dec291ca8ef74e62e536a7a" | ||
6 | |||
7 | PYPI_PACKAGE = "python-i18n" | ||
8 | |||
9 | SRC_URI[md5sum] = "08b8c247add9f90806c4742a685fdb88" | ||
10 | SRC_URI[sha256sum] = "e1d832ff7d1d39ce593793cc709b2344aa8fdf321cf707081335f146160d9f20" | ||
11 | |||
12 | inherit pypi | ||
13 | |||
14 | # DEPENDS_default: python-pip | ||
15 | |||
16 | DEPENDS += " \ | ||
17 | ${PYTHON_PN}-pip \ | ||
18 | " | ||
19 | |||
20 | # RDEPENDS_default: | ||
21 | RDEPENDS_${PN} += " \ | ||
22 | ${PYTHON_PN}-pyyaml \ | ||
23 | " | ||
diff --git a/meta-openstack/recipes-devtools/python/python-i18n_0.3.1.bb b/meta-openstack/recipes-devtools/python/python-i18n_0.3.1.bb index f14e7a8..3e0acdd 100644 --- a/meta-openstack/recipes-devtools/python/python-i18n_0.3.1.bb +++ b/meta-openstack/recipes-devtools/python/python-i18n_0.3.1.bb | |||
@@ -1,23 +1,2 @@ | |||
1 | DESCRIPTION = "Translation library for Python" | 1 | require python-i18n.inc |
2 | HOMEPAGE = "https://github.com/tuvistavie/python-i18n" | 2 | inherit setuptools |
3 | SECTION = "devel/python" | ||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://README.md;md5=7624ac071dec291ca8ef74e62e536a7a" | ||
6 | |||
7 | PYPI_PACKAGE = "python-i18n" | ||
8 | |||
9 | SRC_URI[md5sum] = "08b8c247add9f90806c4742a685fdb88" | ||
10 | SRC_URI[sha256sum] = "e1d832ff7d1d39ce593793cc709b2344aa8fdf321cf707081335f146160d9f20" | ||
11 | |||
12 | inherit setuptools pypi | ||
13 | |||
14 | # DEPENDS_default: python-pip | ||
15 | |||
16 | DEPENDS += " \ | ||
17 | python-pip \ | ||
18 | " | ||
19 | |||
20 | # RDEPENDS_default: | ||
21 | RDEPENDS_${PN} += " \ | ||
22 | python-pyyaml \ | ||
23 | " | ||
diff --git a/meta-openstack/recipes-devtools/python/python3-i18n_0.3.1.bb b/meta-openstack/recipes-devtools/python/python3-i18n_0.3.1.bb new file mode 100644 index 0000000..8e98d13 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-i18n_0.3.1.bb | |||
@@ -0,0 +1,2 @@ | |||
1 | require python-i18n.inc | ||
2 | inherit setuptools3 | ||