summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python_2.7.2.bb
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2011-11-03 00:01:46 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-07 14:05:39 +0000
commit8138eafa31fdd648a5a8f766cf6f6a26e1549dcd (patch)
tree789a4f76f3e0a9e8074c412bb9711eb7e34f0647 /meta/recipes-devtools/python/python_2.7.2.bb
parent8b63b92781b7451689df11bd396e334e0d74f6df (diff)
downloadpoky-8138eafa31fdd648a5a8f766cf6f6a26e1549dcd.tar.gz
python: improve packaging
* move 2to3 to separate package and include lib2to3 (was in python-misc) * fix pattern for python-unittest (was in python-misc because it's in subdirectory now) * add pydoc_data to python-pydoc (was in python-misc) * add more stuff to smtpd, audio, codecs, ctypes, html, io, json, mime, pickle, stringold, xmlrpc * move all FILES_ details from python recipe to manifest generator so it's in one place * added manual line break in FILES_${PN}-core, because git send-email doesn't like too long lines $ git send-email -1 dfaae65839f0ab23e5b2ae2a68df0f370bca84d2 fatal: /tmp/k8zbDajUNP/0001-python-improve-packaging.patch: 64: patch contains a line longer than 998 characters (From OE-Core rev: f17f6b28ed2f62250f8690617e9126a43c3a8020) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python_2.7.2.bb')
-rw-r--r--meta/recipes-devtools/python/python_2.7.2.bb22
1 files changed, 1 insertions, 21 deletions
diff --git a/meta/recipes-devtools/python/python_2.7.2.bb b/meta/recipes-devtools/python/python_2.7.2.bb
index 45d8350376..bb088a4620 100644
--- a/meta/recipes-devtools/python/python_2.7.2.bb
+++ b/meta/recipes-devtools/python/python_2.7.2.bb
@@ -1,7 +1,7 @@
1require python.inc 1require python.inc
2DEPENDS = "python-native db gdbm openssl readline sqlite3 zlib" 2DEPENDS = "python-native db gdbm openssl readline sqlite3 zlib"
3DEPENDS_sharprom = "python-native db readline zlib gdbm openssl" 3DEPENDS_sharprom = "python-native db readline zlib gdbm openssl"
4PR = "${INC_PR}.0" 4PR = "${INC_PR}.1"
5 5
6DISTRO_SRC_URI ?= "file://sitecustomize.py" 6DISTRO_SRC_URI ?= "file://sitecustomize.py"
7DISTRO_SRC_URI_linuxstdbase = "" 7DISTRO_SRC_URI_linuxstdbase = ""
@@ -107,30 +107,10 @@ RPROVIDES_${PN}-core = "${PN}"
107RRECOMMENDS_${PN}-core = "${PN}-readline" 107RRECOMMENDS_${PN}-core = "${PN}-readline"
108RRECOMMENDS_${PN}-crypt = "openssl" 108RRECOMMENDS_${PN}-crypt = "openssl"
109 109
110# add sitecustomize
111FILES_${PN}-core += "${libdir}/python${PYTHON_MAJMIN}/sitecustomize.py"
112# ship 2to3
113FILES_${PN}-core += "${bindir}/2to3"
114
115# package libpython2 110# package libpython2
116PACKAGES =+ "lib${BPN}2" 111PACKAGES =+ "lib${BPN}2"
117FILES_lib${BPN}2 = "${libdir}/libpython*.so.*" 112FILES_lib${BPN}2 = "${libdir}/libpython*.so.*"
118 113
119# additional stuff -dev
120
121FILES_${PN}-dev = "\
122 ${includedir} \
123 ${libdir}/lib*${SOLIBSDEV} \
124 ${libdir}/*.la \
125 ${libdir}/*.a \
126 ${libdir}/*.o \
127 ${libdir}/pkgconfig \
128 ${base_libdir}/*.a \
129 ${base_libdir}/*.o \
130 ${datadir}/aclocal \
131 ${datadir}/pkgconfig \
132"
133
134# catch debug extensions (isn't that already in python-core-dbg?) 114# catch debug extensions (isn't that already in python-core-dbg?)
135FILES_${PN}-dbg += "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/.debug" 115FILES_${PN}-dbg += "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/.debug"
136 116