Skip to contentSkip to conversation

python3-pyhamcrest: add recipe

PATCH New Trevor Gamblin 1 participant 2 messages Jan 24, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 python3-pyhamcrest: add recipe

meta-python used to have a recipe for pyhamcrest, but only for python2. Since it got moved to meta-python2 recently, add an equivalent python3-pyhamcrest recipe to meta-python.

---
 .../python/python3-pyhamcrest_1.9.0.bb                 | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb
meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb new file +10 -0
new file mode 100644
index 000000000..04aa9b47f
@@ -0,0 +1,10 @@
+SUMMARY = "Hamcrest framework for matcher objects"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f6df1318c6071dd1707f5e3b6c11f24f"
+
+PYPI_PACKAGE = "PyHamcrest"
+
+SRC_URI[md5sum] = "8b833a3fa30197455df79424f30c8c3f"
+SRC_URI[sha256sum] = "8ffaa0a53da57e89de14ced7185ac746227a8894dbd5a3c718bf05ddbd1d56cd"
+
+inherit pypi setuptools3
Signature · 1 line
2.17.1
#1 lore raw

PATCH 2/2 python-twisted.inc: add missing core dependencies

/usr/bin/twistd doesn't execute correctly if the pyhamcrest, pdb, and getpass modules are not present, so add them to core RDEPENDS. Also reformat the RDEPENDS list across multiple lines for easier reading.

---
 .../recipes-devtools/python/python-twisted.inc       | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python-twisted.inc +11 -1
index d005a2ac2..f830dee60 100644
@@ -61,7 +61,17 @@ RDEPENDS_${PN} = "\
     ${PN}-zsh \
 "
 
-RDEPENDS_${PN}-core = "${PYTHON_PN}-core ${PYTHON_PN}-zopeinterface ${PYTHON_PN}-incremental ${PYTHON_PN}-constantly ${PYTHON_PN}-hyperlink ${PYTHON_PN}-automat ${PYTHON_PN}-pyserial"
+RDEPENDS_${PN}-core = "${PYTHON_PN}-core \ 
+                       ${PYTHON_PN}-zopeinterface \
+                       ${PYTHON_PN}-incremental \
+                       ${PYTHON_PN}-constantly \
+                       ${PYTHON_PN}-hyperlink \
+                       ${PYTHON_PN}-automat \
+                       ${PYTHON_PN}-pyserial \
+                       ${PYTHON_PN}-pyhamcrest \
+                       ${PYTHON_PN}-debugger \
+                       ${PYTHON_PN}-unixadmin \
+"
 RDEPENDS_${PN}-test = "${PN}"
 RDEPENDS_${PN}-conch = "${PN}-core ${PN}-protocols ${PYTHON_PN}-bcrypt ${PYTHON_PN}-cryptography ${PYTHON_PN}-pyasn1 ${PYTHON_PN}-pickle"
 RDEPENDS_${PN}-mail = "${PN}-core ${PN}-protocols"
Signature · 1 line
2.17.1