From c6a4dbd32128a9fe971e1378570857ce83b27bab Mon Sep 17 00:00:00 2001 From: acid-burn Date: Tue, 1 Sep 2009 15:36:06 +0200 Subject: [PATCH] python-2.5.1: Split out .debug, tests and scripts into separate sub-packages to save space and bump PR on these packages. --- packages/python/python-2.5.1-manifest.inc | 42 ++++++++++++++++++++++++++----- packages/python/python_2.5.1.bb | 2 +- 2 files changed, 37 insertions(+), 7 deletions(-) diff --git a/packages/python/python-2.5.1-manifest.inc b/packages/python/python-2.5.1-manifest.inc index 0cb5058..1b15121 100755 --- a/packages/python/python-2.5.1-manifest.inc +++ b/packages/python/python-2.5.1-manifest.inc @@ -18,10 +18,16 @@ RDEPENDS_python-threading="python-core python-lang" FILES_python-threading="${pydir}/_threading_local.* ${pydir}/bisect.* ${pydyndir}/_bisect.so ${pydir}/dummy_thread.* ${pydir}/dummy_threading.* ${pydir}/mutex.* ${pydir}/threading.* ${pydir}/Queue.* " DESCRIPTION_python-distutils="Python Distribution Utilities" -PR_python-distutils="ml4" +PR_python-distutils="ml5" RDEPENDS_python-distutils="python-core" FILES_python-distutils="${pydir}/config ${pydir}/distutils " +PACKAGES =+ "python-distutils-tests" +DESCRIPTION_python-distutils-tests="Python Distribution Utilities tests" +PR_python-distutils-tests="ml5" +RDEPENDS_python-distutils-tests="python-core python-distutils" +FILES_python-distutils-tests +="${pydir}/distutils/tests " + DESCRIPTION_python-textutils="Python Option Parsing, Text Wrapping and Comma-Separated-Value Support" PR_python-textutils="ml4" RDEPENDS_python-textutils="python-core python-io python-re python-stringold" @@ -78,9 +84,15 @@ RDEPENDS_python-terminal="python-core python-io" FILES_python-terminal="${pydir}/pty.* ${pydir}/tty.* " DESCRIPTION_python-email="Python Email Support" -PR_python-email="ml4" +PR_python-email="ml5" RDEPENDS_python-email="python-core python-io python-re" -FILES_python-email="${pydir}/email " +FILES_python-email="${pydir}/email ${pydir}/email/mime " + +PACKAGES =+ "python-email-tests" +DESCRIPTION_python-email-tests="Python Email Support tests" +PR_python-email-tests="ml5" +RDEPENDS_python-email-tests="python-core python-email" +FILES_python-email-tests +="${pydir}/email/test ${pydir}/email/test/data " DESCRIPTION_python-image="Python Graphical Image Handling" PR_python-image="ml4" @@ -218,10 +230,16 @@ RDEPENDS_python-shell="python-core python-re" FILES_python-shell="${pydir}/commands.* ${pydir}/dircache.* ${pydir}/fnmatch.* ${pydir}/glob.* ${pydir}/popen2.* ${pydir}/shutil.* " DESCRIPTION_python-bsddb="Python Berkeley Database Bindings" -PR_python-bsddb="ml4" +PR_python-bsddb="ml5" RDEPENDS_python-bsddb="python-core" FILES_python-bsddb="${pydir}/bsddb " +PACKAGES =+ "python-bsddb-tests" +DESCRIPTION_python-bsddb-tests="Python Berkeley Database Bindings tests" +PR_python-bsddb-tests="ml5" +RDEPENDS_python-bsddb-tests="python-core python-bsddb" +FILES_python-bsddb-tests +="${pydir}/bsddb/test " + DESCRIPTION_python-mmap="Python Memory-Mapped-File Support" PR_python-mmap="ml4" RDEPENDS_python-mmap="python-core python-io" @@ -263,11 +281,23 @@ RDEPENDS_python-extensions="python-core" FILES_python-extensions="${pydir}/contextlib.* ${pydir}/functools.* ${pydyndir}/_functools.so ${pydir}/runpy.* " DESCRIPTION_python-ctypes="Python 2.5 ctypes/dlls/sharedlib Extensions" -PR_python-ctypes="ml4" +PR_python-ctypes="ml5" RDEPENDS_python-ctypes="python-core" FILES_python-ctypes="${pydir}/ctypes ${pydyndir}/_ctypes.so " +PACKAGES =+ "python-ctypes-tests" +DESCRIPTION_python-ctypes-tests="Python 2.5 ctypes/dlls/sharedlib Extensions tests" +PR_python-ctypes-tests="ml5" +RDEPENDS_python-ctypes-tests="python-core python-ctypes" +FILES_python-ctypes-tests +="${pydir}/ctypes/test " + DESCRIPTION_python-sqlite3="Python 2.5 Sqlite Database Lib" -PR_python-sqlite3="ml4" +PR_python-sqlite3="ml5" RDEPENDS_python-sqlite3="python-core" FILES_python-sqlite3="${pydir}/sqlite3 ${pydyndir}/_sqlite3.so " + +PACKAGES =+ "python-sqlite3-tests" +DESCRIPTION_python-sqlite3-tests="Python 2.5 Sqlite Database Lib tests" +PR_python-sqlite3-tests="ml5" +RDEPENDS_python-sqlite3-tests="python-core python-sqlite3" +FILES_python-sqlite3-tests +="${pydir}/sqlite3/test " \ No newline at end of file diff --git a/packages/python/python_2.5.1.bb b/packages/python/python_2.5.1.bb index 3f76aab..e9c2f88 100755 --- a/packages/python/python_2.5.1.bb +++ b/packages/python/python_2.5.1.bb @@ -5,7 +5,7 @@ SECTION = "devel/python" PRIORITY = "optional" MAINTAINER = "Michael 'Mickey' Lauer " DEPENDS = "python-native readline zlib gdbm openssl" -PR = "ml4" +PR = "ml5" PYTHON_MAJMIN = "2.5" -- 2.7.4