Brad Bishop | 570264f | 2016-04-15 09:23:44 -0400 | [diff] [blame] | 1 | SUMMARY = "Phosphor python library" |
| 2 | DESCRIPTION = "Phosphor python library." |
Brad Bishop | 3c69535 | 2016-06-09 01:26:47 -0400 | [diff] [blame] | 3 | HOMEPAGE = "http://github.com/openbmc/pyphosphor" |
Brad Bishop | 570264f | 2016-04-15 09:23:44 -0400 | [diff] [blame] | 4 | PR = "r1" |
Patrick Venture | a45bc43 | 2018-10-17 07:24:38 -0700 | [diff] [blame] | 5 | PV = "1.0+git${SRCPV}" |
Brad Bishop | 570264f | 2016-04-15 09:23:44 -0400 | [diff] [blame] | 6 | LICENSE = "Apache-2.0" |
| 7 | LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" |
| 8 | |
| 9 | inherit allarch |
Andrew Geissler | 358dfea | 2020-04-14 09:04:52 -0500 | [diff] [blame] | 10 | inherit setuptools3 |
| 11 | inherit python3-dir |
Brad Bishop | 376b065 | 2016-08-29 21:47:04 -0400 | [diff] [blame] | 12 | |
| 13 | PACKAGE_BEFORE_PN = " \ |
| 14 | ${PN}-ns \ |
| 15 | ${PN}-utils-ns \ |
| 16 | ${PN}-dbus-ns \ |
Brad Bishop | 7f343da | 2016-08-29 21:51:58 -0400 | [diff] [blame] | 17 | ${PN}-wsgi-ns \ |
| 18 | ${PN}-wsgi-apps-ns \ |
Brad Bishop | 376b065 | 2016-08-29 21:47:04 -0400 | [diff] [blame] | 19 | ${PN}-utils \ |
| 20 | ${PN}-dbus \ |
| 21 | " |
| 22 | |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 23 | RDEPENDS:${PN}-utils-ns += "${PN}-ns" |
| 24 | RDEPENDS:${PN}-dbus-ns += "${PN}-ns" |
| 25 | RDEPENDS:${PN}-utils += "${PN}-utils-ns" |
| 26 | RDEPENDS:${PN}-wsgi-apps-ns += "${PN}-wsgi-ns" |
| 27 | RDEPENDS:${PN}-wsgi-ns += "${PN}-ns" |
| 28 | RDEPENDS:${PN}-dbus += " \ |
Brad Bishop | 376b065 | 2016-08-29 21:47:04 -0400 | [diff] [blame] | 29 | ${PN}-dbus-ns \ |
| 30 | python-dbus \ |
| 31 | python-xml \ |
| 32 | python-json \ |
| 33 | python-pickle \ |
| 34 | " |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 35 | RDEPENDS:${PN} += " \ |
Brad Bishop | 376b065 | 2016-08-29 21:47:04 -0400 | [diff] [blame] | 36 | ${PN}-ns \ |
| 37 | ${PN}-dbus \ |
| 38 | python-subprocess \ |
| 39 | python-dbus \ |
| 40 | " |
| 41 | |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 42 | FILES:${PN}-ns = "${PYTHON_SITEPACKAGES_DIR}/obmc/__init__.py*" |
| 43 | FILES:${PN}-utils-ns = "${PYTHON_SITEPACKAGES_DIR}/obmc/utils/__init__.py*" |
| 44 | FILES:${PN}-dbus-ns = "${PYTHON_SITEPACKAGES_DIR}/obmc/dbuslib/__init__.py*" |
| 45 | FILES:${PN}-wsgi-ns = "${PYTHON_SITEPACKAGES_DIR}/obmc/wsgi/__init__.py*" |
| 46 | FILES:${PN}-wsgi-apps-ns = "${PYTHON_SITEPACKAGES_DIR}/obmc/wsgi/apps/__init__.py*" |
Brad Bishop | 376b065 | 2016-08-29 21:47:04 -0400 | [diff] [blame] | 47 | |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 48 | FILES:${PN}-utils = "${PYTHON_SITEPACKAGES_DIR}/obmc/utils" |
| 49 | FILES:${PN}-dbus = "${PYTHON_SITEPACKAGES_DIR}/obmc/dbuslib" |
Brad Bishop | 570264f | 2016-04-15 09:23:44 -0400 | [diff] [blame] | 50 | |
Patrick Williams | bb99d22 | 2022-01-24 15:55:09 -0600 | [diff] [blame^] | 51 | SRC_URI += "git://github.com/openbmc/pyphosphor;branch=master;protocol=https" |
Brad Bishop | 570264f | 2016-04-15 09:23:44 -0400 | [diff] [blame] | 52 | |
Andrew Geissler | 1f8693c | 2021-10-25 18:50:41 +0000 | [diff] [blame] | 53 | SRCREV = "cb240aa1ed95799d2ea8bde951c6ed443839a7e0" |
Brad Bishop | 570264f | 2016-04-15 09:23:44 -0400 | [diff] [blame] | 54 | |
| 55 | S = "${WORKDIR}/git" |