diff options
-rw-r--r-- | meta-openstack/recipes-devtools/python/python-swiftclient_git.bb | 35 | ||||
-rw-r--r-- | meta-openstack/recipes-devtools/python/python3-swiftclient_3.10.0.bb | 31 |
2 files changed, 31 insertions, 35 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-swiftclient_git.bb b/meta-openstack/recipes-devtools/python/python-swiftclient_git.bb deleted file mode 100644 index 7a99e8a..0000000 --- a/meta-openstack/recipes-devtools/python/python-swiftclient_git.bb +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | DESCRIPTION = "Client library for OpenStack Object Storage API" | ||
2 | HOMEPAGE = "https://github.com/openstack/python-swiftclient" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "Apache-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658" | ||
6 | |||
7 | PR = "r0" | ||
8 | SRCNAME = "swiftclient" | ||
9 | |||
10 | SRC_URI = "git://github.com/openstack/python-swiftclient.git;branch=master" | ||
11 | |||
12 | PV = "3.8.1+git${SRCPV}" | ||
13 | SRCREV = "72b90fed4c62cf75497a7d66714f5fb0aa91f18b" | ||
14 | S = "${WORKDIR}/git" | ||
15 | |||
16 | inherit setuptools3 python3-dir | ||
17 | |||
18 | do_install_append() { | ||
19 | cp -r tests ${D}/${PYTHON_SITEPACKAGES_DIR}/${SRCNAME}/ | ||
20 | } | ||
21 | |||
22 | DEPENDS += " \ | ||
23 | python-pip \ | ||
24 | python-pbr \ | ||
25 | " | ||
26 | |||
27 | # Satisfy setup.py 'setup_requires' | ||
28 | DEPENDS += " \ | ||
29 | python-pbr-native \ | ||
30 | " | ||
31 | |||
32 | RDEPENDS_${PN} += " \ | ||
33 | python-simplejson \ | ||
34 | python-pbr \ | ||
35 | " | ||
diff --git a/meta-openstack/recipes-devtools/python/python3-swiftclient_3.10.0.bb b/meta-openstack/recipes-devtools/python/python3-swiftclient_3.10.0.bb new file mode 100644 index 0000000..1025d9e --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-swiftclient_3.10.0.bb | |||
@@ -0,0 +1,31 @@ | |||
1 | DESCRIPTION = "Client library for OpenStack Object Storage API" | ||
2 | HOMEPAGE = "https://github.com/openstack/python-swiftclient" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "Apache-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658" | ||
6 | |||
7 | PYPI_PACKAGE = "python-swiftclient" | ||
8 | |||
9 | SRC_URI[sha256sum] = "66227eaf29a691c70675fb9982022980b92797c273dd5e6dc7e680425e9a3634" | ||
10 | |||
11 | inherit pypi setuptools3 python3-dir | ||
12 | |||
13 | do_install_append() { | ||
14 | cp -r test ${D}/${PYTHON_SITEPACKAGES_DIR}/${SRCNAME}/ | ||
15 | } | ||
16 | |||
17 | DEPENDS += " \ | ||
18 | python3-pip \ | ||
19 | python3-pbr \ | ||
20 | " | ||
21 | |||
22 | # Satisfy setup.py 'setup_requires' | ||
23 | DEPENDS += " \ | ||
24 | python3-pbr-native \ | ||
25 | " | ||
26 | |||
27 | RDEPENDS_${PN} += " \ | ||
28 | python3-simplejson \ | ||
29 | python3-pbr \ | ||
30 | python3-requests \ | ||
31 | " | ||