All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-python][PATCH 1/2] python3-screeninfo: add recipe
@ 2023-11-03 13:24 Leon Anavi
  2023-11-03 13:24 ` [meta-python][PATCH 2/2] python3-unoconv: " Leon Anavi
  0 siblings, 1 reply; 2+ messages in thread
From: Leon Anavi @ 2023-11-03 13:24 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Leon Anavi

Add screeninfo, fetch location and size of physical screens.
Versions 0.8.1 and 0.8.0 changelog:

- Added typing information
- Started tracking changes
- Switched to poetry
- Added ignoring of enumerators that work, but return no valid
  monitors
- Added ScreenInfoError to list of top-level symbols

This work was sponsored by GOVCERT.LU.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../python/python3-screeninfo_0.8.1.bb           | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-screeninfo_0.8.1.bb

diff --git a/meta-python/recipes-devtools/python/python3-screeninfo_0.8.1.bb b/meta-python/recipes-devtools/python/python3-screeninfo_0.8.1.bb
new file mode 100644
index 000000000..0fb3f3a22
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-screeninfo_0.8.1.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "Fetch location and size of physical screens."
+HOMEPAGE = "https://github.com/rr-/screeninfo"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.md;md5=a23813181e06852d377bc25ae5563a97"
+
+PYPI_PACKAGE = "screeninfo"
+
+SRC_URI[sha256sum] = "9983076bcc7e34402a1a9e4d7dabf3729411fd2abb3f3b4be7eba73519cd2ed1"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} += "\
+    ${PYTHON_PN}-core \
+    ${PYTHON_PN}-profile \
+"
-- 
2.39.2



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [meta-python][PATCH 2/2] python3-unoconv: add recipe
  2023-11-03 13:24 [meta-python][PATCH 1/2] python3-screeninfo: add recipe Leon Anavi
@ 2023-11-03 13:24 ` Leon Anavi
  0 siblings, 0 replies; 2+ messages in thread
From: Leon Anavi @ 2023-11-03 13:24 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Leon Anavi

Add unoconv version 0.9.0, an universal office converter - convert
between any document format supported by LibreOffice/OpenOffice.

This work was sponsored by GOVCERT.LU.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../python/python3-unoconv_0.9.0.bb           | 23 +++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-unoconv_0.9.0.bb

diff --git a/meta-python/recipes-devtools/python/python3-unoconv_0.9.0.bb b/meta-python/recipes-devtools/python/python3-unoconv_0.9.0.bb
new file mode 100644
index 000000000..3c944b4f2
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-unoconv_0.9.0.bb
@@ -0,0 +1,23 @@
+SUMMARY = "Universal Office Converter - Office document conversion"
+HOMEPAGE = "https://github.com/unoconv/unoconv"
+LICENSE = "GPL-2.0-only"
+SECTION = "devel/python"
+LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
+
+SRC_URI[sha256sum] = "308ebfd98e67d898834876348b27caf41470cd853fbe2681cc7dacd8fd5e6031"
+
+inherit pypi setuptools3
+
+PYPI_PACKAGE="unoconv"
+
+RDEPENDS:${PN} += "\
+    ${PYTHON_PN}-distutils \
+    ${PYTHON_PN}-core \
+    ${PYTHON_PN}-shell \
+"
+
+do_install:append() {
+  sed -i -e 's:^#!/usr/bin/env python$:#!/usr/bin/env python3:' ${D}/usr/bin/unoconv
+}
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.39.2



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-11-03 13:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-03 13:24 [meta-python][PATCH 1/2] python3-screeninfo: add recipe Leon Anavi
2023-11-03 13:24 ` [meta-python][PATCH 2/2] python3-unoconv: " Leon Anavi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.