blob: ad11a078d30a433266e5955e8471c4f1128cdf22 [file] [log] [blame]
Brad Bishop570264f2016-04-15 09:23:44 -04001SUMMARY = "Phosphor python library"
2DESCRIPTION = "Phosphor python library."
Brad Bishop3c695352016-06-09 01:26:47 -04003HOMEPAGE = "http://github.com/openbmc/pyphosphor"
Brad Bishop570264f2016-04-15 09:23:44 -04004PR = "r1"
Patrick Venturea45bc432018-10-17 07:24:38 -07005PV = "1.0+git${SRCPV}"
Brad Bishop570264f2016-04-15 09:23:44 -04006LICENSE = "Apache-2.0"
7LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
8
9inherit allarch
Andrew Geissler358dfea2020-04-14 09:04:52 -050010inherit setuptools3
11inherit python3-dir
Brad Bishop376b0652016-08-29 21:47:04 -040012
13PACKAGE_BEFORE_PN = " \
14 ${PN}-ns \
15 ${PN}-utils-ns \
16 ${PN}-dbus-ns \
Brad Bishop7f343da2016-08-29 21:51:58 -040017 ${PN}-wsgi-ns \
18 ${PN}-wsgi-apps-ns \
Brad Bishop376b0652016-08-29 21:47:04 -040019 ${PN}-utils \
20 ${PN}-dbus \
21 "
22
Patrick Williams12fc9392021-08-06 09:16:53 -050023RDEPENDS:${PN}-utils-ns += "${PN}-ns"
24RDEPENDS:${PN}-dbus-ns += "${PN}-ns"
25RDEPENDS:${PN}-utils += "${PN}-utils-ns"
26RDEPENDS:${PN}-wsgi-apps-ns += "${PN}-wsgi-ns"
27RDEPENDS:${PN}-wsgi-ns += "${PN}-ns"
28RDEPENDS:${PN}-dbus += " \
Brad Bishop376b0652016-08-29 21:47:04 -040029 ${PN}-dbus-ns \
30 python-dbus \
31 python-xml \
32 python-json \
33 python-pickle \
34 "
Patrick Williams12fc9392021-08-06 09:16:53 -050035RDEPENDS:${PN} += " \
Brad Bishop376b0652016-08-29 21:47:04 -040036 ${PN}-ns \
37 ${PN}-dbus \
38 python-subprocess \
39 python-dbus \
40 "
41
Patrick Williams12fc9392021-08-06 09:16:53 -050042FILES:${PN}-ns = "${PYTHON_SITEPACKAGES_DIR}/obmc/__init__.py*"
43FILES:${PN}-utils-ns = "${PYTHON_SITEPACKAGES_DIR}/obmc/utils/__init__.py*"
44FILES:${PN}-dbus-ns = "${PYTHON_SITEPACKAGES_DIR}/obmc/dbuslib/__init__.py*"
45FILES:${PN}-wsgi-ns = "${PYTHON_SITEPACKAGES_DIR}/obmc/wsgi/__init__.py*"
46FILES:${PN}-wsgi-apps-ns = "${PYTHON_SITEPACKAGES_DIR}/obmc/wsgi/apps/__init__.py*"
Brad Bishop376b0652016-08-29 21:47:04 -040047
Patrick Williams12fc9392021-08-06 09:16:53 -050048FILES:${PN}-utils = "${PYTHON_SITEPACKAGES_DIR}/obmc/utils"
49FILES:${PN}-dbus = "${PYTHON_SITEPACKAGES_DIR}/obmc/dbuslib"
Brad Bishop570264f2016-04-15 09:23:44 -040050
51SRC_URI += "git://github.com/openbmc/pyphosphor"
52
Andrew Geissler99e70792018-09-10 19:50:16 +000053SRCREV = "d2aadf1220b03580ab5f93fd15e068040cdb895b"
Brad Bishop570264f2016-04-15 09:23:44 -040054
55S = "${WORKDIR}/git"