diff options
Diffstat (limited to 'recipes/python')
24 files changed, 187 insertions, 11 deletions
diff --git a/recipes/python/pydes_1.3.1.bb b/recipes/python/pydes_1.3.1.bb new file mode 100644 index 0000000000..b266538b42 --- /dev/null +++ b/recipes/python/pydes_1.3.1.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "Python DES implementation" +SECTION = "console/network" +PRIORITY = "optional" +LICENSE = "GPL" +RDEPENDS = "python" + +PR = "r1" +ARCH_pydes = "all" + +SRC_URI = "http://twhiteman.netfirms.com/pyDES/pyDes-1.3.1.tar.gz" + +inherit distutils + +S = ${WORKDIR}/pyDes-1.3.1 + + + diff --git a/recipes/python/pyring_1.1.10.bb b/recipes/python/pyring_1.1.10.bb new file mode 100644 index 0000000000..211801debf --- /dev/null +++ b/recipes/python/pyring_1.1.10.bb @@ -0,0 +1,21 @@ +DESCRIPTION = "Python keyring" +SECTION = "console/network" +PRIORITY = "optional" +LICENSE = "GPL" +RDEPENDS = "python python-pygtk python-xml python-netclient python-numeric pydes" + +ARCH_pyring = "all" + +SRC_URI = "http://handheldshell.com/software/pyring_${PV}.tgz " + +inherit distutils + +S = ${WORKDIR}/pyring-${PV} + +do_configure_prepend() { + cp ${S}/setup_freerunner.py ${S}/setup.py + exit 0 +} + +FILES_${PN} += "${datadir}" + diff --git a/recipes/python/python-blipapi_0.02.04.bb b/recipes/python/python-blipapi_0.02.04.bb new file mode 100644 index 0000000000..bc8ad58800 --- /dev/null +++ b/recipes/python/python-blipapi_0.02.04.bb @@ -0,0 +1,12 @@ +DESCRIPTION = "Library to communicate with blip.pl API" +AUTHOR = "Marcin Sztolcman <marcin@urzenia.net>" +HOMEPAGE = "http://blipapi.googlecode.com/" +DEPENDS = "python-setuptools" +LICENSE = "GPL" +RDEPENDS += "python-json" +PR = "r0" +inherit setuptools + +SRC_URI = "http://blipapi.googlecode.com/files/BlipApiPY-0.02.04.tar.bz2" +S = "${WORKDIR}/blipapi" + diff --git a/recipes/python/python-coherence_svn.bb b/recipes/python/python-coherence_svn.bb index 031067672e..46e6e3e7c8 100644 --- a/recipes/python/python-coherence_svn.bb +++ b/recipes/python/python-coherence_svn.bb @@ -5,7 +5,7 @@ HOMEPAGE = "http://coherence.beebits.net/wiki" PR = "r1" -PV = "0.6.0+svnr${SRCREV}" +PV = "0.6.0+svnr${SRCPV}" inherit setuptools diff --git a/recipes/python/python-connexion_svn.bb b/recipes/python/python-connexion_svn.bb index ae546f5256..8136fe46f9 100644 --- a/recipes/python/python-connexion_svn.bb +++ b/recipes/python/python-connexion_svn.bb @@ -3,7 +3,7 @@ HOMEPAGE = "http://www.radlinux.org/connexion/" SECTION = "devel/python" LICENSE = "GPL" BV = "0.4.6" -PV = "${BV}+svnr${SRCREV}" +PV = "${BV}+svnr${SRCPV}" PR = "ml1" inherit distutils diff --git a/recipes/python/python-dateutil_1.4.1.bb b/recipes/python/python-dateutil_1.4.1.bb new file mode 100644 index 0000000000..204c48d190 --- /dev/null +++ b/recipes/python/python-dateutil_1.4.1.bb @@ -0,0 +1,20 @@ +DESCRIPTION = "Extensions to the standard Python date/time support" +HOMEPAGE = "http://labix.org/python-dateutil" +SECTION = "devel/python" +PRIORITY = "optional" +LICENSE = "PSF" +SRCNAME = "${PN}" +PR = "r1" + +SRC_URI = "http://labix.org/download/python-dateutil/${SRCNAME}-${PV}.tar.gz" +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit setuptools + +PACKAGES =+ "${PN}-zoneinfo" +FILES_${PN}-zoneinfo = "${libdir}/${PYTHON_DIR}/site-packages/dateutil/zoneinfo" + +RDEPENDS_${PN} = "\ + python-core \ + python-datetime \ +" diff --git a/recipes/python/python-dbus_0.83.0.bb b/recipes/python/python-dbus_0.83.0.bb index 02b73e64bf..5d6f2491c7 100644 --- a/recipes/python/python-dbus_0.83.0.bb +++ b/recipes/python/python-dbus_0.83.0.bb @@ -2,7 +2,7 @@ DESCRIPTION = "Python bindings for DBus, a socket-based message bus system for i SECTION = "devel/python" HOMEPAGE = "http://www.freedesktop.org/Software/dbus" LICENSE = "MIT" -DEPENDS = "expat dbus dbus-glib virtual/libintl python-pyrex-native" +DEPENDS = "expat dbus dbus-glib virtual/libintl python-pyrex-native python-epydoc-native" PR = "ml2" SRC_URI = "http://dbus.freedesktop.org/releases/dbus-python/dbus-python-${PV}.tar.gz" diff --git a/recipes/python/python-efl.inc b/recipes/python/python-efl.inc index acd1660f08..9ed7a4cb98 100644 --- a/recipes/python/python-efl.inc +++ b/recipes/python/python-efl.inc @@ -7,7 +7,7 @@ HOMEPAGE = "http://www.enlightenment.org" # the extension modules. DEPENDS = "python-cython-native python-pyrex-native python-numeric eina" RDEPENDS += "python-lang" -PV = "0.3.1+svnr${SRCREV}" +PV = "0.3.1+svnr${SRCPV}" PR = "ml0" inherit setuptools diff --git a/recipes/python/python-elementary_svn.bb b/recipes/python/python-elementary_svn.bb index 44c5613edf..b4e5dbbf48 100644 --- a/recipes/python/python-elementary_svn.bb +++ b/recipes/python/python-elementary_svn.bb @@ -1,7 +1,7 @@ require python-efl.inc DEPENDS += "elementary" RDEPENDS += "python-evas python-ecore python-edje" -PV = "0.1+svnr${SRCREV}" +PV = "0.1+svnr${SRCPV}" PR = "ml0" do_stage() { diff --git a/recipes/python/python-epsilon_svn.bb b/recipes/python/python-epsilon_svn.bb index 97b06609c1..9f535e5fd7 100644 --- a/recipes/python/python-epsilon_svn.bb +++ b/recipes/python/python-epsilon_svn.bb @@ -2,3 +2,4 @@ require python-efl.inc DEPENDS += "epsilon python-ecore" RDEPENDS += "python-ecore" +SRC_URI = "svn://svn.enlightenment.org/svn/e/trunk/OLD/BINDINGS/python;module=${PN};proto=http" diff --git a/recipes/python/python-epydoc-native_3.0.1.bb b/recipes/python/python-epydoc-native_3.0.1.bb new file mode 100644 index 0000000000..7f64f64e64 --- /dev/null +++ b/recipes/python/python-epydoc-native_3.0.1.bb @@ -0,0 +1,8 @@ +require python-epydoc_${PV}.bb +DEPENDS = "python-native" +inherit native + +do_stage() { + distutils_stage_all +} + diff --git a/recipes/python/python-epydoc_3.0.1.bb b/recipes/python/python-epydoc_3.0.1.bb new file mode 100644 index 0000000000..36d22ad5a0 --- /dev/null +++ b/recipes/python/python-epydoc_3.0.1.bb @@ -0,0 +1,12 @@ +DESCRIPTION = "Epydoc is a tool for generating API documentation for Python modules, based on their docstrings" +SECTION = "devel/python" +PRIORITY = "optional" +LICENSE = "MIT" +HOMEPAGE = "http://epydoc.sourceforge.net/" +SRCNAME = "epydoc" +DEPENDS = "python" + +SRC_URI = "http://downloads.sourceforge.net/project/${SRCNAME}/${SRCNAME}/${PV}/${SRCNAME}-${PV}.tar.gz" +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit distutils diff --git a/recipes/python/python-etk_svn.bb b/recipes/python/python-etk_svn.bb index 85cb824b2d..ba082d873b 100644 --- a/recipes/python/python-etk_svn.bb +++ b/recipes/python/python-etk_svn.bb @@ -1,7 +1,7 @@ require python-efl.inc DEPENDS += "etk python-evas python-ecore" RDEPENDS += "python-evas python-ecore python-edje python-numeric python-math etk-themes" -PV = "0.1.1+svnr${SRCREV}" +PV = "0.1.1+svnr${SRCPV}" PR = "ml1" SRC_URI = "svn://svn.enlightenment.org/svn/e/trunk/OLD/BINDINGS/python;module=${PN};proto=http" diff --git a/recipes/python/python-ldap/setup.cfg.patch b/recipes/python/python-ldap/setup.cfg.patch new file mode 100644 index 0000000000..a703d342e9 --- /dev/null +++ b/recipes/python/python-ldap/setup.cfg.patch @@ -0,0 +1,14 @@ +--- python-ldap-2.3.9/setup.cfg.orig 2009-08-13 11:07:23.000000000 +0200 ++++ python-ldap-2.3.9/setup.cfg 2009-08-13 11:07:37.000000000 +0200 +@@ -1,9 +1,9 @@ + [_ldap] + extra_objects = + extra_compile_args = +-libs = ldap_r lber sasl2 ssl crypto ++libs = ldap_r lber ssl crypto + library_dirs = /opt/openldap-RE24/lib +-include_dirs = /opt/openldap-RE24/include /usr/include/sasl ++include_dirs = /opt/openldap-RE24/include + + [egg_info] + tag_build = diff --git a/recipes/python/python-ldap_2.3.9.bb b/recipes/python/python-ldap_2.3.9.bb new file mode 100644 index 0000000000..8a605e49e4 --- /dev/null +++ b/recipes/python/python-ldap_2.3.9.bb @@ -0,0 +1,11 @@ +DESCRIPTION = "LDAP client API for Python, C wrapper module around OpenLDAP 2.x with an object-oriented API" +SECTION = "devel/python" +PRIORITY = "optional" +LICENSE = "Python-style" +HOMEPAGE = "http://www.python-ldap.org/" +DEPENDS = "python openldap" + +SRC_URI = "http://pypi.python.org/packages/source/p/${PN}/${PN}-${PV}.tar.gz \ + file://setup.cfg.patch;patch=1" + +inherit setuptools diff --git a/recipes/python/python-phoneutils_git.bb b/recipes/python/python-phoneutils_git.bb index 1e962d36ad..c1e1dbe16e 100644 --- a/recipes/python/python-phoneutils_git.bb +++ b/recipes/python/python-phoneutils_git.bb @@ -1,7 +1,7 @@ DESCRIPTION = "Python Bindings for libphone-utils" SECTION = "devel/python" DEPENDS = "libphone-utils" -PV = "0.0.2+gitr${SRCPV}" +PV = "0.0.2+gitr${SRCREV}" PR = "r1" SRC_URI = "git://git.shr-project.org/repo/libphone-utils.git;protocol=http;branch=master" diff --git a/recipes/python/python-pybluez_0.16.bb b/recipes/python/python-pybluez_0.16.bb new file mode 100644 index 0000000000..44554d6ff1 --- /dev/null +++ b/recipes/python/python-pybluez_0.16.bb @@ -0,0 +1,10 @@ +DESCRIPTION = "Python bindings for the Linux Bluetooth stack" +SECTION = "devel/python" +DEPENDS = "bluez-libs" +LICENSE = "GPL" +PR = "ml0" + +SRC_URI = "http://pybluez.googlecode.com/files/PyBluez-${PV}.tar.gz" +S = "${WORKDIR}/PyBluez-${PV}" + +inherit distutils diff --git a/recipes/python/python-pygtk_2.10.4.bb b/recipes/python/python-pygtk_2.10.4.bb index 3f0e593c98..bdfebafc7a 100644 --- a/recipes/python/python-pygtk_2.10.4.bb +++ b/recipes/python/python-pygtk_2.10.4.bb @@ -6,7 +6,7 @@ RDEPENDS = "python-shell python-pycairo python-pygobject" PROVIDES = "python-pygtk2" SRCNAME = "pygtk" LICENSE = "LGPL" -PR = "ml10" +PR = "ml11" 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 \ @@ -52,7 +52,7 @@ FILES_${PN}-dev += "\ do_stage() { autotools_stage_includes - sed -i s:/usr/share:${STAGING_DATADIR}: codegen/pygtk-codegen-2.0 + sed -i s:${prefix}/share:${STAGING_DATADIR}: codegen/pygtk-codegen-2.0 install -m 0755 codegen/pygtk-codegen-2.0 ${STAGING_BINDIR_NATIVE}/ # until we have a newer pygobject version, we resue pygtk's codegen ln -sf ./pygtk-codegen-2.0 ${STAGING_BINDIR_NATIVE}/pygobject-codegen-2.0 diff --git a/recipes/python/python-pyyaml_svn.bb b/recipes/python/python-pyyaml_svn.bb index 0aed0b0e62..117eb9b3ff 100644 --- a/recipes/python/python-pyyaml_svn.bb +++ b/recipes/python/python-pyyaml_svn.bb @@ -3,7 +3,7 @@ HOMEPAGE = "http://www.pyyaml.org" SECTION = "devel/python" LICENSE = "MIT" DEPENDS = "libyaml python-cython-native" -PV = "3.08+svnr${SRCREV}" +PV = "3.08+svnr${SRCPV}" PR = "ml0" SRC_URI = "\ diff --git a/recipes/python/python-vobject_0.8.1c.bb b/recipes/python/python-vobject_0.8.1c.bb new file mode 100644 index 0000000000..87ff6b7fdd --- /dev/null +++ b/recipes/python/python-vobject_0.8.1c.bb @@ -0,0 +1,13 @@ +DESCRIPTION = "Python package for parsing and generating vCard and vCalendar files" +SECTION = "devel/python" +PRIORITY = "optional" +LICENSE = "Apache License V2.0" +HOMEPAGE = "http://vobject.skyhouseconsulting.com/" +SRCNAME = "vobject" +RDEPENDS = "python python-dateutil" +PR = "r1" + +SRC_URI = "http://vobject.skyhouseconsulting.com/${SRCNAME}-${PV}.tar.gz" +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit setuptools diff --git a/recipes/python/python-webdav_0.1.2.bb b/recipes/python/python-webdav_0.1.2.bb new file mode 100644 index 0000000000..efc74f9183 --- /dev/null +++ b/recipes/python/python-webdav_0.1.2.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "This project aims to provide an object-oriented Python WebDAV client-side library\ + based on Python`s standard httplib and Greg Stein`s davlib.\ + The client shall fully support RFCs 4918 (basic specification),\ + 3744 (access control), and 3253 (versioning)." +SECTION = "devel/python" +PRIORITY = "optional" +LICENSE = "Apache License V2.0" +HOMEPAGE = "http://sourceforge.net/projects/pythonwebdavlib/" +SRCNAME = "Python_WebDAV_Library" +DEPENDS = "python" + +SRC_URI = "${SOURCEFORGE_MIRROR}/pythonwebdavlib/Python%20WebDAV%20Library%20-%20${PV}/${SRCNAME}-${PV}.zip" +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit distutils diff --git a/recipes/python/python-wifi_0.3.1.bb b/recipes/python/python-wifi_0.3.1.bb new file mode 100644 index 0000000000..7461a6941e --- /dev/null +++ b/recipes/python/python-wifi_0.3.1.bb @@ -0,0 +1,18 @@ +DESCRIPTION = "Fusil is a Python library used to write fuzzing programs." +HOMEPAGE = "http://fusil.hachoir.org/" +SECTION = "devel/python" +LICENSE = "GPLv2" +SRCNAME = "python-wifi" + +SRC_URI = "http://pypi.python.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz" +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit setuptools + +RDEPENDS_${PN} = "\ + python-ctypes \ + python-datetime \ +" + + + diff --git a/recipes/python/python-wpactrl_svn.bb b/recipes/python/python-wpactrl_svn.bb index e0e8a05195..88424b2e8e 100644 --- a/recipes/python/python-wpactrl_svn.bb +++ b/recipes/python/python-wpactrl_svn.bb @@ -8,5 +8,5 @@ inherit distutils SRCREV = "383" SRC_URI = "svn://svn.otaku42.de;module=python-wpactrl;proto=http" S = "${WORKDIR}/python-wpactrl/trunk" -PV = "1.0.1+svnr${SRCREV}" +PV = "1.0.1+svnr${SRCPV}" diff --git a/recipes/python/python_2.6.2.bb b/recipes/python/python_2.6.2.bb index 941f039af7..c367ce87c5 100644 --- a/recipes/python/python_2.6.2.bb +++ b/recipes/python/python_2.6.2.bb @@ -33,6 +33,10 @@ inherit autotools TARGET_CC_ARCH_append_armv6 = " -D__SOFTFP__" TARGET_CC_ARCH_append_armv7a = " -D__SOFTFP__" +do_configure_prepend() { + autoreconf -Wcross --verbose --install --force --exclude=autopoint Modules/_ctypes/libffi || oenote "_ctypes failed to autoreconf" +} + # # Copy config.h and an appropriate Makefile for distutils.sysconfig, # which laters uses the information out of these to compile extensions |