diff options
| author | zangrc <zangrc.fnst@cn.fujitsu.com> | 2020-01-13 10:51:12 +0800 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-01-15 16:23:55 -0500 |
| commit | 246296eccbf50840e6cdf9849e54b9dd90237a16 (patch) | |
| tree | ffd27dab8e480c947fe6a4ad39d485704d24bcca /meta-openstack/recipes-devtools/python | |
| parent | 23d81a47784bde091518f679ced7e9e6195f973d (diff) | |
| download | meta-cloud-services-246296eccbf50840e6cdf9849e54b9dd90237a16.tar.gz | |
python-kafka: upgrade 0.9.4 -> 1.4.7
-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, 27 insertions, 23 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-kafka.inc b/meta-openstack/recipes-devtools/python/python-kafka.inc new file mode 100644 index 0000000..0b360c1 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-kafka.inc | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | SUMMARY = "Python client for Apache Kafka" | ||
| 2 | HOMEPAGE = "https://github.com/mumrah/kafka-python" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "Apache-2.0" | ||
| 5 | |||
| 6 | PV = "1.4.7+git${SRCPV}" | ||
| 7 | SRCREV = "0552b04326c73be29f209c12920ef4cbaceb9818" | ||
| 8 | |||
| 9 | SRCNAME = "kafka-python" | ||
| 10 | |||
| 11 | LIC_FILES_CHKSUM = "file://LICENSE;md5=22efebb1e053dcc946f4b9d17f3cbbea" | ||
| 12 | SRC_URI = "git://github.com/mumrah/${SRCNAME}.git" | ||
| 13 | |||
| 14 | S = "${WORKDIR}/git" | ||
| 15 | |||
| 16 | DEPENDS += " \ | ||
| 17 | ${PYTHON_PN}-pbr \ | ||
| 18 | " | ||
| 19 | |||
| 20 | RDEPENDS_${PN} += " \ | ||
| 21 | ${PYTHON_PN}-six \ | ||
| 22 | " | ||
| 23 | |||
diff --git a/meta-openstack/recipes-devtools/python/python-kafka_git.bb b/meta-openstack/recipes-devtools/python/python-kafka_git.bb index 7fbb826..8a474c8 100644 --- a/meta-openstack/recipes-devtools/python/python-kafka_git.bb +++ b/meta-openstack/recipes-devtools/python/python-kafka_git.bb | |||
| @@ -1,25 +1,3 @@ | |||
| 1 | SUMMARY = "Python client for Apache Kafka" | 1 | require python-kafka.inc |
| 2 | HOMEPAGE = "https://github.com/mumrah/kafka-python" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "Apache-2.0" | ||
| 5 | |||
| 6 | PV = "0.9.4+git${SRCPV}" | ||
| 7 | SRCREV = "4955582be1443b75c23f700268b7abbef0fde0ad" | ||
| 8 | |||
| 9 | SRCNAME = "kafka-python" | ||
| 10 | |||
| 11 | LIC_FILES_CHKSUM = "file://LICENSE;md5=22efebb1e053dcc946f4b9d17f3cbbea" | ||
| 12 | SRC_URI = "git://github.com/mumrah/${SRCNAME}.git" | ||
| 13 | |||
| 14 | S = "${WORKDIR}/git" | ||
| 15 | |||
| 16 | inherit setuptools | 2 | inherit setuptools |
| 17 | 3 | ||
| 18 | DEPENDS += " \ | ||
| 19 | python-pbr \ | ||
| 20 | " | ||
| 21 | |||
| 22 | RDEPENDS_${PN} += " \ | ||
| 23 | python-six \ | ||
| 24 | " | ||
| 25 | |||
diff --git a/meta-openstack/recipes-devtools/python/python3-kafka_git.bb b/meta-openstack/recipes-devtools/python/python3-kafka_git.bb new file mode 100644 index 0000000..55c9fcb --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-kafka_git.bb | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | require python-kafka.inc | ||
| 2 | inherit setuptools3 | ||
| 3 | |||
