diff options
| author | Adrian Dudau <adrian.dudau@enea.com> | 2017-08-08 14:46:44 +0200 |
|---|---|---|
| committer | Adrian Dudau <adrian.dudau@enea.com> | 2017-08-08 14:46:44 +0200 |
| commit | 740945f7eda60ff371f9430c133416464225990c (patch) | |
| tree | a8c9f742de4b82adee4b2ae495c16add6ed28e74 /meta-openstack/recipes-devtools/python/python-appdirs_git.bb | |
| parent | 237a67fdb94250004f944c1c1b21bbaa7caa3190 (diff) | |
| download | meta-cloud-services-740945f7eda60ff371f9430c133416464225990c.tar.gz | |
Add ${SRCPV} to multiple git recipes
Use the right way of versioning git based recipes.
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-appdirs_git.bb')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-appdirs_git.bb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-appdirs_git.bb b/meta-openstack/recipes-devtools/python/python-appdirs_git.bb index 2482871..a6e7595 100644 --- a/meta-openstack/recipes-devtools/python/python-appdirs_git.bb +++ b/meta-openstack/recipes-devtools/python/python-appdirs_git.bb | |||
| @@ -4,7 +4,7 @@ SECTION = "devel/python" | |||
| 4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=31625363c45eb0c67c630a2f73e438e4" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=31625363c45eb0c67c630a2f73e438e4" |
| 6 | 6 | ||
| 7 | PV = "1.4.0" | 7 | PV = "1.4.0+git${SRCPV}" |
| 8 | SRCREV = "57f2bc44a8bca99bac6c57496c8b3fdea26f94d5" | 8 | SRCREV = "57f2bc44a8bca99bac6c57496c8b3fdea26f94d5" |
| 9 | 9 | ||
| 10 | SRCNAME = "appdirs" | 10 | SRCNAME = "appdirs" |
| @@ -26,7 +26,6 @@ do_install_append() { | |||
| 26 | # Using these "longest" paths will ensure needed shorter paths will be created | 26 | # Using these "longest" paths will ensure needed shorter paths will be created |
| 27 | install -d ${D}/${libdir}/python2.7/site-packages/${SRCNAME}/test | 27 | install -d ${D}/${libdir}/python2.7/site-packages/${SRCNAME}/test |
| 28 | install -d ${D}/${libdir}/python2.7/site-packages/${SRCNAME}.egg-info | 28 | install -d ${D}/${libdir}/python2.7/site-packages/${SRCNAME}.egg-info |
| 29 | |||
| 30 | install -m 644 ${S}/${SRCNAME}.py ${D}/${libdir}/python2.7/site-packages/${SRCNAME}/__init__.py | 29 | install -m 644 ${S}/${SRCNAME}.py ${D}/${libdir}/python2.7/site-packages/${SRCNAME}/__init__.py |
| 31 | install -m 644 ${S}/${SRCNAME}.pyc ${D}/${libdir}/python2.7/site-packages/${SRCNAME}/__init__.pyc | 30 | install -m 644 ${S}/${SRCNAME}.pyc ${D}/${libdir}/python2.7/site-packages/${SRCNAME}/__init__.pyc |
| 32 | install -m 644 ${S}/test/* ${D}/${libdir}/python2.7/site-packages/${SRCNAME}/test/ | 31 | install -m 644 ${S}/test/* ${D}/${libdir}/python2.7/site-packages/${SRCNAME}/test/ |
