diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-httplib2_0.9.bb')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-httplib2_0.9.bb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-httplib2_0.9.bb b/meta-openstack/recipes-devtools/python/python-httplib2_0.9.bb new file mode 100644 index 0000000..5c89ca9 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-httplib2_0.9.bb | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | DESCRIPTION = "A comprehensive HTTP client library" | ||
| 2 | HOMEPAGE = "https://code.google.com/p/httplib2/" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "MIT" | ||
| 5 | LIC_FILES_CHKSUM = "file://PKG-INFO;md5=baf943a2e2e7f980951b3c56e0c38421" | ||
| 6 | |||
| 7 | PR = "r0" | ||
| 8 | SRCNAME = "httplib2" | ||
| 9 | |||
| 10 | SRC_URI = "https://pypi.python.org/packages/source/h/${SRCNAME}/${SRCNAME}-${PV}.tar.gz" | ||
| 11 | |||
| 12 | SRC_URI[md5sum] = "09d8e8016911fc40e2e4c58f1aa3ec24" | ||
| 13 | SRC_URI[sha256sum] = "39ea8c6a6d9f595c177a16134fc49a990ad8d382758cbf469c8659662f2f51ab" | ||
| 14 | |||
| 15 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
| 16 | |||
| 17 | inherit setuptools | ||
| 18 | |||
| 19 | do_install_append() { | ||
| 20 | perm_files=`find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "top_level.txt"` | ||
| 21 | for f in $perm_files; do | ||
| 22 | chmod 644 "${f}" | ||
| 23 | done | ||
| 24 | } | ||
