summaryrefslogtreecommitdiffstats
path: root/meta-extras
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2007-11-15 14:10:17 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2007-11-15 14:10:17 +0000
commit6a5d2ced26e948ce47079fbe356bd934a810281b (patch)
tree726ad5b4fd15fafc756869a3ba466e8680504a50 /meta-extras
parent2100cecfd0cedab94d8d7117cdb4db98654bf237 (diff)
downloadpoky-6a5d2ced26e948ce47079fbe356bd934a810281b.tar.gz
python 2.4 is removed
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3181 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta-extras')
-rw-r--r--meta-extras/packages/python/python-2.4.4-manifest.inc275
-rw-r--r--meta-extras/packages/python/python-native_2.4.0.bb30
-rw-r--r--meta-extras/packages/python/python_2.4.4.bb70
3 files changed, 0 insertions, 375 deletions
diff --git a/meta-extras/packages/python/python-2.4.4-manifest.inc b/meta-extras/packages/python/python-2.4.4-manifest.inc
deleted file mode 100644
index 88755a8e9d..0000000000
--- a/meta-extras/packages/python/python-2.4.4-manifest.inc
+++ /dev/null
@@ -1,275 +0,0 @@
1########################################################################################################################
2### AUTO-GENERATED by '/local/pkg/oe/org.openembedded.dev/contrib/python/generate-manifest.py' [(C) 2002-2007 Michael 'Mickey' Lauer <mickey@Vanille.de>] on Mon Dec 25 00:05:05 2006
3###
4### Visit THE Python for Embedded Systems Site => http://www.Vanille.de/projects/python.spy
5###
6### Warning: Manual edits will be lost!
7###
8########################################################################################################################
9
10
11PROVIDES+="python-profile python-threading python-distutils python-textutils python-codecs python-pickle python-datetime python-core python-io python-compiler python-compression python-re python-xmlrpc python-terminal python-email python-image python-resource python-devel python-math python-hotshot python-unixadmin python-tkinter python-gdbm python-fcntl python-netclient python-pprint python-netserver python-curses python-syslog python-html python-readline python-subprocess python-pydoc python-logging python-mailbox python-xml python-mime python-tests python-unittest python-stringold python-lib-old-and-deprecated python-compile python-shell python-bsddb python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio python-misc"
12
13PACKAGES="python-profile python-threading python-distutils python-textutils python-codecs python-pickle python-datetime python-core python-io python-compiler python-compression python-re python-xmlrpc python-terminal python-email python-image python-resource python-devel python-math python-hotshot python-unixadmin python-tkinter python-gdbm python-fcntl python-netclient python-pprint python-netserver python-curses python-syslog python-html python-readline python-subprocess python-pydoc python-logging python-mailbox python-xml python-mime python-tests python-unittest python-stringold python-lib-old-and-deprecated python-compile python-shell python-bsddb python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio python-misc"
14
15DESCRIPTION_python-misc="Misc Python files"
16FILES_python-misc="${libdir}/python2.4/"
17RDEPENDS_python-misc="python-core"
18
19DESCRIPTION_python-profile="Python Basic Profiling Support"
20PR_python-profile="ml0"
21RDEPENDS_python-profile="python-core"
22FILES_python-profile="${libdir}/python2.4/profile.* ${libdir}/python2.4/pstats.* "
23
24DESCRIPTION_python-threading="Python Threading & Synchronization Support"
25PR_python-threading="ml0"
26RDEPENDS_python-threading="python-core python-lang"
27FILES_python-threading="${libdir}/python2.4/_threading_local.* ${libdir}/python2.4/dummy_thread.* ${libdir}/python2.4/dummy_threading.* ${libdir}/python2.4/mutex.* ${libdir}/python2.4/threading.* ${libdir}/python2.4/Queue.* "
28
29DESCRIPTION_python-distutils="Python Distribution Utilities"
30PR_python-distutils="ml0"
31RDEPENDS_python-distutils="python-core"
32FILES_python-distutils="${libdir}/python2.4/config ${libdir}/python2.4/distutils "
33
34DESCRIPTION_python-textutils="Python Option Parsing, Text Wrapping and Comma-Separated-Value Support"
35PR_python-textutils="ml0"
36RDEPENDS_python-textutils="python-core python-io python-re python-stringold"
37FILES_python-textutils="${libdir}/python2.4/lib-dynload/_csv.so ${libdir}/python2.4/csv.* ${libdir}/python2.4/optparse.* ${libdir}/python2.4/textwrap.* "
38
39DESCRIPTION_python-codecs="Python Codecs, Encodings & i18n Support"
40PR_python-codecs="ml0"
41RDEPENDS_python-codecs="python-core"
42FILES_python-codecs="${libdir}/python2.4/codecs.* ${libdir}/python2.4/encodings ${libdir}/python2.4/gettext.* ${libdir}/python2.4/locale.* ${libdir}/python2.4/lib-dynload/_locale.so ${libdir}/python2.4/lib-dynload/unicodedata.so ${libdir}/python2.4/stringprep.* ${libdir}/python2.4/xdrlib.* "
43
44DESCRIPTION_python-pickle="Python Persistence Support"
45PR_python-pickle="ml0"
46RDEPENDS_python-pickle="python-core python-codecs python-io python-re"
47FILES_python-pickle="${libdir}/python2.4/pickle.* ${libdir}/python2.4/shelve.* ${libdir}/python2.4/lib-dynload/cPickle.so "
48
49DESCRIPTION_python-datetime="Python Calendar and Time support"
50PR_python-datetime="ml0"
51RDEPENDS_python-datetime="python-core python-codecs"
52FILES_python-datetime="${libdir}/python2.4/_strptime.* ${libdir}/python2.4/calendar.* ${libdir}/python2.4/lib-dynload/datetime.so "
53
54DESCRIPTION_python-core="Python Interpreter and core modules (needed!)"
55PR_python-core="ml0"
56RDEPENDS_python-core=""
57FILES_python-core="/usr/lib/python2.4/__future__.* /usr/lib/python2.4/copy.* /usr/lib/python2.4/copy_reg.* /usr/lib/python2.4/ConfigParser.py /usr/lib/python2.4/getopt.* /usr/lib/python2.4/linecache.* /usr/lib/python2.4/new.* /usr/lib/python2.4/os.* /usr/lib/python2.4/posixpath.* /usr/lib/python2.4/warnings.* /usr/lib/python2.4/site.* /usr/lib/python2.4/stat.* /usr/lib/python2.4/UserDict.* /usr/lib/python2.4/UserList.* /usr/lib/python2.4/UserString.* /usr/lib/python2.4/lib-dynload/binascii.so /usr/lib/python2.4/lib-dynload/struct.so /usr/lib/python2.4/lib-dynload/time.so /usr/lib/python2.4/lib-dynload/xreadlines.so /usr/lib/python2.4/types.* /usr/bin/python "
58
59DESCRIPTION_python-io="Python Low-Level I/O"
60PR_python-io="ml0"
61RDEPENDS_python-io="python-core python-math"
62FILES_python-io="${libdir}/python2.4/lib-dynload/_socket.so ${libdir}/python2.4/lib-dynload/_ssl.so ${libdir}/python2.4/lib-dynload/select.so ${libdir}/python2.4/lib-dynload/termios.so ${libdir}/python2.4/lib-dynload/cStringIO.so ${libdir}/python2.4/pipes.* ${libdir}/python2.4/socket.* ${libdir}/python2.4/tempfile.* ${libdir}/python2.4/StringIO.* "
63
64DESCRIPTION_python-compiler="Python Compiler Support"
65PR_python-compiler="ml0"
66RDEPENDS_python-compiler="python-core"
67FILES_python-compiler="${libdir}/python2.4/compiler "
68
69DESCRIPTION_python-compression="Python High Level Compression Support"
70PR_python-compression="ml0"
71RDEPENDS_python-compression="python-core python-zlib"
72FILES_python-compression="${libdir}/python2.4/gzip.* ${libdir}/python2.4/zipfile.* "
73
74DESCRIPTION_python-re="Python Regular Expression APIs"
75PR_python-re="ml0"
76RDEPENDS_python-re="python-core"
77FILES_python-re="${libdir}/python2.4/re.* ${libdir}/python2.4/sre.* ${libdir}/python2.4/sre_compile.* ${libdir}/python2.4/sre_constants* ${libdir}/python2.4/sre_parse.* "
78
79DESCRIPTION_python-xmlrpc="Python XMLRPC Support"
80PR_python-xmlrpc="ml0"
81RDEPENDS_python-xmlrpc="python-core python-xml python-netserver python-lang"
82FILES_python-xmlrpc="${libdir}/python2.4/xmlrpclib.* ${libdir}/python2.4/SimpleXMLRPCServer.* "
83
84DESCRIPTION_python-terminal="Python Terminal Controlling Support"
85PR_python-terminal="ml0"
86RDEPENDS_python-terminal="python-core python-io"
87FILES_python-terminal="${libdir}/python2.4/pty.* ${libdir}/python2.4/tty.* "
88
89DESCRIPTION_python-email="Python Email Support"
90PR_python-email="ml0"
91RDEPENDS_python-email="python-core python-io python-re"
92FILES_python-email="${libdir}/python2.4/email "
93
94DESCRIPTION_python-image="Python Graphical Image Handling"
95PR_python-image="ml0"
96RDEPENDS_python-image="python-core"
97FILES_python-image="${libdir}/python2.4/colorsys.* ${libdir}/python2.4/imghdr.* ${libdir}/python2.4/lib-dynload/imageop.so ${libdir}/python2.4/lib-dynload/rgbimg.so "
98
99DESCRIPTION_python-resource="Python Resource Control Interface"
100PR_python-resource="ml0"
101RDEPENDS_python-resource="python-core"
102FILES_python-resource="${libdir}/python2.4/lib-dynload/resource.so "
103
104DESCRIPTION_python-devel="Python Development Package"
105PR_python-devel="ml0"
106RDEPENDS_python-devel="python-core"
107FILES_python-devel="/usr/include /usr/lib/python2.4/config "
108
109DESCRIPTION_python-math="Python Math Support"
110PR_python-math="ml0"
111RDEPENDS_python-math="python-core"
112FILES_python-math="${libdir}/python2.4/lib-dynload/cmath.so ${libdir}/python2.4/lib-dynload/math.so ${libdir}/python2.4/lib-dynload/_random.so ${libdir}/python2.4/random.* ${libdir}/python2.4/sets.* "
113
114DESCRIPTION_python-hotshot="Python Hotshot Profiler"
115PR_python-hotshot="ml0"
116RDEPENDS_python-hotshot="python-core"
117FILES_python-hotshot="${libdir}/python2.4/hotshot ${libdir}/python2.4/lib-dynload/_hotshot.so "
118
119DESCRIPTION_python-unixadmin="Python Unix Administration Support"
120PR_python-unixadmin="ml0"
121RDEPENDS_python-unixadmin="python-core"
122FILES_python-unixadmin="${libdir}/python2.4/lib-dynload/nis.so ${libdir}/python2.4/lib-dynload/grp.so ${libdir}/python2.4/lib-dynload/pwd.so ${libdir}/python2.4/getpass.* "
123
124DESCRIPTION_python-tkinter="Python Tcl/Tk Bindings"
125PR_python-tkinter="ml0"
126RDEPENDS_python-tkinter="python-core"
127FILES_python-tkinter="${libdir}/python2.4/lib-dynload/_tkinter.so ${libdir}/python2.4/lib-tk "
128
129DESCRIPTION_python-gdbm="Python GNU Database Support"
130PR_python-gdbm="ml0"
131RDEPENDS_python-gdbm="python-core"
132FILES_python-gdbm="${libdir}/python2.4/lib-dynload/gdbm.so "
133
134DESCRIPTION_python-fcntl="Python's fcntl Interface"
135PR_python-fcntl="ml0"
136RDEPENDS_python-fcntl="python-core"
137FILES_python-fcntl="${libdir}/python2.4/lib-dynload/fcntl.so "
138
139DESCRIPTION_python-netclient="Python Internet Protocol Clients"
140PR_python-netclient="ml0"
141RDEPENDS_python-netclient="python-core python-datetime python-io python-lang python-logging python-mime"
142FILES_python-netclient="${libdir}/python2.4/*Cookie*.* ${libdir}/python2.4/base64.* ${libdir}/python2.4/cookielib.* ${libdir}/python2.4/ftplib.* ${libdir}/python2.4/gopherlib.* ${libdir}/python2.4/hmac.* ${libdir}/python2.4/httplib.* ${libdir}/python2.4/mimetypes.* ${libdir}/python2.4/nntplib.* ${libdir}/python2.4/poplib.* ${libdir}/python2.4/smtplib.* ${libdir}/python2.4/telnetlib.* ${libdir}/python2.4/urllib.* ${libdir}/python2.4/urllib2.* ${libdir}/python2.4/urlparse.* "
143
144DESCRIPTION_python-pprint="Python Pretty-Print Support"
145PR_python-pprint="ml0"
146RDEPENDS_python-pprint="python-core"
147FILES_python-pprint="${libdir}/python2.4/pprint.* "
148
149DESCRIPTION_python-netserver="Python Internet Protocol Servers"
150PR_python-netserver="ml0"
151RDEPENDS_python-netserver="python-core python-netclient"
152FILES_python-netserver="${libdir}/python2.4/cgi.* ${libdir}/python2.4/BaseHTTPServer.* ${libdir}/python2.4/SimpleHTTPServer.* ${libdir}/python2.4/SocketServer.* "
153
154DESCRIPTION_python-curses="Python Curses Support"
155PR_python-curses="ml0"
156RDEPENDS_python-curses="python-core"
157FILES_python-curses="${libdir}/python2.4/curses ${libdir}/python2.4/lib-dynload/_curses.so ${libdir}/python2.4/lib-dynload/_curses_panel.so "
158
159DESCRIPTION_python-syslog="Python's syslog Interface"
160PR_python-syslog="ml0"
161RDEPENDS_python-syslog="python-core"
162FILES_python-syslog="${libdir}/python2.4/lib-dynload/syslog.so "
163
164DESCRIPTION_python-html="Python HTML Processing"
165PR_python-html="ml0"
166RDEPENDS_python-html="python-core"
167FILES_python-html="${libdir}/python2.4/formatter.* ${libdir}/python2.4/htmlentitydefs.* ${libdir}/python2.4/htmllib.* ${libdir}/python2.4/markupbase.* ${libdir}/python2.4/sgmllib.* "
168
169DESCRIPTION_python-readline="Python Readline Support"
170PR_python-readline="ml0"
171RDEPENDS_python-readline="python-core"
172FILES_python-readline="${libdir}/python2.4/lib-dynload/readline.so ${libdir}/python2.4/rlcompleter.* "
173
174DESCRIPTION_python-subprocess="Python Subprocess Support"
175PR_python-subprocess="ml0"
176RDEPENDS_python-subprocess="python-core python-io python-re"
177FILES_python-subprocess="${libdir}/python2.4/subprocess.* "
178
179DESCRIPTION_python-pydoc="Python Interactive Help Support"
180PR_python-pydoc="ml0"
181RDEPENDS_python-pydoc="python-core python-lang python-stringold python-re"
182FILES_python-pydoc="/usr/bin/pydoc /usr/lib/python2.4/pydoc.* "
183
184DESCRIPTION_python-logging="Python Logging Support"
185PR_python-logging="ml0"
186RDEPENDS_python-logging="python-core"
187FILES_python-logging="${libdir}/python2.4/logging "
188
189DESCRIPTION_python-mailbox="Python Mailbox Format Support"
190PR_python-mailbox="ml0"
191RDEPENDS_python-mailbox="python-core python-mime"
192FILES_python-mailbox="${libdir}/python2.4/mailbox.* "
193
194DESCRIPTION_python-xml="Python basic XML support."
195PR_python-xml="ml0"
196RDEPENDS_python-xml="python-core python-re"
197FILES_python-xml="${libdir}/python2.4/lib-dynload/pyexpat.so ${libdir}/python2.4/xml ${libdir}/python2.4/xmllib.* "
198
199DESCRIPTION_python-mime="Python MIME Handling APIs"
200PR_python-mime="ml0"
201RDEPENDS_python-mime="python-core python-io"
202FILES_python-mime="${libdir}/python2.4/mimetools.* ${libdir}/python2.4/quopri.* ${libdir}/python2.4/rfc822.* "
203
204DESCRIPTION_python-tests="Python Tests"
205PR_python-tests="ml0"
206RDEPENDS_python-tests="python-core"
207FILES_python-tests="${libdir}/python2.4/test "
208
209DESCRIPTION_python-unittest="Python Unit Testing Framework"
210PR_python-unittest="ml0"
211RDEPENDS_python-unittest="python-core python-stringold python-lang"
212FILES_python-unittest="${libdir}/python2.4/unittest.* "
213
214DESCRIPTION_python-stringold="Python String APIs [deprecated]"
215PR_python-stringold="ml0"
216RDEPENDS_python-stringold="python-core python-re"
217FILES_python-stringold="${libdir}/python2.4/lib-dynload/strop.so ${libdir}/python2.4/string.* "
218
219DESCRIPTION_python-lib-old-and-deprecated="Python Deprecated Libraries"
220PR_python-lib-old-and-deprecated="ml0"
221RDEPENDS_python-lib-old-and-deprecated="python-core"
222FILES_python-lib-old-and-deprecated="${libdir}/python2.4/lib-old "
223
224DESCRIPTION_python-compile="Python Bytecode Compilation Support"
225PR_python-compile="ml0"
226RDEPENDS_python-compile="python-core"
227FILES_python-compile="${libdir}/python2.4/py_compile.* ${libdir}/python2.4/compileall.* "
228
229DESCRIPTION_python-shell="Python Shell-Like Functionality"
230PR_python-shell="ml0"
231RDEPENDS_python-shell="python-core python-re"
232FILES_python-shell="${libdir}/python2.4/commands.* ${libdir}/python2.4/dircache.* ${libdir}/python2.4/fnmatch.* ${libdir}/python2.4/glob.* ${libdir}/python2.4/popen2.* ${libdir}/python2.4/shutil.* "
233
234DESCRIPTION_python-bsddb="Python Berkeley Database Bindings"
235PR_python-bsddb="ml0"
236RDEPENDS_python-bsddb="python-core"
237FILES_python-bsddb="${libdir}/python2.4/bsddb "
238
239DESCRIPTION_python-mmap="Python Memory-Mapped-File Support"
240PR_python-mmap="ml0"
241RDEPENDS_python-mmap="python-core python-io"
242FILES_python-mmap="${libdir}/python2.4/lib-dynload/mmap.so "
243
244DESCRIPTION_python-zlib="Python zlib Support."
245PR_python-zlib="ml0"
246RDEPENDS_python-zlib="python-core"
247FILES_python-zlib="${libdir}/python2.4/lib-dynload/zlib.so "
248
249DESCRIPTION_python-db="Python File-Based Database Support"
250PR_python-db="ml0"
251RDEPENDS_python-db="python-core"
252FILES_python-db="${libdir}/python2.4/anydbm.* ${libdir}/python2.4/dumbdbm.* ${libdir}/python2.4/whichdb.* "
253
254DESCRIPTION_python-crypt="Python Basic Cryptographic and Hashing Support"
255PR_python-crypt="ml0"
256RDEPENDS_python-crypt="python-core"
257FILES_python-crypt="${libdir}/python2.4/lib-dynload/crypt.so ${libdir}/python2.4/lib-dynload/md5.so ${libdir}/python2.4/lib-dynload/rotor.so ${libdir}/python2.4/lib-dynload/sha.so "
258
259DESCRIPTION_python-idle="Python Integrated Development Environment"
260PR_python-idle="ml0"
261RDEPENDS_python-idle="python-core python-tkinter"
262FILES_python-idle="/usr/bin/idle /usr/lib/python2.4/idlelib "
263
264DESCRIPTION_python-lang="Python Low-Level Language Support"
265PR_python-lang="ml0"
266RDEPENDS_python-lang="python-core"
267FILES_python-lang="${libdir}/python2.4/lib-dynload/array.so ${libdir}/python2.4/lib-dynload/parser.so ${libdir}/python2.4/lib-dynload/operator.so ${libdir}/python2.4/lib-dynload/_weakref.so ${libdir}/python2.4/lib-dynload/itertools.so ${libdir}/python2.4/lib-dynload/collections.so ${libdir}/python2.4/lib-dynload/_bisect.so ${libdir}/python2.4/lib-dynload/_heapq.so ${libdir}/python2.4/atexit.* ${libdir}/python2.4/bisect.* ${libdir}/python2.4/code.* ${libdir}/python2.4/codeop.* ${libdir}/python2.4/dis.* ${libdir}/python2.4/heapq.* ${libdir}/python2.4/inspect.* ${libdir}/python2.4/keyword.* ${libdir}/python2.4/opcode.* ${libdir}/python2.4/repr.* ${libdir}/python2.4/token.* ${libdir}/python2.4/tokenize.* ${libdir}/python2.4/traceback.* ${libdir}/python2.4/linecache.* ${libdir}/python2.4/weakref.* "
268
269DESCRIPTION_python-audio="Python Audio Handling"
270PR_python-audio="ml0"
271RDEPENDS_python-audio="python-core"
272FILES_python-audio="${libdir}/python2.4/wave.* ${libdir}/python2.4/chunk.* ${libdir}/python2.4/lib-dynload/ossaudiodev.so ${libdir}/python2.4/lib-dynload/audioop.so "
273
274
275
diff --git a/meta-extras/packages/python/python-native_2.4.0.bb b/meta-extras/packages/python/python-native_2.4.0.bb
deleted file mode 100644
index 4b58853540..0000000000
--- a/meta-extras/packages/python/python-native_2.4.0.bb
+++ /dev/null
@@ -1,30 +0,0 @@
1DESCRIPTION = "Python Programming Language"
2HOMEPAGE = "http://www.python.org"
3LICENSE = "PSF"
4SECTION = "devel/python"
5PRIORITY = "optional"
6DEPENDS = ""
7PR = "r0"
8
9EXCLUDE_FROM_WORLD = "1"
10
11SRC_URI = "http://www.python.org/ftp/python/2.4/Python-2.4.tar.bz2 \
12 file://bindir-libdir.patch;patch=1 \
13 file://cross-distutils.patch;patch=1"
14S = "${WORKDIR}/Python-2.4"
15
16inherit autotools native
17
18EXTRA_OECONF = "--with-threads --with-pymalloc --with-cyclic-gc --without-cxx --with-signal-module --with-wctype-functions \
19 --with-prefix=${STAGING_DIR} --with-exec-prefix=${STAGING_DIR}/${BUILD_SYS}"
20EXTRA_OEMAKE = 'BUILD_SYS="" HOST_SYS=""'
21
22do_configure () {
23 oe_runconf
24}
25
26do_stage_append() {
27 # install pgen for later usage with non-native builds
28 install Parser/pgen ${STAGING_BINDIR_NATIVE}/
29}
30
diff --git a/meta-extras/packages/python/python_2.4.4.bb b/meta-extras/packages/python/python_2.4.4.bb
deleted file mode 100644
index fa3c1fdb02..0000000000
--- a/meta-extras/packages/python/python_2.4.4.bb
+++ /dev/null
@@ -1,70 +0,0 @@
1DESCRIPTION = "Python Programming Language"
2HOMEPAGE = "http://www.python.org"
3LICENSE = "PSF"
4SECTION = "devel/python"
5PRIORITY = "optional"
6DEPENDS = "python-native readline zlib gdbm openssl"
7DEPENDS_sharprom = "python-native readline zlib gdbm openssl"
8PR = "ml1"
9
10PYTHON_MAJMIN = "2.4"
11
12SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.bz2 \
13 file://bindir-libdir.patch;patch=1 \
14 file://crosscompile.patch;patch=1 \
15 file://fix-tkinter-detection.patch;patch=1 \
16 file://sitebranding.patch;patch=1"
17S = "${WORKDIR}/Python-${PV}"
18
19inherit autotools
20
21EXTRA_OECONF = "--with-threads --with-pymalloc --with-cyclic-gc \
22 --without-cxx --with-signal-module --with-wctype-functions \
23 --enable-shared"
24
25#
26# copy config.h and an appropriate Makefile for distutils.sysconfig
27# which laters uses the information out of these to compile extensions
28#
29do_compile_prepend() {
30 install -d ${STAGING_INCDIR}/python${PYTHON_MAJMIN}/
31 install -d ${STAGING_LIBDIR}/python${PYTHON_MAJMIN}/config/
32 install -m 0644 pyconfig.h ${STAGING_INCDIR}/python${PYTHON_MAJMIN}/
33 install -m 0644 Makefile Makefile.orig
34 install -m 0644 Makefile Makefile.backup
35 sed -e 's,${includedir},${STAGING_INCDIR},' < Makefile.backup > Makefile
36 install -m 0644 Makefile Makefile.backup
37 sed -e 's,${libdir},${STAGING_LIBDIR},' < Makefile.backup > Makefile
38 install -m 0644 Makefile ${STAGING_LIBDIR}/python${PYTHON_MAJMIN}/config/
39}
40
41do_compile() {
42 oe_runmake HOSTPGEN=${STAGING_BINDIR_NATIVE}/pgen \
43 HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python \
44 STAGING_LIBDIR=${STAGING_LIBDIR} \
45 STAGING_INCDIR=${STAGING_INCDIR} \
46 BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
47 OPT="${CFLAGS}"
48}
49
50do_stage() {
51 install -m 0644 Include/*.h ${STAGING_INCDIR}/python${PYTHON_MAJMIN}/
52 oe_libinstall -a -so libpython2.4 ${STAGING_LIBDIR}
53}
54
55do_install() {
56 install -m 0644 Makefile.orig Makefile
57 oe_runmake HOSTPGEN=${STAGING_BINDIR_NATIVE}/pgen \
58 HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python \
59 STAGING_LIBDIR=${STAGING_LIBDIR} \
60 STAGING_INCDIR=${STAGING_INCDIR} \
61 BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
62 DESTDIR=${D} install
63}
64
65require python-${PV}-manifest.inc
66
67RPROVIDES_python-core = "python"
68RPROVIDES_python-curses = "python"
69PACKAGES =+ "libpython2"
70FILES_libpython2 = "${libdir}/libpython*"