package/python-pycups: new package
authorJoseph Kogut <joseph.kogut@gmail.com>
Mon, 24 Aug 2020 21:48:57 +0000 (14:48 -0700)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 5 Dec 2020 21:31:22 +0000 (22:31 +0100)
Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/Config.in
package/python-pycups/Config.in [new file with mode: 0644]
package/python-pycups/python-pycups.hash [new file with mode: 0644]
package/python-pycups/python-pycups.mk [new file with mode: 0644]

index 9f6d18131c8b84f33ff20df94babb11df3cff872..b839a0d113bcaab4d432d44dd29c508330e6855f 100644 (file)
@@ -1375,6 +1375,7 @@ F:        package/libnss/
 F:     package/lld/
 F:     package/llvm/
 F:     package/python-cython/
+F:     package/python-pycups/
 F:     package/python-raven/
 F:     package/python-schedule/
 F:     package/python-sentry-sdk/
index 3c5664f7236e08219619d6082af775c844760b5a..39c91645adf583d158deb8119944e7583b59f040 100644 (file)
@@ -1098,6 +1098,7 @@ menu "External python modules"
        source "package/python-pycli/Config.in"
        source "package/python-pycparser/Config.in"
        source "package/python-pycryptodomex/Config.in"
+       source "package/python-pycups/Config.in"
        source "package/python-pydal/Config.in"
        source "package/python-pydantic/Config.in"
        source "package/python-pyelftools/Config.in"
diff --git a/package/python-pycups/Config.in b/package/python-pycups/Config.in
new file mode 100644 (file)
index 0000000..eeaf70c
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_PYCUPS
+       bool "python-pycups"
+       depends on BR2_PACKAGE_CUPS
+       help
+         Python bindings for libcups.
+
+         https://github.com/zdohnal/pycups
diff --git a/package/python-pycups/python-pycups.hash b/package/python-pycups/python-pycups.hash
new file mode 100644 (file)
index 0000000..d1498b6
--- /dev/null
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/pycups/json
+md5  41eef188b86d01ccfdbaaa05cf0f6ca4  pycups-2.0.1.tar.gz
+sha256  57434ce5f62548eb12949ca8217f066f4eeb21a5d6ab8b13471dce350e380c90  pycups-2.0.1.tar.gz
+# Locally computed sha256 checksums
+sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING
diff --git a/package/python-pycups/python-pycups.mk b/package/python-pycups/python-pycups.mk
new file mode 100644 (file)
index 0000000..41da364
--- /dev/null
@@ -0,0 +1,15 @@
+################################################################################
+#
+# python-pycups
+#
+################################################################################
+
+PYTHON_PYCUPS_VERSION = 2.0.1
+PYTHON_PYCUPS_SOURCE = pycups-$(PYTHON_PYCUPS_VERSION).tar.gz
+PYTHON_PYCUPS_SITE = https://files.pythonhosted.org/packages/0c/bb/82546806a86dc16f5eeb76f62ffdc42cce3d43aacd4e25a8b5300eec0263
+PYTHON_PYCUPS_SETUP_TYPE = distutils
+PYTHON_PYCUPS_LICENSE = GPL-2.0+
+PYTHON_PYCUPS_LICENSE_FILES = COPYING
+PYTHON_PYCUPS_DEPENDENCIES = cups
+
+$(eval $(python-package))