aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Orling <timothy.t.orling@linux.intel.com>2018-06-21 14:38:13 -0700
committerTim Orling <timothy.t.orling@linux.intel.com>2018-06-21 14:43:35 -0700
commit53c30e87134b8828dbd05e000b5abef48d8639d7 (patch)
tree9cf8c18dc7910688c5849c290bed27a55c38a456
parentde3a29ddc3f744851ce6ada5705e5d6ed70812f2 (diff)
downloadmeta-openembedded-contrib-53c30e87134b8828dbd05e000b5abef48d8639d7.tar.gz
meta-openembedded-contrib-53c30e87134b8828dbd05e000b5abef48d8639d7.tar.bz2
meta-openembedded-contrib-53c30e87134b8828dbd05e000b5abef48d8639d7.zip
[WIP] python3-dogtail: Add recipe for 0.9.10+gittimo/python3-dogtail
Dogtail is a GUI automation framework. Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
-rw-r--r--meta-python/recipes-devtools/python/python3-dogtail/run-ptest3
-rw-r--r--meta-python/recipes-devtools/python/python3-dogtail_git.bb103
2 files changed, 106 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-dogtail/run-ptest b/meta-python/recipes-devtools/python/python3-dogtail/run-ptest
new file mode 100644
index 0000000000..84b62f7eef
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-dogtail/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+nosetests3 -v tests/
diff --git a/meta-python/recipes-devtools/python/python3-dogtail_git.bb b/meta-python/recipes-devtools/python/python3-dogtail_git.bb
new file mode 100644
index 0000000000..0f6e6cecf6
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-dogtail_git.bb
@@ -0,0 +1,103 @@
+# Recipe created by recipetool
+# This is the basis of a recipe and may need further editing in order to be fully functional.
+# (Feel free to remove these comments when editing.)
+
+HOMEPAGE = "http://dogtail.fedorahosted.org/"
+# WARNING: the following LICENSE and LIC_FILES_CHKSUM values are best guesses - it is
+# your responsibility to verify that the values are complete and correct.
+#
+# The following license files were not able to be identified and are
+# represented as "Unknown" below, you will need to check them yourself:
+# examples/COPYING
+#
+# NOTE: multiple licenses have been detected; they have been separated with &
+# in the LICENSE value for now since it is a reasonable assumption that all
+# of the licenses apply. If instead there is a choice between the multiple
+# licenses then you should change the value to separate the licenses with |
+# instead of &. If there is any doubt, check the accompanying documentation
+# to determine which situation is applicable.
+LICENSE = "GPLv2 & PD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \
+ file://examples/COPYING;md5=e012ede43b30fda895555797c3ef4b55"
+
+SRC_URI = "git://gitlab.com/dogtail/dogtail.git;protocol=https \
+ file://run-ptest \
+"
+
+# Modify these as desired
+PV = "0.9.10+git${SRCPV}"
+SRCREV = "75927dd63fc84fb8b5eea0498d0de7c2c3624506"
+
+S = "${WORKDIR}/git"
+
+inherit setuptools3 ptest
+
+# WARNING: the following rdepends are determined through basic analysis of the
+# python sources, and might not be 100% accurate.
+RDEPENDS_${PN} += " \
+ python3-codecs \
+ python3-core \
+ python3-pygobject \
+ python3-io \
+ python3-math \
+ python3-pyatspi \
+ python3-pycairo \
+ python3-shell \
+"
+
+RDEPENDS_${PN}-ptest += "gsettings-desktop-schemas python3-nose"
+
+do_install_ptest() {
+ install -d ${D}${PTEST_PATH}/tests
+ cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+}
+
+# WARNING: We were unable to map the following python package/module
+# dependencies to the bitbake packages which include them:
+# Accessibility
+# apt_pkg (distro)
+# cairo
+# conaryclient (distro)
+# gi
+# gi.repository
+# gi.repository.Gio
+# portage (distro)
+# pyatspi
+# rpm (distro)
+
+FILES_${PN} += " \
+ /usr/share/icons \
+ /usr/share/dogtail \
+ /usr/share/icons/hicolor \
+ /usr/share/icons/hicolor/scalable \
+ /usr/share/icons/hicolor/scalable/apps \
+ /usr/share/icons/hicolor/scalable/apps/dogtail-head.svg \
+ /usr/share/icons/hicolor/scalable/apps/dogtail-tail.svg \
+ /usr/share/dogtail/icons \
+ /usr/share/dogtail/glade \
+ /usr/share/dogtail/icons/table.xpm \
+ /usr/share/dogtail/icons/tree.xpm \
+ /usr/share/dogtail/icons/notebook.xpm \
+ /usr/share/dogtail/icons/statusbar.xpm \
+ /usr/share/dogtail/icons/text.xpm \
+ /usr/share/dogtail/icons/scrolledwindow.xpm \
+ /usr/share/dogtail/icons/menuitem.xpm \
+ /usr/share/dogtail/icons/combo.xpm \
+ /usr/share/dogtail/icons/viewport.xpm \
+ /usr/share/dogtail/icons/label.xpm \
+ /usr/share/dogtail/icons/checkbutton.xpm \
+ /usr/share/dogtail/icons/vseparator.xpm \
+ /usr/share/dogtail/icons/menubar.xpm \
+ /usr/share/dogtail/icons/checkmenuitem.xpm \
+ /usr/share/dogtail/icons/spinbutton.xpm \
+ /usr/share/dogtail/icons/dialog.xpm \
+ /usr/share/dogtail/icons/window.xpm \
+ /usr/share/dogtail/icons/toolbar.xpm \
+ /usr/share/dogtail/icons/unknown.xpm \
+ /usr/share/dogtail/icons/treeitem.xpm \
+ /usr/share/dogtail/icons/vscrollbar.xpm \
+ /usr/share/dogtail/icons/image.xpm \
+ /usr/share/dogtail/icons/colorselection.xpm \
+ /usr/share/dogtail/icons/button.xpm \
+ /usr/share/dogtail/glade/sniff.ui \
+"