blob: c2cfdb4cb9cec85743e096b73056dea15eac68c9 [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
Patrick Williamsbb99d222022-01-24 15:55:09 -060051SRC_URI += "git://github.com/openbmc/pyphosphor;branch=master;protocol=https"
Brad Bishop570264f2016-04-15 09:23:44 -040052
Andrew Geissler1f8693c2021-10-25 18:50:41 +000053SRCREV = "cb240aa1ed95799d2ea8bde951c6ed443839a7e0"
Brad Bishop570264f2016-04-15 09:23:44 -040054
55S = "${WORKDIR}/git"