diff options
| author | zangrc <zangrc.fnst@cn.fujitsu.com> | 2019-11-29 11:05:11 +0800 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2019-12-01 23:17:09 -0500 |
| commit | 0c4f5e0c3a6aa6ce8af076a9e7403dec800d1f44 (patch) | |
| tree | cc69942125aa1a8dff57641d1729db466ed8c5ab /meta-openstack/recipes-devtools/python | |
| parent | 00c6bd43fd6c814b3dd15df085c1c33292e9753a (diff) | |
| download | meta-cloud-services-0c4f5e0c3a6aa6ce8af076a9e7403dec800d1f44.tar.gz | |
python-ecdsa: 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/python')
3 files changed, 24 insertions, 20 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-ecdsa.inc b/meta-openstack/recipes-devtools/python/python-ecdsa.inc new file mode 100644 index 0000000..b7c8356 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-ecdsa.inc | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | DESCRIPTION = "ECDSA cryptographic signature library" | ||
| 2 | HOMEPAGE = "https://github.com/warner/python-ecdsa" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "MIT" | ||
| 5 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | ||
| 6 | |||
| 7 | SRC_URI[md5sum] = "1f60eda9cb5c46722856db41a3ae6670" | ||
| 8 | SRC_URI[sha256sum] = "64cf1ee26d1cde3c73c6d7d107f835fed7c6a2904aef9eac223d57ad800c43fa" | ||
| 9 | |||
| 10 | inherit pypi | ||
| 11 | |||
| 12 | DEPENDS += " \ | ||
| 13 | ${PYTHON_PN}-pip \ | ||
| 14 | ${PYTHON_PN}-pbr \ | ||
| 15 | " | ||
| 16 | |||
| 17 | # RDEPENDS_default: | ||
| 18 | RDEPENDS_${PN} += " \ | ||
| 19 | ${PYTHON_PN}-pbr \ | ||
| 20 | " | ||
diff --git a/meta-openstack/recipes-devtools/python/python-ecdsa_0.13.bb b/meta-openstack/recipes-devtools/python/python-ecdsa_0.13.bb index 8fe492c..f5785b3 100644 --- a/meta-openstack/recipes-devtools/python/python-ecdsa_0.13.bb +++ b/meta-openstack/recipes-devtools/python/python-ecdsa_0.13.bb | |||
| @@ -1,20 +1,2 @@ | |||
| 1 | DESCRIPTION = "ECDSA cryptographic signature library" | 1 | require python-ecdsa.inc |
| 2 | HOMEPAGE = "https://github.com/warner/python-ecdsa" | 2 | inherit setuptools |
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "MIT" | ||
| 5 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | ||
| 6 | |||
| 7 | SRC_URI[md5sum] = "1f60eda9cb5c46722856db41a3ae6670" | ||
| 8 | SRC_URI[sha256sum] = "64cf1ee26d1cde3c73c6d7d107f835fed7c6a2904aef9eac223d57ad800c43fa" | ||
| 9 | |||
| 10 | inherit setuptools pypi | ||
| 11 | |||
| 12 | DEPENDS += " \ | ||
| 13 | python-pip \ | ||
| 14 | python-pbr \ | ||
| 15 | " | ||
| 16 | |||
| 17 | # RDEPENDS_default: | ||
| 18 | RDEPENDS_${PN} += " \ | ||
| 19 | python-pbr \ | ||
| 20 | " | ||
diff --git a/meta-openstack/recipes-devtools/python/python3-ecdsa_0.13.bb b/meta-openstack/recipes-devtools/python/python3-ecdsa_0.13.bb new file mode 100644 index 0000000..13366f4 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-ecdsa_0.13.bb | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | require python-ecdsa.inc | ||
| 2 | inherit setuptools3 | ||
