diff options
author | Michael Lauer <mickey@vanille-media.de> | 2008-03-21 23:25:31 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2008-03-21 23:25:31 +0000 |
commit | e737833493b9017bbfd3ab0dba6a2d26f85eebd8 (patch) | |
tree | 2d4844eeac8121281e65c3b9ded2c39f59b10f67 /packages | |
parent | 7e3f573b1510d10f5a126662d933a70e56be9e1e (diff) |
python 2.5 improve pysqlite2|3 packaging. Patch based on work by Aloisios Almeida.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/python/python-2.5-manifest.inc | 29 | ||||
-rw-r--r-- | packages/python/python-pysqlite2_2.4.0.bb | 17 |
2 files changed, 33 insertions, 13 deletions
diff --git a/packages/python/python-2.5-manifest.inc b/packages/python/python-2.5-manifest.inc index 9c4e68dfce..c098494d17 100644 --- a/packages/python/python-2.5-manifest.inc +++ b/packages/python/python-2.5-manifest.inc @@ -1,5 +1,5 @@ -####################################################################################################################### -### AUTO-GENERATED by './contrib/python/generate-manifest-2.5.py' [(C) 2002-2008 Michael 'Mickey' Lauer <mlauer@vanille-media.de>] on Thu Mar 6 18:04:21 2008 +######################################################################################################################## +### AUTO-GENERATED by './generate-manifest-2.5.py' [(C) 2002-2008 Michael 'Mickey' Lauer <mlauer@vanille-media.de>] on Fri Mar 21 18:43:05 2008 ### ### Visit THE Python for Embedded Systems Site => http://www.Vanille.de/projects/python.spy ### @@ -8,9 +8,9 @@ ######################################################################################################################## -PROVIDES+="python-profile python-threading python-distutils python-textutils python-codecs python-ctypes python-pickle python-datetime python-core python-io python-compiler python-compression python-re python-xmlrpc python-terminal python-email python-image python-core-dbg python-resource python-devel python-math python-hotshot python-unixadmin python-syslog python-tkinter python-gdbm python-fcntl python-netclient python-pprint python-netserver python-curses python-smtpd python-html python-readline python-subprocess python-pydoc python-logging python-mailbox python-xml python-mime python-sqlite3 python-tests python-unittest python-stringold python-robotparser python-lib-old-and-deprecated python-compile python-debugger python-shell python-bsddb python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio " +PROVIDES+="python-profile python-threading python-distutils python-textutils python-codecs python-ctypes python-pickle python-datetime python-core python-io python-compiler python-compression python-re python-xmlrpc python-terminal python-email python-image python-tests python-core-dbg python-resource python-devel python-math python-hotshot python-unixadmin python-syslog python-tkinter python-gdbm python-fcntl python-netclient python-pprint python-netserver python-curses python-smtpd python-html python-readline python-subprocess python-pydoc python-logging python-mailbox python-xml python-mime python-sqlite3 python-sqlite3-tests python-unittest python-stringold python-robotparser python-lib-old-and-deprecated python-compile python-debugger python-shell python-bsddb python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio " -PACKAGES="python-profile python-threading python-distutils python-textutils python-codecs python-ctypes python-pickle python-datetime python-core python-io python-compiler python-compression python-re python-xmlrpc python-terminal python-email python-image python-core-dbg python-resource python-devel python-math python-hotshot python-unixadmin python-syslog python-tkinter python-gdbm python-fcntl python-netclient python-pprint python-netserver python-curses python-smtpd python-html python-readline python-subprocess python-pydoc python-logging python-mailbox python-xml python-mime python-sqlite3 python-tests python-unittest python-stringold python-robotparser python-lib-old-and-deprecated python-compile python-debugger python-shell python-bsddb python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio " +PACKAGES="python-profile python-threading python-distutils python-textutils python-codecs python-ctypes python-pickle python-datetime python-core python-io python-compiler python-compression python-re python-xmlrpc python-terminal python-email python-image python-tests python-core-dbg python-resource python-devel python-math python-hotshot python-unixadmin python-syslog python-tkinter python-gdbm python-fcntl python-netclient python-pprint python-netserver python-curses python-smtpd python-html python-readline python-subprocess python-pydoc python-logging python-mailbox python-xml python-mime python-sqlite3 python-sqlite3-tests python-unittest python-stringold python-robotparser python-lib-old-and-deprecated python-compile python-debugger python-shell python-bsddb python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio " DESCRIPTION_python-profile="Python Basic Profiling Support" PR_python-profile="ml0" @@ -97,6 +97,11 @@ PR_python-image="ml0" RDEPENDS_python-image="python-core" FILES_python-image="${libdir}/python2.5/colorsys.* ${libdir}/python2.5/imghdr.* ${libdir}/python2.5/lib-dynload/imageop.so ${libdir}/python2.5/lib-dynload/rgbimg.so " +DESCRIPTION_python-tests="Python Tests" +PR_python-tests="ml0" +RDEPENDS_python-tests="python-core" +FILES_python-tests="${libdir}/python2.5/test " + DESCRIPTION_python-core-dbg="Python core module debug information" PR_python-core-dbg="ml0" RDEPENDS_python-core-dbg="python-core" @@ -213,14 +218,14 @@ RDEPENDS_python-mime="python-core python-io" FILES_python-mime="${libdir}/python2.5/mimetools.* ${libdir}/python2.5/uu.* ${libdir}/python2.5/quopri.* ${libdir}/python2.5/rfc822.* " DESCRIPTION_python-sqlite3="Python Sqlite3 Database Support" -PR_python-sqlite3="ml1" -RDEPENDS_python-sqlite3="python-core" -FILES_python-sqlite3="${libdir}/python2.5/lib-dynload/_sqlite3.so ${libdir}/python2.5/sqlite3 " - -DESCRIPTION_python-tests="Python Tests" -PR_python-tests="ml0" -RDEPENDS_python-tests="python-core" -FILES_python-tests="${libdir}/python2.5/test " +PR_python-sqlite3="ml2" +RDEPENDS_python-sqlite3="python-core python-datetime python-lang python-crypt python-io python-threading python-zlib" +FILES_python-sqlite3="${libdir}/python2.5/lib-dynload/_sqlite3.so ${libdir}/python2.5/sqlite3/dbapi2.* ${libdir}/python2.5/sqlite3/__init__.* " + +DESCRIPTION_python-sqlite3-tests="Python Sqlite3 Database Support Tests" +PR_python-sqlite3-tests="ml0" +RDEPENDS_python-sqlite3-tests="python-core python-sqlite3" +FILES_python-sqlite3-tests="${libdir}/python2.5/sqlite3/test " DESCRIPTION_python-unittest="Python Unit Testing Framework" PR_python-unittest="ml0" diff --git a/packages/python/python-pysqlite2_2.4.0.bb b/packages/python/python-pysqlite2_2.4.0.bb index 751122e10e..50adcba006 100644 --- a/packages/python/python-pysqlite2_2.4.0.bb +++ b/packages/python/python-pysqlite2_2.4.0.bb @@ -4,9 +4,10 @@ PRIORITY = "optional" LICENSE = "BSD" DEPENDS = "sqlite3" SRCNAME = "pysqlite" +PR = "ml1" SRC_URI = "http://initd.org/pub/software/pysqlite/releases/2.4/${PV}/${SRCNAME}-${PV}.tar.gz \ - file://fix-setup.patch;patch=1" + file://fix-setup.patch;patch=1" S = "${WORKDIR}/${SRCNAME}-${PV}" inherit distutils @@ -15,3 +16,17 @@ do_install_append() { install -d ${D}${datadir}/doc/ mv ${D}${datadir}/pysqlite2-doc ${D}${datadir}/doc/${PN} } + +RDEPENDS = "\ + python-datetime \ + python-lang \ + python-crypt \ + python-io \ + python-threading \ + python-unittest \ + python-zlib \ +" + +PACKAGES =+ "${PN}-tests" +FILES_${PN}-tests = "${libdir}/${PYTHON_DIR}/pysqlite2/test" +RDEPENDS_${PN}-tests = "${PN}" |