Skip to contentSkip to conversation

python-dnspython: add initial recipe with version 1.15.0

PATCH New Derek Straka 1 participant 1 message Mar 3, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-dnspython: add initial recipe with version 1.15.0

---
 .../recipes-devtools/python/python-dnspython.inc     | 20 ++++++++++++++++++++
 .../python/python-dnspython_1.15.0.bb                |  2 ++
 .../python/python3-dnspython_1.15.0.bb               |  9 +++++++++
 3 files changed, 31 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-dnspython.inc
 create mode 100644 meta-python/recipes-devtools/python/python-dnspython_1.15.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-dnspython_1.15.0.bb
meta-python/recipes-devtools/python/python-dnspython.inc new file +20 -0
new file mode 100644
index 0000000..6a04429
@@ -0,0 +1,20 @@
+DESCRIPTION = "DNS toolkit for Python"
+HOMEPAGE = "http://www.dnspython.org/"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b9d855ee0d7bea17c8b0994d37985e1e"
+
+SRC_URI[md5sum] = "05d33ffb5d8f35ae0474bb952778a344"
+SRC_URI[sha256sum] = "40f563e1f7a7b80dc5a4e76ad75c23da53d62f1e15e6e517293b04e1f84ead7c"
+
+PYPI_PACKAGE_EXT = "zip"
+
+inherit pypi
+
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-crypt \
+    ${PYTHON_PN}-io \
+    ${PYTHON_PN}-math \
+    ${PYTHON_PN}-netclient \
+    ${PYTHON_PN}-numbers \
+    ${PYTHON_PN}-threading \
+"
meta-python/recipes-devtools/python/python-dnspython_1.15.0.bb new file +2 -0
new file mode 100644
index 0000000..9dbcd0f
@@ -0,0 +1,2 @@
+inherit setuptools
+require python-dnspython.inc
meta-python/recipes-devtools/python/python3-dnspython_1.15.0.bb new file +9 -0
new file mode 100644
index 0000000..26024c6
@@ -0,0 +1,9 @@
+inherit setuptools3
+require python-dnspython.inc
+
+# Requires _pydecimal.py which is in misc
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-enum \
+    ${PYTHON_PN}-misc \
+    ${PYTHON_PN}-selectors \
+"
Signature · 1 line
2.7.4