DESCRIPTION = "Client library for OpenStack Identity API" HOMEPAGE = "https://github.com/openstack/python-keystoneclient" SECTION = "devel/python" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=4a4d0e932ffae1c0131528d30d419c55" SRCNAME = "keystoneclient" SRC_URI = "\ git://github.com/openstack/python-keystoneclient.git;nobranch=1 \ file://keystone-api-check.sh \ " PV = "3.5.1+git${SRCPV}" SRCREV = "7c40ff8466dc5e49f93752ecb998db864f8e5598" S = "${WORKDIR}/git" inherit setuptools monitor rmargparse FILES_${PN}-doc += "${datadir}/keystoneclient" DEPENDS += " \ python-pip \ python-pbr \ " # Satisfy setup.py 'setup_requires' DEPENDS += " \ python-pbr-native \ " RDEPENDS_${PN} += " \ python-argparse \ python-debtcollector \ python-iso8601 \ python-keystoneauth1 \ python-simplejson \ python-oslo.config \ python-oslo.i18n \ python-oslo.serialization \ python-oslo.utils \ python-pbr \ python-positional \ python-prettytable \ python-requests \ python-six \ python-stevedore \ " do_install_append() { cp -r ${S}/examples ${D}${PYTHON_SITEPACKAGES_DIR}/${SRCNAME} } PACKAGES =+ " ${SRCNAME}-tests" FILES_${SRCNAME}-tests = "${PYTHON_SITEPACKAGES_DIR}/${SRCNAME}/examples \ " RDEPENDS_${SRCNAME}-tests += " \ python-httpretty \ bash \ " MONITOR_CHECKS_${PN} += "\ keystone-api-check.sh \ "