mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
gpsd: Only require and build for Python3
Signed-off-by: Alistair Francis <alistair@alistair23.me> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
committed by
Khem Raj
parent
19d1fd1683
commit
2e6a5f32f6
@@ -2,7 +2,7 @@ SUMMARY = "A TCP/IP Daemon simplifying the communication with GPS devices"
|
|||||||
SECTION = "console/network"
|
SECTION = "console/network"
|
||||||
LICENSE = "BSD-2-Clause"
|
LICENSE = "BSD-2-Clause"
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=01764c35ae34d9521944bb6ab312af53"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=01764c35ae34d9521944bb6ab312af53"
|
||||||
DEPENDS = "dbus ncurses python python3 pps-tools"
|
DEPENDS = "dbus ncurses python3 pps-tools"
|
||||||
PROVIDES = "virtual/gpsd"
|
PROVIDES = "virtual/gpsd"
|
||||||
|
|
||||||
SRC_URI = "${SAVANNAH_GNU_MIRROR}/${BPN}/${BP}.tar.gz \
|
SRC_URI = "${SAVANNAH_GNU_MIRROR}/${BPN}/${BP}.tar.gz \
|
||||||
@@ -84,7 +84,7 @@ do_install_append() {
|
|||||||
install -m 0644 ${S}/systemd/${BPN}.socket ${D}${systemd_unitdir}/system/${BPN}.socket
|
install -m 0644 ${S}/systemd/${BPN}.socket ${D}${systemd_unitdir}/system/${BPN}.socket
|
||||||
}
|
}
|
||||||
|
|
||||||
PACKAGES =+ "libgps libgpsd python-pygps gpsd-udev gpsd-conf gpsd-gpsctl gps-utils"
|
PACKAGES =+ "libgps libgpsd python3-pygps gpsd-udev gpsd-conf gpsd-gpsctl gps-utils"
|
||||||
|
|
||||||
RPROVIDES_${PN}-dbg += "python-pygps-dbg"
|
RPROVIDES_${PN}-dbg += "python-pygps-dbg"
|
||||||
|
|
||||||
@@ -114,17 +114,17 @@ FILES_gpsd-gpsctl = "${bindir}/gpsctl"
|
|||||||
SUMMARY_gps-utils = "Utils used for simulating, monitoring,... a GPS"
|
SUMMARY_gps-utils = "Utils used for simulating, monitoring,... a GPS"
|
||||||
# Python files are required for gps/fake, required for gpsfake.
|
# Python files are required for gps/fake, required for gpsfake.
|
||||||
FILES_gps-utils = "${bindir}/* ${libdir}/gps/*.py ${libdir}/gps/*.so"
|
FILES_gps-utils = "${bindir}/* ${libdir}/gps/*.py ${libdir}/gps/*.so"
|
||||||
RDEPENDS_gps-utils = "python-pygps"
|
RDEPENDS_gps-utils = "python3-pygps"
|
||||||
|
|
||||||
SUMMARY_python-pygps = "Python bindings to gpsd"
|
SUMMARY_python3-pygps = "Python bindings to gpsd"
|
||||||
FILES_python-pygps = "${PYTHON_SITEPACKAGES_DIR}/* ${libdir}/gps/*.py ${libdir}/*.egg-info"
|
FILES_python3-pygps = "${PYTHON_SITEPACKAGES_DIR}/* ${libdir}/gps/*.py ${libdir}/*.egg-info"
|
||||||
RDEPENDS_python-pygps = " \
|
RDEPENDS_python3-pygps = " \
|
||||||
python-core \
|
python3-core \
|
||||||
python-io \
|
python3-io \
|
||||||
python-threading \
|
python3-threading \
|
||||||
python-terminal \
|
python3-terminal \
|
||||||
gpsd \
|
gpsd \
|
||||||
python-json"
|
python3-json"
|
||||||
|
|
||||||
RPROVIDES_${PN} += "${PN}-systemd"
|
RPROVIDES_${PN} += "${PN}-systemd"
|
||||||
RREPLACES_${PN} += "${PN}-systemd"
|
RREPLACES_${PN} += "${PN}-systemd"
|
||||||
|
|||||||
Reference in New Issue
Block a user