diff options
Diffstat (limited to 'packages/python')
32 files changed, 436 insertions, 175 deletions
diff --git a/packages/python/divmod.inc b/packages/python/divmod.inc new file mode 100644 index 0000000000..20be1b2e38 --- /dev/null +++ b/packages/python/divmod.inc @@ -0,0 +1,17 @@ +SRC_URI = "http://divmod.org/trac/attachment/wiki/SoftwareReleases/${REALPN}-${PV}.tar.gz?format=raw" + +DEPENDS += "python-twisted-native" + +do_unpack2() { + cd ${WORKDIR} + tar zxvf ${REALPN}-${PV}.tar.gz?format=raw +} + +addtask unpack2 after do_unpack before do_configure + +inherit distutils + +S = "${WORKDIR}/${REALPN}-${PV}" + + + diff --git a/packages/python/files/06-libffi-enable-default-mips.patch b/packages/python/files/06-libffi-enable-default-mips.patch new file mode 100644 index 0000000000..b01f0c751d --- /dev/null +++ b/packages/python/files/06-libffi-enable-default-mips.patch @@ -0,0 +1,12 @@ +Index: Python-2.6.1/Modules/_ctypes/libffi/fficonfig.py.in +=================================================================== +--- Python-2.6.1.orig/Modules/_ctypes/libffi/fficonfig.py.in ++++ Python-2.6.1/Modules/_ctypes/libffi/fficonfig.py.in +@@ -5,6 +5,7 @@ src/prep_cif.c + ffi_platforms = { + 'MIPS_IRIX': ['src/mips/ffi.c', 'src/mips/o32.S', 'src/mips/n32.S'], + 'MIPS_LINUX': ['src/mips/ffi.c', 'src/mips/o32.S'], ++ 'MIPS': ['src/mips/ffi.c', 'src/mips/o32.S'], + 'X86': ['src/x86/ffi.c', 'src/x86/sysv.S'], + 'X86_FREEBSD': ['src/x86/ffi.c', 'src/x86/sysv.S'], + 'X86_WIN32': ['src/x86/ffi.c', 'src/x86/win32.S'], diff --git a/packages/python/python-2.6.1/99-ignore-optimization-flag.patch b/packages/python/python-2.6.1/99-ignore-optimization-flag.patch new file mode 100644 index 0000000000..02dc44c847 --- /dev/null +++ b/packages/python/python-2.6.1/99-ignore-optimization-flag.patch @@ -0,0 +1,19 @@ +# Reinstate the empty -O option to fix weird mixing of native and target +# binaries and libraries with LD_LIBRARY_PATH when host==target +# +# Signed-off-by: Denys Dmytriyenko <denis@denix.org> + +Index: Python-2.6.1/Modules/main.c +=================================================================== +--- Python-2.6.1-orig/Modules/main.c ++++ Python-2.6.1/Modules/main.c +@@ -352,6 +352,9 @@ Py_Main(int argc, char **argv) + + /* case 'J': reserved for Jython */ + ++ case 'O': /* ignore it */ ++ break; ++ + case 'N': + Py_OptimizeFlag=0; + break; diff --git a/packages/python/python-coherence_0.6.0.bb b/packages/python/python-coherence_0.6.0.bb deleted file mode 100644 index f22d1039c2..0000000000 --- a/packages/python/python-coherence_0.6.0.bb +++ /dev/null @@ -1,13 +0,0 @@ -DESCRIPTION = "Coherence is a DLNA/UPnP mediaserver + backends" -SECTION = "python/devel" -LICENSE = "MIT" -HOMEPAGE = "http://coherence.beebits.net/wiki" -PR = "r0" - -inherit setuptools - -SRC_URI = "http://coherence.beebits.net/download/Coherence-${PV}.tar.gz" -S = "${WORKDIR}/Coherence-${PV}" - -FILES_${PN} += "${datadir}" - diff --git a/packages/python/python-coherence_0.6.2.bb b/packages/python/python-coherence_0.6.2.bb new file mode 100644 index 0000000000..54eed59574 --- /dev/null +++ b/packages/python/python-coherence_0.6.2.bb @@ -0,0 +1,20 @@ +DESCRIPTION = "Coherence is a DLNA/UPnP mediaserver + backends" +SECTION = "devel/python" +LICENSE = "MIT" +HOMEPAGE = "http://coherence.beebits.net/wiki" +PR = "r1" + +inherit setuptools + +SRC_URI = "http://coherence.beebits.net/download/Coherence-${PV}.tar.gz" +S = "${WORKDIR}/Coherence-${PV}" + +FILES_${PN} += "${datadir}" + +DEPENDS = "libxml2 libxml2-native" +RDEPENDS_${PN} += "python-twisted-pair python-divmodepsilon python-nevow python-gst python-dbus \ + python-configobj python-twisted python-twisted-core python-twisted-protocols python-misc \ + python-zopeinterface python-modules python-pygobject python-gdata \ + python-divmodaxiom" + + diff --git a/packages/python/python-coherence_svn.bb b/packages/python/python-coherence_svn.bb new file mode 100644 index 0000000000..031067672e --- /dev/null +++ b/packages/python/python-coherence_svn.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "Coherence is a DLNA/UPnP mediaserver + backends" +SECTION = "devel/python" +LICENSE = "MIT" +HOMEPAGE = "http://coherence.beebits.net/wiki" + +PR = "r1" + +PV = "0.6.0+svnr${SRCREV}" + +inherit setuptools + +DISTUTILS_INSTALL_ARGS = "--root=${D} \ + --prefix=${prefix} \ + --install-data=${datadir}" + +SRC_URI = "svn://coherence.beebits.net/svn/trunk;module=Coherence;proto=https" +S = "${WORKDIR}/Coherence" + +FILES_${PN} += "${datadir}" +RDEPENDS_${PN} += "python-twisted-pair python-divmodepsilon python-nevow python-gst python-dbus \ + python-configobj python-twisted python-twisted-core python-twisted-protocols python-misc \ + python-zopeinterface zope python-modules python-pygobject python-gdata python-inotify \ + python-divmodaxiom" + + diff --git a/packages/python/python-configobj_4.5.3.bb b/packages/python/python-configobj_4.5.3.bb new file mode 100644 index 0000000000..89ea344bae --- /dev/null +++ b/packages/python/python-configobj_4.5.3.bb @@ -0,0 +1,10 @@ +DESCRIPTION = "ConfigObj is a simple but powerful config file reader and writer" +LICENSE = "BSD" + +SRC_URI = "http://pypi.python.org/packages/source/C/ConfigObj/configobj-${PV}.tar.gz" + +inherit distutils + +S = "${WORKDIR}/configobj-${PV}" + + diff --git a/packages/python/python-divmodaxiom_0.5.30.bb b/packages/python/python-divmodaxiom_0.5.30.bb new file mode 100644 index 0000000000..94c8a5317b --- /dev/null +++ b/packages/python/python-divmodaxiom_0.5.30.bb @@ -0,0 +1,8 @@ +DESCRIPTION = "An object oriented database" +LICENSE = "MIT" + +REALPN = "Axiom" + +DEPENDS += "python-divmodepsilon-native" + +require divmod.inc diff --git a/packages/python/python-divmodepsilon-native_0.5.11.bb b/packages/python/python-divmodepsilon-native_0.5.11.bb new file mode 100644 index 0000000000..185708b611 --- /dev/null +++ b/packages/python/python-divmodepsilon-native_0.5.11.bb @@ -0,0 +1,11 @@ +require python-divmodepsilon_${PV}.bb +inherit native + +DEPENDS = "python-native python-twisted-native zope-native" + +do_stage() { + BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ + STAGING_LIBDIR=${STAGING_LIBDIR} STAGING_INCDIR=${STAGING_INCDIR} \ + ${STAGING_BINDIR}/python setup.py install --prefix=${STAGING_BINDIR}/.. --install-data=${STAGING_DATADIR} +} + diff --git a/packages/python/python-divmodepsilon_0.5.11.bb b/packages/python/python-divmodepsilon_0.5.11.bb new file mode 100644 index 0000000000..5184b69252 --- /dev/null +++ b/packages/python/python-divmodepsilon_0.5.11.bb @@ -0,0 +1,7 @@ +DESCRIPTION = "A small utility package that depends on tools too recent for Twisted " +LICENSE = "MIT" + +REALPN = "Epsilon" + +require divmod.inc + diff --git a/packages/python/python-dweba_0.9.9+1.0.0pre14.bb b/packages/python/python-dweba_0.9.9+1.0.0pre14.bb new file mode 100644 index 0000000000..ddc5979eab --- /dev/null +++ b/packages/python/python-dweba_0.9.9+1.0.0pre14.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "Dweba is a framework to develop distributed and web applications \ +for the python programming language." +HOMEPAGE = "http://www.threekong.com" +SECTION = "devel/python" +PRIORITY = "optional" +LICENSE = "MIT" +PR = "ml0" + +RPV = "1.0.0-pre14" + +SRC_URI = "http://www.threekong.com/download/dweba/dweba-${RPV}.tar.gz" +S = "${WORKDIR}/dweba-${RPV}" + +inherit distutils diff --git a/packages/python/python-elementtree_1.2.7-20070827-preview.bb b/packages/python/python-elementtree_1.2.7-20070827-preview.bb new file mode 100644 index 0000000000..f1e4c8b322 --- /dev/null +++ b/packages/python/python-elementtree_1.2.7-20070827-preview.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "Lightweight Python components for handling XML" +SECTION = "devel/python" +LICENSE = "Python" +HOMEPAGE = "http://effbot.org/zone/element-index.htm" +PR = "r0" + +inherit distutils + +SRC_URI = "http://effbot.org/media/downloads/elementtree-${PV}.zip" +S = "${WORKDIR}/elementtree-${PV}" + +FILES_${PN} += "${datadir}" + + diff --git a/packages/python/python-gdata_1.2.4.bb b/packages/python/python-gdata_1.2.4.bb new file mode 100644 index 0000000000..2e7e424976 --- /dev/null +++ b/packages/python/python-gdata_1.2.4.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "Google Data APIs Python Client Library" +SECTION = "devel/python" +LICENSE = "Apache" +HOMEPAGE = "http://code.google.com/p/gdata-python-client/" +PR = "r0" + +inherit distutils + +SRC_URI = "http://gdata-python-client.googlecode.com/files/gdata.py-${PV}.tar.gz" +S = "${WORKDIR}/gdata.py-${PV}" + +FILES_${PN} += "${datadir}" + +RDEPENDS = "python-elementtree" + diff --git a/packages/python/python-native-2.5.1/bindir-libdir.patch b/packages/python/python-native-2.5.1/bindir-libdir.patch deleted file mode 100644 index 999bddc449..0000000000 --- a/packages/python/python-native-2.5.1/bindir-libdir.patch +++ /dev/null @@ -1,18 +0,0 @@ - -# -# Made by http://www.mn-logistik.de/unsupported/pxa250/patcher -# - ---- Python-2.3.1/Makefile.pre.in~bindir-libdir 2003-09-20 12:50:28.000000000 +0200 -+++ Python-2.3.1/Makefile.pre.in 2003-11-02 19:53:17.000000000 +0100 -@@ -78,8 +78,8 @@ - exec_prefix= @exec_prefix@ - - # Expanded directories --BINDIR= $(exec_prefix)/bin --LIBDIR= $(exec_prefix)/lib -+BINDIR= @bindir@ -+LIBDIR= @libdir@ - MANDIR= @mandir@ - INCLUDEDIR= @includedir@ - CONFINCLUDEDIR= $(exec_prefix)/include diff --git a/packages/python/python-native-2.5.1/catchup-with-swig.patch b/packages/python/python-native-2.5.1/catchup-with-swig.patch deleted file mode 100644 index f049b759f4..0000000000 --- a/packages/python/python-native-2.5.1/catchup-with-swig.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: Python-2.5.1/Lib/distutils/command/build_ext.py -=================================================================== ---- Python-2.5.1.orig/Lib/distutils/command/build_ext.py -+++ Python-2.5.1/Lib/distutils/command/build_ext.py -@@ -513,7 +513,7 @@ class build_ext (Command): - target_lang=language) - - -- def swig_sources (self, sources, extension): -+ def swig_sources (self, sources, extension=None): - - """Walk the list of source files in 'sources', looking for SWIG - interface (.i) files. Run SWIG on all that are found, and diff --git a/packages/python/python-native-2.5.1/cross-distutils.patch b/packages/python/python-native-2.5.1/cross-distutils.patch deleted file mode 100644 index 3356c1abbe..0000000000 --- a/packages/python/python-native-2.5.1/cross-distutils.patch +++ /dev/null @@ -1,36 +0,0 @@ - -# -# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher -# - ---- Python-2.3.3/Lib/distutils/sysconfig.py~cross-distutils 2003-02-10 15:02:33.000000000 +0100 -+++ Python-2.3.3/Lib/distutils/sysconfig.py 2004-03-02 20:15:05.000000000 +0100 -@@ -19,8 +19,8 @@ - from errors import DistutilsPlatformError - - # These are needed in a couple of spots, so just compute them once. --PREFIX = os.path.normpath(sys.prefix) --EXEC_PREFIX = os.path.normpath(sys.exec_prefix) -+PREFIX = os.path.normpath(sys.prefix).replace( os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") ) -+EXEC_PREFIX = os.path.normpath(sys.exec_prefix).replace( os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") ) - - # python_build: (Boolean) if true, we're either building Python or - # building an extension with an un-installed Python, so we use -@@ -192,7 +192,7 @@ - else: - # The name of the config.h file changed in 2.2 - config_h = 'pyconfig.h' -- return os.path.join(inc_dir, config_h) -+ return os.path.join(inc_dir, config_h).replace( os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") ) - - - def get_makefile_filename(): -@@ -200,7 +200,7 @@ - if python_build: - return os.path.join(os.path.dirname(sys.executable), "Makefile") - lib_dir = get_python_lib(plat_specific=1, standard_lib=1) -- return os.path.join(lib_dir, "config", "Makefile") -+ return os.path.join(lib_dir, "config", "Makefile").replace( os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") ) - - - def parse_config_h(fp, g=None): diff --git a/packages/python/python-native-2.5.1/default-is-optimized.patch b/packages/python/python-native-2.5.1/default-is-optimized.patch deleted file mode 100644 index 6beeb6e022..0000000000 --- a/packages/python/python-native-2.5.1/default-is-optimized.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: Python-2.5.1/Python/compile.c -=================================================================== ---- Python-2.5.1.orig/Python/compile.c -+++ Python-2.5.1/Python/compile.c -@@ -30,7 +30,7 @@ - #include "symtable.h" - #include "opcode.h" - --int Py_OptimizeFlag = 0; -+int Py_OptimizeFlag = 1; - - /* - ISSUES: diff --git a/packages/python/python-native-2.5.1/dont-modify-shebang-line.patch b/packages/python/python-native-2.5.1/dont-modify-shebang-line.patch deleted file mode 100644 index 54109afd62..0000000000 --- a/packages/python/python-native-2.5.1/dont-modify-shebang-line.patch +++ /dev/null @@ -1,16 +0,0 @@ - -# -# Signed off by Michael 'Mickey' Lauer <mickey@Vanille.de> -# - ---- Python-2.4/Lib/distutils/command/build_scripts.py~dont-modify-shebang-line -+++ Python-2.4/Lib/distutils/command/build_scripts.py -@@ -87,7 +87,7 @@ - continue - - match = first_line_re.match(first_line) -- if match: -+ if False: #match: - adjust = 1 - post_interp = match.group(1) or '' - diff --git a/packages/python/python-native-2.5.1/fix-staging.patch b/packages/python/python-native-2.5.1/fix-staging.patch deleted file mode 100644 index 087c813fd4..0000000000 --- a/packages/python/python-native-2.5.1/fix-staging.patch +++ /dev/null @@ -1,38 +0,0 @@ ---- - Lib/distutils/sysconfig.py | 10 ++++++++-- - 1 file changed, 8 insertions(+), 2 deletions(-) - ---- Python-2.5.1.orig/Lib/distutils/sysconfig.py -+++ Python-2.5.1/Lib/distutils/sysconfig.py -@@ -52,11 +52,14 @@ def get_python_inc(plat_specific=0, pref - - If 'prefix' is supplied, use it instead of sys.prefix or - sys.exec_prefix -- i.e., ignore 'plat_specific'. - """ - if prefix is None: -- prefix = plat_specific and EXEC_PREFIX or PREFIX -+ if plat_specific: -+ prefix = plat_specific and os.environ['STAGING_INCDIR'].rstrip('include') -+ else: -+ prefix = plat_specific and EXEC_PREFIX or PREFIX - if os.name == "posix": - if python_build: - base = os.path.dirname(os.path.abspath(sys.executable)) - if plat_specific: - inc_dir = base -@@ -94,11 +97,14 @@ def get_python_lib(plat_specific=0, stan - - If 'prefix' is supplied, use it instead of sys.prefix or - sys.exec_prefix -- i.e., ignore 'plat_specific'. - """ - if prefix is None: -- prefix = plat_specific and EXEC_PREFIX or PREFIX -+ if plat_specific: -+ prefix = plat_specific and os.environ['STAGING_LIBDIR'].rstrip('lib') -+ else: -+ prefix = plat_specific and EXEC_PREFIX or PREFIX - - if os.name == "posix": - libpython = os.path.join(prefix, - "lib", "python" + get_python_version()) - if standard_lib: diff --git a/packages/python/python-nevow_0.9.32.bb b/packages/python/python-nevow_0.9.32.bb new file mode 100644 index 0000000000..155157c517 --- /dev/null +++ b/packages/python/python-nevow_0.9.32.bb @@ -0,0 +1,10 @@ +DESCRIPTION = "Nevow is a web application construction kit written in Python" +LICENSE = "MIT" + +REALPN = "Nevow" + +require divmod.inc + +FILES_${PN} += "${datadir}" +DEPENDS += "python-twisted-native" + diff --git a/packages/python/python-pycairo_1.4.0.bb b/packages/python/python-pycairo_1.4.0.bb index db628a5b0e..0cccd76d0f 100644 --- a/packages/python/python-pycairo_1.4.0.bb +++ b/packages/python/python-pycairo_1.4.0.bb @@ -1,5 +1,5 @@ DESCRIPTION = "Python Bindings for the Cairo canvas library" -SECTION = "python-devel" +SECTION = "devel/python" HOMEPAGE = "http://cairographics.org/pycairo" LICENSE = "LGPL MPL" DEPENDS = "cairo" diff --git a/packages/python/python-pycairo_1.8.0.bb b/packages/python/python-pycairo_1.8.0.bb index fdcb6521f9..4e3e4633ba 100644 --- a/packages/python/python-pycairo_1.8.0.bb +++ b/packages/python/python-pycairo_1.8.0.bb @@ -1,5 +1,5 @@ DESCRIPTION = "Python Bindings for the Cairo canvas library" -SECTION = "python-devel" +SECTION = "devel/python" HOMEPAGE = "http://cairographics.org/pycairo" LICENSE = "LGPL MPL" # cairo >= 1.8.0 diff --git a/packages/python/python-pycrypto_git.bb b/packages/python/python-pycrypto_git.bb new file mode 100644 index 0000000000..9e6eecbebd --- /dev/null +++ b/packages/python/python-pycrypto_git.bb @@ -0,0 +1,13 @@ +DESCRIPTION = "A collection of cryptographic algorithms and protocols" +SECTION = "devel/python" +PRIORITY = "optional" +DEPENDS = "gmp" +SRCNAME = "pycrypto" +LICENSE = "pycrypto" +PR = "ml0" + +PV = "2.0.1+gitr${SRCREV}" +SRC_URI = "git://git.pycrypto.org:9419/crypto/pycrypto-2.x.git;protocol=git;branch=master" +S = "${WORKDIR}/git" + +inherit distutils diff --git a/packages/python/python-pyflakes_0.2.1.bb b/packages/python/python-pyflakes_0.3.0.bb index 8be6d54478..4a6580ea05 100644 --- a/packages/python/python-pyflakes_0.2.1.bb +++ b/packages/python/python-pyflakes_0.3.0.bb @@ -4,9 +4,9 @@ HOMEPAGE = "http://divmod.org/projects/pyflakes" PRIORITY = "optional" LICENSE = "BSD" SRCNAME = "pyflakes" -PR = "ml1" +PR = "ml0" -SRC_URI = "http://www.divmod.org/static/projects/pyflakes/pyflakes-${PV}.tar.gz" +SRC_URI = "http://pypi.python.org/packages/source/p/pyflakes/${SRCNAME}-${PV}.tar.gz" S = "${WORKDIR}/${SRCNAME}-${PV}" inherit distutils diff --git a/packages/python/python-pygobject_2.16.0.bb b/packages/python/python-pygobject_2.16.0.bb index ef9fe0e6c8..d7bd1c041f 100644 --- a/packages/python/python-pygobject_2.16.0.bb +++ b/packages/python/python-pygobject_2.16.0.bb @@ -2,9 +2,7 @@ DESCRIPTION = "Python GObject bindings" SECTION = "devel/python" LICENSE = "LGPL" DEPENDS = "python-pygobject-native-${PV}" -PR = "ml1" - -DEFAULT_PREFERENCE = "-1" +PR = "ml2" MAJ_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" @@ -32,6 +30,8 @@ do_stage() { PACKAGES += "${PN}-lib" +RDEPENDS_${PN} += "python-textutils" + FILES_${PN} = "${libdir}/python*" FILES_${PN}-lib = "${libdir}/lib*.so.*" FILES_${PN}-dev += "${bindir} ${datadir}" diff --git a/packages/python/python-pygtk-1.2_0.6.12.bb b/packages/python/python-pygtk-1.2_0.6.12.bb index 502c4cde39..0b153ce1e5 100644 --- a/packages/python/python-pygtk-1.2_0.6.12.bb +++ b/packages/python/python-pygtk-1.2_0.6.12.bb @@ -5,14 +5,14 @@ LICENSE = "LGPL" DEPENDS = "gtk+-1.2" RDEPENDS = "python-shell python-re" SRCNAME = "pygtk" -PR = "r2" +PR = "r3" SRC_URI = "ftp://ftp.gtk.org/pub/gtk/python/v1.2/${SRCNAME}-${PV}.tar.gz \ file://remove-imlib-et-al.patch;patch=1 \ file://acinclude.m4" S = "${WORKDIR}/${SRCNAME}-${PV}" -inherit autotools pkgconfig distutils-base +inherit autotools_stage pkgconfig distutils-base EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../" @@ -22,6 +22,4 @@ do_configure_prepend() { rm -f aclocal.m4 } -do_stage() { - autotools_stage_includes -} +FILES_${PN}-dev += "${datadir}/pygtk" diff --git a/packages/python/python-pylinda_0.6.bb b/packages/python/python-pylinda_0.6.bb index 3c7124f2ac..a43dd7e7f8 100644 --- a/packages/python/python-pylinda_0.6.bb +++ b/packages/python/python-pylinda_0.6.bb @@ -6,7 +6,7 @@ LICENSE = "LGPL" SRCNAME = "linda" PR = "r1" -SRC_URI = "http://www-users.cs.york.ac.uk/~aw/pylinda/dist/linda-${PV}.tar.gz \ +SRC_URI = "http://www.handhelds.org/~aquadran/distro/latest/sources/linda-${PV}.tar.gz \ file://honor-datadir.patch;patch=1" S = "${WORKDIR}/${SRCNAME}-${PV}" diff --git a/packages/python/python-spyro_0.9.22.bb b/packages/python/python-spyro_0.9.22.bb deleted file mode 100644 index 9cafd883a4..0000000000 --- a/packages/python/python-spyro_0.9.22.bb +++ /dev/null @@ -1,13 +0,0 @@ -DESCRIPTION = "Simplified Python Remote Objects is a multilingual object request broker. \ -SPyRO uses the most efficient (or available) connection between peers to minimize costs \ -of transport and parsing in the communication." -HOMEPAGE = "http://www.spyron.org/" -SECTION = "devel/python" -PRIORITY = "optional" -LICENSE = "MIT" -PR = "ml1" - -SRC_URI = "http://lsc.fie.umich.mx/%7esadit/spyro/download/SPyRO-${PV}.tar.gz" -S="${WORKDIR}/SPyRO-${PV}" - -inherit distutils diff --git a/packages/python/python-twisted-native_8.2.0.bb b/packages/python/python-twisted-native_8.2.0.bb new file mode 100644 index 0000000000..d35b9f2482 --- /dev/null +++ b/packages/python/python-twisted-native_8.2.0.bb @@ -0,0 +1,9 @@ +require python-twisted_${PV}.bb + +RDEPENDS_${PN} = "" + +inherit native + +do_stage() { + distutils_stage_all +} diff --git a/packages/python/python-twisted_8.2.0.bb b/packages/python/python-twisted_8.2.0.bb new file mode 100644 index 0000000000..78234187fb --- /dev/null +++ b/packages/python/python-twisted_8.2.0.bb @@ -0,0 +1,212 @@ +DESCRIPTION = "Twisted is an event-driven networking framework written in Python and licensed under the LGPL. \ +Twisted supports TCP, UDP, SSL/TLS, multicast, Unix sockets, a large number of protocols \ +(including HTTP, NNTP, IMAP, SSH, IRC, FTP, and others), and much more." +HOMEPAGE = "http://www.twistedmatrix.com" +SECTION = "console/network" +PRIORITY = "optional" +LICENSE = "LGPL" +PR = "r1" + +SRC_URI = "http://tmrc.mit.edu/mirror/twisted/Twisted/8.2/Twisted-${PV}.tar.bz2 " +S = "${WORKDIR}/Twisted-${PV}" + +inherit setuptools + +PACKAGES += "\ + ${PN}-zsh \ + ${PN}-test \ + ${PN}-protocols \ + ${PN}-bin \ + ${PN}-conch \ + ${PN}-lore \ + ${PN}-mail \ + ${PN}-names \ + ${PN}-news \ + ${PN}-runner \ + ${PN}-web \ + ${PN}-words \ + ${PN}-flow \ + ${PN}-pair \ + ${PN}-core \ +" + +RDEPENDS = "python-core python-zopeinterface" +RDEPENDS_${PN} += "\ + ${PN}-bin \ + ${PN}-conch \ + ${PN}-lore \ + ${PN}-mail \ + ${PN}-names \ + ${PN}-news \ + ${PN}-runner \ + ${PN}-web \ + ${PN}-words \ +" + +ALLOW_EMPTY = "1" +FILES_${PN} = "" + +FILES_${PN}-test = " \ + ${libdir}/${PYTHON_DIR}/site-packages/twisted/test \ +" + +FILES_${PN}-protocols = " \ + ${libdir}/${PYTHON_DIR}/site-packages/twisted/protocols/ \ +" + +FILES_${PN}-zsh = " \ + ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/zsh \ + ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/zshcomp.* \ +" + +FILES_${PN}-bin = " \ + ${libdir}/${PYTHON_DIR}/site-packages/twisted/protocols/_c_urlarg.so \ + ${libdir}/${PYTHON_DIR}/site-packages/twisted/spread/cBanana.so \ +" + +FILES_${PN}-conch = " \ + ${bindir}/ckeygen \ + ${bindir}/tkconch \ + ${bindir}/conch \ + ${bindir}/conchftp \ + ${bindir}/cftp \ + ${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_conch.py* \ + ${libdir}/${PYTHON_DIR}/site-packages/twisted/conch \ +" + +FILES_${PN}-core = " \ +${bindir}/manhole \ +${bindir}/mktap \ +${bindir}/twistd \ +${bindir}/tap2deb \ +${bindir}/tap2rpm \ +${bindir}/tapconvert \ +${bindir}/tkmktap \ +${bindir}/trial \ +${bindir}/easy_install* \ +${bindir}/pyhtmlizer \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/*.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/__init__.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/notestplugin.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/testplugin.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_ftp.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_inet.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_manhole.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_portforward.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_socks.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_telnet.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_trial.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/dropin.cache \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/application \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/cred \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/enterprise \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/internet \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/manhole \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/manhole \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/persisted \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/protocols\ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python\ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/timeoutqueue.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/filepath.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/dxprofile.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/plugin.py* \ +${libdir}/${PYTHON_DIR}/site-packages/twisted/python/ht |
