blob: 058e4506d69a1b38b04ed2498e65c10768b2b366 [file] [log] [blame]
Brad Bishop0a81db02016-08-30 00:46:40 -04001SUMMARY = "Phosphor DBUS to REST WSGI Application"
2DESCRIPTION = "Phosphor DBUS to REST WSGI Application."
Brad Bishop5da85642015-10-27 17:13:26 -04003HOMEPAGE = "http://github.com/openbmc/phosphor-rest-server"
4PR = "r1"
5LICENSE = "Apache-2.0"
Brad Bishop0a81db02016-08-30 00:46:40 -04006LIC_FILES_CHKSUM = "file://${WORKDIR}/git/LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc"
Brad Bishop5da85642015-10-27 17:13:26 -04007
8inherit allarch
9inherit obmc-phosphor-systemd
10inherit setuptools
Ratan Gupta653779c2016-10-01 14:57:15 -050011inherit obmc-phosphor-discovery-service
Brad Bishop5da85642015-10-27 17:13:26 -040012
Brad Bishop0a81db02016-08-30 00:46:40 -040013RRECOMMENDS_${PN} += "virtual-obmc-wsgihost"
14
Brad Bishop5da85642015-10-27 17:13:26 -040015RDEPENDS_${PN} += " \
16 python-xml \
17 python-dbus \
Brad Bishop1122eb02016-10-05 20:10:23 -040018 phosphor-mapper \
Brad Bishopf6688172016-04-15 09:41:54 -040019 python-bottle \
20 python-spwd \
Brad Bishop1b4e4472016-08-29 21:47:04 -040021 pyphosphor-utils \
22 pyphosphor-dbus \
Brad Bishop0a81db02016-08-30 00:46:40 -040023 pyphosphor-wsgi-apps-ns \
Brad Bishop5da85642015-10-27 17:13:26 -040024 "
Chris Austen350def12015-12-02 22:32:06 -060025SRC_URI += "git://github.com/openbmc/phosphor-rest-server"
Brad Bishop5da85642015-10-27 17:13:26 -040026
Patrick Williamsa8bbcb02016-09-12 13:50:05 -050027SRCREV = "dc3fbfa7d1861a4bb65fb284228a6ea155ba37a5"
Brad Bishop5da85642015-10-27 17:13:26 -040028
Brad Bishop0a81db02016-08-30 00:46:40 -040029S = "${WORKDIR}/git/module"
30SYSTEMD_SERVICE_${PN} = ""
31SYSTEMD_OVERRIDE_${PN} += "rest-dbus.conf:obmc-mapper.target.d/rest-dbus.conf"
32SYSTEMD_ENVIRONMENT_FILE_${PN} += "obmc/wsgi_app"
Ratan Gupta653779c2016-10-01 14:57:15 -050033REGISTERED_SERVICES_${PN} += "phosphor_rest:tcp:443"