blob: 039c718de2bc98cb2948753798b50125480757b8 [file] [log] [blame]
SUMMARY = "Phosphor python library"
DESCRIPTION = "Phosphor python library."
HOMEPAGE = "http://github.com/openbmc/pyphosphor"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
SRCREV = "cb240aa1ed95799d2ea8bde951c6ed443839a7e0"
PV = "1.0+git${SRCPV}"
PR = "r1"
SRC_URI += "git://github.com/openbmc/pyphosphor;branch=master;protocol=https"
S = "${WORKDIR}/git"
inherit allarch
inherit setuptools3
inherit python3-dir
RDEPENDS:${PN}-utils-ns += "${PN}-ns"
RDEPENDS:${PN}-dbus-ns += "${PN}-ns"
RDEPENDS:${PN}-utils += "${PN}-utils-ns"
RDEPENDS:${PN}-wsgi-apps-ns += "${PN}-wsgi-ns"
RDEPENDS:${PN}-wsgi-ns += "${PN}-ns"
RDEPENDS:${PN}-dbus += " \
${PN}-dbus-ns \
python-dbus \
python-xml \
python-json \
python-pickle \
"
RDEPENDS:${PN} += " \
${PN}-ns \
${PN}-dbus \
python-subprocess \
python-dbus \
"
FILES:${PN}-ns = "${PYTHON_SITEPACKAGES_DIR}/obmc/__init__.py*"
FILES:${PN}-utils-ns = "${PYTHON_SITEPACKAGES_DIR}/obmc/utils/__init__.py*"
FILES:${PN}-dbus-ns = "${PYTHON_SITEPACKAGES_DIR}/obmc/dbuslib/__init__.py*"
FILES:${PN}-wsgi-ns = "${PYTHON_SITEPACKAGES_DIR}/obmc/wsgi/__init__.py*"
FILES:${PN}-wsgi-apps-ns = "${PYTHON_SITEPACKAGES_DIR}/obmc/wsgi/apps/__init__.py*"
FILES:${PN}-utils = "${PYTHON_SITEPACKAGES_DIR}/obmc/utils"
FILES:${PN}-dbus = "${PYTHON_SITEPACKAGES_DIR}/obmc/dbuslib"
PACKAGE_BEFORE_PN = " \
${PN}-ns \
${PN}-utils-ns \
${PN}-dbus-ns \
${PN}-wsgi-ns \
${PN}-wsgi-apps-ns \
${PN}-utils \
${PN}-dbus \
"