[oe-commits] Andreas Oberritter : python-pyopenssl-0.8: reduce package size

git version control git at git.openembedded.org
Mon Oct 25 19:30:50 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: b68721a2bf4ef74c9f7f2769367c2d3e3f33be3b
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=b68721a2bf4ef74c9f7f2769367c2d3e3f33be3b

Author: Andreas Oberritter <obi at opendreambox.org>
Date:   Mon Oct 25 02:49:19 2010 +0000

python-pyopenssl-0.8: reduce package size

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

Signed-off-by: Andreas Oberritter <obi at opendreambox.org>
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>

---

 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"





More information about the Openembedded-commits mailing list