* Move tests to FILES_${PN}-test.

Signed-off-by: Andreas Oberritter <[email protected]>
---
 recipes/python/python-pyopenssl_0.8.bb |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/recipes/python/python-pyopenssl_0.8.bb 
b/recipes/python/python-pyopenssl_0.8.bb
index 74e2ae9..bdbb6b2 100644
--- a/recipes/python/python-pyopenssl_0.8.bb
+++ b/recipes/python/python-pyopenssl_0.8.bb
@@ -4,14 +4,18 @@ PRIORITY = "optional"
 LICENSE = "LGPL"
 SRCNAME = "pyOpenSSL"
 DEPENDS = "openssl"
-PR = "ml1"
+PR = "ml2"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/pyopenssl/${SRCNAME}-${PV}.tar.gz"
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
 inherit distutils
 
+PACKAGES =+ "${PN}-tests"
+FILES_${PN}-tests = "${libdir}/${PYTHON_DIR}/site-packages/OpenSSL/test"
+
 RDEPENDS_${PN} = "python-threading"
+RDEPENDS_${PN}-tests = "${PN}"
 
 
 SRC_URI[md5sum] = "00377690f224d9e59c833fb0459603f4"
-- 
1.7.1


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to