diff options
| author | Zang Ruochen <zangrc.fnst@cn.fujitsu.com> | 2019-09-04 10:38:22 +0800 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2019-09-05 09:56:02 -0400 |
| commit | 6561468efc40f002c69b0bc9d6e1baf982a2b6e5 (patch) | |
| tree | 503ba553751b4b130913244aaa4829cf7aa6193b /meta-openstack/recipes-devtools | |
| parent | dbd23cfb3589c19317241cf2150500efc9963010 (diff) | |
| download | meta-cloud-services-6561468efc40f002c69b0bc9d6e1baf982a2b6e5.tar.gz | |
python-fasteners: 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, 25 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-fasteners.inc b/meta-openstack/recipes-devtools/python/python-fasteners.inc new file mode 100644 index 0000000..6e5e5f0 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-fasteners.inc | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | DESCRIPTION = "A python package that provides useful locks." | ||
| 2 | HOMEPAGE = "https://github.com/harlowja/fasteners" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "Apache-2.0" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4476c4be31402271e101d9a4a3430d52" | ||
| 6 | |||
| 7 | SRCNAME = "fasteners" | ||
| 8 | |||
| 9 | PV = "0.15+git${SRCPV}" | ||
| 10 | SRCREV = "75148cb679c351966cd4ad5e9d177048a0ea8380" | ||
| 11 | |||
| 12 | SRC_URI = "git://github.com/harlowja/${SRCNAME}.git" | ||
| 13 | |||
| 14 | S = "${WORKDIR}/git" | ||
| 15 | |||
| 16 | DEPENDS += " \ | ||
| 17 | ${PYTHON_PN}-pip \ | ||
| 18 | ${PYTHON_PN}-pbr \ | ||
| 19 | " | ||
| 20 | |||
| 21 | # RDEPENDS_default: | ||
| 22 | RDEPENDS_${PN} += " \ | ||
| 23 | ${PYTHON_PN}-pbr \ | ||
| 24 | " | ||
diff --git a/meta-openstack/recipes-devtools/python/python-fasteners_git.bb b/meta-openstack/recipes-devtools/python/python-fasteners_git.bb index 2dd3698..3a7326b 100644 --- a/meta-openstack/recipes-devtools/python/python-fasteners_git.bb +++ b/meta-openstack/recipes-devtools/python/python-fasteners_git.bb | |||
| @@ -1,26 +1,2 @@ | |||
| 1 | DESCRIPTION = "A python package that provides useful locks." | ||
| 2 | HOMEPAGE = "https://github.com/harlowja/fasteners" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "Apache-2.0" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4476c4be31402271e101d9a4a3430d52" | ||
| 6 | |||
| 7 | SRCNAME = "fasteners" | ||
| 8 | |||
| 9 | PV = "0.15+git${SRCPV}" | ||
| 10 | SRCREV = "75148cb679c351966cd4ad5e9d177048a0ea8380" | ||
| 11 | |||
| 12 | SRC_URI = "git://github.com/harlowja/${SRCNAME}.git" | ||
| 13 | |||
| 14 | S = "${WORKDIR}/git" | ||
| 15 | |||
| 16 | inherit setuptools | 1 | inherit setuptools |
| 17 | 2 | require python-fasteners.inc | |
| 18 | DEPENDS += " \ | ||
| 19 | python-pip \ | ||
| 20 | python-pbr \ | ||
| 21 | " | ||
| 22 | |||
| 23 | # RDEPENDS_default: | ||
| 24 | RDEPENDS_${PN} += " \ | ||
| 25 | python-pbr \ | ||
| 26 | " | ||
diff --git a/meta-openstack/recipes-devtools/python/python3-fasteners_git.bb b/meta-openstack/recipes-devtools/python/python3-fasteners_git.bb new file mode 100644 index 0000000..9b2053c --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-fasteners_git.bb | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | inherit setuptools3 | ||
| 2 | require python-fasteners.inc | ||
