Skip to contentSkip to conversation

python3-pyatspi: Add Dbus ATSPI recipe

PATCH In review Chan, Aaron Chun Yew 2 participants 4 messages Jul 20, 2019 – Jul 24, 2019 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH v2 1/1 python3-pyatspi: Add Dbus ATSPI recipe

From: Aaron Chan <[email protected]>

pyatspi provide python3 support for Assistive Technology Service Provide Interface (AT-SPI2) protocol over Dbus.

This is useful not only for Accessibility (a11y) but also provides a medium for automation of GUI testing (such as python3-dogtail).

---
 .../recipes-devtools/python/python3-pyatspi_2.32.1.bb    | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb
meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb new file +16 -0
new file mode 100644
index 0000000..6d80c10
@@ -0,0 +1,16 @@
+SUMMARY = "Python bindings for DBus AT-SPI2 accessibility"
+DESCRIPTION = "AT-SPI2 is a protocol over DBus, toolkit widgets use to provide content to screen readers such as Orca"
+SECTION = "devel/python"
+HOMEPAGE = "https://www.freedesktop.org/wiki/Accessibility/AT-SPI2/"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=e9f288ba982d60518f375b5898283886 \
+                    file://COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
+DEPENDS = "python3-dbus-native glib-2.0 dbus-glib libxml2 atk gtk+ python3-pygobject"
+
+SRC_URI = "git://github.com/GNOME/pyatspi2.git;protocol=https;branch=gnome-3-32"
+SRCREV = "dc4565208fca00da06b972915a080ad3c63f640d"
+S = "${WORKDIR}/git" 
+
+inherit pkgconfig autotools python3native
+
+FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/pyatspi/*"

--
2.7.4

#2 lore raw

Parsing errors seen

18:07:40 ERROR: Nothing PROVIDES 'python3-dbus-native' (but /mnt/jenkins/workspace/yocto-world/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb DEPENDS on or otherwise requires it). Close matches:

18:07:40   python3-absl-native
18:07:40   python3-gitdb-native
18:07:40   python3-six-native

.....

18:07:41 ERROR: Nothing RPROVIDES 'python3-pyatspi' (but /mnt/jenkins/workspace/yocto-world/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb RDEPENDS on or otherwise requires it)
18:07:41 No eligible RPROVIDERs exist for 'python3-pyatspi'
18:07:41 ERROR: Nothing RPROVIDES 'python3-pyatspi-dev' (but /mnt/jenkins/workspace/yocto-world/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb RDEPENDS on or otherwise requires it)
18:07:41 No eligible RPROVIDERs exist for 'python3-pyatspi-dev'

Quoted 38 lines · Aaron Chun Yew

From: Aaron Chan <[email protected]>

pyatspi provide python3 support for Assistive Technology Service Provide Interface (AT-SPI2) protocol over Dbus.

This is useful not only for Accessibility (a11y) but also provides a medium for automation of GUI testing (such as python3-dogtail).

---
 .../recipes-devtools/python/python3-pyatspi_2.32.1.bb    | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb
meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb new file +16 -1
new file mode 100644
index 0000000..6d80c10
@@ -0,0 +1,16 @@
+SUMMARY = "Python bindings for DBus AT-SPI2 accessibility"
+DESCRIPTION = "AT-SPI2 is a protocol over DBus, toolkit widgets use to provide content to screen readers such as Orca"
+SECTION = "devel/python"
+HOMEPAGE = "https://www.freedesktop.org/wiki/Accessibility/AT-SPI2/"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=e9f288ba982d60518f375b5898283886 \
+                    file://COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
+DEPENDS = "python3-dbus-native glib-2.0 dbus-glib libxml2 atk gtk+ python3-pygobject"
+
+SRC_URI = "git://github.com/GNOME/pyatspi2.git;protocol=https;branch=gnome-3-32"
+SRCREV = "dc4565208fca00da06b972915a080ad3c63f640d"
+S = "${WORKDIR}/git"
+
+inherit pkgconfig autotools python3native
+
+FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/pyatspi/*"
--

2.7.4

#3 lore raw

Hi Khem,

The parsing error was due to missing native support for python3-dbus-native in another patch I submitted today.
http://lists.openembedded.org/pipermail/openembedded-core/2019-July/284963.html

-----Original Message-----
From: Khem Raj [mailto:[email protected]]
Sent: Sunday, July 21, 2019 2:11 AM
To: Chan, Aaron Chun Yew <[email protected]>
Cc: [email protected]
Subject: Re: [meta-python][PATCH v2] python3-pyatspi: Add Dbus ATSPI recipe

Parsing errors seen

18:07:40 ERROR: Nothing PROVIDES 'python3-dbus-native' (but /mnt/jenkins/workspace/yocto-world/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb DEPENDS on or otherwise requires it). Close matches:

18:07:40   python3-absl-native
18:07:40   python3-gitdb-native
18:07:40   python3-six-native

.....

18:07:41 ERROR: Nothing RPROVIDES 'python3-pyatspi' (but /mnt/jenkins/workspace/yocto-world/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb RDEPENDS on or otherwise requires it)
18:07:41 No eligible RPROVIDERs exist for 'python3-pyatspi'
18:07:41 ERROR: Nothing RPROVIDES 'python3-pyatspi-dev' (but /mnt/jenkins/workspace/yocto-world/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb RDEPENDS on or otherwise requires it)
18:07:41 No eligible RPROVIDERs exist for 'python3-pyatspi-dev'

Quoted 41 lines · Aaron Chun Yew

From: Aaron Chan <[email protected]>

pyatspi provide python3 support for Assistive Technology Service Provide Interface (AT-SPI2) protocol over Dbus.

This is useful not only for Accessibility (a11y) but also provides a medium for automation of GUI testing (such as python3-dogtail).

---
 .../recipes-devtools/python/python3-pyatspi_2.32.1.bb    | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 

meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb

(quoted diff) +0 -0

a/meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb b/meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb new file mode 100644
index 0000000..6d80c10

meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb new file +16 -1
@@ -0,0 +1,16 @@
+SUMMARY = "Python bindings for DBus AT-SPI2 accessibility"
+DESCRIPTION = "AT-SPI2 is a protocol over DBus, toolkit widgets use to provide content to screen readers such as Orca"
+SECTION = "devel/python"
+HOMEPAGE = "https://www.freedesktop.org/wiki/Accessibility/AT-SPI2/"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=e9f288ba982d60518f375b5898283886 \
+                    file://COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
+DEPENDS = "python3-dbus-native glib-2.0 dbus-glib libxml2 atk gtk+ python3-pygobject"
+
+SRC_URI = "git://github.com/GNOME/pyatspi2.git;protocol=https;branch=gnome-3-32"
+SRCREV = "dc4565208fca00da06b972915a080ad3c63f640d"
+S = "${WORKDIR}/git"
+
+inherit pkgconfig autotools python3native
+
+FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/pyatspi/*"
--

2.7.4

#4 lore raw

Ok, thanks.

Quoted 89 lines · Aaron Chun Yew

Hi Khem,

The parsing error was due to missing native support for python3-dbus-native in another patch I submitted today.

http://lists.openembedded.org/pipermail/openembedded-core/2019-July/284963.html

-----Original Message-----
From: Khem Raj [mailto:[email protected]]
Sent: Sunday, July 21, 2019 2:11 AM
To: Chan, Aaron Chun Yew <[email protected]>
Cc: [email protected]
Subject: Re: [meta-python][PATCH v2] python3-pyatspi: Add Dbus ATSPI recipe

Parsing errors seen

18:07:40 ERROR: Nothing PROVIDES 'python3-dbus-native' (but /mnt/jenkins/workspace/yocto-world/sources/meta-openembedded/meta-python/recipes-devtools/python/ python3-pyatspi_2.32.1.bb
DEPENDS on or otherwise requires it). Close matches:

18:07:40   python3-absl-native
18:07:40   python3-gitdb-native
18:07:40   python3-six-native

.....

18:07:41 ERROR: Nothing RPROVIDES 'python3-pyatspi' (but /mnt/jenkins/workspace/yocto-world/sources/meta-openembedded/meta-python/recipes-devtools/python/ python3-pyatspi_2.32.1.bb
RDEPENDS on or otherwise requires it)
18:07:41 No eligible RPROVIDERs exist for 'python3-pyatspi'
18:07:41 ERROR: Nothing RPROVIDES 'python3-pyatspi-dev' (but /mnt/jenkins/workspace/yocto-world/sources/meta-openembedded/meta-python/recipes-devtools/python/ python3-pyatspi_2.32.1.bb
RDEPENDS on or otherwise requires it)
18:07:41 No eligible RPROVIDERs exist for 'python3-pyatspi-dev'

Quoted 4 lines · Aaron Chun Yew

From: Aaron Chan <[email protected]>

pyatspi provide python3 support for Assistive Technology Service Provide

Interface (AT-SPI2) protocol over Dbus.

Quoted 2 lines

This is useful not only for Accessibility (a11y) but also provides a

medium for automation of GUI testing (such as python3-dogtail).

Quoted 4 lines
---
 .../recipes-devtools/python/python3-pyatspi_2.32.1.bb    | 16

++++++++++++++++

Quoted 12 lines
 1 file changed, 16 insertions(+)
 create mode 100644

meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb

diff --git a/meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb b/meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb new file mode 100644
index 0000000..6d80c10

meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb line 2

Quoted 2 lines
meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb new file +2 -0
@@ -0,0 +1,16 @@
+SUMMARY = "Python bindings for DBus AT-SPI2 accessibility"
+DESCRIPTION = "AT-SPI2 is a protocol over DBus, toolkit widgets use to

provide content to screen readers such as Orca"

meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb

Quoted 4 lines
meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb new file +4 -0
+SECTION = "devel/python"
+HOMEPAGE = "https://www.freedesktop.org/wiki/Accessibility/AT-SPI2/"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=e9f288ba982d60518f375b5898283886

\

meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb line 7

Quoted 1 line
meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb new file +1 -0
+

file://COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"

meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb line 8

Quoted 1 line
meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb new file +1 -0
+DEPENDS = "python3-dbus-native glib-2.0 dbus-glib libxml2 atk gtk+

python3-pygobject"

meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb line 10

Quoted 2 lines
meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb new file +2 -0
+
+SRC_URI = "git://

github.com/GNOME/pyatspi2.git;protocol=https;branch=gnome-3-32"

Quoted 9 lines
meta-python/recipes-devtools/python/python3-pyatspi_2.32.1.bb new file +6 -1
+SRCREV = "dc4565208fca00da06b972915a080ad3c63f640d"
+S = "${WORKDIR}/git"
+
+inherit pkgconfig autotools python3native
+
+FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/pyatspi/*"
--

2.7.4