SRC_URI = "http://divmod.org/trac/attachment/wiki/SoftwareReleases/${REALPN}-${PV}.tar.gz?format=raw"
+INC_PR = "r0"
+
DEPENDS += "python-twisted-native"
do_unpack2() {
SECTION = "console/network"
PRIORITY = "optional"
LICENSE = "GPL"
-RDEPENDS = "python"
+RDEPENDS_${PN} = "python"
-PR = "r1"
+PR = "r2"
ARCH_pydes = "all"
SRC_URI = "http://twhiteman.netfirms.com/pyDES/pyDes-1.3.1.tar.gz"
+
+SRC_URI[md5sum] = "e499fdde54e98be87324c0322311e034"
+SRC_URI[sha256sum] = "4f1aae18f2aabb3559b8878d95a7228ebe6633fc4a88905935354ccdf2accc32"
SECTION = "console/network"
PRIORITY = "optional"
LICENSE = "GPL"
-RDEPENDS = "python python-pygtk python-xml python-netclient python-numeric pydes"
+RDEPENDS_${PN} = "python python-pygtk python-xml python-netclient python-numeric pydes"
+PR = "r1"
ARCH_pyring = "all"
FILES_${PN} += "${datadir}"
+
+SRC_URI[md5sum] = "d6d2a16ccd1562b2ae63314f30a4ebf9"
+SRC_URI[sha256sum] = "45b73399b8affd1a81ecd370d37e066c046c49e1777b43d0affe6b520082a604"
inherit distutils
PACKAGE_ARCH = "all"
+
+SRC_URI[md5sum] = "34423f39caf7df8a9db8e243be9cf1a0"
+SRC_URI[sha256sum] = "d9d46d096a38cb692b55f4ee9f364d54348298e9497b11c1ef057539b5de1567"
# WARNING: This file is AUTO GENERATED: Manual edits will be lost next time I regenerate the file.
-# Generator: '../../contrib/python/generate-manifest-2.6.py' Version 20091004 (C) 2002-2009 Michael 'Mickey' Lauer <mlauer@vanille-media.de>
+# Generator: 'contrib/python/generate-manifest-2.6.py' Version 20110222 (C) 2002-2010 Michael 'Mickey' Lauer <mlauer@vanille-media.de>
# Visit the Python for Embedded Systems Site => http://www.Vanille.de/projects/python.spy
-PROVIDES+="python-profile python-threading python-distutils python-doctest python-stringold 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-json python-devel python-difflib python-math python-syslog python-hotshot python-unixadmin python-textutils python-tkinter python-gdbm python-elementtree 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-multiprocessing python-robotparser python-compile python-debugger python-pkgutil python-shell python-bsddb python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio "
+PROVIDES+="${PN}-audio ${PN}-bsddb ${PN}-codecs ${PN}-compile ${PN}-compiler ${PN}-compression ${PN}-core ${PN}-core-dbg ${PN}-crypt ${PN}-ctypes ${PN}-curses ${PN}-datetime ${PN}-db ${PN}-debugger ${PN}-dev ${PN}-difflib ${PN}-distutils ${PN}-doctest ${PN}-elementtree ${PN}-email ${PN}-fcntl ${PN}-gdbm ${PN}-hotshot ${PN}-html ${PN}-idle ${PN}-image ${PN}-io ${PN}-json ${PN}-lang ${PN}-logging ${PN}-mailbox ${PN}-math ${PN}-mime ${PN}-mmap ${PN}-multiprocessing ${PN}-netclient ${PN}-netserver ${PN}-numbers ${PN}-pickle ${PN}-pkgutil ${PN}-pprint ${PN}-profile ${PN}-pydoc ${PN}-re ${PN}-readline ${PN}-resource ${PN}-robotparser ${PN}-shell ${PN}-smtpd ${PN}-sqlite3 ${PN}-sqlite3-tests ${PN}-stringold ${PN}-subprocess ${PN}-syslog ${PN}-terminal ${PN}-tests ${PN}-textutils ${PN}-threading ${PN}-tkinter ${PN}-unittest ${PN}-unixadmin ${PN}-xml ${PN}-xmlrpc ${PN}-zlib "
-PACKAGES="python-core-dbg python-profile python-threading python-distutils python-doctest python-stringold 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-resource python-json python-devel python-difflib python-math python-syslog python-hotshot python-unixadmin python-textutils python-tkinter python-gdbm python-elementtree 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-multiprocessing python-robotparser python-compile python-debugger python-pkgutil python-shell python-bsddb python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio python-modules"
+PACKAGES="${PN}-core-dbg ${PN}-audio ${PN}-bsddb ${PN}-codecs ${PN}-compile ${PN}-compiler ${PN}-compression ${PN}-core ${PN}-crypt ${PN}-ctypes ${PN}-curses ${PN}-datetime ${PN}-db ${PN}-debugger ${PN}-dev ${PN}-difflib ${PN}-distutils ${PN}-doctest ${PN}-elementtree ${PN}-email ${PN}-fcntl ${PN}-gdbm ${PN}-hotshot ${PN}-html ${PN}-idle ${PN}-image ${PN}-io ${PN}-json ${PN}-lang ${PN}-logging ${PN}-mailbox ${PN}-math ${PN}-mime ${PN}-mmap ${PN}-multiprocessing ${PN}-netclient ${PN}-netserver ${PN}-numbers ${PN}-pickle ${PN}-pkgutil ${PN}-pprint ${PN}-profile ${PN}-pydoc ${PN}-re ${PN}-readline ${PN}-resource ${PN}-robotparser ${PN}-shell ${PN}-smtpd ${PN}-sqlite3 ${PN}-sqlite3-tests ${PN}-stringold ${PN}-subprocess ${PN}-syslog ${PN}-terminal ${PN}-tests ${PN}-textutils ${PN}-threading ${PN}-tkinter ${PN}-unittest ${PN}-unixadmin ${PN}-xml ${PN}-xmlrpc ${PN}-zlib ${PN}-modules"
-DESCRIPTION_python-profile="Python Basic Profiling Support"
-RDEPENDS_python-profile="python-core python-textutils"
-FILES_python-profile="${libdir}/python2.6/profile.* ${libdir}/python2.6/pstats.* ${libdir}/python2.6/cProfile.* ${libdir}/python2.6/lib-dynload/_lsprof.so "
+DESCRIPTION_${PN}-audio="Python Audio Handling"
+RDEPENDS_${PN}-audio="${PN}-core"
+FILES_${PN}-audio="${libdir}/python2.6/wave.* ${libdir}/python2.6/chunk.* ${libdir}/python2.6/sndhdr.* ${libdir}/python2.6/lib-dynload/ossaudiodev.so ${libdir}/python2.6/lib-dynload/audioop.so "
-DESCRIPTION_python-threading="Python Threading & Synchronization Support"
-RDEPENDS_python-threading="python-core python-lang"
-FILES_python-threading="${libdir}/python2.6/_threading_local.* ${libdir}/python2.6/dummy_thread.* ${libdir}/python2.6/dummy_threading.* ${libdir}/python2.6/mutex.* ${libdir}/python2.6/threading.* ${libdir}/python2.6/Queue.* "
+DESCRIPTION_${PN}-bsddb="Python Berkeley Database Bindings"
+RDEPENDS_${PN}-bsddb="${PN}-core"
+FILES_${PN}-bsddb="${libdir}/python2.6/bsddb ${libdir}/python2.6/lib-dynload/_bsddb.so "
-DESCRIPTION_python-distutils="Python Distribution Utilities"
-RDEPENDS_python-distutils="python-core"
-FILES_python-distutils="${libdir}/python2.6/config ${libdir}/python2.6/distutils "
+DESCRIPTION_${PN}-codecs="Python Codecs, Encodings & i18n Support"
+RDEPENDS_${PN}-codecs="${PN}-core ${PN}-lang"
+FILES_${PN}-codecs="${libdir}/python2.6/codecs.* ${libdir}/python2.6/encodings ${libdir}/python2.6/gettext.* ${libdir}/python2.6/locale.* ${libdir}/python2.6/lib-dynload/_locale.so ${libdir}/python2.6/lib-dynload/unicodedata.so ${libdir}/python2.6/stringprep.* ${libdir}/python2.6/xdrlib.* "
-DESCRIPTION_python-doctest="Python framework for running examples in docstrings."
-RDEPENDS_python-doctest="python-core python-lang python-io python-re python-unittest python-debugger python-difflib"
-FILES_python-doctest="${libdir}/python2.6/doctest.* "
+DESCRIPTION_${PN}-compile="Python Bytecode Compilation Support"
+RDEPENDS_${PN}-compile="${PN}-core"
+FILES_${PN}-compile="${libdir}/python2.6/py_compile.* ${libdir}/python2.6/compileall.* "
-DESCRIPTION_python-stringold="Python String APIs [deprecated]"
-RDEPENDS_python-stringold="python-core python-re"
-FILES_python-stringold="${libdir}/python2.6/lib-dynload/strop.so ${libdir}/python2.6/string.* "
+DESCRIPTION_${PN}-compiler="Python Compiler Support"
+RDEPENDS_${PN}-compiler="${PN}-core"
+FILES_${PN}-compiler="${libdir}/python2.6/compiler "
-DESCRIPTION_python-codecs="Python Codecs, Encodings & i18n Support"
-RDEPENDS_python-codecs="python-core python-lang"
-FILES_python-codecs="${libdir}/python2.6/codecs.* ${libdir}/python2.6/encodings ${libdir}/python2.6/gettext.* ${libdir}/python2.6/locale.* ${libdir}/python2.6/lib-dynload/_locale.so ${libdir}/python2.6/lib-dynload/unicodedata.so ${libdir}/python2.6/stringprep.* ${libdir}/python2.6/xdrlib.* "
+DESCRIPTION_${PN}-compression="Python High Level Compression Support"
+RDEPENDS_${PN}-compression="${PN}-core ${PN}-zlib"
+FILES_${PN}-compression="${libdir}/python2.6/gzip.* ${libdir}/python2.6/zipfile.* ${libdir}/python2.6/tarfile.* ${libdir}/python2.6/lib-dynload/bz2.so "
-DESCRIPTION_python-ctypes="Python C Types Support"
-RDEPENDS_python-ctypes="python-core"
-FILES_python-ctypes="${libdir}/python2.6/ctypes ${libdir}/python2.6/lib-dynload/_ctypes.so "
+DESCRIPTION_${PN}-core="Python Interpreter and core modules (needed!)"
+RDEPENDS_${PN}-core=""
+FILES_${PN}-core="${libdir}/python2.6/__future__.* ${libdir}/python2.6/_abcoll.* ${libdir}/python2.6/abc.* ${libdir}/python2.6/copy.* ${libdir}/python2.6/copy_reg.* ${libdir}/python2.6/ConfigParser.* ${libdir}/python2.6/genericpath.* ${libdir}/python2.6/getopt.* ${libdir}/python2.6/linecache.* ${libdir}/python2.6/new.* ${libdir}/python2.6/os.* ${libdir}/python2.6/posixpath.* ${libdir}/python2.6/struct.* ${libdir}/python2.6/warnings.* ${libdir}/python2.6/site.* ${libdir}/python2.6/stat.* ${libdir}/python2.6/UserDict.* ${libdir}/python2.6/UserList.* ${libdir}/python2.6/UserString.* ${libdir}/python2.6/lib-dynload/binascii.so ${libdir}/python2.6/lib-dynload/_struct.so ${libdir}/python2.6/lib-dynload/time.so ${libdir}/python2.6/lib-dynload/xreadlines.so ${libdir}/python2.6/types.* ${libdir}/python2.6/platform.* ${bindir}/python* "
-DESCRIPTION_python-pickle="Python Persistence Support"
-RDEPENDS_python-pickle="python-core python-codecs python-io python-re"
-FILES_python-pickle="${libdir}/python2.6/pickle.* ${libdir}/python2.6/shelve.* ${libdir}/python2.6/lib-dynload/cPickle.so "
+DESCRIPTION_${PN}-core-dbg="Python core module debug information"
+RDEPENDS_${PN}-core-dbg="${PN}-core"
+FILES_${PN}-core-dbg="${libdir}/python2.6/config/.debug ${libdir}/python2.6/lib-dynload/.debug ${bindir}/.debug ${libdir}/.debug "
-DESCRIPTION_python-datetime="Python Calendar and Time support"
-RDEPENDS_python-datetime="python-core python-codecs"
-FILES_python-datetime="${libdir}/python2.6/_strptime.* ${libdir}/python2.6/calendar.* ${libdir}/python2.6/lib-dynload/datetime.so "
+DESCRIPTION_${PN}-crypt="Python Basic Cryptographic and Hashing Support"
+RDEPENDS_${PN}-crypt="${PN}-core"
+FILES_${PN}-crypt="${libdir}/python2.6/hashlib.* ${libdir}/python2.6/md5.* ${libdir}/python2.6/sha.* ${libdir}/python2.6/lib-dynload/crypt.so ${libdir}/python2.6/lib-dynload/_hashlib.so ${libdir}/python2.6/lib-dynload/_sha256.so ${libdir}/python2.6/lib-dynload/_sha512.so "
-DESCRIPTION_python-core="Python Interpreter and core modules (needed!)"
-RDEPENDS_python-core=""
-FILES_python-core="${libdir}/python2.6/__future__.* ${libdir}/python2.6/_abcoll.* ${libdir}/python2.6/abc.* ${libdir}/python2.6/copy.* ${libdir}/python2.6/copy_reg.* ${libdir}/python2.6/ConfigParser.* ${libdir}/python2.6/genericpath.* ${libdir}/python2.6/getopt.* ${libdir}/python2.6/linecache.* ${libdir}/python2.6/new.* ${libdir}/python2.6/os.* ${libdir}/python2.6/posixpath.* ${libdir}/python2.6/struct.* ${libdir}/python2.6/warnings.* ${libdir}/python2.6/site.* ${libdir}/python2.6/stat.* ${libdir}/python2.6/UserDict.* ${libdir}/python2.6/UserList.* ${libdir}/python2.6/UserString.* ${libdir}/python2.6/lib-dynload/binascii.so ${libdir}/python2.6/lib-dynload/_struct.so ${libdir}/python2.6/lib-dynload/time.so ${libdir}/python2.6/lib-dynload/xreadlines.so ${libdir}/python2.6/types.* ${bindir}/python* "
+DESCRIPTION_${PN}-ctypes="Python C Types Support"
+RDEPENDS_${PN}-ctypes="${PN}-core"
+FILES_${PN}-ctypes="${libdir}/python2.6/ctypes ${libdir}/python2.6/lib-dynload/_ctypes.so "
-DESCRIPTION_python-io="Python Low-Level I/O"
-RDEPENDS_python-io="python-core python-math"
-FILES_python-io="${libdir}/python2.6/lib-dynload/_socket.so ${libdir}/python2.6/lib-dynload/_ssl.so ${libdir}/python2.6/lib-dynload/select.so ${libdir}/python2.6/lib-dynload/termios.so ${libdir}/python2.6/lib-dynload/cStringIO.so ${libdir}/python2.6/pipes.* ${libdir}/python2.6/socket.* ${libdir}/python2.6/tempfile.* ${libdir}/python2.6/StringIO.* "
+DESCRIPTION_${PN}-curses="Python Curses Support"
+RDEPENDS_${PN}-curses="${PN}-core"
+FILES_${PN}-curses="${libdir}/python2.6/curses ${libdir}/python2.6/lib-dynload/_curses.so ${libdir}/python2.6/lib-dynload/_curses_panel.so "
-DESCRIPTION_python-compiler="Python Compiler Support"
-RDEPENDS_python-compiler="python-core"
-FILES_python-compiler="${libdir}/python2.6/compiler "
+DESCRIPTION_${PN}-datetime="Python Calendar and Time support"
+RDEPENDS_${PN}-datetime="${PN}-core ${PN}-codecs"
+FILES_${PN}-datetime="${libdir}/python2.6/_strptime.* ${libdir}/python2.6/calendar.* ${libdir}/python2.6/lib-dynload/datetime.so "
-DESCRIPTION_python-compression="Python High Level Compression Support"
-RDEPENDS_python-compression="python-core python-zlib"
-FILES_python-compression="${libdir}/python2.6/gzip.* ${libdir}/python2.6/zipfile.* ${libdir}/python2.6/tarfile.* ${libdir}/python2.6/lib-dynload/bz2.so "
+DESCRIPTION_${PN}-db="Python File-Based Database Support"
+RDEPENDS_${PN}-db="${PN}-core"
+FILES_${PN}-db="${libdir}/python2.6/anydbm.* ${libdir}/python2.6/dumbdbm.* ${libdir}/python2.6/whichdb.* "
-DESCRIPTION_python-re="Python Regular Expression APIs"
-RDEPENDS_python-re="python-core"
-FILES_python-re="${libdir}/python2.6/re.* ${libdir}/python2.6/sre.* ${libdir}/python2.6/sre_compile.* ${libdir}/python2.6/sre_constants* ${libdir}/python2.6/sre_parse.* "
+DESCRIPTION_${PN}-debugger="Python Debugger"
+RDEPENDS_${PN}-debugger="${PN}-core ${PN}-io ${PN}-lang ${PN}-re ${PN}-stringold ${PN}-shell ${PN}-pprint"
+FILES_${PN}-debugger="${libdir}/python2.6/bdb.* ${libdir}/python2.6/pdb.* "
-DESCRIPTION_python-xmlrpc="Python XMLRPC Support"
-RDEPENDS_python-xmlrpc="python-core python-xml python-netserver python-lang"
-FILES_python-xmlrpc="${libdir}/python2.6/xmlrpclib.* ${libdir}/python2.6/SimpleXMLRPCServer.* "
+DESCRIPTION_${PN}-dev="Python Development Package"
+RDEPENDS_${PN}-dev="${PN}-core"
+FILES_${PN}-dev="${includedir} ${libdir}/libpython2.6.so "
-DESCRIPTION_python-terminal="Python Terminal Controlling Support"
-RDEPENDS_python-terminal="python-core python-io"
-FILES_python-terminal="${libdir}/python2.6/pty.* ${libdir}/python2.6/tty.* "
+DESCRIPTION_${PN}-difflib="Python helpers for computing deltas between objects."
+RDEPENDS_${PN}-difflib="${PN}-lang ${PN}-re"
+FILES_${PN}-difflib="${libdir}/python2.6/difflib.* "
-DESCRIPTION_python-email="Python Email Support"
-RDEPENDS_python-email="python-core python-io python-re python-mime python-audio python-image python-netclient"
-FILES_python-email="${libdir}/python2.6/imaplib.* ${libdir}/python2.6/email "
+DESCRIPTION_${PN}-distutils="Python Distribution Utilities"
+RDEPENDS_${PN}-distutils="${PN}-core"
+FILES_${PN}-distutils="${libdir}/python2.6/config ${libdir}/python2.6/distutils "
-DESCRIPTION_python-image="Python Graphical Image Handling"
-RDEPENDS_python-image="python-core"
-FILES_python-image="${libdir}/python2.6/colorsys.* ${libdir}/python2.6/imghdr.* ${libdir}/python2.6/lib-dynload/imageop.so ${libdir}/python2.6/lib-dynload/rgbimg.so "
+DESCRIPTION_${PN}-doctest="Python framework for running examples in docstrings."
+RDEPENDS_${PN}-doctest="${PN}-core ${PN}-lang ${PN}-io ${PN}-re ${PN}-unittest ${PN}-debugger ${PN}-difflib"
+FILES_${PN}-doctest="${libdir}/python2.6/doctest.* "
-DESCRIPTION_python-tests="Python Tests"
-RDEPENDS_python-tests="python-core"
-FILES_python-tests="${libdir}/python2.6/test "
+DESCRIPTION_${PN}-elementtree="Python elementree"
+RDEPENDS_${PN}-elementtree="${PN}-core"
+FILES_${PN}-elementtree="${libdir}/python2.6/lib-dynload/_elementtree.so "
-DESCRIPTION_python-core-dbg="Python core module debug information"
-RDEPENDS_python-core-dbg="python-core"
-FILES_python-core-dbg="${libdir}/python2.6/config/.debug ${libdir}/python2.6/lib-dynload/.debug ${bindir}/.debug ${libdir}/.debug "
+DESCRIPTION_${PN}-email="Python Email Support"
+RDEPENDS_${PN}-email="${PN}-core ${PN}-io ${PN}-re ${PN}-mime ${PN}-audio ${PN}-image ${PN}-netclient"
+FILES_${PN}-email="${libdir}/python2.6/imaplib.* ${libdir}/python2.6/email "
-DESCRIPTION_python-resource="Python Resource Control Interface"
-RDEPENDS_python-resource="python-core"
-FILES_python-resource="${libdir}/python2.6/lib-dynload/resource.so "
+DESCRIPTION_${PN}-fcntl="Python's fcntl Interface"
+RDEPENDS_${PN}-fcntl="${PN}-core"
+FILES_${PN}-fcntl="${libdir}/python2.6/lib-dynload/fcntl.so "
-DESCRIPTION_python-json="Python JSON Support"
-RDEPENDS_python-json="python-core python-math python-re"
-FILES_python-json="${libdir}/python2.6/json "
+DESCRIPTION_${PN}-gdbm="Python GNU Database Support"
+RDEPENDS_${PN}-gdbm="${PN}-core"
+FILES_${PN}-gdbm="${libdir}/python2.6/lib-dynload/gdbm.so "
-DESCRIPTION_python-devel="Python Development Package"
-RDEPENDS_python-devel="python-core"
-FILES_python-devel="${includedir} ${libdir}/libpython2.6.so ${libdir}/python2.6/config "
+DESCRIPTION_${PN}-hotshot="Python Hotshot Profiler"
+RDEPENDS_${PN}-hotshot="${PN}-core"
+FILES_${PN}-hotshot="${libdir}/python2.6/hotshot ${libdir}/python2.6/lib-dynload/_hotshot.so "
-DESCRIPTION_python-difflib="Python helpers for computing deltas between objects."
-RDEPENDS_python-difflib="python-lang python-re"
-FILES_python-difflib="${libdir}/python2.6/difflib.* "
+DESCRIPTION_${PN}-html="Python HTML Processing"
+RDEPENDS_${PN}-html="${PN}-core"
+FILES_${PN}-html="${libdir}/python2.6/formatter.* ${libdir}/python2.6/htmlentitydefs.* ${libdir}/python2.6/htmllib.* ${libdir}/python2.6/markupbase.* ${libdir}/python2.6/sgmllib.* "
-DESCRIPTION_python-math="Python Math Support"
-RDEPENDS_python-math="python-core"
-FILES_python-math="${libdir}/python2.6/lib-dynload/cmath.so ${libdir}/python2.6/lib-dynload/math.so ${libdir}/python2.6/lib-dynload/_random.so ${libdir}/python2.6/random.* ${libdir}/python2.6/sets.* "
+DESCRIPTION_${PN}-idle="Python Integrated Development Environment"
+RDEPENDS_${PN}-idle="${PN}-core ${PN}-tkinter"
+FILES_${PN}-idle="${bindir}/idle ${libdir}/python2.6/idlelib "
-DESCRIPTION_python-syslog="Python Syslog Interface"
-RDEPENDS_python-syslog="python-core"
-FILES_python-syslog="${libdir}/python2.6/lib-dynload/syslog.so "
+DESCRIPTION_${PN}-image="Python Graphical Image Handling"
+RDEPENDS_${PN}-image="${PN}-core"
+FILES_${PN}-image="${libdir}/python2.6/colorsys.* ${libdir}/python2.6/imghdr.* ${libdir}/python2.6/lib-dynload/imageop.so ${libdir}/python2.6/lib-dynload/rgbimg.so "
-DESCRIPTION_python-hotshot="Python Hotshot Profiler"
-RDEPENDS_python-hotshot="python-core"
-FILES_python-hotshot="${libdir}/python2.6/hotshot ${libdir}/python2.6/lib-dynload/_hotshot.so "
+DESCRIPTION_${PN}-io="Python Low-Level I/O"
+RDEPENDS_${PN}-io="${PN}-core ${PN}-math"
+FILES_${PN}-io="${libdir}/python2.6/lib-dynload/_socket.so ${libdir}/python2.6/lib-dynload/_ssl.so ${libdir}/python2.6/lib-dynload/select.so ${libdir}/python2.6/lib-dynload/termios.so ${libdir}/python2.6/lib-dynload/cStringIO.so ${libdir}/python2.6/pipes.* ${libdir}/python2.6/socket.* ${libdir}/python2.6/ssl.* ${libdir}/python2.6/tempfile.* ${libdir}/python2.6/StringIO.* "
-DESCRIPTION_python-unixadmin="Python Unix Administration Support"
-RDEPENDS_python-unixadmin="python-core"
-FILES_python-unixadmin="${libdir}/python2.6/lib-dynload/nis.so ${libdir}/python2.6/lib-dynload/grp.so ${libdir}/python2.6/lib-dynload/pwd.so ${libdir}/python2.6/getpass.* "
+DESCRIPTION_${PN}-json="Python JSON Support"
+RDEPENDS_${PN}-json="${PN}-core ${PN}-math ${PN}-re"
+FILES_${PN}-json="${libdir}/python2.6/json "
-DESCRIPTION_python-textutils="Python Option Parsing, Text Wrapping and Comma-Separated-Value Support"
-RDEPENDS_python-textutils="python-core python-io python-re python-stringold"
-FILES_python-textutils="${libdir}/python2.6/lib-dynload/_csv.so ${libdir}/python2.6/csv.* ${libdir}/python2.6/optparse.* ${libdir}/python2.6/textwrap.* "
+DESCRIPTION_${PN}-lang="Python Low-Level Language Support"
+RDEPENDS_${PN}-lang="${PN}-core"
+FILES_${PN}-lang="${libdir}/python2.6/lib-dynload/_bisect.so ${libdir}/python2.6/lib-dynload/_collections.so ${libdir}/python2.6/lib-dynload/_heapq.so ${libdir}/python2.6/lib-dynload/_weakref.so ${libdir}/python2.6/lib-dynload/_functools.so ${libdir}/python2.6/lib-dynload/array.so ${libdir}/python2.6/lib-dynload/itertools.so ${libdir}/python2.6/lib-dynload/operator.so ${libdir}/python2.6/lib-dynload/parser.so ${libdir}/python2.6/atexit.* ${libdir}/python2.6/bisect.* ${libdir}/python2.6/code.* ${libdir}/python2.6/codeop.* ${libdir}/python2.6/collections.* ${libdir}/python2.6/dis.* ${libdir}/python2.6/functools.* ${libdir}/python2.6/heapq.* ${libdir}/python2.6/inspect.* ${libdir}/python2.6/keyword.* ${libdir}/python2.6/opcode.* ${libdir}/python2.6/symbol.* ${libdir}/python2.6/repr.* ${libdir}/python2.6/token.* ${libdir}/python2.6/tokenize.* ${libdir}/python2.6/traceback.* ${libdir}/python2.6/weakref.* "
-DESCRIPTION_python-tkinter="Python Tcl/Tk Bindings"
-RDEPENDS_python-tkinter="python-core"
-FILES_python-tkinter="${libdir}/python2.6/lib-dynload/_tkinter.so ${libdir}/python2.6/lib-tk "
+DESCRIPTION_${PN}-logging="Python Logging Support"
+RDEPENDS_${PN}-logging="${PN}-core ${PN}-io ${PN}-lang ${PN}-pickle ${PN}-stringold"
+FILES_${PN}-logging="${libdir}/python2.6/logging "
-DESCRIPTION_python-gdbm="Python GNU Database Support"
-RDEPENDS_python-gdbm="python-core"
-FILES_python-gdbm="${libdir}/python2.6/lib-dynload/gdbm.so "
+DESCRIPTION_${PN}-mailbox="Python Mailbox Format Support"
+RDEPENDS_${PN}-mailbox="${PN}-core ${PN}-mime"
+FILES_${PN}-mailbox="${libdir}/python2.6/mailbox.* "
-DESCRIPTION_python-elementtree="Python elementree"
-RDEPENDS_python-elementtree="python-core"
-FILES_python-elementtree="${libdir}/python2.6/lib-dynload/_elementtree.so "
+DESCRIPTION_${PN}-math="Python Math Support"
+RDEPENDS_${PN}-math="${PN}-core"
+FILES_${PN}-math="${libdir}/python2.6/lib-dynload/cmath.so ${libdir}/python2.6/lib-dynload/math.so ${libdir}/python2.6/lib-dynload/_random.so ${libdir}/python2.6/random.* ${libdir}/python2.6/sets.* "
-DESCRIPTION_python-fcntl="Python's fcntl Interface"
-RDEPENDS_python-fcntl="python-core"
-FILES_python-fcntl="${libdir}/python2.6/lib-dynload/fcntl.so "
+DESCRIPTION_${PN}-mime="Python MIME Handling APIs"
+RDEPENDS_${PN}-mime="${PN}-core ${PN}-io"
+FILES_${PN}-mime="${libdir}/python2.6/mimetools.* ${libdir}/python2.6/uu.* ${libdir}/python2.6/quopri.* ${libdir}/python2.6/rfc822.* "
-DESCRIPTION_python-netclient="Python Internet Protocol Clients"
-RDEPENDS_python-netclient="python-core python-crypt python-datetime python-io python-lang python-logging python-mime"
-FILES_python-netclient="${libdir}/python2.6/*Cookie*.* ${libdir}/python2.6/base64.* ${libdir}/python2.6/cookielib.* ${libdir}/python2.6/ftplib.* ${libdir}/python2.6/gopherlib.* ${libdir}/python2.6/hmac.* ${libdir}/python2.6/httplib.* ${libdir}/python2.6/mimetypes.* ${libdir}/python2.6/nntplib.* ${libdir}/python2.6/poplib.* ${libdir}/python2.6/smtplib.* ${libdir}/python2.6/telnetlib.* ${libdir}/python2.6/urllib.* ${libdir}/python2.6/urllib2.* ${libdir}/python2.6/urlparse.* ${libdir}/python2.6/uuid.* ${libdir}/python2.6/rfc822.* ${libdir}/python2.6/mimetools.* "
+DESCRIPTION_${PN}-mmap="Python Memory-Mapped-File Support"
+RDEPENDS_${PN}-mmap="${PN}-core ${PN}-io"
+FILES_${PN}-mmap="${libdir}/python2.6/lib-dynload/mmap.so "
-DESCRIPTION_python-pprint="Python Pretty-Print Support"
-RDEPENDS_python-pprint="python-core"
-FILES_python-pprint="${libdir}/python2.6/pprint.* "
+DESCRIPTION_${PN}-multiprocessing="Python Multiprocessing Support"
+RDEPENDS_${PN}-multiprocessing="${PN}-core ${PN}-io ${PN}-lang"
+FILES_${PN}-multiprocessing="${libdir}/python2.6/lib-dynload/_multiprocessing.so ${libdir}/python2.6/multiprocessing "
-DESCRIPTION_python-netserver="Python Internet Protocol Servers"
-RDEPENDS_python-netserver="python-core python-netclient"
-FILES_python-netserver="${libdir}/python2.6/cgi.* ${libdir}/python2.6/*HTTPServer.* ${libdir}/python2.6/SocketServer.* "
+DESCRIPTION_${PN}-netclient="Python Internet Protocol Clients"
+RDEPENDS_${PN}-netclient="${PN}-core ${PN}-crypt ${PN}-datetime ${PN}-io ${PN}-lang ${PN}-logging ${PN}-mime"
+FILES_${PN}-netclient="${libdir}/python2.6/*Cookie*.* ${libdir}/python2.6/base64.* ${libdir}/python2.6/cookielib.* ${libdir}/python2.6/ftplib.* ${libdir}/python2.6/gopherlib.* ${libdir}/python2.6/hmac.* ${libdir}/python2.6/httplib.* ${libdir}/python2.6/mimetypes.* ${libdir}/python2.6/nntplib.* ${libdir}/python2.6/poplib.* ${libdir}/python2.6/smtplib.* ${libdir}/python2.6/telnetlib.* ${libdir}/python2.6/urllib.* ${libdir}/python2.6/urllib2.* ${libdir}/python2.6/urlparse.* ${libdir}/python2.6/uuid.* ${libdir}/python2.6/rfc822.* ${libdir}/python2.6/mimetools.* "
-DESCRIPTION_python-curses="Python Curses Support"
-RDEPENDS_python-curses="python-core"
-FILES_python-curses="${libdir}/python2.6/curses ${libdir}/python2.6/lib-dynload/_curses.so ${libdir}/python2.6/lib-dynload/_curses_panel.so "
+DESCRIPTION_${PN}-netserver="Python Internet Protocol Servers"
+RDEPENDS_${PN}-netserver="${PN}-core ${PN}-netclient"
+FILES_${PN}-netserver="${libdir}/python2.6/cgi.* ${libdir}/python2.6/*HTTPServer.* ${libdir}/python2.6/SocketServer.* "
-DESCRIPTION_python-smtpd="Python Simple Mail Transport Daemon"
-RDEPENDS_python-smtpd="python-core python-netserver python-email python-mime"
-FILES_python-smtpd="${bindir}/smtpd.* "
+DESCRIPTION_${PN}-numbers="Python Number APIs"
+RDEPENDS_${PN}-numbers="${PN}-core ${PN}-lang ${PN}-re"
+FILES_${PN}-numbers="${libdir}/python2.6/decimal.* ${libdir}/python2.6/numbers.* "
-DESCRIPTION_python-html="Python HTML Processing"
-RDEPENDS_python-html="python-core"
-FILES_python-html="${libdir}/python2.6/formatter.* ${libdir}/python2.6/htmlentitydefs.* ${libdir}/python2.6/htmllib.* ${libdir}/python2.6/markupbase.* ${libdir}/python2.6/sgmllib.* "
+DESCRIPTION_${PN}-pickle="Python Persistence Support"
+RDEPENDS_${PN}-pickle="${PN}-core ${PN}-codecs ${PN}-io ${PN}-re"
+FILES_${PN}-pickle="${libdir}/python2.6/pickle.* ${libdir}/python2.6/shelve.* ${libdir}/python2.6/lib-dynload/cPickle.so "
-DESCRIPTION_python-readline="Python Readline Support"
-RDEPENDS_python-readline="python-core"
-FILES_python-readline="${libdir}/python2.6/lib-dynload/readline.so ${libdir}/python2.6/rlcompleter.* "
+DESCRIPTION_${PN}-pkgutil="Python Package Extension Utility Support"
+RDEPENDS_${PN}-pkgutil="${PN}-core"
+FILES_${PN}-pkgutil="${libdir}/python2.6/pkgutil.* "
-DESCRIPTION_python-subprocess="Python Subprocess Support"
-RDEPENDS_python-subprocess="python-core python-io python-re python-fcntl python-pickle"
-FILES_python-subprocess="${libdir}/python2.6/subprocess.* "
+DESCRIPTION_${PN}-pprint="Python Pretty-Print Support"
+RDEPENDS_${PN}-pprint="${PN}-core"
+FILES_${PN}-pprint="${libdir}/python2.6/pprint.* "
-DESCRIPTION_python-pydoc="Python Interactive Help Support"
-RDEPENDS_python-pydoc="python-core python-lang python-stringold python-re"
-FILES_python-pydoc="${bindir}/pydoc ${libdir}/python2.6/pydoc.* "
+DESCRIPTION_${PN}-profile="Python Basic Profiling Support"
+RDEPENDS_${PN}-profile="${PN}-core ${PN}-textutils"
+FILES_${PN}-profile="${libdir}/python2.6/profile.* ${libdir}/python2.6/pstats.* ${libdir}/python2.6/cProfile.* ${libdir}/python2.6/lib-dynload/_lsprof.so "
-DESCRIPTION_python-logging="Python Logging Support"
-RDEPENDS_python-logging="python-core python-io python-lang python-pickle python-stringold"
-FILES_python-logging="${libdir}/python2.6/logging "
+DESCRIPTION_${PN}-pydoc="Python Interactive Help Support"
+RDEPENDS_${PN}-pydoc="${PN}-core ${PN}-lang ${PN}-stringold ${PN}-re"
+FILES_${PN}-pydoc="${bindir}/pydoc ${libdir}/python2.6/pydoc.* "
-DESCRIPTION_python-mailbox="Python Mailbox Format Support"
-RDEPENDS_python-mailbox="python-core python-mime"
-FILES_python-mailbox="${libdir}/python2.6/mailbox.* "
+DESCRIPTION_${PN}-re="Python Regular Expression APIs"
+RDEPENDS_${PN}-re="${PN}-core"
+FILES_${PN}-re="${libdir}/python2.6/re.* ${libdir}/python2.6/sre.* ${libdir}/python2.6/sre_compile.* ${libdir}/python2.6/sre_constants* ${libdir}/python2.6/sre_parse.* "
-DESCRIPTION_python-xml="Python basic XML support."
-RDEPENDS_python-xml="python-core python-re"
-FILES_python-xml="${libdir}/python2.6/lib-dynload/pyexpat.so ${libdir}/python2.6/xml ${libdir}/python2.6/xmllib.* "
+DESCRIPTION_${PN}-readline="Python Readline Support"
+RDEPENDS_${PN}-readline="${PN}-core"
+FILES_${PN}-readline="${libdir}/python2.6/lib-dynload/readline.so ${libdir}/python2.6/rlcompleter.* "
-DESCRIPTION_python-mime="Python MIME Handling APIs"
-RDEPENDS_python-mime="python-core python-io"
-FILES_python-mime="${libdir}/python2.6/mimetools.* ${libdir}/python2.6/uu.* ${libdir}/python2.6/quopri.* ${libdir}/python2.6/rfc822.* "
+DESCRIPTION_${PN}-resource="Python Resource Control Interface"
+RDEPENDS_${PN}-resource="${PN}-core"
+FILES_${PN}-resource="${libdir}/python2.6/lib-dynload/resource.so "
-DESCRIPTION_python-sqlite3="Python Sqlite3 Database Support"
-RDEPENDS_python-sqlite3="python-core python-datetime python-lang python-crypt python-io python-threading python-zlib"
-FILES_python-sqlite3="${libdir}/python2.6/lib-dynload/_sqlite3.so ${libdir}/python2.6/sqlite3/dbapi2.* ${libdir}/python2.6/sqlite3/__init__.* ${libdir}/python2.6/sqlite3/dump.* "
+DESCRIPTION_${PN}-robotparser="Python robots.txt parser"
+RDEPENDS_${PN}-robotparser="${PN}-core ${PN}-netclient"
+FILES_${PN}-robotparser="${libdir}/python2.6/robotparser.* "
-DESCRIPTION_python-sqlite3-tests="Python Sqlite3 Database Support Tests"
-RDEPENDS_python-sqlite3-tests="python-core python-sqlite3"
-FILES_python-sqlite3-tests="${libdir}/python2.6/sqlite3/test "
+DESCRIPTION_${PN}-shell="Python Shell-Like Functionality"
+RDEPENDS_${PN}-shell="${PN}-core ${PN}-re"
+FILES_${PN}-shell="${libdir}/python2.6/cmd.* ${libdir}/python2.6/commands.* ${libdir}/python2.6/dircache.* ${libdir}/python2.6/fnmatch.* ${libdir}/python2.6/glob.* ${libdir}/python2.6/popen2.* ${libdir}/python2.6/shlex.* ${libdir}/python2.6/shutil.* "
-DESCRIPTION_python-unittest="Python Unit Testing Framework"
-RDEPENDS_python-unittest="python-core python-stringold python-lang"
-FILES_python-unittest="${libdir}/python2.6/unittest.* "
+DESCRIPTION_${PN}-smtpd="Python Simple Mail Transport Daemon"
+RDEPENDS_${PN}-smtpd="${PN}-core ${PN}-netserver ${PN}-email ${PN}-mime"
+FILES_${PN}-smtpd="${bindir}/smtpd.* "
-DESCRIPTION_python-multiprocessing="Python Multiprocessing Support"
-RDEPENDS_python-multiprocessing="python-core python-io python-lang"
-FILES_python-multiprocessing="${libdir}/python2.6/lib-dynload/_multiprocessing.so ${libdir}/python2.6/multiprocessing "
+DESCRIPTION_${PN}-sqlite3="Python Sqlite3 Database Support"
+RDEPENDS_${PN}-sqlite3="${PN}-core ${PN}-datetime ${PN}-lang ${PN}-crypt ${PN}-io ${PN}-threading ${PN}-zlib"
+FILES_${PN}-sqlite3="${libdir}/python2.6/lib-dynload/_sqlite3.so ${libdir}/python2.6/sqlite3/dbapi2.* ${libdir}/python2.6/sqlite3/__init__.* ${libdir}/python2.6/sqlite3/dump.* "
-DESCRIPTION_python-robotparser="Python robots.txt parser"
-RDEPENDS_python-robotparser="python-core python-netclient"
-FILES_python-robotparser="${libdir}/python2.6/robotparser.* "
+DESCRIPTION_${PN}-sqlite3-tests="Python Sqlite3 Database Support Tests"
+RDEPENDS_${PN}-sqlite3-tests="${PN}-core ${PN}-sqlite3"
+FILES_${PN}-sqlite3-tests="${libdir}/python2.6/sqlite3/test "
-DESCRIPTION_python-compile="Python Bytecode Compilation Support"
-RDEPENDS_python-compile="python-core"
-FILES_python-compile="${libdir}/python2.6/py_compile.* ${libdir}/python2.6/compileall.* "
+DESCRIPTION_${PN}-stringold="Python String APIs [deprecated]"
+RDEPENDS_${PN}-stringold="${PN}-core ${PN}-re"
+FILES_${PN}-stringold="${libdir}/python2.6/lib-dynload/strop.so ${libdir}/python2.6/string.* "
-DESCRIPTION_python-debugger="Python Debugger"
-RDEPENDS_python-debugger="python-core python-io python-lang python-re python-stringold python-shell python-pprint"
-FILES_python-debugger="${libdir}/python2.6/bdb.* ${libdir}/python2.6/pdb.* "
+DESCRIPTION_${PN}-subprocess="Python Subprocess Support"
+RDEPENDS_${PN}-subprocess="${PN}-core ${PN}-io ${PN}-re ${PN}-fcntl ${PN}-pickle"
+FILES_${PN}-subprocess="${libdir}/python2.6/subprocess.* "
-DESCRIPTION_python-pkgutil="Python Package Extension Utility Support"
-RDEPENDS_python-pkgutil="python-core"
-FILES_python-pkgutil="${libdir}/python2.6/pkgutil.* "
+DESCRIPTION_${PN}-syslog="Python Syslog Interface"
+RDEPENDS_${PN}-syslog="${PN}-core"
+FILES_${PN}-syslog="${libdir}/python2.6/lib-dynload/syslog.so "
-DESCRIPTION_python-shell="Python Shell-Like Functionality"
-RDEPENDS_python-shell="python-core python-re"
-FILES_python-shell="${libdir}/python2.6/cmd.* ${libdir}/python2.6/commands.* ${libdir}/python2.6/dircache.* ${libdir}/python2.6/fnmatch.* ${libdir}/python2.6/glob.* ${libdir}/python2.6/popen2.* ${libdir}/python2.6/shlex.* ${libdir}/python2.6/shutil.* "
+DESCRIPTION_${PN}-terminal="Python Terminal Controlling Support"
+RDEPENDS_${PN}-terminal="${PN}-core ${PN}-io"
+FILES_${PN}-terminal="${libdir}/python2.6/pty.* ${libdir}/python2.6/tty.* "
-DESCRIPTION_python-bsddb="Python Berkeley Database Bindings"
-RDEPENDS_python-bsddb="python-core"
-FILES_python-bsddb="${libdir}/python2.6/bsddb ${libdir}/python2.6/lib-dynload/_bsddb.so "
+DESCRIPTION_${PN}-tests="Python Tests"
+RDEPENDS_${PN}-tests="${PN}-core"
+FILES_${PN}-tests="${libdir}/python2.6/test "
-DESCRIPTION_python-mmap="Python Memory-Mapped-File Support"
-RDEPENDS_python-mmap="python-core python-io"
-FILES_python-mmap="${libdir}/python2.6/lib-dynload/mmap.so "
+DESCRIPTION_${PN}-textutils="Python Option Parsing, Text Wrapping and Comma-Separated-Value Support"
+RDEPENDS_${PN}-textutils="${PN}-core ${PN}-io ${PN}-re ${PN}-stringold"
+FILES_${PN}-textutils="${libdir}/python2.6/lib-dynload/_csv.so ${libdir}/python2.6/csv.* ${libdir}/python2.6/optparse.* ${libdir}/python2.6/textwrap.* "
-DESCRIPTION_python-zlib="Python zlib Support."
-RDEPENDS_python-zlib="python-core"
-FILES_python-zlib="${libdir}/python2.6/lib-dynload/zlib.so "
+DESCRIPTION_${PN}-threading="Python Threading & Synchronization Support"
+RDEPENDS_${PN}-threading="${PN}-core ${PN}-lang"
+FILES_${PN}-threading="${libdir}/python2.6/_threading_local.* ${libdir}/python2.6/dummy_thread.* ${libdir}/python2.6/dummy_threading.* ${libdir}/python2.6/mutex.* ${libdir}/python2.6/threading.* ${libdir}/python2.6/Queue.* "
-DESCRIPTION_python-db="Python File-Based Database Support"
-RDEPENDS_python-db="python-core"
-FILES_python-db="${libdir}/python2.6/anydbm.* ${libdir}/python2.6/dumbdbm.* ${libdir}/python2.6/whichdb.* "
+DESCRIPTION_${PN}-tkinter="Python Tcl/Tk Bindings"
+RDEPENDS_${PN}-tkinter="${PN}-core"
+FILES_${PN}-tkinter="${libdir}/python2.6/lib-dynload/_tkinter.so ${libdir}/python2.6/lib-tk "
-DESCRIPTION_python-crypt="Python Basic Cryptographic and Hashing Support"
-RDEPENDS_python-crypt="python-core"
-FILES_python-crypt="${libdir}/python2.6/hashlib.* ${libdir}/python2.6/md5.* ${libdir}/python2.6/sha.* ${libdir}/python2.6/lib-dynload/crypt.so ${libdir}/python2.6/lib-dynload/_hashlib.so ${libdir}/python2.6/lib-dynload/_sha256.so ${libdir}/python2.6/lib-dynload/_sha512.so "
+DESCRIPTION_${PN}-unittest="Python Unit Testing Framework"
+RDEPENDS_${PN}-unittest="${PN}-core ${PN}-stringold ${PN}-lang"
+FILES_${PN}-unittest="${libdir}/python2.6/unittest.* "
-DESCRIPTION_python-idle="Python Integrated Development Environment"
-RDEPENDS_python-idle="python-core python-tkinter"
-FILES_python-idle="${bindir}/idle ${libdir}/python2.6/idlelib "
+DESCRIPTION_${PN}-unixadmin="Python Unix Administration Support"
+RDEPENDS_${PN}-unixadmin="${PN}-core"
+FILES_${PN}-unixadmin="${libdir}/python2.6/lib-dynload/nis.so ${libdir}/python2.6/lib-dynload/grp.so ${libdir}/python2.6/lib-dynload/pwd.so ${libdir}/python2.6/getpass.* "
-DESCRIPTION_python-lang="Python Low-Level Language Support"
-RDEPENDS_python-lang="python-core"
-FILES_python-lang="${libdir}/python2.6/lib-dynload/_bisect.so ${libdir}/python2.6/lib-dynload/_collections.so ${libdir}/python2.6/lib-dynload/_heapq.so ${libdir}/python2.6/lib-dynload/_weakref.so ${libdir}/python2.6/lib-dynload/_functools.so ${libdir}/python2.6/lib-dynload/array.so ${libdir}/python2.6/lib-dynload/itertools.so ${libdir}/python2.6/lib-dynload/operator.so ${libdir}/python2.6/lib-dynload/parser.so ${libdir}/python2.6/atexit.* ${libdir}/python2.6/bisect.* ${libdir}/python2.6/code.* ${libdir}/python2.6/codeop.* ${libdir}/python2.6/collections.* ${libdir}/python2.6/dis.* ${libdir}/python2.6/functools.* ${libdir}/python2.6/heapq.* ${libdir}/python2.6/inspect.* ${libdir}/python2.6/keyword.* ${libdir}/python2.6/opcode.* ${libdir}/python2.6/symbol.* ${libdir}/python2.6/repr.* ${libdir}/python2.6/token.* ${libdir}/python2.6/tokenize.* ${libdir}/python2.6/traceback.* ${libdir}/python2.6/linecache.* ${libdir}/python2.6/weakref.* "
+DESCRIPTION_${PN}-xml="Python basic XML support."
+RDEPENDS_${PN}-xml="${PN}-core ${PN}-elementtree ${PN}-re"
+FILES_${PN}-xml="${libdir}/python2.6/lib-dynload/pyexpat.so ${libdir}/python2.6/xml ${libdir}/python2.6/xmllib.* "
-DESCRIPTION_python-audio="Python Audio Handling"
-RDEPENDS_python-audio="python-core"
-FILES_python-audio="${libdir}/python2.6/wave.* ${libdir}/python2.6/chunk.* ${libdir}/python2.6/sndhdr.* ${libdir}/python2.6/lib-dynload/ossaudiodev.so ${libdir}/python2.6/lib-dynload/audioop.so "
+DESCRIPTION_${PN}-xmlrpc="Python XMLRPC Support"
+RDEPENDS_${PN}-xmlrpc="${PN}-core ${PN}-xml ${PN}-netserver ${PN}-lang"
+FILES_${PN}-xmlrpc="${libdir}/python2.6/xmlrpclib.* ${libdir}/python2.6/SimpleXMLRPCServer.* "
-DESCRIPTION_python-modules="All Python modules"
-RDEPENDS_python-modules="python-profile python-threading python-distutils python-doctest python-stringold 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-resource python-json python-devel python-difflib python-math python-syslog python-hotshot python-unixadmin python-textutils python-tkinter python-gdbm python-elementtree 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-multiprocessing python-robotparser python-compile python-debugger python-pkgutil python-shell python-bsddb python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio "
-ALLOW_EMPTY_python-modules = "1"
+DESCRIPTION_${PN}-zlib="Python zlib Support."
+RDEPENDS_${PN}-zlib="${PN}-core"
+FILES_${PN}-zlib="${libdir}/python2.6/lib-dynload/zlib.so "
+
+DESCRIPTION_${PN}-modules="All Python modules"
+RDEPENDS_${PN}-modules="${PN}-audio ${PN}-bsddb ${PN}-codecs ${PN}-compile ${PN}-compiler ${PN}-compression ${PN}-core ${PN}-crypt ${PN}-ctypes ${PN}-curses ${PN}-datetime ${PN}-db ${PN}-debugger ${PN}-difflib ${PN}-distutils ${PN}-doctest ${PN}-elementtree ${PN}-email ${PN}-fcntl ${PN}-gdbm ${PN}-hotshot ${PN}-html ${PN}-idle ${PN}-image ${PN}-io ${PN}-json ${PN}-lang ${PN}-logging ${PN}-mailbox ${PN}-math ${PN}-mime ${PN}-mmap ${PN}-multiprocessing ${PN}-netclient ${PN}-netserver ${PN}-numbers ${PN}-pickle ${PN}-pkgutil ${PN}-pprint ${PN}-profile ${PN}-pydoc ${PN}-re ${PN}-readline ${PN}-resource ${PN}-robotparser ${PN}-shell ${PN}-smtpd ${PN}-sqlite3 ${PN}-sqlite3-tests ${PN}-stringold ${PN}-subprocess ${PN}-syslog ${PN}-terminal ${PN}-tests ${PN}-textutils ${PN}-threading ${PN}-tkinter ${PN}-unittest ${PN}-unixadmin ${PN}-xml ${PN}-xmlrpc ${PN}-zlib "
+ALLOW_EMPTY_${PN}-modules = "1"
echo "ao_lib_dir = ${STAGING_LIBDIR}" >>Setup
echo "ao_include_dir = ${STAGING_INCDIR}" >>Setup
}
+
+SRC_URI[md5sum] = "8e00f5154401a6f6d99efd20606e2819"
+SRC_URI[sha256sum] = "9a444518252f6d747e76a219e5efbc05b4e1742260a7419da9ddf93a519b30c5"
HOMEPAGE = "http://blipapi.googlecode.com/"
DEPENDS = "python-setuptools"
LICENSE = "GPL"
-RDEPENDS += "python-json"
-PR = "r0"
+RDEPENDS_${PN} += "python-json"
+PR = "r1"
inherit setuptools
SRC_URI = "http://blipapi.googlecode.com/files/BlipApiPY-0.02.04.tar.bz2"
S = "${WORKDIR}/blipapi"
+
+SRC_URI[md5sum] = "38892df4239376e51300e5455a319664"
+SRC_URI[sha256sum] = "b433ec324dbc0c63966cb383e370225afaf4eb5abf97471a49a5e893ceffb818"
PRIORITY = "optional"
LICENSE = "MIT"
SRCNAME = "Cheetah"
-PR = "r1"
+PR = "r2"
SRC_URI = "${SOURCEFORGE_MIRROR}/cheetahtemplate/${SRCNAME}-${PV}.tar.gz"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
-RDEPENDS = "python-pickle python-pprint"
+DEPENDS = "python"
+RDEPENDS_${PN} = "python-pickle python-pprint"
+
+NATIVE_INSTALL_WORKS = "1"
+BBCLASSEXTEND = "native"
+
+SRC_URI[md5sum] = "7845a2950ea850a13c488a26b61ac50a"
+SRC_URI[sha256sum] = "70b618a03506831f59ba1ff8433907ee8d4ead5fc9f1b3f610d384e08a26938c"
SRC_URI = "http://pypi.python.org/packages/source/p/python-cjson/python-cjson-${PV}.tar.gz"
inherit distutils
+
+SRC_URI[md5sum] = "4d55b66ecdf0300313af9d030d9644a3"
+SRC_URI[sha256sum] = "85bbe7a9fb6617e24bb4dbef528af8ef6eae07f8809dcd05ec926142feca7714"
python-divmodaxiom"
+
+SRC_URI[md5sum] = "feaeeaa68cae420c0c365c3c27b2a21e"
+SRC_URI[sha256sum] = "1cb99720527ea0a5906f5e75152634b1797ff44bcc31f4014285bd5da41589cc"
python-divmodaxiom"
+
+SRC_URI[md5sum] = "d7a1b4abf6831c61e37a3b9e2bdc560a"
+SRC_URI[sha256sum] = "0b54a6ba88c1ff6274aadb68ff37b8a3961b4c6acf5ded291c5dea936a311ba4"
S = "${WORKDIR}/configobj-${PV}"
+
+SRC_URI[md5sum] = "6e2b37301439705831bd510d2a198431"
+SRC_URI[sha256sum] = "4276fcc96d81f0ba923f3a8c44c3cb55ac72c00fa79d35f1e3ccb4d410b3d7c5"
inherit distutils
+
+SRC_URI[md5sum] = "975e5449d6670dd19498bb9ec4856d39"
+SRC_URI[sha256sum] = "0d904161351a8e55b272ed9691b12dca4278bed62fde53ba2a36f479996db910"
SECTION = "devel/python"
PRIORITY = "optional"
LICENSE = "LGPL"
+PR = "r1"
inherit distutils
SRC_URI = "http://jerakeen.org/files/PythonDaap-${PV}.tar.gz"
S = "${WORKDIR}/PythonDaap-${PV}"
-RDEPENDS = "python-compression"
+RDEPENDS_${PN} = "python-compression"
+
+SRC_URI[md5sum] = "b3db3d60b0ee83f5f23101d2c3bb99e0"
+SRC_URI[sha256sum] = "ea1d3a8141654781a0df31e6607c4722436fa33eb2e9934492770b3b61be8122"
python-core \
python-datetime \
"
+
+SRC_URI[md5sum] = "2a5f25ab12fcefcf0b21348f2d47595a"
+SRC_URI[sha256sum] = "74b615c6a55b4421187feba1633fc233e7c5ebdd7abe9b092447a32946823357"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "19e68b362fe61ef84b981d53d96f0735"
+SRC_URI[sha256sum] = "5f7dbcbd28eebadc736d957b9511a87ad5570c8fc822c8123a42e7259773cb7f"
DEPENDS += "python-divmodepsilon-native"
require divmod.inc
+
+PR = "${INC_PR}.1"
+
+SRC_URI[md5sum] = "8f0b3a27770e487ad08f4fafdccc4495"
+SRC_URI[sha256sum] = "4a4217e70e01e11d357c2c2c23bc72d244a78fa40a401cca48cd5f0a619c7060"
require divmod.inc
+PR = "${INC_PR}.1"
+
+NATIVE_INSTALL_WORKS = "1"
+BBCLASSEXTEND = "native"
+
+SRC_URI[md5sum] = "39710dfdeb42e51c953b17b6cded163e"
+SRC_URI[sha256sum] = "a5907a3b7584d63be30b3f79b0422b2b0778e73c053be9ac5a11004f1c9097dc"
python-unixadmin \
python-xml \
"
+
+SRC_URI[md5sum] = "89353e3749668778f1370d2e444f3adc"
+SRC_URI[sha256sum] = "50a5d228743a69a682899b20141194bf8fd3fd75eaf33ba5f2932f43ea93ea0d"
HOMEPAGE = "http://docutils.sourceforge.net"
SECTION = "devel/python"
LICENSE = "PSF"
-PR = "ml0"
+PR = "ml1"
+
+DEPENDS = "python"
SRC_URI = "${SOURCEFORGE_MIRROR}/docutils/docutils-${PV}.tar.gz"
S = "${WORKDIR}/docutils-${PV}"
inherit distutils
+
+NATIVE_INSTALL_WORKS = "1"
+BBCLASSEXTEND = "native"
+
+SRC_URI[md5sum] = "dd72dac92fc8e3eb0f48c3effeef80f6"
+SRC_URI[sha256sum] = "747cf984edfca0575addbb42453274a1bdd98ec7780bd37a883dc8b2a66a610e"
S = "${WORKDIR}/dweba-${RPV}"
inherit distutils
+
+SRC_URI[md5sum] = "6f0bd0bcda35c6a96cc3853f16ba82d4"
+SRC_URI[sha256sum] = "ea32ca58b6500d9061177da23ef03f918ef0c5bbbdd082a843f4834cef9c4957"
require python-efl.inc
SRCREV = "${EFL_SRCREV}"
DEPENDS += "python-evas ecore"
-RDEPENDS += "python-evas"
-
-do_stage() {
- distutils_stage_all
-}
+RDEPENDS_${PN} += "python-evas"
require python-efl.inc
SRCREV = "${EFL_SRCREV}"
DEPENDS += "edbus python-dbus"
-RDEPENDS += "python-dbus"
-
-SRC_URI = "svn://svn.enlightenment.org/svn/e/trunk/BINDINGS/python;module=python-e_dbus;proto=http"
-S = "${WORKDIR}/python-e_dbus"
+RDEPENDS_${PN} += "python-dbus"
+SRCNAME = "python-e_dbus"
index 0f4da68..21c237e 100644
--- a/edje/edje.c_edje_object.pxi
+++ b/edje/edje.c_edje_object.pxi
-@@ -391,17 +391,20 @@ cdef public class Edje(evas.c_evas.Object) [object PyEdje, type PyEdje_Type]:
+@@ -415,17 +415,20 @@
else:
raise TypeError("func must be callable or None")
def part_text_get(self, char *part):
- "@rtype: str"
+ "@rtype: unicode"
- cdef char *s
+ cdef const_char_ptr s
s = edje_object_part_text_get(self.obj, part)
if s == NULL:
return None
- return s
+ return s.decode("utf8")
- def part_swallow(self, char *part, c_evas.Object obj):
- """Swallows an object into the edje
---
-1.5.6.3
-
+ def part_text_select_all(self, char *part):
+ edje_object_part_text_select_all(self.obj, part)
require python-efl.inc
SRCREV = "${EFL_SRCREV}"
DEPENDS += "edje python-evas"
-RDEPENDS += "python-evas"
+RDEPENDS_${PN} += "python-evas"
-SRC_URI += "file://0001-fix-unicode-conversion.patch;patch=1"
+SRC_URI += "file://0001-fix-unicode-conversion.patch"
DESCRIPTION = "${PN} bindings"
LICENSE = "BSD"
AUTHOR = "Gustavo Sverzut Barbieri <barbieri@gmail.com>"
-HOMEPAGE = "http://www.enlightenment.org"
# NOTE: Due to a bug in distutils, even if we don't use pyrex but cython,
# we need to build pyrex otherwise cython doesn't get called to build
# the extension modules.
DEPENDS = "python-cython-native python-pyrex-native python-numeric eina"
-RDEPENDS += "python-lang"
-PV = "0.3.1+svnr${SRCPV}"
-PR = "ml0"
+RDEPENDS_${PN} += "python-lang"
+PV = "0.7.3+svnr${SRCPV}"
+PR = "ml1"
-inherit setuptools
+# necessary to let the call for python-config succeed
+export BUILD_SYS
+export HOST_SYS
-SRC_URI = "svn://svn.enlightenment.org/svn/e/trunk/BINDINGS/python;module=${PN};proto=http"
-S = "${WORKDIR}/${PN}"
+inherit e-base autotools pkgconfig distutils-base
+
+SRC_URI = "${E_SVN}/trunk/BINDINGS/python;module=${SRCNAME};proto=http"
+S = "${WORKDIR}/${SRCNAME}"
+
+
+do_configure_prepend() {
+ # prefix CYTHON_.*_INCLUDEDIR with path to STAGING_DIR_HOST also use $PKG_CONFIG instead of pkg-config directly
+ sed -i "s#\`\$PKG_CONFIG --variable=includedir \"python-evas#${STAGING_DIR_HOST}\`\$PKG_CONFIG --variable=includedir \"python-evas#g" ${S}/configure.ac
+}
do_install_append() {
if [ -e examples ]; then
cd ${S}
install -d ${D}${datadir}/${PN}/
cp -a examples ${D}${datadir}/${PN}/
- find ${D}${datadir}/${PN}/examples -name "CVS" | xargs rm -rf
- find ${D}${datadir}/${PN}/examples -name ".cvsignore" | xargs rm -f
+ find ${D}${datadir}/${PN}/examples -name ".svn" | xargs rm -rf
fi
}
FILES_${PN} += "${datadir}"
FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/mx/*/*/.debug"
+
+SRC_URI[md5sum] = "d0f3b1adca33a68867bf50f000060cd6"
+SRC_URI[sha256sum] = "a0d03208e335610defc3049d8dd03f4ec7fcf477f44c4897b3f68adc478237ee"
require python-efl.inc
SRCREV = "${EFL_SRCREV}"
-DEPENDS += "elementary"
-RDEPENDS += "python-evas python-ecore python-edje"
-PV = "0.1+svnr${SRCPV}"
-PR = "ml0"
-
-do_stage() {
- distutils_stage_all
-}
+DEPENDS += "elementary python-evas"
+RDEPENDS_${PN} += "python-evas python-ecore python-edje"
require python-efl.inc
SRCREV = "${EFL_SRCREV}"
DEPENDS += "emotion python-evas"
-RDEPENDS += "python-ecore"
+RDEPENDS_${PN} += "python-ecore"
LICENSE = "MIT"
HOMEPAGE = "http://epydoc.sourceforge.net/"
SRCNAME = "epydoc"
-DEPENDS = "python"
+DEPENDS += "python"
+DEPENDS_virtclass-native += "python-native"
+PR = "r2"
SRC_URI = "http://downloads.sourceforge.net/project/${SRCNAME}/${SRCNAME}/${PV}/${SRCNAME}-${PV}.tar.gz"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "cdd6f6c76dd8bab5e653a343a0544294"
+SRC_URI[sha256sum] = "d4e5c8d90937d01b05170f592c1fa9b29e9ed0498dfe7f0eb2a3af61725b6ad1"
+
+BBCLASSEXTEND = "native"
+
+NATIVE_INSTALL_WORKS = "1"
require python-efl.inc
SRCREV = "${EFL_SRCREV}"
DEPENDS += "evas"
-
-do_stage() {
- distutils_stage_all
- distutils_stage_headers
-}
PRIORITY = "optional"
LICENSE = "LGPL"
DEPENDS = "fam"
-PR = "r1"
+PR = "r2"
SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${P}.tar.gz"
inherit distutils
-RDEPENDS = "fam python-core python-io"
+RDEPENDS_${PN} = "fam python-core python-io"
+
+SRC_URI[md5sum] = "f6c760c6d8e5ea69a3fce029f7973558"
+SRC_URI[sha256sum] = "139f069a4455560a8c68c4c18569f2cb453eeda33d522862f7a4af13932d9cdc"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit setuptools
+
+SRC_URI[md5sum] = "24dad7edc5ada31dddd49456ee8d5254"
+SRC_URI[sha256sum] = "4bad317a5fc1ce3d4fe5e9b6d846ec38a8023e16876785d4f88102f2c8097dd9"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "7de1500c7ef6592a603890b45e23261b"
+SRC_URI[sha256sum] = "d4380ab7fa8b8a9f564592b4e07c96117abd2d3f677b8a73c824cf4f904aa294"
SRC_URI = "http://pypi.python.org/packages/source/F/FormEncode/FormEncode-${PV}.tar.gz"
S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+SRC_URI[md5sum] = "7030996497f3cf012bc9e99b4ca3e920"
+SRC_URI[sha256sum] = "be21e3d5fa2edd1f5ff5952f67e6574dae15a027b26415910dfe813902fd5985"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "10ba9e04129af23108d24c22c3a698b1"
+SRC_URI[sha256sum] = "bd54e294c056c6d52b2037e91d7b2782d6805b24a74923dc80e1c9107acac707"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "83b738d805e17c226f43bbac453a0631"
+SRC_URI[sha256sum] = "14b0fb8ce8a97a0bf7d8f5be57f6bb67dc9e5273f1f465f3babe994c44db3d87"
inherit distutils
FILES_${PN}-dbg += "${libdir}/python*/site-packages/fuseparts/.debu*"
+
+SRC_URI[md5sum] = "68be744e71a42cd8a92905a49f346278"
+SRC_URI[sha256sum] = "89f3e9ac096759e10b6292632216c9653d7e35c2c99847267173d94afdf85b92"
python-resource \
python-subprocess \
"
+
+SRC_URI[md5sum] = "e7dfc39fd169e8ba72b0aeb304acb25b"
+SRC_URI[sha256sum] = "85f9a52578c9af3d2a062097144cb6dc507fff7df7e286479010e65cf6b6f23d"
SECTION = "devel/python"
LICENSE = "Apache"
HOMEPAGE = "http://code.google.com/p/gdata-python-client/"
-PR = "r0"
+PR = "r1"
inherit distutils
FILES_${PN} += "${datadir}"
-RDEPENDS = "python-elementtree"
+RDEPENDS_${PN} = "python-elementtree"
+
+SRC_URI[md5sum] = "521f33a377d64f8a6505ba119415b787"
+SRC_URI[sha256sum] = "fc5ddb8f76b17abd728721a0e0177ea35f55a70106f44dc9010b22eceb06abde"
S = "${WORKDIR}/${SRCNAME}"
inherit distutils
+
+SRC_URI[md5sum] = "7b2e951912d4bee9613c35244ca32673"
+SRC_URI[sha256sum] = "5cd061fa5d4906d6aa7183393c98d070dc689cbb946c13bebab6d6e4ecdc2231"
inherit distutils
+
+SRC_URI[md5sum] = "729984e5858fa626359a8d6447a24bae"
+SRC_URI[sha256sum] = "5673927f18790511f2a01004a51110e167f7950e7accf9e1bc6832a4bfed4feb"
SRC_URI = "\
http://gstreamer.freedesktop.org/src/gst-python/gst-python-${PV}.tar.bz2 \
- file://python-path.patch;patch=1 \
- file://import-gobject-instead-of-pygtk.patch;patch=1 \
+ file://python-path.patch \
+ file://import-gobject-instead-of-pygtk.patch \
"
S = "${WORKDIR}/gst-python-${PV}"
install -m 0644 ${S}/common/m4/*.m4 ${S}/m4/
}
-do_stage() {
- autotools_stage_all
-}
-
PACKAGES =+ "${PN}-examples"
FILES_${PN} += "${datadir}/gst-python"
"
FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/gst-0.10/gst/.debug/"
FILES_${PN}-examples = "${datadir}/gst-python/0.10/examples"
+
+SRC_URI[md5sum] = "6183d61e434b5d34f232248a35571627"
+SRC_URI[sha256sum] = "c875753a6cccd40a79f5824ea5ec51ee4615a4f22103e4adfc6a0221bf615d8e"
SRC_URI = "\
http://gstreamer.freedesktop.org/src/gst-python/gst-python-${PV}.tar.bz2 \
- file://python-path.patch;patch=1 \
- file://import-gobject-instead-of-pygtk.patch;patch=1 \
+ file://python-path.patch \
+ file://import-gobject-instead-of-pygtk.patch \
"
S = "${WORKDIR}/gst-python-${PV}"
install -m 0644 ${S}/common/m4/*.m4 ${S}/m4/
}
-do_stage() {
- autotools_stage_all
-}
-
PACKAGES =+ "${PN}-examples"
FILES_${PN} += "${datadir}/gst-python"
"
FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/gst-0.10/gst/.debug/ ${libdir}/gstreamer-0.10/.debug/"
FILES_${PN}-examples = "${datadir}/gst-python/0.10/examples"
+
+SRC_URI[md5sum] = "3998753de6500ee8c18ce1456df43df6"
+SRC_URI[sha256sum] = "70cef839b429dcea0cae342d24bc2e0e5deae01e902a8858e2c7dd76a724cde9"
PRIORITY = "optional"
LICENSE = "GPL"
DEPENDS = "freetype jpeg tiff"
-RDEPENDS = "python-lang python-stringold"
+RDEPENDS_${PN} = "python-lang python-stringold"
SRCNAME = "Imaging"
-PR = "ml1"
+PR = "ml2"
SRC_URI = "http://effbot.org/downloads/Imaging-${PV}.tar.gz \
- file://path.patch;patch=1"
+ file://path.patch"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
install -m 0644 ${S}/Docs/* ${D}${datadir}/doc/${PN}/html/
}
+
+SRC_URI[md5sum] = "3a9b5c20ca52f0a9900512d2c7347622"
+SRC_URI[sha256sum] = "7dd7358ab519161967c838df27465282d180a3206f693ba2db64273d688b3f90"
inherit distutils
FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/imdb/parser/common/.debug"
+
+SRC_URI[md5sum] = "8c7bef46f54451c809ffd99e2f1eee2d"
+SRC_URI[sha256sum] = "b677e2f0539b90d1c0a844b9ab0f19ac41424c7c2b9335d17695765f2d7b1b80"
require python-iniparse_${PV}.bb
inherit native
DEPENDS = "python-native"
-RDEPENDS = ""
-PR = "r1"
+RDEPENDS_${PN} = ""
+PR = "r2"
do_stage() {
distutils_stage_all
S = "${WORKDIR}/iniparse-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "194a04cc93fe123f244ca33e7724bdf6"
+SRC_URI[sha256sum] = "f1252122f09cc63a57843ec1b8a51ce30c7bfcbc857f476a996b374006433a48"
inherit distutils
+
+SRC_URI[md5sum] = "361bcab2f0cd57cdaf6fe6fe433778b0"
+SRC_URI[sha256sum] = "22557b44a693918d2a4a4b267b22dd2baa542539e225e3999e1a2b1bf91b954a"
inherit distutils
+
+SRC_URI[md5sum] = "7e4fc4b5382c6b54ede8b6e29270cba8"
+SRC_URI[sha256sum] = "f1f472a698966b0350857b20fc7f6dd86e4a1f83870edfbe30eb36552b449680"
LICENSE = "Python-style"
HOMEPAGE = "http://www.python-ldap.org/"
DEPENDS = "python openldap"
+PR = "r1"
SRC_URI = "http://pypi.python.org/packages/source/p/${PN}/${PN}-${PV}.tar.gz \
- file://setup.cfg.patch;patch=1"
+ file://setup.cfg.patch"
inherit setuptools
+
+SRC_URI[md5sum] = "a9f9f16338288d118a1ae6266c993247"
+SRC_URI[sha256sum] = "62f75b21c5ee744408c9d8b59878328b3bdf47899d30e8abf0c09b3ffb893ed4"
PRIORITY = "optional"
LICENSE = "GPL"
SRCNAME = "libgmail"
-PR = "ml0"
+PR = "ml1"
SRC_URI = "${SOURCEFORGE_MIRROR}/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
S = "${WORKDIR}/${SRCNAME}-${PV}"
done
}
-RDEPENDS = "\
+RDEPENDS_${PN} = "\
python-core \
python-netclient \
python-email \
python-pickle \
"
+
+SRC_URI[md5sum] = "247477ac98b39658fdcdee8d65639e51"
+SRC_URI[sha256sum] = "2d94f1230f591dfa6d1b726338063f28b89b2f82ba5b866ab077c86c598de43e"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "39561a45c74f8ff11e2ddd872f4ee5bc"
+SRC_URI[sha256sum] = "c5974c1e98bed62bb3153a8144069c43229c6b208ef599bc77c84fb493c2291b"
--- /dev/null
+--- SWIG/_aes.i
++++ SWIG/_aes.i
+@@ -76,7 +76,7 @@
+ AES_encrypt((const unsigned char *)in, out, key);
+ else
+ AES_decrypt((const unsigned char *)in, out, key);
+- return PyString_FromStringAndSize(out, outlen);
++ return PyString_FromStringAndSize((char*)out, outlen);
+ }
+
+ int AES_type_check(AES_KEY *key) {
+--- SWIG/_evp.i
++++ SWIG/_evp.i
+@@ -4,6 +4,9 @@
+
+ Portions Copyright (c) 2004-2007 Open Source Applications Foundation.
+ Author: Heikki Toivonen
++
++Copyright (c) 2009-2010 Heikki Toivonen. All rights reserved.
++
+ */
+
+ %include <openssl/opensslconf.h>
+@@ -180,7 +183,7 @@
+
+ PKCS5_PBKDF2_HMAC_SHA1(passbuf, passlen, saltbuf, saltlen, iter,
+ keylen, key);
+- ret = PyString_FromStringAndSize(key, keylen);
++ ret = PyString_FromStringAndSize((char*)key, keylen);
+ OPENSSL_cleanse(key, keylen);
+ return ret;
+ }
+@@ -339,7 +342,7 @@
+ klen = EVP_BytesToKey(cipher, md, (unsigned char *)sbuf,
+ (unsigned char *)dbuf, dlen, iter,
+ key, NULL); /* Since we are not returning IV no need to derive it */
+- ret = PyString_FromStringAndSize(key, klen);
++ ret = PyString_FromStringAndSize((char*)key, klen);
+ return ret;
+ }
+
+@@ -435,7 +438,7 @@
+ PyErr_SetString(_evp_err, ERR_reason_error_string(ERR_get_error()));
+ return NULL;
+ }
+- ret = PyString_FromStringAndSize(sigbuf, siglen);
++ ret = PyString_FromStringAndSize((char*)sigbuf, siglen);
+ OPENSSL_cleanse(sigbuf, siglen);
+ OPENSSL_free(sigbuf);
+ return ret;
+@@ -513,7 +516,7 @@
+ PyErr_SetString(PyExc_ValueError, "EVP_PKEY as DER failed");
+ return NULL;
+ }
+- der = PyString_FromStringAndSize(pp, len);
++ der = PyString_FromStringAndSize((char*)pp, len);
+ OPENSSL_free(pp);
+ return der;
+ }
+--- SWIG/_m2crypto.i
++++ SWIG/_m2crypto.i
+@@ -3,6 +3,9 @@
+ *
+ * Portions created by Open Source Applications Foundation (OSAF) are
+ * Copyright (C) 2004-2006 OSAF. All Rights Reserved.
++ *
++ * Copyright (c) 2009-2010 Heikki Toivonen. All rights reserved.
++ *
+ */
+
+ %module(threads=1) _m2crypto
+@@ -38,6 +41,19 @@
+ #define CONST098
+ #endif
+
++/* Bring in STACK_OF macro definition */
++%include <openssl/safestack.h>
++
++/* Bring in LHASH_OF macro definition */
++/* XXX Can't include lhash.h where LHASH_OF is defined, because it includes
++ XXX stdio.h etc. which we fail to include. So we have to (re)define
++ XXX LHASH_OF here instead.
++%include <openssl/lhash.h>
++*/
++#if OPENSSL_VERSION_NUMBER >= 0x10000000L
++#define LHASH_OF(type) struct lhash_st_##type
++#endif
++
+ %include constraints.i
+ %include _threads.i
+ %include _lib.i
+--- SWIG/_pkcs7.i
++++ SWIG/_pkcs7.i
+@@ -12,7 +12,7 @@
+ %apply Pointer NONNULL { EVP_CIPHER * };
+ %apply Pointer NONNULL { EVP_PKEY * };
+ %apply Pointer NONNULL { PKCS7 * };
+-%apply Pointer NONNULL { STACK * };
++%apply Pointer NONNULL { STACK_OF(X509) * };
+ %apply Pointer NONNULL { X509 * };
+
+ %rename(pkcs7_new) PKCS7_new;
+@@ -54,8 +54,8 @@
+
+ %threadallow pkcs7_encrypt;
+ %inline %{
+-PKCS7 *pkcs7_encrypt(STACK *stack, BIO *bio, EVP_CIPHER *cipher, int flags) {
+- return PKCS7_encrypt((STACK_OF(X509) *)stack, bio, cipher, flags);
++PKCS7 *pkcs7_encrypt(STACK_OF(X509) *stack, BIO *bio, EVP_CIPHER *cipher, int flags) {
++ return PKCS7_encrypt(stack, bio, cipher, flags);
+ }
+
+ PyObject *pkcs7_decrypt(PKCS7 *pkcs7, EVP_PKEY *pkey, X509 *cert, int flags) {
+@@ -96,14 +96,14 @@
+
+ %threadallow pkcs7_sign1;
+ %inline %{
+-PKCS7 *pkcs7_sign1(X509 *x509, EVP_PKEY *pkey, STACK *stack, BIO *bio, int flags) {
+- return PKCS7_sign(x509, pkey, (STACK_OF(X509) *)stack, bio, flags);
++PKCS7 *pkcs7_sign1(X509 *x509, EVP_PKEY *pkey, STACK_OF(X509) *stack, BIO *bio, int flags) {
++ return PKCS7_sign(x509, pkey, stack, bio, flags);
+ }
+ %}
+
+ %threadallow pkcs7_verify1;
+ %inline %{
+-PyObject *pkcs7_verify1(PKCS7 *pkcs7, STACK *stack, X509_STORE *store, BIO *data, int flags) {
++PyObject *pkcs7_verify1(PKCS7 *pkcs7, STACK_OF(X509) *stack, X509_STORE *store, BIO *data, int flags) {
+ int outlen;
+ char *outbuf;
+ BIO *bio;
+@@ -113,7 +113,7 @@
+ PyErr_SetString(PyExc_MemoryError, "pkcs7_verify1");
+ return NULL;
+ }
+- if (!PKCS7_verify(pkcs7, (STACK_OF(X509) *)stack, store, data, bio, flags)) {
++ if (!PKCS7_verify(pkcs7, stack, store, data, bio, flags)) {
+ PyErr_SetString(_pkcs7_err, ERR_reason_error_string(ERR_get_error()));
+ BIO_free(bio);
+ return NULL;
+@@ -131,7 +131,7 @@
+ return ret;
+ }
+
+-PyObject *pkcs7_verify0(PKCS7 *pkcs7, STACK *stack, X509_STORE *store, int flags) {
++PyObject *pkcs7_verify0(PKCS7 *pkcs7, STACK_OF(X509) *stack, X509_STORE *store, int flags) {
+ return pkcs7_verify1(pkcs7, stack, store, NULL, flags);
+ }
+ %}
+@@ -229,7 +229,7 @@
+ }
+
+ /* return STACK_OF(X509)* */
+-STACK *pkcs7_get0_signers(PKCS7 *p7, STACK *certs, int flags) {
++STACK_OF(X509) *pkcs7_get0_signers(PKCS7 *p7, STACK_OF(X509) *certs, int flags) {
+ return PKCS7_get0_signers(p7, certs, flags);
+ }
+
+--- SWIG/_rand.i
++++ SWIG/_rand.i
+@@ -87,7 +87,7 @@
+ Py_INCREF(Py_None);
+ return Py_None;
+ } else {
+- PyTuple_SET_ITEM(tuple, 0, PyString_FromStringAndSize(blob, n));
++ PyTuple_SET_ITEM(tuple, 0, PyString_FromStringAndSize((char*)blob, n));
+ PyMem_Free(blob);
+ PyTuple_SET_ITEM(tuple, 1, PyInt_FromLong((long)ret));
+ return tuple;
+--- SWIG/_ssl.i
++++ SWIG/_ssl.i
+@@ -3,6 +3,9 @@
+ /*
+ ** Portions created by Open Source Applications Foundation (OSAF) are
+ ** Copyright (C) 2004-2005 OSAF. All Rights Reserved.
++**
++** Copyright (c) 2009-2010 Heikki Toivonen. All rights reserved.
++**
+ */
+ /* $Id: m2crypto-0.20.2-openssl-1.0.0.patch,v 1.1 2010/04/30 18:21:16 arfrever Exp $ */
+
+@@ -17,13 +20,17 @@
+ %apply Pointer NONNULL { SSL_CTX * };
+ %apply Pointer NONNULL { SSL * };
+ %apply Pointer NONNULL { SSL_CIPHER * };
+-%apply Pointer NONNULL { STACK * };
++%apply Pointer NONNULL { STACK_OF(SSL_CIPHER) * };
++%apply Pointer NONNULL { STACK_OF(X509) * };
+ %apply Pointer NONNULL { BIO * };
+ %apply Pointer NONNULL { DH * };
+ %apply Pointer NONNULL { RSA * };
+ %apply Pointer NONNULL { EVP_PKEY *};
+ %apply Pointer NONNULL { PyObject *pyfunc };
+
++%rename(ssl_get_ciphers) SSL_get_ciphers;
++extern STACK_OF(SSL_CIPHER) *SSL_get_ciphers(const SSL *ssl);
++
+ %rename(ssl_get_version) SSL_get_version;
+ extern const char *SSL_get_version(CONST SSL *);
+ %rename(ssl_get_error) SSL_get_error;
+@@ -668,28 +675,24 @@
+ return SSL_CIPHER_get_bits(c, NULL);
+ }
+
+-STACK *ssl_get_ciphers(SSL *ssl) {
+- return (STACK *)SSL_get_ciphers(ssl);
+-}
+-
+-int sk_ssl_cipher_num(STACK *stack) {
+- return sk_num(stack);
++int sk_ssl_cipher_num(STACK_OF(SSL_CIPHER) *stack) {
++ return sk_SSL_CIPHER_num(stack);
+ }
+
+-SSL_CIPHER *sk_ssl_cipher_value(STACK *stack, int idx) {
+- return (SSL_CIPHER *)sk_value(stack, idx);
++SSL_CIPHER *sk_ssl_cipher_value(STACK_OF(SSL_CIPHER) *stack, int idx) {
++ return sk_SSL_CIPHER_value(stack, idx);
+ }
+
+-STACK *ssl_get_peer_cert_chain(SSL *ssl) {
+- return (STACK *)SSL_get_peer_cert_chain(ssl);
++STACK_OF(X509) *ssl_get_peer_cert_chain(SSL *ssl) {
++ return SSL_get_peer_cert_chain(ssl);
+ }
+
+-int sk_x509_num(STACK *stack) {
+- return sk_num(stack);
++int sk_x509_num(STACK_OF(X509) *stack) {
++ return sk_X509_num(stack);
+ }
+
+-X509 *sk_x509_value(STACK *stack, int idx) {
+- return (X509 *)sk_value(stack, idx);
++X509 *sk_x509_value(STACK_OF(X509) *stack, int idx) {
++ return sk_X509_value(stack, idx);
+ }
+ %}
+
+--- SWIG/_util.i
++++ SWIG/_util.i
+@@ -48,7 +48,7 @@
+ PyErr_SetString(_util_err, ERR_reason_error_string(ERR_get_error()));
+ return NULL;
+ }
+- obj = PyString_FromStringAndSize(ret, len);
++ obj = PyString_FromStringAndSize((char*)ret, len);
+ OPENSSL_free(ret);
+ return obj;
+ }
+--- SWIG/_x509.i
++++ SWIG/_x509.i
+@@ -3,6 +3,9 @@
+ /*
+ ** Portions created by Open Source Applications Foundation (OSAF) are
+ ** Copyright (C) 2004-2005 OSAF. All Rights Reserved.
++**
++** Copyright (c) 2009-2010 Heikki Toivonen. All rights reserved.
++**
+ */
+ /* $Id: m2crypto-0.20.2-openssl-1.0.0.patch,v 1.1 2010/04/30 18:21:16 arfrever Exp $ */
+
+@@ -148,8 +151,15 @@
+ extern int X509_NAME_print_ex(BIO *, X509_NAME *, int, unsigned long);
+ %rename(x509_name_print_ex_fp) X509_NAME_print_ex_fp;
+ extern int X509_NAME_print_ex_fp(FILE *, X509_NAME *, int, unsigned long);
++
++#if OPENSSL_VERSION_NUMBER >= 0x10000000L
++%rename(x509_name_hash) X509_NAME_hash_old;
++extern unsigned long X509_NAME_hash_old(X509_NAME *);
++#else
+ %rename(x509_name_hash) X509_NAME_hash;
+ extern unsigned long X509_NAME_hash(X509_NAME *);
++#endif
++
+ %rename(x509_name_get_index_by_nid) X509_NAME_get_index_by_NID;
+ extern int X509_NAME_get_index_by_NID(X509_NAME *, int, int);
+
+@@ -171,7 +181,7 @@
+ if (PyString_Check($input)) {
+ Py_ssize_t len;
+
+- $1 = PyString_AsString($input);
++ $1 = (unsigned char *)PyString_AsString($input);
+ len = PyString_Size($input);
+ if (len > INT_MAX) {
+ PyErr_SetString(PyExc_ValueError, "object too large");
+@@ -184,7 +194,7 @@
+ }
+ }
+ %rename(x509_name_entry_set_data) X509_NAME_ENTRY_set_data;
+-extern int X509_NAME_ENTRY_set_data( X509_NAME_ENTRY *, int, CONST unsigned char *, int);
++extern int X509_NAME_ENTRY_set_data(X509_NAME_ENTRY *, int, CONST unsigned char *, int);
+ %typemap(in) (CONST unsigned char *, int);
+
+ %rename(x509_req_new) X509_REQ_new;
+@@ -230,7 +240,7 @@
+ %rename(x509_store_ctx_free) X509_STORE_CTX_free;
+ extern void X509_STORE_CTX_free(X509_STORE_CTX *);
+ %rename(x509_store_ctx_get1_chain) X509_STORE_CTX_get1_chain;
+-extern STACK *X509_STORE_CTX_get1_chain(X509_STORE_CTX *);
++extern STACK_OF(X509) *X509_STORE_CTX_get1_chain(X509_STORE_CTX *);
+
+ %rename(x509_extension_get_critical) X509_EXTENSION_get_critical;
+ extern int X509_EXTENSION_get_critical(X509_EXTENSION *);
+@@ -348,7 +358,7 @@
+ PyErr_SetString(_x509_err, ERR_reason_error_string(ERR_get_error()));
+ }
+ else {
+- ret = PyString_FromStringAndSize(buf, len);
++ ret = PyString_FromStringAndSize((char*)buf, len);
+ OPENSSL_free(buf);
+ }
+ return ret;
+@@ -435,12 +445,12 @@
+ }
+
+ int x509_name_set_by_nid(X509_NAME *name, int nid, PyObject *obj) {
+- return X509_NAME_add_entry_by_NID(name, nid, MBSTRING_ASC, PyString_AsString(obj), -1, -1, 0);
++ return X509_NAME_add_entry_by_NID(name, nid, MBSTRING_ASC, (unsigned char *)PyString_AsString(obj), -1, -1, 0);
+ }
+
+ /* x509_name_add_entry_by_txt */
+ int x509_name_add_entry_by_txt(X509_NAME *name, char *field, int type, char *bytes, int len, int loc, int set) {
+- return X509_NAME_add_entry_by_txt(name, field, type, bytes, len, loc, set);
++ return X509_NAME_add_entry_by_txt(name, field, type, (unsigned char *)bytes, len, loc, set);
+ }
+
+ PyObject *x509_name_get_der(X509_NAME *name)
+@@ -450,23 +460,23 @@
+ }
+
+ /* sk_X509_new_null() is a macro returning "STACK_OF(X509) *". */
+-STACK *sk_x509_new_null(void) {
+- return (STACK *)sk_X509_new_null();
++STACK_OF(X509) *sk_x509_new_null(void) {
++ return sk_X509_new_null();
+ }
+
+ /* sk_X509_free() is a macro. */
+-void sk_x509_free(STACK *stack) {
+- sk_X509_free((STACK_OF(X509) *)stack);
++void sk_x509_free(STACK_OF(X509) *stack) {
++ sk_X509_free(stack);
+ }
+
+ /* sk_X509_push() is a macro. */
+-int sk_x509_push(STACK *stack, X509 *x509) {
+- return sk_X509_push((STACK_OF(X509) *)stack, x509);
++int sk_x509_push(STACK_OF(X509) *stack, X509 *x509) {
++ return sk_X509_push(stack, x509);
+ }
+
+ /* sk_X509_pop() is a macro. */
+-X509 *sk_x509_pop(STACK *stack) {
+- return sk_X509_pop((STACK_OF(X509) *)stack);
++X509 *sk_x509_pop(STACK_OF(X509) *stack) {
++ return sk_X509_pop(stack);
+ }
+
+ int x509_store_load_locations(X509_STORE *store, const char *file) {
+@@ -493,21 +503,29 @@
+ return X509_REQ_set_version(x, version);
+ }
+
+-int x509_req_add_extensions(X509_REQ *req, STACK *exts) {
+- return X509_REQ_add_extensions(req, (STACK_OF(X509_EXTENSION) *)exts);
++int x509_req_add_extensions(X509_REQ *req, STACK_OF(X509_EXTENSION) *exts) {
++ return X509_REQ_add_extensions(req, exts);
+ }
+
+-X509_NAME_ENTRY *x509_name_entry_create_by_txt( X509_NAME_ENTRY **ne, char *field, int type, char *bytes, int len) {
+- return X509_NAME_ENTRY_create_by_txt( ne, field, type, bytes, len);
++X509_NAME_ENTRY *x509_name_entry_create_by_txt(X509_NAME_ENTRY **ne, char *field, int type, char *bytes, int len) {
++ return X509_NAME_ENTRY_create_by_txt( ne, field, type, (unsigned char *)bytes, len);
+ }
+
+-LHASH *
+-x509v3_lhash(){
+- return lh_new(NULL,NULL);
++#if OPENSSL_VERSION_NUMBER >= 0x10000000L
++LHASH_OF(CONF_VALUE)
++#else
++LHASH
++#endif
++*x509v3_lhash() {
++ return lh_new(NULL, NULL); /* Should probably be lh_CONF_VALUE_new but won't compile. */
+ }
+
+ X509V3_CTX *
+-x509v3_set_conf_lhash(LHASH * lhash){
++#if OPENSSL_VERSION_NUMBER >= 0x10000000L
++x509v3_set_conf_lhash(LHASH_OF(CONF_VALUE) * lhash) {
++#else
++x509v3_set_conf_lhash(LHASH * lhash) {
++#endif
+ X509V3_CTX * ctx;
+ if (!(ctx=(X509V3_CTX *)PyMem_Malloc(sizeof(X509V3_CTX)))) {
+ PyErr_SetString(PyExc_MemoryError, "x509v3_set_conf_lhash");
+@@ -517,11 +535,20 @@
+ return ctx;
+ }
+
+-X509_EXTENSION *x509v3_ext_conf(LHASH *conf, X509V3_CTX *ctx, char *name, char *value) {
++X509_EXTENSION *
++#if OPENSSL_VERSION_NUMBER >= 0x10000000L
++x509v3_ext_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx, char *name, char *value) {
++#else
++x509v3_ext_conf(LHASH *conf, X509V3_CTX *ctx, char *name, char *value) {
++#endif
+ X509_EXTENSION * ext = NULL;
+ ext = X509V3_EXT_conf(conf, ctx, name, value);
+ PyMem_Free(ctx);
++#if OPENSSL_VERSION_NUMBER >= 0x10000000L
++ lh_CONF_VALUE_free(conf);
++#else
+ lh_free(conf);
++#endif
+ return ext;
+ }
+
+@@ -543,33 +570,33 @@
+ }
+
+ /* sk_X509_EXTENSION_new_null is a macro. */
+-STACK *sk_x509_extension_new_null(void) {
+- return (STACK *)sk_X509_EXTENSION_new_null();
++STACK_OF(X509_EXTENSION) *sk_x509_extension_new_null(void) {
++ return sk_X509_EXTENSION_new_null();
+ }
+
+ /* sk_X509_EXTENSION_free() is a macro. */
+-void sk_x509_extension_free(STACK *stack) {
+- sk_X509_EXTENSION_free((STACK_OF(X509_EXTENSION) *)stack);
++void sk_x509_extension_free(STACK_OF(X509_EXTENSION) *stack) {
++ sk_X509_EXTENSION_free(stack);
+ }
+
+ /* sk_X509_EXTENSION_push() is a macro. */
+-int sk_x509_extension_push(STACK *stack, X509_EXTENSION *x509_ext) {
+- return sk_X509_EXTENSION_push((STACK_OF(X509_EXTENSION) *)stack, x509_ext);
++int sk_x509_extension_push(STACK_OF(X509_EXTENSION) *stack, X509_EXTENSION *x509_ext) {
++ return sk_X509_EXTENSION_push(stack, x509_ext);
+ }
+
+ /* sk_X509_EXTENSION_pop() is a macro. */
+-X509_EXTENSION *sk_x509_extension_pop(STACK *stack) {
+- return sk_X509_EXTENSION_pop((STACK_OF(X509_EXTENSION) *)stack);
++X509_EXTENSION *sk_x509_extension_pop(STACK_OF(X509_EXTENSION) *stack) {
++ return sk_X509_EXTENSION_pop(stack);
+ }
+
+ /* sk_X509_EXTENSION_num() is a macro. */
+-int sk_x509_extension_num(STACK *stack) {
+- return sk_X509_EXTENSION_num((STACK_OF(X509_EXTENSION) *)stack);
++int sk_x509_extension_num(STACK_OF(X509_EXTENSION) *stack) {
++ return sk_X509_EXTENSION_num(stack);
+ }
+
+ /* sk_X509_EXTENSION_value() is a macro. */
+-X509_EXTENSION *sk_x509_extension_value(STACK *stack, int i) {
+- return sk_X509_EXTENSION_value((STACK_OF(X509_EXTENSION) *)stack, i);
++X509_EXTENSION *sk_x509_extension_value(STACK_OF(X509_EXTENSION) *stack, int i) {
++ return sk_X509_EXTENSION_value(stack, i);
+ }
+
+ /* X509_STORE_CTX_get_app_data is a macro. */
+@@ -590,7 +617,7 @@
+ #define I2DTYPE int (*)()
+ #endif
+
+-STACK *
++STACK_OF(X509) *
+ make_stack_from_der_sequence(PyObject * pyEncodedString){
+ STACK_OF(X509) *certs;
+ Py_ssize_t encoded_string_len;
+@@ -606,7 +633,7 @@
+ return NULL;
+ }
+
+- certs = ASN1_seq_unpack((unsigned char *)encoded_string, encoded_string_len, (D2ITYPE)d2i_X509, (void(*)())X509_free );
++ certs = ASN1_seq_unpack_X509((unsigned char *)encoded_string, encoded_string_len, d2i_X509, X509_free );
+ if (!certs) {
+ PyErr_SetString(_x509_err, ERR_reason_error_string(ERR_get_error()));
+ return NULL;
+@@ -616,13 +643,13 @@
+ }
+
+ PyObject *
+-get_der_encoding_stack(STACK * stack){
++get_der_encoding_stack(STACK_OF(X509) *stack){
+ PyObject * encodedString;
+
+ unsigned char * encoding;
+ int len;
+
+- encoding = ASN1_seq_pack((STACK_OF(X509)*) stack, (I2DTYPE)i2d_X509, NULL, &len);
++ encoding = ASN1_seq_pack_X509(stack, i2d_X509, NULL, &len);
+ if (!encoding) {
+ PyErr_SetString(_x509_err, ERR_reason_error_string(ERR_get_error()));
+ return NULL;
+--- tests/alltests.py
++++ tests/alltests.py
+@@ -37,6 +37,7 @@
+ 'tests.test_rc4',
+ 'tests.test_rsa',
+ 'tests.test_smime',
++ 'tests.test_ssl_offline',
+ 'tests.test_threading',
+ 'tests.test_x509']
+ if os.name == 'posix':
+--- tests/test_smime.py
++++ tests/test_smime.py
+@@ -37,7 +37,7 @@
+ buf = BIO.MemoryBuffer(self.cleartext)
+ s = SMIME.SMIME()
+ s.load_key('tests/signer_key.pem', 'tests/signer.pem')
+- p7 = s.sign(buf)
++ p7 = s.sign(buf, SMIME.PKCS7_DETACHED)
+ assert len(buf) == 0
+ assert p7.type() == SMIME.PKCS7_SIGNED, p7.type()
+ assert isinstance(p7, SMIME.PKCS7), p7
+@@ -73,9 +73,8 @@
+
+ p7, data = SMIME.smime_load_pkcs7_bio(self.signed)
+
+- assert data.read() == self.cleartext
+ assert isinstance(p7, SMIME.PKCS7), p7
+- v = s.verify(p7)
++ v = s.verify(p7, data)
+ assert v == self.cleartext
+
+ t = p7.get0_signers(sk)
+@@ -95,7 +94,6 @@
+ s.set_x509_store(st)
+
+ p7, data = SMIME.smime_load_pkcs7_bio(self.signed)
+- assert data.read() == self.cleartext
+ assert isinstance(p7, SMIME.PKCS7), p7
+ self.assertRaises(SMIME.PKCS7_Error, s.verify, p7) # Bad signer
+
+@@ -169,7 +167,7 @@
+ s.set_cipher(SMIME.Cipher('des_ede3_cbc'))
+
+ tmp = BIO.MemoryBuffer()
+- s.write(tmp, p7, buf)
++ s.write(tmp, p7)
+
+ p7 = s.encrypt(tmp)
+
+@@ -211,6 +209,7 @@
+ assert p7.write(f) == 1
+ f.close()
+
++ p7 = s.sign(BIO.MemoryBuffer('some text'), SMIME.PKCS7_DETACHED)
+ self.filenameSmime = 'tests/sig.p7s'
+ f = BIO.openfile(self.filenameSmime, 'wb')
+ assert s.write(f, p7, BIO.MemoryBuffer('some text')) == 1
+@@ -220,7 +219,7 @@
+ buf = BIO.MemoryBuffer()
+ assert SMIME.load_pkcs7(self.filename).write_der(buf) == 1
+ s = buf.read()
+- assert len(s) == 1204, len(s)
++ assert len(s) in (1204, 1243), len(s)
+
+ def test_load_pkcs7(self):
+ assert SMIME.load_pkcs7(self.filename).type() == SMIME.PKCS7_SIGNED
+--- tests/test_ssl_offline.py
++++ tests/test_ssl_offline.py
+@@ -0,0 +1,60 @@
++"""Unit tests for M2Crypto.SSL offline parts
++
++Copyright (C) 2006 Open Source Applications Foundation. All Rights Reserved.
++
++Copyright (C) 2009-2010 Heikki Toivonen. All Rights Reserved.
++"""
++
++import unittest, doctest
++from M2Crypto.SSL import Checker
++from M2Crypto import X509
++from M2Crypto import SSL
++from test_ssl import srv_host
++
++
++class CheckerTestCase(unittest.TestCase):
++ def test_checker(self):
++
++ check = Checker.Checker(host=srv_host,
++ peerCertHash='7B754EFA41A264AAD370D43460BC8229F9354ECE')
++ x509 = X509.load_cert('tests/server.pem')
++ assert check(x509, srv_host)
++ self.assertRaises(Checker.WrongHost, check, x509, 'example.com')
++
++ doctest.testmod(Checker)
++
++
++class ContextTestCase(unittest.TestCase):
++ def test_ctx_load_verify_locations(self):
++ ctx = SSL.Context()
++ self.assertRaises(ValueError, ctx.load_verify_locations, None, None)
++
++ def test_map(self):
++ from M2Crypto.SSL.Context import map, _ctxmap
++ assert isinstance(map(), _ctxmap)
++ ctx = SSL.Context()
++ assert map()
++ ctx.close()
++ assert map() is _ctxmap.singleton
++
++ def test_certstore(self):
++ ctx = SSL.Context()
++ ctx.set_verify(SSL.verify_peer | SSL.verify_fail_if_no_peer_cert, 9)
++ ctx.load_verify_locations('tests/ca.pem')
++ ctx.load_cert('tests/x509.pem')
++
++ store = ctx.get_cert_store()
++ assert isinstance(store, X509.X509_Store)
++
++
++def suite():
++ suite = unittest.TestSuite()
++ suite.addTest(unittest.makeSuite(CheckerTestCase))
++ suite.addTest(unittest.makeSuite(ContextTestCase))
++ return suite
++
++
++if __name__ == '__main__':
++ Rand.load_file('randpool.dat', -1)
++ unittest.TextTestRunner().run(suite())
++ Rand.save_file('randpool.dat')
+--- tests/test_ssl.py
++++ tests/test_ssl.py
+@@ -2,7 +2,10 @@
+
+ """Unit tests for M2Crypto.SSL.
+
+-Copyright (c) 2000-2004 Ng Pheng Siong. All rights reserved."""
++Copyright (c) 2000-2004 Ng Pheng Siong. All rights reserved.
++
++Copyright (c) 2009-2010 Heikki Toivonen. All rights reserved.
++"""
+
+ """
+ TODO
+@@ -405,8 +408,11 @@
+ try:
+ ctx = SSL.Context('sslv23', weak_crypto=1)
+ s = SSL.Connection(ctx)
+- s.connect(self.srv_addr)
+- self.failUnlessEqual(s.get_version(), 'SSLv2')
++ if m2.OPENSSL_VERSION_NUMBER < 0x10000000: # SSLv2 ciphers disabled by default in newer OpenSSL
++ s.connect(self.srv_addr)
++ self.failUnlessEqual(s.get_version(), 'SSLv2')
++ else:
++ self.assertRaises(SSL.SSLError, s.connect, self.srv_addr)
+ s.close()
+ finally:
+ self.stop_server(pid)
+@@ -1032,45 +1038,6 @@
+ # XXX need server to test against
+
+
+-class CheckerTestCase(unittest.TestCase):
+- def test_checker(self):
+- from M2Crypto.SSL import Checker
+- from M2Crypto import X509
+-
+- check = Checker.Checker(host=srv_host,
+- peerCertHash='7B754EFA41A264AAD370D43460BC8229F9354ECE')
+- x509 = X509.load_cert('tests/server.pem')
+- assert check(x509, srv_host)
+- self.assertRaises(Checker.WrongHost, check, x509, 'example.com')
+-
+- import doctest
+- doctest.testmod(Checker)
+-
+-
+-class ContextTestCase(unittest.TestCase):
+- def test_ctx_load_verify_locations(self):
+- ctx = SSL.Context()
+- self.assertRaises(ValueError, ctx.load_verify_locations, None, None)
+-
+- def test_map(self):
+- from M2Crypto.SSL.Context import map, _ctxmap
+- assert isinstance(map(), _ctxmap)
+- ctx = SSL.Context()
+- assert map()
+- ctx.close()
+- assert map() is _ctxmap.singleton
+-
+- def test_certstore(self):
+- ctx = SSL.Context()
+- ctx.set_verify(SSL.verify_peer | SSL.verify_fail_if_no_peer_cert, 9)
+- ctx.load_verify_locations('tests/ca.pem')
+- ctx.load_cert('tests/x509.pem')
+-
+- from M2Crypto import X509
+- store = ctx.get_cert_store()
+- assert isinstance(store, X509.X509_Store)
+-
+-
+ class SessionTestCase(unittest.TestCase):
+ def test_session_load_bad(self):
+ self.assertRaises(SSL.SSLError, SSL.Session.load_session,
+@@ -1086,8 +1053,6 @@
+
+ def suite():
+ suite = unittest.TestSuite()
+- suite.addTest(unittest.makeSuite(CheckerTestCase))
+- suite.addTest(unittest.makeSuite(ContextTestCase))
+ suite.addTest(unittest.makeSuite(SessionTestCase))
+ suite.addTest(unittest.makeSuite(XmlRpcLibTestCase))
+ suite.addTest(unittest.makeSuite(FtpsLibTestCase))
echo "mad_lib_dir = ${STAGING_LIBDIR}" >>Setup
echo "mad_include_dir = ${STAGING_INCDIR}" >>Setup
}
+
+SRC_URI[md5sum] = "a1405fb4b610348565c8d0e400c5ff18"
+SRC_URI[sha256sum] = "1c9fc529b78de7d26e9e47cf182c9f8bf43838d8f62a9c1773540d57f5ebc522"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit setuptools
+
+SRC_URI[md5sum] = "ffeb24b3ee71b2e6354efad1136898bd"
+SRC_URI[sha256sum] = "858b2ad7850db5e477ab81d7f355f82df33d90e4ed23a235184f380a925f2813"
SRC_URI = "\
${SOURCEFORGE_MIRROR}/mysql-python/MySQL-python-${PV}_p2.tar.gz \
- file://mysqlpath.patch;patch=1 \
- file://site.patch;patch=1 \
+ file://mysqlpath.patch \
+ file://site.patch \
"
S = "${WORKDIR}/${SRCNAME}-${PV}_p2"
install -d ${D}${datadir}/doc/${PN}/
install -m 0644 ${S}/doc/*.txt ${D}${datadir}/doc/${PN}/
}
+
+SRC_URI[md5sum] = "e6b9ea21fd91cb4a5663304da727bb70"
+SRC_URI[sha256sum] = "59f44cd53cfa1189dcaa5bf2c48662d5765f347b03827feb807f4cd0ef18943e"
SECTION = "devel/python"
PRIORITY = "optional"
LICENSE = "GPL"
-RDEPENDS = "iptables iptables-utils python-logging python-shell python-subprocess"
+RDEPENDS_${PN} = "iptables iptables-utils python-logging python-shell python-subprocess"
SRCNAME = "python-netfilter"
-PR = "ml0"
+PR = "ml1"
SRC_URI = "http://opensource.bolloretelecom.eu/files/${SRCNAME}-${PV}.tar.gz"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "058983355c399407be999d4e8c16cbe6"
+SRC_URI[sha256sum] = "bce93266c593d79d7083052a6cae516de3d6c3e5bda277f664785d30157b8ac7"
require divmod.inc
+PR = "${INC_PR}.1"
+
FILES_${PN} += "${datadir}"
DEPENDS += "python-twisted-native"
+
+SRC_URI[md5sum] = "75828090af2b26f69fe4a7f148a400f6"
+SRC_URI[sha256sum] = "bc35ce187481db91f047055b3edbce49c14d291b1a2eb3e915e9c1c511620f9a"
inherit distutils
FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/numarray/examples/*/.debug"
+
+SRC_URI[md5sum] = "40cec6ce8ca2e95a4fbc7a28879bf4a5"
+SRC_URI[sha256sum] = "7a6f7f2745cbcb02bf79cc7cd365a3f80679f2558dfaa378010675f40a7aff3b"
PR = "ml1"
SRC_URI = "${SOURCEFORGE_MIRROR}/numpy/Numeric-${PV}.tar.gz \
- file://no-lapack.patch;patch=1"
+ file://no-lapack.patch"
S = "${WORKDIR}/Numeric-${PV}"
inherit distutils
cp -pPR Include/Numeric ${STAGING_INCDIR}
}
+
+SRC_URI[md5sum] = "8054781c58ae9cf6fe498316860b5ea8"
+SRC_URI[sha256sum] = "33225097777e84dfed251aee1265a9c0dd0976854e83f60e778a670027b12e7c"
--- /dev/null
+/* ./src.linux-i686-2.5/numpy/core/include/numpy/config.h */
+/* #define SIZEOF_SHORT 2 */
+/* #define SIZEOF_INT 4 */
+/* #define SIZEOF_LONG 4 */
+/* #define SIZEOF_FLOAT 4 */
+/* #define SIZEOF_DOUBLE 8 */
+#define SIZEOF_LONG_DOUBLE 12
+#define SIZEOF_PY_INTPTR_T 4
+/* #define SIZEOF_LONG_LONG 8 */
+#define SIZEOF_PY_LONG_LONG 8
+/* #define CHAR_BIT 8 */
+#define MATHLIB m
+#define HAVE_FLOAT_FUNCS
+#define HAVE_LOG1P
+#define HAVE_EXPM1
+#define HAVE_INVERSE_HYPERBOLIC
+#define HAVE_INVERSE_HYPERBOLIC_FLOAT
+#define HAVE_ISNAN
+#define HAVE_ISINF
+#define HAVE_RINT
+
--- /dev/null
+/* cat ./src.linux-i686-2.5/numpy/core/include/numpy/numpyconfig.h */
+/*
+ * * This file is generated by numpy/core/setup.pyc. DO NOT EDIT
+ * */
+#define NPY_SIZEOF_SHORT 2
+#define NPY_SIZEOF_INT 4
+#define NPY_SIZEOF_LONG 4
+#define NPY_SIZEOF_FLOAT 4
+#define NPY_SIZEOF_DOUBLE 8
+#define NPY_SIZEOF_LONGDOUBLE 12
+#define NPY_SIZEOF_PY_INTPTR_T 4
+#define NPY_NO_SMP 0
+
+#define NPY_SIZEOF_LONGLONG 8
+#define NPY_SIZEOF_PY_LONG_LONG 8
+/* #define CHAR_BIT 8 */
+
LICENSE = "PSF"
PR = "ml0"
+RDEPENDS_${PN} = "python-compiler python-mmap python-pkgutil python-pydoc python-unittest"
+
SRC_URI = "${SOURCEFORGE_MIRROR}/numpy/numpy-${PV}.tar.gz \
- file://unbreak-assumptions.diff;patch=1 \
- file://trycompile.diff;patch=1 \
+ file://unbreak-assumptions.diff \
+ file://trycompile.diff \
file://config.h \
file://numpyconfig.h \
"
}
+
+SRC_URI[md5sum] = "af066b59a50bf5dbe1a14d6be3df6937"
+SRC_URI[sha256sum] = "d430273a77aed959c007595d969fefa36c59249807212d7d89f5d6cf2a701dd6"
install -d ${STAGING_INCDIR}/pyogg
install -m 0644 include/pyogg/pyogg.h ${STAGING_INCDIR}/pyogg/pyogg.h
}
+
+SRC_URI[md5sum] = "45a4ecc4d0600661199e4040a81ea3fe"
+SRC_URI[sha256sum] = "10051f2894e901037dfa05b3c604fbdd76d891b9db2213a3c4f24ae79fbcc2a4"
PRIORITY = "optional"
LICENSE = "PSF"
SRCNAME = "pexpect"
-PR = "ml0"
+PR = "ml1"
SRC_URI = "${SOURCEFORGE_MIRROR}/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
-RDEPENDS = "\
+RDEPENDS_${PN} = "\
python-core \
python-io \
python-terminal \
python-fcntl \
"
+
+SRC_URI[md5sum] = "bf107cf54e67bc6dec5bea1f3e6a65c3"
+SRC_URI[sha256sum] = "d315e7f3a8544fd85034d7e17fd7c5854e8f0828f5791f83cf313f8fa5740b75"
DESCRIPTION = "Python Bindings for libphone-utils"
SECTION = "devel/python"
DEPENDS = "libphone-utils python-cython-native python-pyrex-native"
-RDEPENDS = "libphone-utils"
+RDEPENDS_${PN} = "libphone-utils"
SRCREV = "8a7c719e0c3f1f8c10f77f17422da02d7177f0dd"
-PV = "0.0.2+gitr${SRCREV}"
-PR = "r2"
+PV = "0.0.2+gitr${SRCPV}"
+PR = "r3"
SRC_URI = "git://git.shr-project.org/repo/libphone-utils.git;protocol=http;branch=master"
S = "${WORKDIR}/git/src/python"
SECTION = "devel/python"
PRIORITY = "optional"
LICENSE = "PSF"
-RDEPENDS = "python-core"
+RDEPENDS_${PN} = "python-core"
+PR = "r1"
SRCNAME = "psyco"
SRC_URI = "${SOURCEFORGE_MIRROR}/${SRCNAME}/${SRCNAME}-${PV}-src.tar.gz"
COMPATIBLE_HOST = 'i.86.*-linux'
inherit distutils
+
+SRC_URI[md5sum] = "8816fca8ba521e05d18dde3e1a11b0bd"
+SRC_URI[sha256sum] = "529de83d76bc71e3334dc5e0b9f5eb8bb5cd095f8ac6dd3154771d50a7373718"
SRC_URI = "http://pypi.python.org/packages/source/p/python-ptrace/python-ptrace-${PV}.tar.gz"
inherit distutils
+
+SRC_URI[md5sum] = "0df3d1c5109bb88d06575d70513a190c"
+SRC_URI[sha256sum] = "8ff2ec30050803e8b60cfb05d24fa32b3d175bffb81ef5919c3db4ac0f263df8"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "a1f4d561fa5c41a570480f3f328559a2"
+SRC_URI[sha256sum] = "f2c9195284d3c3925d83424a9e24ac8ce96e706abced5d3007df57f9fe51518f"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "b312c28efba7db0494836a79f0a49898"
+SRC_URI[sha256sum] = "07148ce16024724b17cc24c51d0f4fb78af214b09b7dc8dcb7b06e5647f4c582"
S = "${WORKDIR}/PyBluez-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "104ad743d4bc999796ceff4f39d1003a"
+SRC_URI[sha256sum] = "593912fdf122d9a1499767bc305ca7b3b688ace7edcb93f53e07202aa1242c58"
S = "${WORKDIR}/PyBluez-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "2ce8ff0dbb94c6be14e92e9968f4c914"
+SRC_URI[sha256sum] = "cbe1f076a4947e29ded08ba9dd6dbbb86b25939fb4e50f508dd02f41681554e2"
PR = "ml3"
SRC_URI = "http://cairographics.org/releases/pycairo-${PV}.tar.gz \
- file://fix-setup-py.patch;patch=1"
+ file://fix-setup-py.patch"
S = "${WORKDIR}/pycairo-${PV}"
inherit distutils pkgconfig
install -d ${STAGING_INCDIR}
install -m 0644 cairo/pycairo.h ${STAGING_INCDIR}
}
+
+SRC_URI[md5sum] = "e26e77919b606113f565d70036c1f504"
+SRC_URI[sha256sum] = "9212afffee727e39ae99406b5a59ab3248556bcfebfae24d8278313678147e32"
LICENSE = "LGPL MPL"
# cairo >= 1.8.0
DEPENDS = "cairo"
-PR = "ml0"
-
-DEFAULT_PREFERENCE = "-1"
+PR = "ml4"
SRC_URI = "http://cairographics.org/releases/pycairo-${PV}.tar.gz \
- file://fix-setup-py.patch;patch=1"
+ file://fix-setup-py.patch"
S = "${WORKDIR}/pycairo-${PV}"
inherit distutils pkgconfig
sed -e 's:@prefix@:${prefix}:' -e 's:@includedir@:\$\{prefix\}/include:' -e 's:@VERSION@:${PV}:' pycairo.pc.in > pycairo.pc
}
-do_stage() {
- install -d ${STAGING_INCDIR}
- install -m 0644 cairo/pycairo.h ${STAGING_INCDIR}
+do_install_append() {
+ mv ${D}${datadir}/include/* ${D}${includedir}
+ mv ${D}${datadir}/lib/* ${D}${libdir}
+ install -d ${D}${includedir}/pycairo
+ ln -sf ..//pycairo.h ${D}${includedir}/pycairo/
}
+
+SRC_URI[md5sum] = "847f5377c32228a656819f5bd18eb6b4"
+SRC_URI[sha256sum] = "a2272dafceb25ed9fedd0b10429dfec9c412b3b36eb6137f79c87e7d004036d4"
DESCRIPTION = "Python Packet Capture Library"
SECTION = "devel/python"
PRIORITY = "optional"
-RDEPENDS = "python-core"
+RDEPENDS_${PN} = "python-core"
DEPENDS = "libpcap libnet"
SRCNAME = "pycap"
-PR = "r1"
+PR = "r2"
SRC_URI = "${SOURCEFORGE_MIRROR}/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "c90bc5382dede1a941e023e7bc27c473"
+SRC_URI[sha256sum] = "961e37f49afeda70d89c21830751548a2ac4912a35122bf70bf29091eef5c4a0"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "ef156a631df46de150a364912f2e36c8"
+SRC_URI[sha256sum] = "6495fe464659b175cefce20b187de6904b97b065fd609445b932d9c49a75a024"
PR = "ml1"
SRC_URI = "http://web.mit.edu/~emin/www/source_code/pycodes/pycodes-1-2.tar.gz \
- file://no-docs.patch;patch=1"
+ file://no-docs.patch"
S = "${WORKDIR}/${SRCNAME}"
inherit distutils
+
+SRC_URI[md5sum] = "c39e0ffea530cbf0b4f2aa6af6e81b66"
+SRC_URI[sha256sum] = "d203b4be819e20314576d5c26329862e7d371c84e8f192e31402a0b6d9e055aa"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "4d5674f3898a573691ffb335e8d749cd"
+SRC_URI[sha256sum] = "b08d4ed54c9403c77778a3803e53a4f33f359b42d94f6f3e14abb1bf4941e6ea"
PRIORITY = "optional"
LICENSE = "GPLv2"
DEPENDS = "cups"
+PR = "r1"
SRCNAME = "pycups"
SRC_URI = "http://cyberelk.net/tim/data/pycups/pycups-${PV}.tar.bz2"
# used during compilation
CFLAGS += -DVERSION=\\"${PV}\\"
-RDEPENDS = "python-core cups"
+RDEPENDS_${PN} = "python-core cups"
+
+SRC_URI[md5sum] = "ff634a6751f8a859ed26751bf03abef0"
+SRC_URI[sha256sum] = "ef6e576e5465da9c338ac8ff9f162825cfb7997359efc52e6a110c295a9f363b"
LICENSE = "LGPL"
DEPENDS = "curl-${PV}"
SRCNAME = "pycurl"
-PR = "ml2"
+PR = "ml3"
SRC_URI = "\
http://${SRCNAME}.sourceforge.net/download/${SRCNAME}-${PV}.tar.gz \
- file://no-static-link.patch;patch=1 \
+ file://no-static-link.patch \
"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
-RDEPENDS = "python-core curl (>=${PV})"
+RDEPENDS_${PN} = "python-core curl (>= ${PV})"
+
+SRC_URI[md5sum] = "39210d56f1d5a75ac8dd6a2866a93dd5"
+SRC_URI[sha256sum] = "95d21bd61e03d22ee4ac18fc0b9040c163cb504c4b2cf1dc43c18f32508f6736"
LICENSE = "LGPL"
DEPENDS = "curl"
SRCNAME = "pycurl"
-PR = "ml2"
+PR = "ml3"
SRC_URI = "\
http://${SRCNAME}.sourceforge.net/download/${SRCNAME}-${PV}.tar.gz;name=archive \
- file://no-static-link.patch;patch=1 \
+ file://no-static-link.patch \
"
S = "${WORKDIR}/${SRCNAME}-${PV}"
SRC_URI[archive.md5sum] = "919d58fe37e69fe87ce4534d8b6a1c7b"
inherit distutils
-RDEPENDS = "python-core curl"
+RDEPENDS_${PN} = "python-core curl"
S = "${WORKDIR}/pyephem-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "1e13d951bd46b98476d888bf6e1a06fa"
+SRC_URI[sha256sum] = "dd7aedbc9dade0ce25a2a5e2443790fb9d9a607446fb84932e653287b4f160b4"
DESCRIPTION = "PyFITS provides an interface to FITS formatted files under the Python scripting language."
HOMEPAGE = "http://www.stsci.edu/resources/software_hardware/pyfits"
AUTHOR = "Space Telescope Science Institute"
-RDEPENDS = "python-numpy"
+RDEPENDS_${PN} = "python-numpy"
SECTION = "devel/python"
LICENSE = "AURA"
-PR = "ml0"
+PR = "ml1"
SRC_URI = "http://www.stsci.edu/resources/software_hardware/pyfits/pyfits-${PV}.tar.gz"
S = "${WORKDIR}/pyfits-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "59c3c8c714336eab7760b7d320e124c3"
+SRC_URI[sha256sum] = "a6b01c9d75e7955765019581700bd6ac344457b327522facedaf4cff9e86093c"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "ec7eee3444214bda18e57b82175e1da7"
+SRC_URI[sha256sum] = "019b6d4b549306d013974678872aaf2453af3f02760175504dbe8a9f89db0a2c"
SECTION = "devel/python"
PRIORITY = "optional"
LICENSE = "MIT"
-PR = "ml0"
+PR = "ml1"
inherit distutils
SRC_URI = "http://pyftpdlib.googlecode.com/files/pyftpdlib-${PV}.tar.gz"
S = "${WORKDIR}/pyftpdlib-${PV}"
-RDEPENDS = "python-netserver"
+RDEPENDS_${PN} = "python-netserver"
+
+SRC_URI[md5sum] = "f64ac67ebec1d8ab47c0766082617384"
+SRC_URI[sha256sum] = "6daed9475412eaab232e021ed76568c6520dacd75c58da406454139bef95c393"
SECTION = "devel/python"
HOMEPAGE = "http://www.pygame.org"
LICENSE = "LGPL"
-DEPENDS = "libsdl-x11 libsdl-image libsdl-mixer libsdl-net libsdl-ttf python-numeric"
+DEPENDS = "virtual/libsdl libsdl-image libsdl-mixer libsdl-net libsdl-ttf python-numeric"
DEPENDS += "${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'smpeg', d)}"
-RDEPENDS = "python-numeric"
+RDEPENDS_${PN} = "python-numeric"
SRCNAME = "pygame"
-PR = "ml4"
+PR = "ml5"
SRC_URI = "http://www.pygame.org/ftp/${SRCNAME}-${PV}release.tar.gz;name=archive"
SRC_URI[archive.md5sum] = "1c4cdc708d17c8250a2d78ef997222fc"
inherit native
DEPENDS = "python-native glib-2.0-native"
+RDEPENDS_${PN} = ""
PARALLEL_MAKE = ""
SRC_URI = "\
ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/${MAJ_VER}/pygobject-${PV}.tar.bz2 \
-# file://python-path.patch;patch=1 \
+# file://python-path.patch \
"
export GOBJECT_INTROSPECTION_CFLAGS="-pthread -I${STAGING_INCDIR}/gobject-introspection-1.0 -I${STAGING_INCDIR}/glib-2.0 -I${STAGING_LIBDIR}/glib-2.0/include"
install -d ${D}${bindir}
install -m 0755 gobject/generate-constants ${D}${bindir}/gobject-generate-constants
}
+
+SRC_URI[md5sum] = "10e1fb79be3d698476a28b1e1b0c5640"
+SRC_URI[sha256sum] = "41e923a3f4426a3e19f6d154c424e3dac6f39defca77af602ac6272ce270fa81"
DESCRIPTION = "Python GObject bindings"
SECTION = "devel/python"
LICENSE = "LGPL"
-DEPENDS = "libffi python-pygobject-native-${PV}"
+DEPENDS = "libffi python-pygobject-native-${PV} glib-2.0"
PE = "1"
+PR = "r3"
+
MAJ_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
SRC_URI = "\
ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/${MAJ_VER}/pygobject-${PV}.tar.bz2 \
- file://generate-constants.patch;patch=1 \
+ file://generate-constants.patch \
"
S = "${WORKDIR}/pygobject-${PV}"
-FILESPATH = "${FILE_DIRNAME}/python-pygobject:${FILE_DIRNAME}/files"
-
inherit autotools distutils-base pkgconfig
# necessary to let the call for python-config succeed
export BUILD_SYS
export HOST_SYS
-export GOBJECT_INTROSPECTION_CFLAGS="-pthread -I${STAGING_INCDIR}/gobject-introspection-1.0 -I${STAGING_INCDIR}/glib-2.0 -I${STAGING_LIBDIR}/glib-2.0/include"
+# It picks up the introspection pc for the host sysroot without a knob to disable it, so force it to false
+do_configure_prepend() {
+ sed -i 's:have_gobject_introspection=true:have_gobject_introspection=false:g' configure.ac
+}
-do_stage() {
- autotools_stage_all
- install -d ${STAGING_LIBDIR}/../share/pygobject/
- cp -dpfR docs/* ${STAGING_LIBDIR}/../share/pygobject/
- install -d ${STAGING_LIBDIR}/../share/gtk-doc/html/pygobject/
- cp docs/style.css ${STAGING_LIBDIR}/../share/gtk-doc/html/pygobject/
+do_install_append() {
+ install -d ${D}${datadir}/pygobject/
+ cp -PpRfR docs/* ${D}${datadir}/pygobject/
+ install -d ${D}${datadir}/gtk-doc/html/pygobject/
+ cp docs/style.css ${D}${datadir}/gtk-doc/html/pygobject/
}
PACKAGES += "${PN}-lib"
FILES_${PN}-lib = "${libdir}/lib*.so.*"
FILES_${PN}-dev += "${bindir} ${datadir}"
FILES_${PN}-dbg += "${libdir}/.debug"
+
+SRC_URI[md5sum] = "10e1fb79be3d698476a28b1e1b0c5640"
+SRC_URI[sha256sum] = "41e923a3f4426a3e19f6d154c424e3dac6f39defca77af602ac6272ce270fa81"
HOMEPAGE = "http://pygoogle.sourceforge.net/"
PRIORITY = "optional"
LICENSE = "PSF"
-RDEPENDS = "python-soappy"
+RDEPENDS_${PN} = "python-soappy"
SRCNAME = "pygoogle"
-PR = "ml1"
+PR = "ml2"
SRC_URI = "${SOURCEFORGE_MIRROR}/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "334e2d9e5a765ffa9769e2c4cdfcd110"
+SRC_URI[sha256sum] = "ad3f4530977a15e52b379ef301a4a80cf69a883f24dd6cebc5b47b3009c092a4"
SECTION = "devel/python"
LICENSE = "LGPL"
DEPENDS = "gtk+-1.2"
-RDEPENDS = "python-shell python-re"
+RDEPENDS_${PN} = "python-shell python-re"
SRCNAME = "pygtk"
-PR = "r3"
+PR = "r4"
SRC_URI = "ftp://ftp.gtk.org/pub/gtk/python/v1.2/${SRCNAME}-${PV}.tar.gz \
- file://remove-imlib-et-al.patch;patch=1 \
+ file://remove-imlib-et-al.patch \
file://acinclude.m4"
S = "${WORKDIR}/${SRCNAME}-${PV}"
-inherit autotools_stage pkgconfig distutils-base
+inherit autotools pkgconfig distutils-base
EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../"
}
FILES_${PN}-dev += "${datadir}/pygtk"
+
+SRC_URI[md5sum] = "31f0991a18708d47fa29583c0ad956f6"
+SRC_URI[sha256sum] = "7c95e6ae35d282fb333dc7b29bd91e543518ea7f3dfa11f21d52be0654234010"
SECTION = "devel/python"
# needs gtk+ 2.10.x
DEPENDS = "gtk+ libglade python-pycairo python-pygobject"
-RDEPENDS = "python-shell python-pycairo python-pygobject"
+RDEPENDS_${PN} = "python-shell python-pycairo python-pygobject"
PROVIDES = "python-pygtk2"
SRCNAME = "pygtk"
LICENSE = "LGPL"
-PR = "ml12"
+PR = "ml13"
MAJ_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/${MAJ_VER}/${SRCNAME}-${PV}.tar.bz2 \
- file://fix-gtkunixprint.patch;patch=1 \
- file://prevent_to_get_display_during_import.patch;patch=1 \
- file://nodocs.patch;patch=1 \
- file://gdk_display.patch;patch=1;pnum=0 \
+ file://fix-gtkunixprint.patch \
+ file://prevent_to_get_display_during_import.patch \
+ file://nodocs.patch \
+ file://gdk_display.patch;striplevel=0 \
file://acinclude.m4"
S = "${WORKDIR}/${SRCNAME}-${PV}"
cp -pPr *.defs ${STAGING_DATADIR}/pygtk/2.0/defs/
cp -pPr gtk/*.defs ${STAGING_DATADIR}/pygtk/2.0/defs/
}
+
+SRC_URI[md5sum] = "89afe242275a3fce57b4ffb5fadc5888"
+SRC_URI[sha256sum] = "ab9ad4481af435894db27e78010f6bbc21c62252dbe7a254121453419edde8f5"
SECTION = "devel/python"
# needs gtk+ 2.10.x
DEPENDS = "gtk+ libglade python-pycairo python-pygobject"
-RDEPENDS = "python-shell python-pycairo python-pygobject"
+RDEPENDS_${PN} = "python-shell python-pycairo python-pygobject"
PROVIDES = "python-pygtk2"
SRCNAME = "pygtk"
LICENSE = "LGPL"
-PR = "r1"
+PR = "r3"
MAJ_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/${MAJ_VER}/${SRCNAME}-${PV}.tar.bz2;name=pygtk \
- file://fix-gtkunixprint.patch;patch=1 \
+ file://fix-gtkunixprint.patch \
file://acinclude.m4"
S = "${WORKDIR}/${SRCNAME}-${PV}"
find ${D} -name "*.la"|xargs rm -f
rm -f ${D}/${bindir}/pygtk-codegen-2.0
rm -rf ${D}/${libdir}/pkgconfig
+ install -d ${D}${libdir}/pkgconfig
+ install -m 0644 ${S}/*.pc ${D}${libdir}/pkgconfig
}
# dirty fix #2: fix build system paths leaking in
${bindir}/pygtk-* \
${datadir}/pygtk/2.0"
+
+SRC_URI[pygtk.md5sum] = "bd0d437fefd6d5390f5d770a495cd50c"
+SRC_URI[pygtk.sha256sum] = "7fae5e01af217a01738eae41c38ad7f86d1f538f444300d0fa2847aafb7444a8"
DESCRIPTION = "Python GTK+ Bindings"
SECTION = "devel/python"
DEPENDS = "gtk+-2.6.10 libglade"
-RDEPENDS = "python-shell"
+RDEPENDS_${PN} = "python-shell"
SRCNAME = "pygtk"
LICENSE = "LGPL"
-PR = "ml1"
+PR = "ml2"
MAJ_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/${MAJ_VER}/${SRCNAME}-${PV}.tar.bz2 \
cp -pPr *.defs ${STAGING_DATADIR}/pygtk/2.0/defs/
cp -pPr gtk/*.defs ${STAGING_DATADIR}/pygtk/2.0/defs/
}
+
+SRC_URI[md5sum] = "5acd4a4f5807f93a80389c1e9af48808"
+SRC_URI[sha256sum] = "1cd8e9bb0a011317862aec90a03e562bebbbf7fcf865a8ff12992548cdda746d"
DEPENDS = "gtksourceview2 python-pygtk"
SRCNAME = "pygtksourceview"
LICENSE = "LGPL"
-PR = "r0"
+PR = "r1"
MAJ_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtksourceview/${MAJ_VER}/${SRCNAME}-${PV}.tar.bz2"
inherit autotools pkgconfig distutils-base
-EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../"
+do_configure_prepend() {
+ sed -i \
+ -e s:'`$PKG_CONFIG --variable=codegendir pygtk-2.0`':\"${STAGING_DATADIR}/pygobject/2.0/codegen\":g \
+ ${S}/configure.ac
+}
+FILES_${PN} += "${datadir}/pygtk/2.0/defs/gtksourceview2.defs"
+
+SRC_URI[md5sum] = "5587a1865bd5c785c6f34095c57cc96b"
+SRC_URI[sha256sum] = "77acb735fee997a1638c79256b9dcf592566d066b54a72eb4321909f98f66178"
SRC_URI = "\
${SOURCEFORGE_MIRROR}/pyid3lib/${SRCNAME}-${PV}.tar.bz2\
- file://gcc4-fix.patch;patch=1 \
+ file://gcc4-fix.patch \
"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "49818a591430e08057c27a11e4c40aef"
+SRC_URI[sha256sum] = "2a7bdd52c24ed0e70e4a2d82c697214c4ab5a70f94ea9e7934df15ca202d1169"
PR = "r1"
SRC_URI = "http://www.handhelds.org/~aquadran/distro/latest/sources/linda-${PV}.tar.gz \
- file://honor-datadir.patch;patch=1"
+ file://honor-datadir.patch"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
export LINDA_DATADIR = "${D}/${libdir}/${PYTHON_DIR}"
+
+SRC_URI[md5sum] = "c3e1b6c428218968e2963182c1df1fdc"
+SRC_URI[sha256sum] = "cba8ac22d77bbf8f6ed4a98933242b89ee2426cbc216f54415eafcac1274547a"
HOMEPAGE = "http://www.logilab.org/857"
PRIORITY = "optional"
LICENSE = "GPL"
-RDEPENDS = "python-logilab-common"
+RDEPENDS_${PN} = "python-logilab-common"
SRCNAME = "pylint"
-PR = "ml0"
+PR = "ml1"
SRC_URI = "ftp://ftp.logilab.org/pub/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "98f3917fc4d0855c8f0eab9761533835"
+SRC_URI[sha256sum] = "868c8c105427047842883efc2b1693137fae52e78017a7ae98c2e37b7c1e3f80"
S = "${WORKDIR}/pylirc-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "4e3b6b50485610e273fededdb25b47ad"
+SRC_URI[sha256sum] = "a78315e1ddf5af61cf91000a4b2f8e2df0841edd97b2596b2e0c5505bf8330a2"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "024fb0b46c0cb8cf21d63c68d2014796"
+SRC_URI[sha256sum] = "46d21122cd200099271e8377cf40c7a4dd005b0a3867a792632715de812c47fe"
DESCRIPTION = "A Curses-based mp3 player. See http://damien.degois.info/PyMP3/"
SECTION = "console/multimedia"
PRIORITY = "optional"
-RDEPENDS = "python-core python-curses python-pyid3lib python-mad python-ao"
+RDEPENDS_${PN} = "python-core python-curses python-pyid3lib python-mad python-ao"
LICENSE = "GPL"
-PR = "r3"
+PR = "r4"
SRC_URI = "http://www.vanille.de/mirror/PyMP3-0.3.4.tar.gz"
S = "${WORKDIR}/PyMP3-0.3.4"
}
FILES_${PN} += " ${libdir}/${PYTHON_DIR}/site-packages/"
+
+SRC_URI[md5sum] = "28e884057750aa4f0da368678e5b20bd"
+SRC_URI[sha256sum] = "e534ea5505e2d0a571ca8baa4b34260953e796f6c762013756373f13411ebd6e"
PR = "r1"
SRC_URI = "${SOURCEFORGE_MIRROR}/pyode/${SRCNAME}-${PV}.tar.bz2 \
- file://install.patch;patch=1"
+ file://install.patch"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
ln -s ${STAGING_LIBDIR}/.. ../ode
}
+
+SRC_URI[md5sum] = "ab72f3acc635371fd454978e5a97591c"
+SRC_URI[sha256sum] = "117c8f06012e0c0004e69527580a56fac3d814da1051ec1aa73d97d16b60279b"
LICENSE = "LGPL"
SRCNAME = "pyOpenSSL"
DEPENDS = "openssl"
-PR = "ml0"
+PR = "ml2"
SRC_URI = "${SOURCEFORGE_MIRROR}/pyopenssl/${SRCNAME}-${PV}.tar.gz"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
-RDEPENDS = "python-threading"
+PACKAGES =+ "${PN}-tests"
+FILES_${PN}-tests = "${libdir}/${PYTHON_DIR}/site-packages/OpenSSL/test"
+RDEPENDS_${PN} = "python-threading"
+RDEPENDS_${PN}-tests = "${PN}"
+
+
+SRC_URI[md5sum] = "00377690f224d9e59c833fb0459603f4"
+SRC_URI[sha256sum] = "2284411d21f1031f08f23c4f49dc0a341e38b07833495d0fe21a87eb25f3ffe3"
SECTION = "devel/python"
PRIORITY = "optional"
LICENSE = "BSD"
-RDEPENDS = "python-crypt"
+RDEPENDS_${PN} = "python-crypt"
SRCNAME = "pyrad"
-PR = "r1"
+PR = "r2"
SRC_URI = "http://pypi.python.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit setuptools
+
+SRC_URI[md5sum] = "ab1502f8ccd7409ced757d78b0dee7df"
+SRC_URI[sha256sum] = "6a28096ae45261479048a0418b76ad5b6e370031ba8c773f495d8a2b018fc474"
AUTHOR = "Space Telescope Science Institute"
SECTION = "devel/python"
LICENSE = "AURA"
-PR = "ml0"
+PR = "ml1"
SRC_URI = "ftp://ra.stsci.edu/pub/pyraf/release/pyraf-${PV}.tar.gz"
S = "${WORKDIR}/pyraf-${PV}"
inherit distutils
-RDEPENDS = "python-numarray"
+RDEPENDS_${PN} = "python-numarray"
+
+SRC_URI[md5sum] = "9a728aef7bebcd54abc103b00e2e1de6"
+SRC_URI[sha256sum] = "dc0f68f2d22cad2166ae3912e20713bb29df1e1450dff18eb426a74ef4087d2a"
PRIORITY = "optional"
LICENSE = "GPL"
SRCNAME = "Pyrex"
-PR = "ml1"
+DEPENDS += "python"
+DEPENDS_virtclass-native += "python-native"
+PR = "ml2"
SRC_URI = "\
http://www.cosc.canterbury.ac.nz/greg.ewing/python/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \
- file://pyrex-fix-optimized-mode.patch;patch=1 \
+ file://pyrex-fix-optimized-mode.patch \
"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "3b3d8397c2c9a58fc59a90e2b49c651a"
+SRC_URI[sha256sum] = "dd60bc66b1627d3cbd0950499017dfd57a0705bb12493bb0de2a7b9b5c0873bc"
+
+BBCLASSEXTEND = "native"
+
+NATIVE_INSTALL_WORKS = "1"
SECTION = "devel/python"
PRIORITY = "optional"
LICENSE = "MIT"
-PR = "ml0"
+PR = "ml1"
SRC_URI = "\
${SOURCEFORGE_MIRROR}/pyro/Pyro-${PV}.tar.gz \
- file://pyro-unattended-install.patch;patch=1;pnum=0 \
+ file://pyro-unattended-install.patch;striplevel=0 \
"
S = "${WORKDIR}/Pyro-${PV}"
inherit distutils
-RDEPENDS = "\
+RDEPENDS_${PN} = "\
python-crypt \
python-io \
python-lang \
python-threading \
"
+
+SRC_URI[md5sum] = "8ab110b43f891c9664628133753c903a"
+SRC_URI[sha256sum] = "d9e8073c7abb0fd9a94ec72c48f5bf4673de8e9333082dce6954d18a2fe35efd"
+require ../freesmartphone/python-helpers.inc
+
DESCRIPTION = "PyRTC is a python extension module that supports talking to the \
RTC (Real Time Clock) found in most PCs and SOCs"
SECTION = "devel/python"
-HOMEPAGE = "http://www.freesmartphone.org"
AUTHOR = "Michael 'Mickey' Lauer <mlauer@vanille-media.de>"
LICENSE = "GPLv2"
SRCNAME = "pyrtc"
DEPENDS = "python-cython-native"
SRCREV = "${FSO_PYTHONHELPERS_SRCREV}"
-PV = "1.0.0+gitr${SRCREV}"
+PV = "1.0.0+gitr${SRCPV}"
PR = "ml1"
-SRC_URI = "git://git.freesmartphone.org/python-helpers.git;protocol=git;branch=master"
S = "${WORKDIR}/git/${SRCNAME}"
inherit distutils
PRIORITY = "optional"
LICENSE = "PSF"
SRCNAME = "pyserial"
-PR = "ml1"
+PR = "ml2"
SRC_URI = "${SOURCEFORGE_MIRROR}/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
S = "${WORKDIR}/${SRCNAME}-${PV}"
# FIXME might stop packaging serialwin32 and serialjava files
-RDEPENDS = "\
+RDEPENDS_${PN} = "\
python-fcntl \
python-io \
python-stringold \
"
+
+SRC_URI[md5sum] = "eec19df59fd75ba5a136992897f8e468"
+SRC_URI[sha256sum] = "6b6a9e3d2fd5978c92c843e0109918a4bcac481eecae316254481c0e0f7e73c8"
require python-pysqlite2_${PV}.bb
inherit native
DEPENDS = "python-native sqlite3-native"
-RDEPENDS = ""
+RDEPENDS_${PN} = ""
do_stage() {
BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
LICENSE = "BSD"
DEPENDS = "sqlite3"
SRCNAME = "pysqlite"
-PR = "ml2"
+PR = "ml3"
-SRC_URI = "http://initd.org/pub/software/pysqlite/releases/2.4/${PV}/${SRCNAME}-${PV}.tar.gz \
- file://fix-setup.patch;patch=1"
+SRC_URI = "http://www.ibiblio.org/pub/solaris/freeware/SOURCES/${SRCNAME}-${PV}.tar.gz \
+ file://fix-setup.patch"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
mv ${D}${datadir}/pysqlite2-doc ${D}${datadir}/doc/${PN}
}
-RDEPENDS = "\
+RDEPENDS_${PN} = "\
python-datetime \
python-lang \
python-crypt \
PACKAGES =+ "${PN}-tests"
FILES_${PN}-tests = "${libdir}/${PYTHON_DIR}/pysqlite2/test"
RDEPENDS_${PN}-tests = "${PN}"
+
+SRC_URI[md5sum] = "46b4590c51b9fb62cd0be1439646549e"
+SRC_URI[sha256sum] = "7e66c07d3eb93035f9272d01470e531a7c9f9d9751ad06f3a9c13b4f67c0a06a"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "8a7763e31e4cc3fdf9154c793dda3bc0"
+SRC_URI[sha256sum] = "7d17f07aa470cac6afc1b7e68745c1bf1767913ce52b401296e21cab245fe26b"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "9576c3e471e40e021fa44f36712bbd04"
+SRC_URI[sha256sum] = "9991a999170c533c10dbff227a9d617ef592fd579edfc21a55f0b715a7d329db"
inherit setuptools
export HOME=/tmp/foo
+
+SRC_URI[md5sum] = "19ecf6cfcd000392c8405eceb488efb0"
+SRC_URI[sha256sum] = "35fe5623906ebb8ebe27b2d5c9f793f2dce1698e32d8bdada3b69e42349994d8"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "ce547183f7b455d837d654a484b29a83"
+SRC_URI[sha256sum] = "fabdec4b04d50b50558b6062d35884c60b419e65b3738b08be07d729b6f3d46a"
DESCRIPTION = "PyXDG is a python library to access freedesktop.org standards"
SECTION = "devel/python"
LICENSE = "GPL"
-PR = "r1"
+PR = "r2"
SRC_URI = "http://www.freedesktop.org/~lanius/pyxdg-${PV}.tar.gz"
+SRC_URI += "file://desktopentry-cmp.patch"
+
S = "${WORKDIR}/pyxdg-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "86a5441285fc908145414b63348d11a3"
+SRC_URI[sha256sum] = "c2adf20955cb62af5c94622d0dd47fb82ee63da33c03d5a1f82337ba83044bb7"
PRIORITY = "optional"
LICENSE = "PSF"
SRCNAME = "pyxml"
-PR = "ml1"
+PR = "ml2"
SRC_URI = "${SOURCEFORGE_MIRROR}/pyxml/PyXML-${PV}.tar.gz"
S = "${WORKDIR}/PyXML-${PV}"
inherit distutils
-RDEPENDS = "python-xml python-netclient"
+RDEPENDS_${PN} = "python-xml python-netclient"
+
+SRC_URI[md5sum] = "1f7655050cebbb664db976405fdba209"
+SRC_URI[sha256sum] = "9fab66f9584fb8e67aebd8745a5c97bf1c5a2e2e461adf68862bcec64e448c13"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "d2aa74615aa9cf23413975a68613ffc1"
+SRC_URI[sha256sum] = "12527f130dd695184c44c6197deb619c26c9b5b31ce7699a5dd97e0ad2dd7bd1"
install -m 0644 Zeroconf.py ${D}${libdir}/${PYTHON_DIR}/site-packages/
}
+
+SRC_URI[md5sum] = "e7180e9440d961c6aba5056fdd7997f0"
+SRC_URI[sha256sum] = "00689fa56dd87eb47b30565ab7561c94d2cde58372e267116889d2531d880b98"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "4e855372c4a533b9ed605503156e6e04"
+SRC_URI[sha256sum] = "3dbd653b27fc855bf86dfe0ac06ed9bf59c8b85c9bcb4b5488528b30c59970f4"
LICENSE = "GPL"
PRIORITY = "optional"
SRCNAME = "scapy"
-PR = "ml1"
+PR = "ml2"
SRC_URI = "http://www.secdev.org/projects/scapy/files/scapy-${PV}.tar.gz"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
-RDEPENDS = "\
+RDEPENDS_${PN} = "\
python-netclient \
python-netserver \
"
+
+SRC_URI[md5sum] = "953dc98dbd78fba3a80d554514581d26"
+SRC_URI[sha256sum] = "0431955a17cd687a28c9b005a6afbc11d8db9348cd4ec91c5600f4f662819e07"
require python-scons_${PV}.bb
inherit native
DEPENDS = "python-native"
-RDEPENDS = ""
+RDEPENDS_${PN} = ""
do_stage() {
BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
do_install() {
:
}
+
+SRC_URI[md5sum] = "53b6aa7281811717a57598e319441cf7"
+SRC_URI[sha256sum] = "2806451e02a42789decb6d08098b798b6b81a0a39d8d3b2fbdd3fe84ebd8a246"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "53b6aa7281811717a57598e319441cf7"
+SRC_URI[sha256sum] = "2806451e02a42789decb6d08098b798b6b81a0a39d8d3b2fbdd3fe84ebd8a246"
DESCRIPTION = "A Software Construction Tool"
SECTION = "devel/python"
PRIORITY = "optional"
-LICENSE = "GPL"
+LICENSE = "MIT"
+DEPENDS_virtclass-native = "python-native"
SRCNAME = "scons"
+PR = "r1"
SRC_URI = "${SOURCEFORGE_MIRROR}/scons/scons-${PV}.tar.gz;name=scons \
file://toolchain-from-env.SConscript \
NATIVE_INSTALL_WORKS = "1"
BBCLASSEXTEND = "native"
+
+RDEPENDS_${PN} = "python-shell \
+ python-stringold \
+ python-lang \
+ python-io \
+ python-fcntl \
+ python-pickle \
+ python-crypt"
SECTION = "devel/python"
PRIORITY = "optional"
LICENSE = "MIT"
-RDEPENDS = "python-distutils python-compression"
SRCNAME = "setuptools"
-PR = "ml0"
+PR = "ml2"
+DEPENDS += "python"
+DEPENDS_virtclass-native += "python-native"
SRC_URI = "\
http://cheeseshop.python.org/packages/source/s/setuptools/${SRCNAME}-${PV}.tar.gz\
- file://fix-log-usage.patch;patch=1 \
+ file://fix-log-usage.patch \
"
S = "${WORKDIR}/${SRCNAME}-${PV}"
install -d ${D}/${libdir}/${PYTHON_DIR}/site-packages
}
-RDEPENDS = "\
+RDEPENDS_${PN} = "\
python-distutils \
python-compression \
"
+
+SRC_URI[md5sum] = "3864c01d9c719c8924c455714492295e"
+SRC_URI[sha256sum] = "e6190497301b6cb1484b9e6173723452c8df1b4cd9ea97af75c9589b1c34b3d8"
+
+BBCLASSEXTEND = "native"
+
+NATIVE_INSTALL_WORKS = "1"
SRC_URI = "http://www.vanille.de/mirror/${SRCNAME}-${PV}.tar.bz2"
S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+SRC_URI[md5sum] = "45f77f33a6b2a5c09c28511ebb733b87"
+SRC_URI[sha256sum] = "7fd6495d6c3e8dac7ba086c68abed4930c958a94afc15359223074614559e462"
PRIORITY = "optional"
LICENSE = "MIT"
SRCNAME = "simplejson"
-PR = "ml0"
+PR = "ml1"
SRC_URI = "http://cheeseshop.python.org/packages/source/s/simplejson/${SRCNAME}-${PV}.tar.gz"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit setuptools
-RDEPENDS = "\
+RDEPENDS_${PN} = "\
python-core \
python-re \
python-io \
python-netserver \
"
+
+SRC_URI[md5sum] = "9d02273f8615b8e3fceda891ffff10d1"
+SRC_URI[sha256sum] = "2b349ed73540f8ce68bdfa29e08e3dff9d885027bfa06d6a871a09fe381ddbbe"
AUTHOR = "Phil Thompson"
LICENSE = "GPL"
DEPENDS = "python"
-RDEPENDS = "python-core"
+RDEPENDS_${PN} = "python-core"
SRC_URI = "http://www.riverbankcomputing.com/static/Downloads/sip4/sip-${PV}.tar.gz"
do_configure_prepend() {
- cat siplib.sbf | sed s,target,TARGET, | sed s,sources,SOURCES, | sed s,headers,HEADERS, > siplib.pro
+ cat siplib.sbf.in | sed s,target,TARGET, | sed s,sources,SOURCES, | sed s,headers,HEADERS, | sed s,@CFG_MODULE_BASENAME@,sip, > siplib.pro
+ cat siplib.c.in | sed s,@CFG_MODULE_BASENAME@,sip, > siplib.c
+ cat sip.h.in | sed -e s,@CFG_MODULE_NAME@,sip,g > sip.h
}
do_stage() {
install -d ${STAGING_LIBDIR_NATIVE}/${PYTHON_DIR}/site-packages/
# sipconfig.py sipdistutils.py
- install -m 0644 sip.h ${STAGING_INCDIR}/sip.h
+ install -m 0644 ../siplib/sip.h ${STAGING_INCDIR}/sip.h
}
do_install() {
HOMEPAGE = "http://pywebsvcs.sourceforge.net/"
PRIORITY = "optional"
LICENSE = "BSD"
-RDEPENDS = "python-xml python-fpconst"
+RDEPENDS_${PN} = "python-xml python-fpconst"
SRCNAME = "SOAPpy"
-PR = "r1"
+PR = "r2"
SRC_URI = "${SOURCEFORGE_MIRROR}/pywebsvcs/${SRCNAME}-${PV}.tar.gz \
- file://fix-future.patch;patch=1 \
+ file://fix-future.patch \
file://fpconst.py"
S = "${WORKDIR}/${SRCNAME}-${PV}"
do_compile_prepend() {
install -m 0644 ${WORKDIR}/fpconst.py ${S}/SOAPpy/fpconst.py
}
+
+SRC_URI[md5sum] = "51ac835366badedd932c64f26fa8336b"
+SRC_URI[sha256sum] = "42c8cb3e42b439bc36b6ba3f090ddb72a214ca9264a2babf102c98731dea8e6a"
S = "${WORKDIR}/Sphinx-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "11456e362d75c1a4c5a5847921d3f4c7"
+SRC_URI[sha256sum] = "871c04e577625520091a2d3ea8ac09469ce2dcf7db9dbd6e54a57264879dac29"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "920deac1bd4d16fe1c5b51fe839140ab"
+SRC_URI[sha256sum] = "7fcf0aa2e5e08719b39aeb145d3b6e953a8643bb6fd5e8359303399493ee6c39"
S = "${WORKDIR}/SPyDI-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "9ca1c604330643fca1e3847f77ac8f0a"
+SRC_URI[sha256sum] = "67e939a8c3e0f33fd2de5945b9e1e50b522890df025560215d6ca56ea7204b15"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit setuptools
+
+SRC_URI[md5sum] = "df49f403b2db3c54aace64aebe26cf90"
+SRC_URI[sha256sum] = "30c1649025f76e414400edd957f46b2932b5d3f8e2404779c76e693cb5776949"
PRIORITY = "optional"
LICENSE = "LGPL"
SRCNAME = "SQLObject"
-PR = "ml0"
+PR = "ml1"
SRC_URI = "http://cheeseshop.python.org/packages/source/S/SQLObject/SQLObject-${PV}.tar.gz"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit setuptools
-RDEPENDS = "python-formencode"
+RDEPENDS_${PN} = "python-formencode"
+
+SRC_URI[md5sum] = "20039279c5b799c49e6496b9fe71f03f"
+SRC_URI[sha256sum] = "8204bf5aeaca5b72e6bf3bd11db440346f3ed6d13b856166e3b84c4b3ec7152f"
PRIORITY = "optional"
LICENSE = "PD"
SRCNAME = "tlslite"
-PR = "ml1"
+PR = "ml2"
-SRC_URI = "http://trevp.net/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+# original url is dead, so it has been replaced with the gentoo one
+#SRC_URI = "http://trevp.net/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+SRC_URI = "http://gentoo.osuosl.org/distfiles/tlslite-0.3.8.tar.gz"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "5e1c19500e30fc7580939c18b435f937"
+SRC_URI[sha256sum] = "3d79170d8c3a662fa717b6401e8004208df113aaf3b18689bbeb704a23bf5b9f"
SECTION = "devel/python"
PRIORITY = "optional"
LICENSE = "BSD"
-PR = "ml0"
+PR = "ml1"
inherit setuptools
SRC_URI = "\
http://pypi.python.org/packages/source/T/Traits/Traits-${PV}.tar.gz \
-# file://fix-import-pyface.diff;patch=1 \
+# file://fix-import-pyface.diff \
"
S = "${WORKDIR}/Traits-${PV}"
-RDEPENDS = "python-netclient"
+RDEPENDS_${PN} = "python-netclient"
FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/enthought/traits/.debug"
FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/enthought/traits/protocols/.debug"
+
+SRC_URI[md5sum] = "3b893056fadf3f0781b05b11413162ad"
+SRC_URI[sha256sum] = "77224e8464c01162b3afa54d8cec8304ba647fca26f037d454cb6a14e2757604"
do_stage() {
distutils_stage_all
}
+
+SRC_URI[md5sum] = "c85f151999df3ecf04c49a781b4438d2"
+SRC_URI[sha256sum] = "e0602bb05e31f6100b6f9ab35cfa93ab9f7a1c50a351a0ddfcd236a923bddfb0"
SECTION = "console/network"
PRIORITY = "optional"
LICENSE = "LGPL"
-PR = "r1"
+PR = "r3"
SRC_URI = "http://tmrc.mit.edu/mirror/twisted/Twisted/8.2/Twisted-${PV}.tar.bz2 "
S = "${WORKDIR}/Twisted-${PV}"
${PN}-core \
"
-RDEPENDS = "python-core python-zopeinterface"
+RDEPENDS_${PN} = "python-core python-zopeinterface"
RDEPENDS_${PN} += "\
${PN}-bin \
${PN}-conch \
${PN}-words \
"
+do_install_append() {
+ # remove some useless files before packaging
+ find ${D} -name "*.bat" -o -name "*.c" -o -name "*.h" -exec rm {} \;
+}
+
ALLOW_EMPTY = "1"
FILES_${PN} = ""
FILES_${PN}-test = " \
${libdir}/${PYTHON_DIR}/site-packages/twisted/test \
+ ${libdir}/${PYTHON_DIR}/site-packages/twisted/*/test \
"
FILES_${PN}-protocols = " \
${libdir}/${PYTHON_DIR}/site-packages/twisted/*/.debug \
${libdir}/${PYTHON_DIR}/site-packages/twisted/*/*/.debug \
"
+
+SRC_URI[md5sum] = "c85f151999df3ecf04c49a781b4438d2"
+SRC_URI[sha256sum] = "e0602bb05e31f6100b6f9ab35cfa93ab9f7a1c50a351a0ddfcd236a923bddfb0"
require python-urlgrabber_${PV}.bb
inherit native
DEPENDS = "python-native"
-RDEPENDS = ""
-PR = "r1"
+RDEPENDS_${PN} = ""
+PR = "r2"
do_stage() {
distutils_stage_all
S = "${WORKDIR}/urlgrabber-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "2a92d8ce0d89c5e772a98e9b8dcd5b73"
+SRC_URI[sha256sum] = "34d48f4f4390ed06c0fc8fac580f6fe4cd2bfb3557ff0f11254a7bea25d353ca"
LICENSE = "Apache License V2.0"
HOMEPAGE = "http://vobject.skyhouseconsulting.com/"
SRCNAME = "vobject"
-RDEPENDS = "python python-dateutil"
-PR = "r1"
+RDEPENDS_${PN} = "python python-dateutil"
+PR = "r2"
SRC_URI = "http://vobject.skyhouseconsulting.com/${SRCNAME}-${PV}.tar.gz"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit setuptools
+
+SRC_URI[md5sum] = "c9686dd74d39fdae140890d9c694c076"
+SRC_URI[sha256sum] = "594113117f2017ed837c8f3ce727616f9053baa5a5463a7420c8249b8fc556f5"
PR = "ml0"
SRC_URI = "http://www.andrewchatham.com/pyogg/download/${SRCNAME}-${PV}.tar.gz \
- file://disable-oggcheck.patch;patch=1"
+ file://disable-oggcheck.patch"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
echo "vorbis_lib_dir = ${STAGING_LIBDIR}" >>Setup
echo "vorbis_include_dir = ${STAGING_INCDIR}" >>Setup
}
+
+SRC_URI[md5sum] = "b4921e792c0a74f75b9d3057df10ee7c"
+SRC_URI[sha256sum] = "a7154541cea58304feff30752243eab862131c7589d72c200c8ad722d3bf1647"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
+
+SRC_URI[md5sum] = "8e49e0ecc5b4327c4f752a544ee10e1a"
+SRC_URI[sha256sum] = "72c029ad1e25de950f59c2f1812d009d2c1691b70e4b5b09f1af9006e8fd5f23"
SECTION = "devel/python"
PRIORITY = "optional"
LICENSE = "PSF"
-PR = "ml0"
+PR = "ml1"
SRC_URI = "http://webpy.org/static/web.py-${PV}.tar.gz"
S = "${WORKDIR}/webpy"
inherit distutils
-RDEPENDS = "\
+RDEPENDS_${PN} = "\
python-netserver \
python-netclient \
python-pprint \
"
+
+SRC_URI[md5sum] = "439b0700f9f5d422e5db6f28c0f86b11"
+SRC_URI[sha256sum] = "01f30f86c9ea41e7fcc9bc4cabb17283de7dbf19c301254161a89dd0a73cb9f3"
distutils_stage_all
}
+
+SRC_URI[md5sum] = "cc0c6d5a8f9346ad90bd5f8183789c96"
+SRC_URI[sha256sum] = "998d148114abb4ae68ef2c340d971dfe09ec581850a1f0fd7c856f3c9b397b3e"
SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${PN}-${PV}.tar.gz"
inherit distutils
+
+SRC_URI[md5sum] = "a038c2f410d8445f3fa8f6dcd45659c5"
+SRC_URI[sha256sum] = "4771b0b6a605e0197ece5432fa601c61df724b32544239f463a867200f2160eb"
SECTION = "devel/python"
PRIORITY = "optional"
# bump this on every change in contrib/python/generate-manifest-2.6.py
-INC_PR = "ml8"
+INC_PR = "ml12"
DEFAULT_PREFERENCE = "-26"
require yum-metadata-parser_${PV}.bb
inherit native
DEPENDS = "python-native sqlite3-native glib-2.0-native libxml2-native"
-RDEPENDS = ""
-PR = "r1"
+RDEPENDS_${PN} = ""
+PR = "r2"
do_stage() {
distutils_stage_all
TARGET_CFLAGS += "-I${STAGING_LIBDIR}/glib-2.0"
inherit distutils
+
+SRC_URI[md5sum] = "13df226ef004ea78eebc59022720b536"
+SRC_URI[sha256sum] = "48b87110c3c46ad04209b358fded534eca3bfdc91b396d2549390dd51048be9f"