summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python_2.7.2.bb
diff options
context:
space:
mode:
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