[oe] [PATCH 08/18] python-pyopenssl-0.8: reduce package size

Andreas Oberritter obi at opendreambox.org
Wed Sep 29 20:36:24 UTC 2010


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

Signed-off-by: Andreas Oberritter <obi at opendreambox.org>
---
 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





More information about the Openembedded-devel mailing list