blob: c0adc92046e86a14bddf257c9a50e9939055ad83 [file] [log] [blame]
Brad Bishop02f8e882016-04-15 09:23:44 -04001SUMMARY = "Phosphor python library"
2DESCRIPTION = "Phosphor python library."
Brad Bishop02390632016-06-09 01:26:47 -04003HOMEPAGE = "http://github.com/openbmc/pyphosphor"
Brad Bishop02f8e882016-04-15 09:23:44 -04004PR = "r1"
5LICENSE = "Apache-2.0"
6LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
7
8inherit allarch
9inherit setuptools
Brad Bishop1b4e4472016-08-29 21:47:04 -040010inherit python-dir
11
12PACKAGE_BEFORE_PN = " \
13 ${PN}-ns \
14 ${PN}-utils-ns \
15 ${PN}-dbus-ns \
Brad Bishop56fa3482016-08-29 21:51:58 -040016 ${PN}-wsgi-ns \
17 ${PN}-wsgi-apps-ns \
Brad Bishop1b4e4472016-08-29 21:47:04 -040018 ${PN}-utils \
19 ${PN}-dbus \
20 "
21
22RDEPENDS_${PN}-utils-ns += "${PN}-ns"
23RDEPENDS_${PN}-dbus-ns += "${PN}-ns"
24RDEPENDS_${PN}-utils += "${PN}-utils-ns"
Brad Bishop56fa3482016-08-29 21:51:58 -040025RDEPENDS_${PN}-wsgi-apps-ns += "${PN}-wsgi-ns"
26RDEPENDS_${PN}-wsgi-ns += "${PN}-ns"
Brad Bishop1b4e4472016-08-29 21:47:04 -040027RDEPENDS_${PN}-dbus += " \
28 ${PN}-dbus-ns \
29 python-dbus \
30 python-xml \
31 python-json \
32 python-pickle \
33 "
34RDEPENDS_${PN} += " \
35 ${PN}-ns \
36 ${PN}-dbus \
37 python-subprocess \
38 python-dbus \
39 "
40
41FILES_${PN}-ns = "${PYTHON_SITEPACKAGES_DIR}/obmc/__init__.py*"
42FILES_${PN}-utils-ns = "${PYTHON_SITEPACKAGES_DIR}/obmc/utils/__init__.py*"
43FILES_${PN}-dbus-ns = "${PYTHON_SITEPACKAGES_DIR}/obmc/dbuslib/__init__.py*"
Brad Bishop56fa3482016-08-29 21:51:58 -040044FILES_${PN}-wsgi-ns = "${PYTHON_SITEPACKAGES_DIR}/obmc/wsgi/__init__.py*"
45FILES_${PN}-wsgi-apps-ns = "${PYTHON_SITEPACKAGES_DIR}/obmc/wsgi/apps/__init__.py*"
Brad Bishop1b4e4472016-08-29 21:47:04 -040046
47FILES_${PN}-utils = "${PYTHON_SITEPACKAGES_DIR}/obmc/utils"
48FILES_${PN}-dbus = "${PYTHON_SITEPACKAGES_DIR}/obmc/dbuslib"
Brad Bishop02f8e882016-04-15 09:23:44 -040049
50SRC_URI += "git://github.com/openbmc/pyphosphor"
51
Andrew Geissler71ebf472018-03-27 17:50:09 +000052SRCREV = "dc63ed495112f1f7f36fd9b125d48b7fbf4b2323"
Brad Bishop02f8e882016-04-15 09:23:44 -040053
54S = "${WORKDIR}/git"