blob: 1274c1240357826747e3ab1d068ade7f560b0fee [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"
Patrick Venture82e41912018-10-17 07:24:38 -07005PV = "1.0+git${SRCPV}"
Brad Bishop02f8e882016-04-15 09:23:44 -04006LICENSE = "Apache-2.0"
7LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
8
9inherit allarch
10inherit setuptools
Brad Bishop1b4e4472016-08-29 21:47:04 -040011inherit python-dir
12
13PACKAGE_BEFORE_PN = " \
14 ${PN}-ns \
15 ${PN}-utils-ns \
16 ${PN}-dbus-ns \
Brad Bishop56fa3482016-08-29 21:51:58 -040017 ${PN}-wsgi-ns \
18 ${PN}-wsgi-apps-ns \
Brad Bishop1b4e4472016-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 Bishop56fa3482016-08-29 21:51:58 -040026RDEPENDS_${PN}-wsgi-apps-ns += "${PN}-wsgi-ns"
27RDEPENDS_${PN}-wsgi-ns += "${PN}-ns"
Brad Bishop1b4e4472016-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 Bishop56fa3482016-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 Bishop1b4e4472016-08-29 21:47:04 -040047
48FILES_${PN}-utils = "${PYTHON_SITEPACKAGES_DIR}/obmc/utils"
49FILES_${PN}-dbus = "${PYTHON_SITEPACKAGES_DIR}/obmc/dbuslib"
Brad Bishop02f8e882016-04-15 09:23:44 -040050
51SRC_URI += "git://github.com/openbmc/pyphosphor"
52
Andrew Geissler082080e2018-09-10 19:50:16 +000053SRCREV = "d2aadf1220b03580ab5f93fd15e068040cdb895b"
Brad Bishop02f8e882016-04-15 09:23:44 -040054
55S = "${WORKDIR}/git"