[oe-commits] acid-burn : python-crypto: update to version 2.0.1 and 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: a5364c915587b4d64f357fe51c9027161fd500aa
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=a5364c915587b4d64f357fe51c9027161fd500aa
Author: acid-burn <acidburn at opendreambox.org>
Date: Tue Sep 1 15:33:46 2009 +0200
python-crypto: update to version 2.0.1 and and split out .dbg and tests into separate sub-packages to save space.
---
packages/python/python-crypto_1.9a6.bb | 12 -----------
packages/python/python-crypto_2.0.1.bb | 35 ++++++++++++++++++++++++++++++++
2 files changed, 35 insertions(+), 12 deletions(-)
diff --git a/packages/python/python-crypto_1.9a6.bb b/packages/python/python-crypto_1.9a6.bb
deleted file mode 100644
index 2bab51f..0000000
--- a/packages/python/python-crypto_1.9a6.bb
+++ /dev/null
@@ -1,12 +0,0 @@
-DESCRIPTION = "A collection of cryptographic algorithms and protocols"
-SECTION = "devel/python"
-PRIORITY = "optional"
-MAINTAINER = "Michael 'Mickey' Lauer <mickey at Vanille.de>"
-DEPENDS = "gmp"
-SRCNAME = "pycrypto"
-LICENSE = "python-crypto"
-SRC_URI = "http://www.amk.ca/files/python/crypto/${SRCNAME}-${PV}.tar.gz"
-S = "${WORKDIR}/${SRCNAME}-${PV}"
-PR = "r1"
-
-inherit distutils
diff --git a/packages/python/python-crypto_2.0.1.bb b/packages/python/python-crypto_2.0.1.bb
new file mode 100755
index 0000000..de97a5d
--- /dev/null
+++ b/packages/python/python-crypto_2.0.1.bb
@@ -0,0 +1,35 @@
+DESCRIPTION = "A collection of cryptographic algorithms and protocols"
+SECTION = "devel/python"
+PRIORITY = "optional"
+MAINTAINER = "Michael 'Mickey' Lauer <mickey at Vanille.de>"
+DEPENDS = "gmp"
+SRCNAME = "pycrypto"
+LICENSE = "python-crypto"
+RDEPENDS_${PN}-tests = "${PN}"
+PR = "r1"
+
+SRC_URI = "http://www.amk.ca/files/python/crypto/${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/Crypto/*.py* \
+ ${libdir}/${PYTHON_DIR}/site-packages/Crypto/*/*.py* \
+ ${libdir}/${PYTHON_DIR}/site-packages/Crypto/*/*.so \
+"
+
+FILES_${PN}-dbg += " \
+ ${libdir}/${PYTHON_DIR}/site-packages/Crypto/*/.debug \
+ ${libdir}/${PYTHON_DIR}/site-packages/Crypto/*/*/.debug \
+"
+
+PACKAGES =+ "${PN}-tests"
+FILES_${PN}-tests += " \
+ ${libdir}/${PYTHON_DIR}/site-packages/Crypto/test.py* \
+ ${libdir}/${PYTHON_DIR}/site-packages/Crypto/Util/test.py* \
+"
+
More information about the Openembedded-commits
mailing list