blob: a0383d5fdbf1581eb01099df016c2a7e6152bf18 [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
23RDEPENDS_${PN}-utils-ns += "${PN}-ns"
24RDEPENDS_${PN}-dbus-ns += "${PN}-ns"
25RDEPENDS_${PN}-utils += "${PN}-utils-ns"
Brad Bishop7f343da2016-08-29 21:51:58 -040026RDEPENDS_${PN}-wsgi-apps-ns += "${PN}-wsgi-ns"
27RDEPENDS_${PN}-wsgi-ns += "${PN}-ns"
Brad Bishop376b0652016-08-29 21:47:04 -040028RDEPENDS_${PN}-dbus += " \
29 ${PN}-dbus-ns \
30 python-dbus \
31 python-xml \
32 python-json \
33 python-pickle \
34 "
35RDEPENDS_${PN} += " \
36 ${PN}-ns \
37 ${PN}-dbus \
38 python-subprocess \
39 python-dbus \
40 "
41
42FILES_${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*"
Brad Bishop7f343da2016-08-29 21:51:58 -040045FILES_${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
48FILES_${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"