diff options
author | zangrc <zangrc.fnst@cn.fujitsu.com> | 2020-01-14 10:29:50 +0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-01-15 16:23:54 -0500 |
commit | a89e4d7bc738e6a2b5879fba69dc0242213bbb2e (patch) | |
tree | 6645006a0200e0e3a8288964d51a248d45a322cf | |
parent | 9103d30d259a5682b364909e6a5e9dc6820618ce (diff) | |
download | meta-cloud-services-a89e4d7bc738e6a2b5879fba69dc0242213bbb2e.tar.gz |
python-virtualenv: 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-virtualenv.inc b/meta-openstack/recipes-devtools/python/python-virtualenv.inc new file mode 100644 index 0000000..79b9451 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-virtualenv.inc | |||
@@ -0,0 +1,18 @@ | |||
1 | DESCRIPTION = "Virtual Python Environment builder" | ||
2 | HOMEPAGE = "https://pypi.python.org/pypi/virtualenv" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=53df9f8889d6a5fba83f425abe3b1568" | ||
6 | |||
7 | SRC_URI[md5sum] = "9accc2d3f0ec1da479ce2c3d1fdff06e" | ||
8 | SRC_URI[sha256sum] = "cf3d958f28eb7470bd04262ef397580a2e57407f2ee2c88e9b2892218eb0465a" | ||
9 | |||
10 | inherit pypi | ||
11 | |||
12 | DEPENDS += " \ | ||
13 | ${PYTHON_PN}-pip \ | ||
14 | " | ||
15 | |||
16 | RDEPENDS_${PN} += " \ | ||
17 | ${PYTHON_PN}-dateutil \ | ||
18 | " | ||
diff --git a/meta-openstack/recipes-devtools/python/python-virtualenv_1.11.4.bb b/meta-openstack/recipes-devtools/python/python-virtualenv_1.11.4.bb index ebe2cec..f8b9d1c 100644 --- a/meta-openstack/recipes-devtools/python/python-virtualenv_1.11.4.bb +++ b/meta-openstack/recipes-devtools/python/python-virtualenv_1.11.4.bb | |||
@@ -1,18 +1,2 @@ | |||
1 | DESCRIPTION = "Virtual Python Environment builder" | 1 | require python-virtualenv.inc |
2 | HOMEPAGE = "https://pypi.python.org/pypi/virtualenv" | 2 | inherit setuptools |
3 | SECTION = "devel/python" | ||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=53df9f8889d6a5fba83f425abe3b1568" | ||
6 | |||
7 | SRC_URI[md5sum] = "9accc2d3f0ec1da479ce2c3d1fdff06e" | ||
8 | SRC_URI[sha256sum] = "cf3d958f28eb7470bd04262ef397580a2e57407f2ee2c88e9b2892218eb0465a" | ||
9 | |||
10 | inherit setuptools pypi | ||
11 | |||
12 | DEPENDS += " \ | ||
13 | python-pip \ | ||
14 | " | ||
15 | |||
16 | RDEPENDS_${PN} += " \ | ||
17 | python-dateutil \ | ||
18 | " | ||
diff --git a/meta-openstack/recipes-devtools/python/python3-virtualenv_1.11.4.bb b/meta-openstack/recipes-devtools/python/python3-virtualenv_1.11.4.bb new file mode 100644 index 0000000..f053af7 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-virtualenv_1.11.4.bb | |||
@@ -0,0 +1,2 @@ | |||
1 | require python-virtualenv.inc | ||
2 | inherit setuptools3 | ||