Skip to contentSkip to conversation

kms++: update to the latest, package python bindings

PATCH In review Denys Dmytriyenko 1 participant 2 messages Feb 16, 2017 – Feb 18, 2017 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kms++: update to the latest, package python bindings

Cc Tomi Valkeinen <[email protected]>
Cc Alejandro Hernandez <[email protected]>
---
 meta-arago-extras/recipes-graphics/kms++/kms++_git.bb | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
meta-arago-extras/recipes-graphics/kms++/kms++_git.bb +8 -4
index 9b30569..121479b 100644
@@ -4,17 +4,21 @@ LICENSE = "MPL-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=c670e18272184fc0e86e1648678b4f2a"
 
 PV = "1.0"
-PR = "r0"
+PR = "r1"
 
 BRANCH = "master"
 SRC_URI = "git://github.com/tomba/kmsxx.git;protocol=git;branch=${BRANCH}"
-SRCREV = "546e8d16dbc4dc74038dbcf86567186dbd80c3ab"
+SRCREV = "6d28a0dd5d6747116f631d24bcc59d944a1b8b95"
 
-DEPENDS = "drm python3 python3-pybind11"
+DEPENDS = "drm python3-pybind11"
+
+PACKAGES =+ "${PN}-python"
+
+FILES_${PN}-python += "${libdir}/python*/site-packages"
 
 S = "${WORKDIR}/git"
 
-inherit cmake update-alternatives
+inherit python3native cmake update-alternatives
 
 ALTERNATIVE_PRIORITY = "100"
 ALTERNATIVE_${PN} = "kmstest"
Signature · 1 line
2.7.4
#2 lore raw
In reply to a message not in the archive
Quoted 24 lines · Tomi Valkeinen
Quoted 23 lines · Denys Dmytriyenko
Cc Tomi Valkeinen <[email protected]>
Cc Alejandro Hernandez <[email protected]>
---
 meta-arago-extras/recipes-graphics/kms++/kms++_git.bb | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
meta-arago-extras/recipes-graphics/kms++/kms++_git.bb +2 -2
index 9b30569..121479b 100644
@@ -4,17 +4,21 @@ LICENSE = "MPL-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=c670e18272184fc0e86e1648678b4f2a"
 
 PV = "1.0"
-PR = "r0"
+PR = "r1"
 
 BRANCH = "master"
 SRC_URI = "git://github.com/tomba/kmsxx.git;protocol=git;branch=${BRANCH}"
-SRCREV = "546e8d16dbc4dc74038dbcf86567186dbd80c3ab"
+SRCREV = "6d28a0dd5d6747116f631d24bcc59d944a1b8b95"
 
Quoted 7 lines

meta-arago-extras/recipes-graphics/kms++/kms++_git.bb LICENSE = "MPL-2.0" · line 13

Quoted 2 lines
meta-arago-extras/recipes-graphics/kms++/kms++_git.bb +1 -1
-DEPENDS = "drm python3 python3-pybind11"
+DEPENDS = "drm python3-pybind11"

I'm not familiar with the packaging so I could be wrong, but I presume these are dependencies to other packages? kms++ gets pybind11 as a git submodule, so I don't think there should be a dependency to python3-pybind11 package.

Tomi,

That wasn't the case before, right? If that's how it works now, then we can probably drop that dependency.

Signature · 1 line
Denys