diff options
| author | Zang Ruochen <zangrc.fnst@cn.fujitsu.com> | 2019-09-24 12:00:26 +0800 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2019-09-24 17:53:34 -0400 |
| commit | 47ab7dab615226599ca5e45d49ddf951f093173e (patch) | |
| tree | d0f38b6f8481a0078695134e9564b9d14c34522b | |
| parent | 6b9603d93acb06b17c3abd301c9310660128b542 (diff) | |
| download | meta-cloud-services-47ab7dab615226599ca5e45d49ddf951f093173e.tar.gz | |
python-setuptools-git: 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, 20 insertions, 16 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-setuptools-git.inc b/meta-openstack/recipes-devtools/python/python-setuptools-git.inc new file mode 100644 index 0000000..18bc1dc --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-setuptools-git.inc | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | DESCRIPTION = "Plugin for setuptools that enables git integration" | ||
| 2 | HOMEPAGE = "https://github.com/wichert/setuptools-git" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "BSD" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3775480a712fc46a69647678acb234cb" | ||
| 6 | |||
| 7 | SRC_URI[md5sum] = "40b2ef7687a384ea144503c2e5bc67e2" | ||
| 8 | SRC_URI[sha256sum] = "ff64136da01aabba76ae88b050e7197918d8b2139ccbf6144e14d472b9c40445" | ||
| 9 | |||
| 10 | inherit pypi | ||
| 11 | |||
| 12 | # conflicting file prevention | ||
| 13 | do_install_append() { | ||
| 14 | rm -f ${D}${libdir}/python*/site-packages/site.py* | ||
| 15 | } | ||
| 16 | BBCLASSEXTEND = "native" | ||
diff --git a/meta-openstack/recipes-devtools/python/python-setuptools-git_1.2.bb b/meta-openstack/recipes-devtools/python/python-setuptools-git_1.2.bb index 2514017..0317002 100644 --- a/meta-openstack/recipes-devtools/python/python-setuptools-git_1.2.bb +++ b/meta-openstack/recipes-devtools/python/python-setuptools-git_1.2.bb | |||
| @@ -1,16 +1,2 @@ | |||
| 1 | DESCRIPTION = "Plugin for setuptools that enables git integration" | 1 | inherit setuptools |
| 2 | HOMEPAGE = "https://github.com/wichert/setuptools-git" | 2 | require python-setuptools-git.inc |
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "BSD" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3775480a712fc46a69647678acb234cb" | ||
| 6 | |||
| 7 | SRC_URI[md5sum] = "40b2ef7687a384ea144503c2e5bc67e2" | ||
| 8 | SRC_URI[sha256sum] = "ff64136da01aabba76ae88b050e7197918d8b2139ccbf6144e14d472b9c40445" | ||
| 9 | |||
| 10 | inherit setuptools pypi | ||
| 11 | |||
| 12 | # conflicting file prevention | ||
| 13 | do_install_append() { | ||
| 14 | rm -f ${D}${libdir}/python*/site-packages/site.py* | ||
| 15 | } | ||
| 16 | BBCLASSEXTEND = "native" | ||
diff --git a/meta-openstack/recipes-devtools/python/python3-setuptools-git_1.2.bb b/meta-openstack/recipes-devtools/python/python3-setuptools-git_1.2.bb new file mode 100644 index 0000000..5dd6804 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-setuptools-git_1.2.bb | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | inherit setuptools3 | ||
| 2 | require python-setuptools-git.inc | ||
