summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-keystone-hybrid-backend_git.bb
blob: e595180c039787bd97cc982073caa5ebbb535290 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DESCRIPTION = "hybrid SQL + LDAP backend for openstack keystone"
HOMEPAGE = "https://github.com/SUSE-Cloud/keystone-hybrid-backend"
SECTION = "devel/python"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://hybrid_identity.py;beginline=1;endline=14;md5=06c14f61d807564e89a36bc1b33465d5"

PR = "r0"

SRC_URI = "git://github.com/SUSE-Cloud/keystone-hybrid-backend.git;branch=havana"

PV="git${SRCPV}"
SRCREV="0bd376242f8522edef7031d2339b9533b86c17aa"
S = "${WORKDIR}/git"

inherit python3-dir

do_install_append() {
    install -D -m 0644 hybrid_assignment.py ${D}/${PYTHON_SITEPACKAGES_DIR}/keystone/assignment/backends/hybrid_assignment.py
    install -D -m 0644 hybrid_identity.py ${D}/${PYTHON_SITEPACKAGES_DIR}/keystone/identity/backends/hybrid_identity.py
}

FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}"