python-pyopenssl-0.8: reduce package size
authorAndreas Oberritter <obi@opendreambox.org>
Mon, 25 Oct 2010 02:49:19 +0000 (02:49 +0000)
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Mon, 25 Oct 2010 19:22:35 +0000 (21:22 +0200)
* Move tests to FILES_${PN}-test.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
recipes/python/python-pyopenssl_0.8.bb

index 74e2ae9..bdbb6b2 100644 (file)
@@ -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"