[oe] [meta-python][PATCH] python-hyperlink: add a recipe for version 17.3.1

Derek Straka derek at asterius.io
Wed Nov 1 15:37:51 UTC 2017


Signed-off-by: Derek Straka <derek at asterius.io>
---
 .../recipes-devtools/python/python-hyperlink.inc        | 17 +++++++++++++++++
 .../recipes-devtools/python/python-hyperlink_17.3.1.bb  |  2 ++
 .../recipes-devtools/python/python3-hyperlink_17.3.1.bb |  4 ++++
 3 files changed, 23 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-hyperlink.inc
 create mode 100644 meta-python/recipes-devtools/python/python-hyperlink_17.3.1.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-hyperlink_17.3.1.bb

diff --git a/meta-python/recipes-devtools/python/python-hyperlink.inc b/meta-python/recipes-devtools/python/python-hyperlink.inc
new file mode 100644
index 0000000..2b5b0a0
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-hyperlink.inc
@@ -0,0 +1,17 @@
+DESCRIPTION = "A featureful, correct URL for Python"
+HOMEPAGE = "https://github.com/python-hyper/hyperlink"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3893d4ed05dcc823f8ed685a9ea19bcb"
+
+SRC_URI[md5sum] = "eaccb9845b559817e838846669cbc68a"
+SRC_URI[sha256sum] = "bc4ffdbde9bdad204d507bd8f554f16bba82dd356f6130cb16f41422909c33bc"
+
+inherit pypi
+
+RDEPENDS_${PN} += "${PYTHON_PN}-stringold ${PYTHON_PN}-netclient"
+
+PACKAGES =. "${PN}-test "
+
+FILES_${PN}-test += " \
+        ${PYTHON_SITEPACKAGES_DIR}/hyperlinkt/test \
+"
diff --git a/meta-python/recipes-devtools/python/python-hyperlink_17.3.1.bb b/meta-python/recipes-devtools/python/python-hyperlink_17.3.1.bb
new file mode 100644
index 0000000..59a9a5c
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-hyperlink_17.3.1.bb
@@ -0,0 +1,2 @@
+inherit setuptools
+require python-hyperlink.inc
diff --git a/meta-python/recipes-devtools/python/python3-hyperlink_17.3.1.bb b/meta-python/recipes-devtools/python/python3-hyperlink_17.3.1.bb
new file mode 100644
index 0000000..3d30af2
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-hyperlink_17.3.1.bb
@@ -0,0 +1,4 @@
+inherit setuptools3
+require python-hyperlink.inc
+
+RDEPENDS_${PN} += "${PYTHON_PN}-selectors ${PYTHON_PN}-enum"
-- 
2.7.4




More information about the Openembedded-devel mailing list