All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joseph Kogut <joseph.kogut@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/python-pycups: new package
Date: Mon, 24 Aug 2020 14:48:57 -0700	[thread overview]
Message-ID: <20200824214857.4090659-1-joseph.kogut@gmail.com> (raw)

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
---
 DEVELOPERS                               |  1 +
 package/Config.in                        |  1 +
 package/python-pycups/Config.in          |  7 +++++++
 package/python-pycups/python-pycups.hash |  5 +++++
 package/python-pycups/python-pycups.mk   | 15 +++++++++++++++
 5 files changed, 29 insertions(+)
 create mode 100644 package/python-pycups/Config.in
 create mode 100644 package/python-pycups/python-pycups.hash
 create mode 100644 package/python-pycups/python-pycups.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index bba3fd6029..74e05d640a 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1385,6 +1385,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/
diff --git a/package/Config.in b/package/Config.in
index d7e79f4795..61a5ec8dc9 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1080,6 +1080,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
index 0000000000..eeaf70c9e6
--- /dev/null
+++ b/package/python-pycups/Config.in
@@ -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
index 0000000000..d1498b61cf
--- /dev/null
+++ b/package/python-pycups/python-pycups.hash
@@ -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
index 0000000000..7572040325
--- /dev/null
+++ b/package/python-pycups/python-pycups.mk
@@ -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 = GNU General Public License (GPL)
+PYTHON_PYCUPS_LICENSE_FILES = COPYING
+PYTHON_PYCUPS_DEPENDENCIES = cups
+
+$(eval $(python-package))
-- 
2.28.0

             reply	other threads:[~2020-08-24 21:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-24 21:48 Joseph Kogut [this message]
2020-08-25  6:41 ` [Buildroot] [PATCH 1/1] package/python-pycups: new package Asaf Kahlon
2020-08-25  8:08   ` Thomas Petazzoni
2020-08-25 10:55     ` Asaf Kahlon
2020-08-25 11:07       ` Thomas Petazzoni
2020-08-25 11:29         ` Asaf Kahlon
2020-08-25 23:14           ` Joseph Kogut
2020-12-05 21:32 ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200824214857.4090659-1-joseph.kogut@gmail.com \
    --to=joseph.kogut@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.