blob: 6361f25987d86fa5ea8f0503c99ac9d01d75824e [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 -04003PR = "r1"
Brad Bishop5da85642015-10-27 17:13:26 -04004
5inherit allarch
6inherit obmc-phosphor-systemd
7inherit setuptools
Ratan Gupta653779c2016-10-01 14:57:15 -05008inherit obmc-phosphor-discovery-service
Brad Bishop5da85642015-10-27 17:13:26 -04009
Patrick Williams969c16d2017-03-01 21:25:36 -060010require phosphor-rest.inc
11
Brad Bishop0a81db02016-08-30 00:46:40 -040012RRECOMMENDS_${PN} += "virtual-obmc-wsgihost"
13
Brad Bishop5da85642015-10-27 17:13:26 -040014RDEPENDS_${PN} += " \
15 python-xml \
16 python-dbus \
Brad Bishop1122eb02016-10-05 20:10:23 -040017 phosphor-mapper \
Brad Bishopf6688172016-04-15 09:41:54 -040018 python-bottle \
19 python-spwd \
Brad Bishop1b4e4472016-08-29 21:47:04 -040020 pyphosphor-utils \
21 pyphosphor-dbus \
Brad Bishop0a81db02016-08-30 00:46:40 -040022 pyphosphor-wsgi-apps-ns \
Brad Bishop5da85642015-10-27 17:13:26 -040023 "
Brad Bishop5da85642015-10-27 17:13:26 -040024
Brad Bishop0a81db02016-08-30 00:46:40 -040025S = "${WORKDIR}/git/module"
26SYSTEMD_SERVICE_${PN} = ""
27SYSTEMD_OVERRIDE_${PN} += "rest-dbus.conf:obmc-mapper.target.d/rest-dbus.conf"
28SYSTEMD_ENVIRONMENT_FILE_${PN} += "obmc/wsgi_app"
Ratan Gupta653779c2016-10-01 14:57:15 -050029REGISTERED_SERVICES_${PN} += "phosphor_rest:tcp:443"