[oe] [meta-python][PATCH] python-pyperclip: add an initial recipe for version 1.6.0

Derek Straka derek at asterius.io
Tue Dec 26 16:12:29 UTC 2017


Signed-off-by: Derek Straka <derek at asterius.io>
---
 meta-python/recipes-devtools/python/python-pyperclip.inc    | 13 +++++++++++++
 .../recipes-devtools/python/python-pyperclip_1.6.0.bb       |  4 ++++
 .../recipes-devtools/python/python3-pyperclip_1.6.0.bb      |  2 ++
 3 files changed, 19 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-pyperclip.inc
 create mode 100644 meta-python/recipes-devtools/python/python-pyperclip_1.6.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-pyperclip_1.6.0.bb

diff --git a/meta-python/recipes-devtools/python/python-pyperclip.inc b/meta-python/recipes-devtools/python/python-pyperclip.inc
new file mode 100644
index 0000000..c712fdd
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pyperclip.inc
@@ -0,0 +1,13 @@
+DESCRIPTION = "A cross-platform clipboard module for Python. (only handles plain text for now)"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://PKG-INFO;md5=1ed92115c8f96b19ec34ed09df586e51"
+
+SRC_URI[md5sum] = "d2f6a3129cd6f2518b52bb0b8deeeda7"
+SRC_URI[sha256sum] = "ce829433a9af640e08ee89b20f7c62132714bcc5d77df114044d0fccb8c3b3b8"
+
+inherit pypi
+
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-ctypes \
+    ${PYTHON_PN}-subprocess \
+"
diff --git a/meta-python/recipes-devtools/python/python-pyperclip_1.6.0.bb b/meta-python/recipes-devtools/python/python-pyperclip_1.6.0.bb
new file mode 100644
index 0000000..6e93b81
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pyperclip_1.6.0.bb
@@ -0,0 +1,4 @@
+inherit setuptools
+require python-pyperclip.inc
+
+RDEPENDS_${PN} += "${PYTHON_PN}-contextlib"
diff --git a/meta-python/recipes-devtools/python/python3-pyperclip_1.6.0.bb b/meta-python/recipes-devtools/python/python3-pyperclip_1.6.0.bb
new file mode 100644
index 0000000..ee6f88b
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pyperclip_1.6.0.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-pyperclip.inc
-- 
2.7.4




More information about the Openembedded-devel mailing list