[oe-commits] acid-burn : python-pyopenssl: update to version 0.80 and split out . dbg and tests into separate sub-packages to save space.

git version control git at git.openembedded.org
Tue Sep 1 16:22:26 UTC 2009


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

Author: acid-burn <acidburn at opendreambox.org>
Date:   Tue Sep  1 15:25:56 2009 +0200

python-pyopenssl: update to version 0.80 and split out .dbg and tests into separate sub-packages to save space.

---

 packages/python/python-pyopenssl_0.6.bb |   12 ------------
 packages/python/python-pyopenssl_0.8.bb |   30 ++++++++++++++++++++++++++++++
 2 files changed, 30 insertions(+), 12 deletions(-)

diff --git a/packages/python/python-pyopenssl_0.6.bb b/packages/python/python-pyopenssl_0.6.bb
deleted file mode 100644
index f3e6835..0000000
--- a/packages/python/python-pyopenssl_0.6.bb
+++ /dev/null
@@ -1,12 +0,0 @@
-DESCRIPTION = "Simple Python wrapper around the OpenSSL library"
-SECTION = "devel/python"
-PRIORITY = "optional"
-LICENSE = "LGPL"
-SRCNAME = "pyOpenSSL"
-DEPENDS = "openssl"
-RDEPENDS = "python-threading"
-
-SRC_URI = "${SOURCEFORGE_MIRROR}/pyopenssl/${SRCNAME}-${PV}.tar.gz"
-S = "${WORKDIR}/${SRCNAME}-${PV}"
-
-inherit distutils
diff --git a/packages/python/python-pyopenssl_0.8.bb b/packages/python/python-pyopenssl_0.8.bb
new file mode 100755
index 0000000..5624765
--- /dev/null
+++ b/packages/python/python-pyopenssl_0.8.bb
@@ -0,0 +1,30 @@
+DESCRIPTION = "Simple Python wrapper around the OpenSSL library"
+SECTION = "devel/python"
+PRIORITY = "optional"
+LICENSE = "LGPL"
+SRCNAME = "pyOpenSSL"
+DEPENDS = "openssl"
+RDEPENDS = "python-threading"
+RDEPENDS_${PN}-tests = "${PN}"
+PR = "r0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/pyopenssl/${SRCNAME}-${PV}.tar.gz"
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit distutils
+
+# Exclude debug files from the main packages
+FILES_${PN} = " \
+	${libdir}/${PYTHON_DIR}/site-packages/*egg-info \
+	${libdir}/${PYTHON_DIR}/site-packages/OpenSSL/*.py* \
+	${libdir}/${PYTHON_DIR}/site-packages/OpenSSL/*.so \
+"
+
+FILES_${PN}-dbg += " \
+	${libdir}/${PYTHON_DIR}/site-packages/OpenSSL/.debug \
+"
+
+PACKAGES =+ "${PN}-tests"
+FILES_${PN}-tests += " \
+	${libdir}/${PYTHON_DIR}/site-packages/OpenSSL/test \
+"





More information about the Openembedded-commits mailing list