From a45bc43f2deb9dfe503e34d5d1006f626ce0d829 Mon Sep 17 00:00:00 2001 From: Patrick Venture Date: Wed, 17 Oct 2018 07:24:38 -0700 Subject: meta-phosphor: python: pyphosphor: rename as git Rename pyphosphor.bb as pyphosphor_git.bb per OE norms. (From meta-phosphor rev: 82e41912202dacd72fdb22944776e01daba37226) Change-Id: I169e222d1e3ab166acb53a1ed48cf5fdde31ecda Signed-off-by: Patrick Venture Signed-off-by: Brad Bishop --- .../recipes-devtools/python/pyphosphor.bb | 54 --------------------- .../recipes-devtools/python/pyphosphor_git.bb | 55 ++++++++++++++++++++++ 2 files changed, 55 insertions(+), 54 deletions(-) delete mode 100644 meta-phosphor/recipes-devtools/python/pyphosphor.bb create mode 100644 meta-phosphor/recipes-devtools/python/pyphosphor_git.bb diff --git a/meta-phosphor/recipes-devtools/python/pyphosphor.bb b/meta-phosphor/recipes-devtools/python/pyphosphor.bb deleted file mode 100644 index 2001e9c7d..000000000 --- a/meta-phosphor/recipes-devtools/python/pyphosphor.bb +++ /dev/null @@ -1,54 +0,0 @@ -SUMMARY = "Phosphor python library" -DESCRIPTION = "Phosphor python library." -HOMEPAGE = "http://github.com/openbmc/pyphosphor" -PR = "r1" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" - -inherit allarch -inherit setuptools -inherit python-dir - -PACKAGE_BEFORE_PN = " \ - ${PN}-ns \ - ${PN}-utils-ns \ - ${PN}-dbus-ns \ - ${PN}-wsgi-ns \ - ${PN}-wsgi-apps-ns \ - ${PN}-utils \ - ${PN}-dbus \ - " - -RDEPENDS_${PN}-utils-ns += "${PN}-ns" -RDEPENDS_${PN}-dbus-ns += "${PN}-ns" -RDEPENDS_${PN}-utils += "${PN}-utils-ns" -RDEPENDS_${PN}-wsgi-apps-ns += "${PN}-wsgi-ns" -RDEPENDS_${PN}-wsgi-ns += "${PN}-ns" -RDEPENDS_${PN}-dbus += " \ - ${PN}-dbus-ns \ - python-dbus \ - python-xml \ - python-json \ - python-pickle \ - " -RDEPENDS_${PN} += " \ - ${PN}-ns \ - ${PN}-dbus \ - python-subprocess \ - python-dbus \ - " - -FILES_${PN}-ns = "${PYTHON_SITEPACKAGES_DIR}/obmc/__init__.py*" -FILES_${PN}-utils-ns = "${PYTHON_SITEPACKAGES_DIR}/obmc/utils/__init__.py*" -FILES_${PN}-dbus-ns = "${PYTHON_SITEPACKAGES_DIR}/obmc/dbuslib/__init__.py*" -FILES_${PN}-wsgi-ns = "${PYTHON_SITEPACKAGES_DIR}/obmc/wsgi/__init__.py*" -FILES_${PN}-wsgi-apps-ns = "${PYTHON_SITEPACKAGES_DIR}/obmc/wsgi/apps/__init__.py*" - -FILES_${PN}-utils = "${PYTHON_SITEPACKAGES_DIR}/obmc/utils" -FILES_${PN}-dbus = "${PYTHON_SITEPACKAGES_DIR}/obmc/dbuslib" - -SRC_URI += "git://github.com/openbmc/pyphosphor" - -SRCREV = "d2aadf1220b03580ab5f93fd15e068040cdb895b" - -S = "${WORKDIR}/git" diff --git a/meta-phosphor/recipes-devtools/python/pyphosphor_git.bb b/meta-phosphor/recipes-devtools/python/pyphosphor_git.bb new file mode 100644 index 000000000..1274c1240 --- /dev/null +++ b/meta-phosphor/recipes-devtools/python/pyphosphor_git.bb @@ -0,0 +1,55 @@ +SUMMARY = "Phosphor python library" +DESCRIPTION = "Phosphor python library." +HOMEPAGE = "http://github.com/openbmc/pyphosphor" +PR = "r1" +PV = "1.0+git${SRCPV}" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" + +inherit allarch +inherit setuptools +inherit python-dir + +PACKAGE_BEFORE_PN = " \ + ${PN}-ns \ + ${PN}-utils-ns \ + ${PN}-dbus-ns \ + ${PN}-wsgi-ns \ + ${PN}-wsgi-apps-ns \ + ${PN}-utils \ + ${PN}-dbus \ + " + +RDEPENDS_${PN}-utils-ns += "${PN}-ns" +RDEPENDS_${PN}-dbus-ns += "${PN}-ns" +RDEPENDS_${PN}-utils += "${PN}-utils-ns" +RDEPENDS_${PN}-wsgi-apps-ns += "${PN}-wsgi-ns" +RDEPENDS_${PN}-wsgi-ns += "${PN}-ns" +RDEPENDS_${PN}-dbus += " \ + ${PN}-dbus-ns \ + python-dbus \ + python-xml \ + python-json \ + python-pickle \ + " +RDEPENDS_${PN} += " \ + ${PN}-ns \ + ${PN}-dbus \ + python-subprocess \ + python-dbus \ + " + +FILES_${PN}-ns = "${PYTHON_SITEPACKAGES_DIR}/obmc/__init__.py*" +FILES_${PN}-utils-ns = "${PYTHON_SITEPACKAGES_DIR}/obmc/utils/__init__.py*" +FILES_${PN}-dbus-ns = "${PYTHON_SITEPACKAGES_DIR}/obmc/dbuslib/__init__.py*" +FILES_${PN}-wsgi-ns = "${PYTHON_SITEPACKAGES_DIR}/obmc/wsgi/__init__.py*" +FILES_${PN}-wsgi-apps-ns = "${PYTHON_SITEPACKAGES_DIR}/obmc/wsgi/apps/__init__.py*" + +FILES_${PN}-utils = "${PYTHON_SITEPACKAGES_DIR}/obmc/utils" +FILES_${PN}-dbus = "${PYTHON_SITEPACKAGES_DIR}/obmc/dbuslib" + +SRC_URI += "git://github.com/openbmc/pyphosphor" + +SRCREV = "d2aadf1220b03580ab5f93fd15e068040cdb895b" + +S = "${WORKDIR}/git" -- cgit v1.2.1