[meta-oe] Add pycups - python bindings for CUPS

Message ID 20211221214914.1882209-1-claus.stovgaard@gmail.com
State New
Headers show
Series [meta-oe] Add pycups - python bindings for CUPS | expand

Commit Message

Claus Stovgaard Dec. 21, 2021, 9:49 p.m. UTC
From: Claus Stovgaard <clst@ambu.com>

Used for access cups and control printers from python.
Placed in meta-oe together with the rest of printing support, as
tools like system-config-printer depend on pycups.

Signed-off-by: Claus Stovgaard <clst@ambu.com>
---
 .../python/python3-pycups_2.0.1.bb            | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/python/python3-pycups_2.0.1.bb

Patch

diff --git a/meta-oe/recipes-devtools/python/python3-pycups_2.0.1.bb b/meta-oe/recipes-devtools/python/python3-pycups_2.0.1.bb
new file mode 100644
index 000000000..dd00f444e
--- /dev/null
+++ b/meta-oe/recipes-devtools/python/python3-pycups_2.0.1.bb
@@ -0,0 +1,19 @@ 
+# Python bindings for libcups, from the CUPS project.
+#
+# Copyright (c) Ambu A/S - All rights reserved
+# SPDX-License-Identifier: MIT
+#
+# Author(s)
+#   clst@ambu.com (Claus Stovgaard)
+#
+
+DESCRIPTION = "pycups - CUPS bindings for Python"
+HOMEPAGE = "https://github.com/OpenPrinting/pycups"
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+DEPENDS += "cups"
+
+# See https://pypi.org/project/pycups/ for data
+SRC_URI[sha256sum] = "57434ce5f62548eb12949ca8217f066f4eeb21a5d6ab8b13471dce350e380c90"
+
+inherit pypi setuptools3
\ No newline at end of file