diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-setuptools-git_1.1.bb')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-setuptools-git_1.1.bb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-setuptools-git_1.1.bb b/meta-openstack/recipes-devtools/python/python-setuptools-git_1.1.bb new file mode 100644 index 0000000..9447744 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-setuptools-git_1.1.bb | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | DESCRIPTION = "Plugin for setuptools that enables git integration" | ||
| 2 | HOMEPAGE = "https://github.com/wichert/setuptools-git" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "BSD" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3775480a712fc46a69647678acb234cb" | ||
| 6 | |||
| 7 | SRCNAME = "setuptools-git" | ||
| 8 | |||
| 9 | SRC_URI = "https://pypi.python.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz" | ||
| 10 | |||
| 11 | SRC_URI[md5sum] = "7b5967e9527c789c3113b07a1f196f6e" | ||
| 12 | SRC_URI[sha256sum] = "047d7595546635edebef226bc566579d422ccc48a8a91c7d32d8bd174f68f831" | ||
| 13 | |||
| 14 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
| 15 | |||
| 16 | inherit setuptools | ||
| 17 | |||
| 18 | # conflicting file prevention | ||
| 19 | do_install_append() { | ||
| 20 | rm -f ${D}${libdir}/python*/site-packages/site.py* | ||
| 21 | } | ||
