diff options
Diffstat (limited to 'meta-openstack/recipes-devtools')
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 | |||