diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
commit | 1b8dfe266937a37a4c642f96ceb2347bf4c00a17 (patch) | |
tree | 0c6aab146bb3c82efd9c7846a9a4e70dcb0ec84f /meta-oe/recipes-devtools/python | |
download | meta-openembedded-daisy-140929.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-oe/recipes-devtools/python')
46 files changed, 1553 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/python/pyrtm_0.2.bb b/meta-oe/recipes-devtools/python/pyrtm_0.2.bb new file mode 100644 index 0000000000..ee7b6d0180 --- /dev/null +++ b/meta-oe/recipes-devtools/python/pyrtm_0.2.bb | |||
@@ -0,0 +1,12 @@ | |||
1 | SUMMARY = "Python interface for Remember The Milk API" | ||
2 | AUTHOR = "Sridhar Ratnakumar / srid" | ||
3 | HOMEPAGE = "http://pypi.python.org/pypi/pyrtm" | ||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=a53cbc7cb75660694e138ba973c148df" | ||
6 | DEPENDS = "python-native" | ||
7 | |||
8 | inherit distutils | ||
9 | |||
10 | SRC_URI = "http://pypi.python.org/packages/source/p/${PN}/${P}.tar.gz" | ||
11 | SRC_URI[md5sum] = "34423f39caf7df8a9db8e243be9cf1a0" | ||
12 | SRC_URI[sha256sum] = "d9d46d096a38cb692b55f4ee9f364d54348298e9497b11c1ef057539b5de1567" | ||
diff --git a/meta-oe/recipes-devtools/python/python-autobahn_0.8.6.bb b/meta-oe/recipes-devtools/python/python-autobahn_0.8.6.bb new file mode 100644 index 0000000000..ac775c4c33 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-autobahn_0.8.6.bb | |||
@@ -0,0 +1,19 @@ | |||
1 | DESCRIPTION = "AutobahnPython provides a WebSocket (RFC6455, Hybi-10 to -17, Hixie-76) framework for creating WebSocket-based clients and servers. \ | ||
2 | AutobahnPython also includes an implementation of WAMP (The WebSockets Application Messaging Protocol), a light-weight, \ | ||
3 | asynchronous RPC/PubSub over JSON/WebSocket protocol." | ||
4 | HOMEPAGE = "http://autobahn.ws/python" | ||
5 | SECTION = "console/network" | ||
6 | |||
7 | LICENSE = "Apache-2.0" | ||
8 | LIC_FILES_CHKSUM = " file://autobahn/__init__.py;beginline=1;endline=17;md5=1fdeccf6e5b70cda64cc1345597c18e3" | ||
9 | |||
10 | SRC_URI = "https://pypi.python.org/packages/source/a/autobahn/autobahn-${PV}.zip" | ||
11 | SRC_URI[md5sum] = "160429e7fb043940e79aa7f4ebbab57a" | ||
12 | SRC_URI[sha256sum] = "94ae5c6f37f9fe7c9d3f12c170fcc273afed4104a1c5508b26d6014bb9e6373e" | ||
13 | |||
14 | S = "${WORKDIR}/autobahn-${PV}" | ||
15 | |||
16 | inherit setuptools | ||
17 | |||
18 | RDEPENDS_${PN} = "python python-pprint python-twisted-protocols python-netserver python-twisted-web" | ||
19 | |||
diff --git a/meta-oe/recipes-devtools/python/python-cheetah_2.4.4.bb b/meta-oe/recipes-devtools/python/python-cheetah_2.4.4.bb new file mode 100644 index 0000000000..e015d0b023 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-cheetah_2.4.4.bb | |||
@@ -0,0 +1,21 @@ | |||
1 | SUMMARY = "Python template engine and code generation tool" | ||
2 | SECTION = "devel/python" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=aff1107514aa6aae948f9fe71fdc393b" | ||
5 | |||
6 | SRCNAME = "Cheetah" | ||
7 | |||
8 | PR = "r3" | ||
9 | |||
10 | SRC_URI = "http://pypi.python.org/packages/source/C/Cheetah/Cheetah-${PV}.tar.gz" | ||
11 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
12 | |||
13 | inherit setuptools | ||
14 | |||
15 | RDEPENDS_${PN} = "python-pickle python-pprint" | ||
16 | RDEPENDS_${PN}_class-native = "" | ||
17 | |||
18 | BBCLASSEXTEND = "native nativesdk" | ||
19 | |||
20 | SRC_URI[md5sum] = "853917116e731afbc8c8a43c37e6ddba" | ||
21 | SRC_URI[sha256sum] = "be308229f0c1e5e5af4f27d7ee06d90bb19e6af3059794e5fd536a6f29a9b550" | ||
diff --git a/meta-oe/recipes-devtools/python/python-cloudeebus_0.6.0.bb b/meta-oe/recipes-devtools/python/python-cloudeebus_0.6.0.bb new file mode 100644 index 0000000000..120a8a7927 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-cloudeebus_0.6.0.bb | |||
@@ -0,0 +1,35 @@ | |||
1 | DESCRIPTION = "A component which enables calling DBus methods and registering on DBus signals from Javascript" | ||
2 | HOMEPAGE = "https://github.com/01org/cloudeebus" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "Apache-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" | ||
6 | |||
7 | SRC_URI = "git://github.com/01org/cloudeebus.git;protocol=http;branch=master " | ||
8 | SRCREV = "b5cc957eeabfe98cb996baf8e5a0ac848993c3d4" | ||
9 | |||
10 | S = "${WORKDIR}/git" | ||
11 | |||
12 | inherit distutils | ||
13 | |||
14 | DEPENDS_${PN} = "python python-distribute" | ||
15 | RDEPENDS_${PN} = "python python-dbus python-json python-argparse python-pygobject python-autobahn python-twisted python-subprocess" | ||
16 | |||
17 | do_install_prepend() { | ||
18 | install -d ${D}${PYTHON_SITEPACKAGES_DIR}/${PN} | ||
19 | } | ||
20 | |||
21 | DISTUTILS_INSTALL_ARGS = "--root=${D} \ | ||
22 | --single-version-externally-managed \ | ||
23 | --prefix=${prefix} \ | ||
24 | --install-lib=${PYTHON_SITEPACKAGES_DIR} \ | ||
25 | --install-data=${datadir}" | ||
26 | |||
27 | do_install_append() { | ||
28 | distutils_do_install | ||
29 | install -d ${D}${datadir}/doc/${BPN}/ | ||
30 | install -m 0644 ${S}/README.md ${D}${datadir}/doc/${BPN}/ | ||
31 | } | ||
32 | |||
33 | FILES_${PN} += "${datadir}/cloudeebus" | ||
34 | FILES_${PN} += "${sysconfdir}/dbus-1/system.d/org.cloudeebus.conf" | ||
35 | |||
diff --git a/meta-oe/recipes-devtools/python/python-cython-0.15.1/0001-Don-t-append-docs-to-_Extension.extension.__doc__.patch b/meta-oe/recipes-devtools/python/python-cython-0.15.1/0001-Don-t-append-docs-to-_Extension.extension.__doc__.patch new file mode 100644 index 0000000000..9b9dd460bf --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-cython-0.15.1/0001-Don-t-append-docs-to-_Extension.extension.__doc__.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From bfed128dfe9551a3a40b1ac4269f18ecfeac80a9 Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Sat, 1 Oct 2011 11:46:30 +0200 | ||
4 | Subject: [PATCH] Don't append docs to _Extension.extension.__doc__ | ||
5 | |||
6 | * here it fails with TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' in setup.py | ||
7 | |||
8 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
9 | --- | ||
10 | Cython/Distutils/extension.py | 1 - | ||
11 | 1 files changed, 0 insertions(+), 1 deletions(-) | ||
12 | |||
13 | diff --git a/Cython/Distutils/extension.py b/Cython/Distutils/extension.py | ||
14 | index a5a6638..e76c1e7 100644 | ||
15 | --- a/Cython/Distutils/extension.py | ||
16 | +++ b/Cython/Distutils/extension.py | ||
17 | @@ -16,7 +16,6 @@ except ImportError: | ||
18 | warnings = None | ||
19 | |||
20 | class Extension(_Extension.Extension): | ||
21 | - _Extension.Extension.__doc__ + \ | ||
22 | """pyrex_include_dirs : [string] | ||
23 | list of directories to search for Pyrex header files (.pxd) (in | ||
24 | Unix form for portability) | ||
25 | -- | ||
26 | 1.7.6.1 | ||
27 | |||
diff --git a/meta-oe/recipes-devtools/python/python-cython_0.15.1.bb b/meta-oe/recipes-devtools/python/python-cython_0.15.1.bb new file mode 100644 index 0000000000..0bf057aa82 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-cython_0.15.1.bb | |||
@@ -0,0 +1,19 @@ | |||
1 | DESCRIPTION = "Cython is a language specially designed for writing Python extension modules. \ | ||
2 | It's designed to bridge the gap between the nice, high-level, easy-to-use world of Python \ | ||
3 | and the messy, low-level world of C." | ||
4 | SECTION = "devel/python" | ||
5 | LICENSE = "Apache-2.0" | ||
6 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa" | ||
7 | SRCNAME = "Cython" | ||
8 | BBCLASSEXTEND = "native" | ||
9 | PR = "r3" | ||
10 | |||
11 | SRC_URI = "http://www.cython.org/release/${SRCNAME}-${PV}.tar.gz \ | ||
12 | file://0001-Don-t-append-docs-to-_Extension.extension.__doc__.patch \ | ||
13 | " | ||
14 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
15 | |||
16 | SRC_URI[md5sum] = "171021b3845c9ca8bd6d8185b3cde664" | ||
17 | SRC_URI[sha256sum] = "248123f2f02f2701a28d9452132ac835533b396a273cda9d361cb65c26067edc" | ||
18 | |||
19 | inherit distutils | ||
diff --git a/meta-oe/recipes-devtools/python/python-dateutil_1.5.bb b/meta-oe/recipes-devtools/python/python-dateutil_1.5.bb new file mode 100644 index 0000000000..784f560603 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-dateutil_1.5.bb | |||
@@ -0,0 +1,22 @@ | |||
1 | SUMMARY = "Extensions to the standard Python date/time support" | ||
2 | HOMEPAGE = "http://labix.org/python-dateutil" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "PSF" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d82268718c68bda0b091006ec6e583c6" | ||
6 | SRCNAME = "${PN}" | ||
7 | |||
8 | SRC_URI = "http://labix.org/download/python-dateutil/${SRCNAME}-${PV}.tar.gz" | ||
9 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
10 | |||
11 | inherit setuptools | ||
12 | |||
13 | PACKAGES =+ "${PN}-zoneinfo" | ||
14 | FILES_${PN}-zoneinfo = "${libdir}/${PYTHON_DIR}/site-packages/dateutil/zoneinfo" | ||
15 | |||
16 | RDEPENDS_${PN} = "\ | ||
17 | python-core \ | ||
18 | python-datetime \ | ||
19 | " | ||
20 | |||
21 | SRC_URI[md5sum] = "35f3732db3f2cc4afdc68a8533b60a52" | ||
22 | SRC_URI[sha256sum] = "c08aca7d85f8f8eed61e83b3423b829262c596a9a78f7ca3de0bcee2217d0e3b" | ||
diff --git a/meta-oe/recipes-devtools/python/python-epydoc_3.0.1.bb b/meta-oe/recipes-devtools/python/python-epydoc_3.0.1.bb new file mode 100644 index 0000000000..4ec0668575 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-epydoc_3.0.1.bb | |||
@@ -0,0 +1,18 @@ | |||
1 | DESCRIPTION = "Epydoc is a tool for generating API documentation for Python modules, based on their docstrings" | ||
2 | SECTION = "devel/python" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=011c0d78eb6054d731c879132d7313f0" | ||
5 | HOMEPAGE = "http://epydoc.sourceforge.net/" | ||
6 | SRCNAME = "epydoc" | ||
7 | DEPENDS += "python" | ||
8 | DEPENDS_virtclass-native += "python-native" | ||
9 | |||
10 | SRC_URI = "http://downloads.sourceforge.net/project/${SRCNAME}/${SRCNAME}/${PV}/${SRCNAME}-${PV}.tar.gz" | ||
11 | SRC_URI[md5sum] = "cdd6f6c76dd8bab5e653a343a0544294" | ||
12 | SRC_URI[sha256sum] = "d4e5c8d90937d01b05170f592c1fa9b29e9ed0498dfe7f0eb2a3af61725b6ad1" | ||
13 | |||
14 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
15 | |||
16 | inherit distutils | ||
17 | |||
18 | BBCLASSEXTEND = "native" | ||
diff --git a/meta-oe/recipes-devtools/python/python-feedparser_5.1.3.bb b/meta-oe/recipes-devtools/python/python-feedparser_5.1.3.bb new file mode 100644 index 0000000000..92d55682f5 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-feedparser_5.1.3.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | SUMMARY = "Python Atom and RSS feed parser" | ||
2 | HOMEPAGE = "http://code.google.com/p/feedparser" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "BSD-2-Clause" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f5fbe7f8b71b4019eca5ac5f900fd8ad" | ||
6 | |||
7 | SRC_URI = "http://feedparser.googlecode.com/files/feedparser-${PV}.tar.bz2" | ||
8 | SRC_URI[md5sum] = "6fb6372a1dc2f56d4d79d740b8f49f25" | ||
9 | SRC_URI[sha256sum] = "7f6507d400d07edfd1ea8205da36808009b0c539f5b8a6e0ab54337b955e6dc3" | ||
10 | |||
11 | S = "${WORKDIR}/feedparser-${PV}" | ||
12 | |||
13 | inherit setuptools | ||
14 | |||
diff --git a/meta-oe/recipes-devtools/python/python-futures_2.1.5.bb b/meta-oe/recipes-devtools/python/python-futures_2.1.5.bb new file mode 100644 index 0000000000..817a9179a2 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-futures_2.1.5.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | DESCRIPTION = "The concurrent.futures module provides a high-level interface for asynchronously executing callables." | ||
2 | SECTION = "devel/python" | ||
3 | LICENSE = "BSD" | ||
4 | LIC_FILES_CHKSUM = "file://PKG-INFO;md5=e96d16356742ac95c07be571717e51a3" | ||
5 | HOMEPAGE = "http://code.google.com/p/pythonfutures" | ||
6 | DEPENDS = "python" | ||
7 | |||
8 | SRC_URI = "https://pypi.python.org/packages/source/f/futures/futures-${PV}.tar.gz" | ||
9 | SRC_URI[md5sum] = "2fc924890ccd30a5fe676fa9bbcf0ab8" | ||
10 | SRC_URI[sha256sum] = "8f5a627d3aee94cc1859a942965fdebb714be8cdd2366d819cb8fb9b7cc628a6" | ||
11 | |||
12 | S = "${WORKDIR}/futures-${PV}" | ||
13 | |||
14 | inherit setuptools | ||
diff --git a/meta-oe/recipes-devtools/python/python-gdata_1.2.4.bb b/meta-oe/recipes-devtools/python/python-gdata_1.2.4.bb new file mode 100644 index 0000000000..ea602779be --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-gdata_1.2.4.bb | |||
@@ -0,0 +1,18 @@ | |||
1 | SUMMARY = "Google Data APIs Python Client Library" | ||
2 | SECTION = "devel/python" | ||
3 | LICENSE = "Apache-2.0" | ||
4 | LIC_FILES_CHKSUM = "file://README.txt;md5=473bd4dff0ddca1f958244b2dc7a162c" | ||
5 | HOMEPAGE = "http://code.google.com/p/gdata-python-client/" | ||
6 | |||
7 | inherit distutils | ||
8 | |||
9 | SRC_URI = "http://gdata-python-client.googlecode.com/files/gdata.py-${PV}.tar.gz" | ||
10 | SRC_URI[md5sum] = "521f33a377d64f8a6505ba119415b787" | ||
11 | SRC_URI[sha256sum] = "fc5ddb8f76b17abd728721a0e0177ea35f55a70106f44dc9010b22eceb06abde" | ||
12 | |||
13 | S = "${WORKDIR}/gdata.py-${PV}" | ||
14 | |||
15 | FILES_${PN} += "${datadir}" | ||
16 | |||
17 | RDEPENDS_${PN} = "python-elementtree" | ||
18 | |||
diff --git a/meta-oe/recipes-devtools/python/python-gevent_0.13.8.bb b/meta-oe/recipes-devtools/python/python-gevent_0.13.8.bb new file mode 100644 index 0000000000..3fd3e7c536 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-gevent_0.13.8.bb | |||
@@ -0,0 +1,19 @@ | |||
1 | SUMMARY = "A coroutine-based Python networking library" | ||
2 | DESCRIPTION = "gevent is a coroutine-based Python networking library that uses greenlet to provide \ | ||
3 | a high-level synchronous API on top of the libevent event loop." | ||
4 | HOMEPAGE = "http://www.gevent.org" | ||
5 | SECTION = "devel/python" | ||
6 | LICENSE = "MIT & BSD" | ||
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2dbb33d00e1fd31c7041460a81ac0bd2 \ | ||
8 | file://LICENSE.pyevent;md5=718070c63de243053e2c616268b00fdd" | ||
9 | DEPENDS += "python-greenlet libevent" | ||
10 | RDEPENDS_${PN} += "python-greenlet python-mime python-pprint python-re" | ||
11 | |||
12 | SRC_URI = "http://pypi.python.org/packages/source/g/gevent/gevent-${PV}.tar.gz" | ||
13 | SRC_URI[md5sum] = "ca9dcaa7880762d8ebbc266b11252960" | ||
14 | SRC_URI[sha256sum] = "54b8d26300ce408c0916a3e63ef6cd3e6aca76230833558deb7de15196ed955e" | ||
15 | |||
16 | S = "${WORKDIR}/gevent-${PV}" | ||
17 | |||
18 | inherit setuptools | ||
19 | |||
diff --git a/meta-oe/recipes-devtools/python/python-greenlet_0.4.1.bb b/meta-oe/recipes-devtools/python/python-greenlet_0.4.1.bb new file mode 100644 index 0000000000..a6db8ab7b3 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-greenlet_0.4.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | SUMMARY = "Python lightweight in-process concurrent programming" | ||
2 | HOMEPAGE = "http://pypi.python.org/pypi/greenlet" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "MIT & PSF" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=03143d7a1a9f5d8a0fee825f24ca9c36 \ | ||
6 | file://LICENSE.PSF;md5=c106931d9429eda0492617f037b8f69a" | ||
7 | SRC_URI = "http://pypi.python.org/packages/source/g/greenlet/greenlet-${PV}.zip" | ||
8 | SRC_URI[md5sum] = "c2deda75bdda59c38cae12a77cc53adc" | ||
9 | SRC_URI[sha256sum] = "ea671592f8460541286b133ed46a6cf5311a6b75051cc31b53e2bc38992b775a" | ||
10 | |||
11 | S = "${WORKDIR}/greenlet-${PV}" | ||
12 | |||
13 | inherit distutils | ||
14 | |||
diff --git a/meta-oe/recipes-devtools/python/python-ldap/setup.cfg.patch b/meta-oe/recipes-devtools/python/python-ldap/setup.cfg.patch new file mode 100644 index 0000000000..a703d342e9 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-ldap/setup.cfg.patch | |||
@@ -0,0 +1,14 @@ | |||
1 | --- python-ldap-2.3.9/setup.cfg.orig 2009-08-13 11:07:23.000000000 +0200 | ||
2 | +++ python-ldap-2.3.9/setup.cfg 2009-08-13 11:07:37.000000000 +0200 | ||
3 | @@ -1,9 +1,9 @@ | ||
4 | [_ldap] | ||
5 | extra_objects = | ||
6 | extra_compile_args = | ||
7 | -libs = ldap_r lber sasl2 ssl crypto | ||
8 | +libs = ldap_r lber ssl crypto | ||
9 | library_dirs = /opt/openldap-RE24/lib | ||
10 | -include_dirs = /opt/openldap-RE24/include /usr/include/sasl | ||
11 | +include_dirs = /opt/openldap-RE24/include | ||
12 | |||
13 | [egg_info] | ||
14 | tag_build = | ||
diff --git a/meta-oe/recipes-devtools/python/python-ldap_2.3.9.bb b/meta-oe/recipes-devtools/python/python-ldap_2.3.9.bb new file mode 100644 index 0000000000..dfe1522fdc --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-ldap_2.3.9.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | DESCRIPTION = "LDAP client API for Python, C wrapper module around OpenLDAP 2.x with an object-oriented API" | ||
2 | SECTION = "devel/python" | ||
3 | LICENSE = "Python-style" | ||
4 | LIC_FILES_CHKSUM = "file://LICENCE;md5=a41c82edffa04912007cae1d20cac555" | ||
5 | HOMEPAGE = "http://www.python-ldap.org/" | ||
6 | DEPENDS = "python openldap" | ||
7 | |||
8 | SRC_URI = "http://pypi.python.org/packages/source/p/${PN}/${PN}-${PV}.tar.gz \ | ||
9 | file://setup.cfg.patch" | ||
10 | SRC_URI[md5sum] = "a9f9f16338288d118a1ae6266c993247" | ||
11 | SRC_URI[sha256sum] = "62f75b21c5ee744408c9d8b59878328b3bdf47899d30e8abf0c09b3ffb893ed4" | ||
12 | |||
13 | inherit setuptools | ||
diff --git a/meta-oe/recipes-devtools/python/python-lxml_3.0.2.bb b/meta-oe/recipes-devtools/python/python-lxml_3.0.2.bb new file mode 100644 index 0000000000..5ab7b4a793 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-lxml_3.0.2.bb | |||
@@ -0,0 +1,33 @@ | |||
1 | SUMMARY = "Python XML bindings for libxml2 and libxslt" | ||
2 | DESCRIPTION = "Powerful and Pythonic XML processing library combining \ | ||
3 | libxml2/libxslt with the ElementTree API." | ||
4 | HOMEPAGE = "http://codespeak.net/lxml" | ||
5 | LICENSE = "BSD" | ||
6 | LIC_FILES_CHKSUM = "file://LICENSES.txt;md5=f9f1dc24f720c143c2240df41fe5073b" | ||
7 | SRCNAME = "lxml" | ||
8 | |||
9 | DEPENDS = "libxml2 libxslt" | ||
10 | |||
11 | SRC_URI = "http://pypi.python.org/packages/source/l/${SRCNAME}/${SRCNAME}-${PV}.tar.gz;name=lxml" | ||
12 | SRC_URI[lxml.md5sum] = "38b15b0dd5e9292cf98be800e84a3ce4" | ||
13 | SRC_URI[lxml.sha256sum] = "cadba4cf0e235127795f76a6f7092cb035da23a6e9ec4c93f8af43a6784cd101" | ||
14 | |||
15 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
16 | |||
17 | inherit setuptools | ||
18 | |||
19 | DISTUTILS_BUILD_ARGS += " \ | ||
20 | --with-xslt-config='${STAGING_BINDIR_NATIVE}/pkg-config libxslt' \ | ||
21 | --with-xml2-config='${STAGING_BINDIR_CROSS}/xml2-config' \ | ||
22 | " | ||
23 | |||
24 | DISTUTILS_INSTALL_ARGS += " \ | ||
25 | --with-xslt-config='${STAGING_BINDIR_NATIVE}/pkg-config libxslt' \ | ||
26 | --with-xml2-config='${STAGING_BINDIR_CROSS}/xml2-config' \ | ||
27 | " | ||
28 | |||
29 | BBCLASSEXTEND = "native nativesdk" | ||
30 | |||
31 | RDEPENDS_${PN} += "libxml2 libxslt python-compression" | ||
32 | RDEPENDS_${PN}_virtclass-native = "libxml2-native libxslt-native" | ||
33 | |||
diff --git a/meta-oe/recipes-devtools/python/python-m2crypto/0001-setup.py-link-in-sysroot-not-in-host-directories.patch b/meta-oe/recipes-devtools/python/python-m2crypto/0001-setup.py-link-in-sysroot-not-in-host-directories.patch new file mode 100644 index 0000000000..bcbdf24bb5 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-m2crypto/0001-setup.py-link-in-sysroot-not-in-host-directories.patch | |||
@@ -0,0 +1,39 @@ | |||
1 | From f11b9c71080513f9b867ba8f40613ba2ebc6e960 Mon Sep 17 00:00:00 2001 | ||
2 | From: Koen Kooi <koen@dominion.thruhere.net> | ||
3 | Date: Fri, 29 Mar 2013 15:17:17 +0100 | ||
4 | Subject: [PATCH] setup.py: link in sysroot, not in host directories | ||
5 | |||
6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
7 | |||
8 | Upstream-status: Unknown | ||
9 | --- | ||
10 | setup.py | 6 +++--- | ||
11 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
12 | |||
13 | diff --git a/setup.py b/setup.py | ||
14 | index e7c49eb..8deaa34 100644 | ||
15 | --- a/setup.py | ||
16 | +++ b/setup.py | ||
17 | @@ -40,7 +40,7 @@ class _M2CryptoBuildExt(build_ext.build_ext): | ||
18 | self.openssl = 'c:\\pkg' | ||
19 | else: | ||
20 | self.libraries = ['ssl', 'crypto'] | ||
21 | - self.openssl = '/usr' | ||
22 | + self.openssl = os.environ.get( "STAGING_DIR" ) | ||
23 | |||
24 | |||
25 | def finalize_options(self): | ||
26 | @@ -49,8 +49,8 @@ class _M2CryptoBuildExt(build_ext.build_ext): | ||
27 | |||
28 | build_ext.build_ext.finalize_options(self) | ||
29 | |||
30 | - opensslIncludeDir = os.path.join(self.openssl, 'include') | ||
31 | - opensslLibraryDir = os.path.join(self.openssl, 'lib') | ||
32 | + opensslIncludeDir = os.environ.get( "STAGING_INCDIR" ) | ||
33 | + opensslLibraryDir = os.environ.get( "STAGING_LIBDIR" ) | ||
34 | |||
35 | self.swig_opts = ['-I%s' % i for i in self.include_dirs + \ | ||
36 | [opensslIncludeDir]] | ||
37 | -- | ||
38 | 1.8.1.4 | ||
39 | |||
diff --git a/meta-oe/recipes-devtools/python/python-m2crypto_0.21.1.bb b/meta-oe/recipes-devtools/python/python-m2crypto_0.21.1.bb new file mode 100644 index 0000000000..21c02696dd --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-m2crypto_0.21.1.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | SUMMARY = "A Python crypto and SSL toolkit" | ||
2 | HOMEPAGE = "http://chandlerproject.org/bin/view/Projects/MeTooCrypto" | ||
3 | |||
4 | DEPENDS = "openssl swig-native" | ||
5 | |||
6 | LICENSE = "BSD" | ||
7 | LIC_FILES_CHKSUM = "file://LICENCE;md5=b0e1f0b7d0ce8a62c18b1287b991800e" | ||
8 | |||
9 | SRC_URI = "http://pypi.python.org/packages/source/M/M2Crypto/M2Crypto-${PV}.tar.gz \ | ||
10 | file://0001-setup.py-link-in-sysroot-not-in-host-directories.patch" | ||
11 | |||
12 | SRC_URI[md5sum] = "f93d8462ff7646397a9f77a2fe602d17" | ||
13 | SRC_URI[sha256sum] = "25b94498505c2d800ee465db0cc1aff097b1615adc3ac042a1c85ceca264fc0a" | ||
14 | |||
15 | S = "${WORKDIR}/M2Crypto-${PV}" | ||
16 | |||
17 | inherit setuptools | ||
18 | |||
19 | SWIG_FEATURES_x86-64 = "-D__x86_64__" | ||
20 | SWIG_FEATURES ?= "" | ||
21 | export SWIG_FEATURES | ||
22 | |||
23 | BBCLASSEXTEND = "native" | ||
diff --git a/meta-oe/recipes-devtools/python/python-matplotlib/fix_setup.patch b/meta-oe/recipes-devtools/python/python-matplotlib/fix_setup.patch new file mode 100644 index 0000000000..9381583537 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-matplotlib/fix_setup.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | This fixes the dependency checks inside of setup.py since things like | ||
2 | 'import numpy' won't work with bitbake. | ||
3 | |||
4 | diff --git a/setup.py b/setup.py | ||
5 | index 2f13821..e6d6ed0 100644 | ||
6 | --- a/setup.py | ||
7 | +++ b/setup.py | ||
8 | @@ -113,12 +113,6 @@ if 1: | ||
9 | baseline_images = [chop_package(f) for f in baseline_images] | ||
10 | package_data['matplotlib'].extend(baseline_images) | ||
11 | |||
12 | -if not check_for_numpy(): | ||
13 | - sys.exit(1) | ||
14 | - | ||
15 | -if not check_for_freetype(): | ||
16 | - sys.exit(1) | ||
17 | - | ||
18 | build_ft2font(ext_modules, packages) | ||
19 | build_ttconv(ext_modules, packages) | ||
20 | build_contour(ext_modules, packages) | ||
21 | @@ -129,7 +123,7 @@ build_tri(ext_modules, packages) | ||
22 | |||
23 | print_raw("") | ||
24 | print_raw("OPTIONAL BACKEND DEPENDENCIES") | ||
25 | -has_libpng = check_for_libpng() | ||
26 | +has_libpng = True | ||
27 | |||
28 | if has_libpng and options['build_agg']: | ||
29 | build_agg(ext_modules, packages) | ||
diff --git a/meta-oe/recipes-devtools/python/python-matplotlib/fix_setupext.patch b/meta-oe/recipes-devtools/python/python-matplotlib/fix_setupext.patch new file mode 100644 index 0000000000..e07159552f --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-matplotlib/fix_setupext.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | This fixes the numpy import problem in setupext.py using a hard-coded path. | ||
2 | |||
3 | diff --git a/setupext.py b/setupext.py | ||
4 | index 962cedc..82297c4 100644 | ||
5 | --- a/setupext.py | ||
6 | +++ b/setupext.py | ||
7 | @@ -176,10 +176,7 @@ if os.path.exists(setup_cfg): | ||
8 | except: pass | ||
9 | |||
10 | # For get_base_flags: | ||
11 | -if options['basedirlist']: | ||
12 | - basedirlist = options['basedirlist'].split() | ||
13 | -else: | ||
14 | - basedirlist = basedir[sys.platform] | ||
15 | +basedirlist = [os.environ['STAGING_LIBDIR']] | ||
16 | print("basedirlist is: %s" % basedirlist) | ||
17 | |||
18 | if options['display_status']: | ||
19 | @@ -555,8 +552,8 @@ def check_for_numpy(): | ||
20 | |||
21 | def add_numpy_flags(module): | ||
22 | "Add the modules flags to build extensions which use numpy" | ||
23 | - import numpy | ||
24 | - module.include_dirs.append(numpy.get_include()) | ||
25 | + # Hard-coded path for OE since I know this is where numpy's include dir will be | ||
26 | + module.include_dirs.append(os.path.join(os.environ['STAGING_LIBDIR'], 'python2.7/site-packages/numpy/core/include/')) | ||
27 | |||
28 | def add_png_flags(module): | ||
29 | try_pkgconfig(module, 'libpng', 'png') | ||
diff --git a/meta-oe/recipes-devtools/python/python-matplotlib_1.1.0.bb b/meta-oe/recipes-devtools/python/python-matplotlib_1.1.0.bb new file mode 100644 index 0000000000..7bb61fd57e --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-matplotlib_1.1.0.bb | |||
@@ -0,0 +1,36 @@ | |||
1 | DESCRIPTION = "matplotlib is a python 2D plotting library which produces publication quality figures in a variety of hardcopy formats" | ||
2 | SECTION = "devel/python" | ||
3 | LICENSE = "PSF" | ||
4 | LIC_FILES_CHKSUM = "file://README.txt;md5=83c5bf8b16a5f99507f2f47a21ae3b81" | ||
5 | PR = "r1" | ||
6 | |||
7 | DEPENDS += "python-numpy freetype libpng" | ||
8 | RDEPENDS_${PN} = "python-core python-distutils python-numpy freetype libpng" | ||
9 | |||
10 | SRC_URI = "${SOURCEFORGE_MIRROR}/matplotlib/matplotlib-${PV}.tar.gz \ | ||
11 | file://fix_setup.patch \ | ||
12 | file://fix_setupext.patch \ | ||
13 | " | ||
14 | |||
15 | S = "${WORKDIR}/matplotlib-${PV}" | ||
16 | |||
17 | EXTRA_OECONF = "--disable-docs --with-python-includes=${STAGING_INCDIR}/../" | ||
18 | |||
19 | inherit distutils | ||
20 | |||
21 | do_compile_prepend() { | ||
22 | BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ | ||
23 | ${STAGING_BINDIR_NATIVE}/python setup.py build ${DISTUTILS_BUILD_ARGS} || \ | ||
24 | true | ||
25 | } | ||
26 | |||
27 | # need to export these variables for python-config to work | ||
28 | export PYTHONPATH | ||
29 | export BUILD_SYS | ||
30 | export HOST_SYS | ||
31 | export STAGING_INCDIR | ||
32 | export STAGING_LIBDIR | ||
33 | |||
34 | |||
35 | SRC_URI[md5sum] = "57a627f30b3b27821f808659889514c2" | ||
36 | SRC_URI[sha256sum] = "be37e1d86c65ecacae6683f8805e051e9904e5f2e02bf2b7a34262c46a6d06a7" | ||
diff --git a/meta-oe/recipes-devtools/python/python-numeric/no-lapack.patch b/meta-oe/recipes-devtools/python/python-numeric/no-lapack.patch new file mode 100644 index 0000000000..c1916b8b9f --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-numeric/no-lapack.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | |||
2 | # | ||
3 | # Patch managed by http://www.holgerschurig.de/patcher.html | ||
4 | # | ||
5 | |||
6 | --- Numeric-23.7/setup.py~nolapack | ||
7 | +++ Numeric-23.7/setup.py | ||
8 | @@ -32,7 +32,7 @@ | ||
9 | mathlibs = [] | ||
10 | |||
11 | # delete all but the first one in this list if using your own LAPACK/BLAS | ||
12 | -sourcelist = [os.path.join('Src', 'lapack_litemodule.c'), | ||
13 | +sourcelist = [ | ||
14 | #os.path.join('Src', 'blas_lite.c'), | ||
15 | #os.path.join('Src', 'f2c_lite.c'), | ||
16 | #os.path.join('Src', 'zlapack_lite.c'), | ||
17 | @@ -40,12 +40,12 @@ | ||
18 | ] | ||
19 | # set these to use your own BLAS; | ||
20 | |||
21 | -library_dirs_list = ['/usr/lib/atlas'] | ||
22 | -libraries_list = ['lapack', 'cblas', 'f77blas', 'atlas', 'g2c'] | ||
23 | +library_dirs_list = [] | ||
24 | +libraries_list = [] | ||
25 | |||
26 | # set to true (1), if you also want BLAS optimized matrixmultiply/dot/innerproduct | ||
27 | -use_dotblas = 1 | ||
28 | -include_dirs = ['/usr/include/atlas'] | ||
29 | +use_dotblas = 0 | ||
30 | +include_dirs = [] | ||
31 | # You may need to set this to find cblas.h | ||
32 | # e.g. on UNIX using ATLAS this should be ['/usr/include/atlas'] | ||
33 | extra_link_args = [] | ||
diff --git a/meta-oe/recipes-devtools/python/python-numeric_24.2.bb b/meta-oe/recipes-devtools/python/python-numeric_24.2.bb new file mode 100644 index 0000000000..c0b04e1441 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-numeric_24.2.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | SUMMARY = "A sophisticated Numeric Processing Package for Python" | ||
2 | SECTION = "devel/python" | ||
3 | LICENSE = "PSF & LLNL" | ||
4 | LIC_FILES_CHKSUM = "file://Legal.htm;md5=e3ce75dedd4043918d15979ae43e312e" | ||
5 | |||
6 | PR = "ml3" | ||
7 | |||
8 | SRC_URI = "${SOURCEFORGE_MIRROR}/numpy/Numeric-${PV}.tar.gz" | ||
9 | S = "${WORKDIR}/Numeric-${PV}" | ||
10 | |||
11 | inherit distutils | ||
12 | |||
13 | SRC_URI[md5sum] = "2ae672656e06716a149acb048cca3093" | ||
14 | SRC_URI[sha256sum] = "5f72e729eb6ff57442f2a38bfc9931738b59e5077928e2e70d22b4610ff15258" | ||
diff --git a/meta-oe/recipes-devtools/python/python-pexpect_2.3.bb b/meta-oe/recipes-devtools/python/python-pexpect_2.3.bb new file mode 100644 index 0000000000..d4c2ba477d --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-pexpect_2.3.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | SUMMARY = "A Pure Python Expect like Module for Python" | ||
2 | SECTION = "devel/python" | ||
3 | LICENSE = "PSF" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=04a2bf11b85ce49d4a8c0c413fd34404" | ||
5 | SRCNAME = "pexpect" | ||
6 | PR = "ml3" | ||
7 | |||
8 | SRC_URI = "${SOURCEFORGE_MIRROR}/${SRCNAME}/${SRCNAME}-${PV}.tar.gz" | ||
9 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
10 | |||
11 | inherit distutils | ||
12 | |||
13 | RDEPENDS_${PN} = "\ | ||
14 | python-core \ | ||
15 | python-io \ | ||
16 | python-terminal \ | ||
17 | python-resource \ | ||
18 | python-fcntl \ | ||
19 | " | ||
20 | |||
21 | |||
22 | SRC_URI[md5sum] = "bf107cf54e67bc6dec5bea1f3e6a65c3" | ||
23 | SRC_URI[sha256sum] = "d315e7f3a8544fd85034d7e17fd7c5854e8f0828f5791f83cf313f8fa5740b75" | ||
diff --git a/meta-oe/recipes-devtools/python/python-pip_1.3.1.bb b/meta-oe/recipes-devtools/python/python-pip_1.3.1.bb new file mode 100644 index 0000000000..d1a7c8b3ae --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-pip_1.3.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | SUMMARY = "PIP is a tool for installing and managing Python packages" | ||
2 | LICENSE = "MIT & GPL" | ||
3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cd00425a3465a0e4c81929b94241d3de" | ||
4 | |||
5 | SRC_URI = "https://pypi.python.org/packages/source/p/pip/pip-${PV}.tar.gz" | ||
6 | SRC_URI[md5sum] = "cbb27a191cebc58997c4da8513863153" | ||
7 | SRC_URI[sha256sum] = "145eaa5d1ea1b062663da1f3a97780d7edea4c63c68a37c463b1deedf7bb4957" | ||
8 | |||
9 | S = "${WORKDIR}/pip-${PV}" | ||
10 | |||
11 | inherit setuptools | ||
12 | |||
13 | # Since PIP is like CPAN for PERL we need to drag in all python modules to ensure everything works | ||
14 | RDEPENDS_${PN} = "python-modules" | ||
diff --git a/meta-oe/recipes-devtools/python/python-psutil_0.6.1.bb b/meta-oe/recipes-devtools/python/python-psutil_0.6.1.bb new file mode 100644 index 0000000000..ff113d0f24 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-psutil_0.6.1.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | SUMMARY = "A cross-platform process and system utilities module for Python" | ||
2 | SECTION = "devel/python" | ||
3 | HOMEPAGE = "http://code.google.com/p/psutil" | ||
4 | LICENSE = "BSD" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0f02e99f7f3c9a7fe8ecfc5d44c2be62" | ||
6 | |||
7 | SRC_URI = "http://psutil.googlecode.com/files/psutil-${PV}.tar.gz" | ||
8 | SRC_URI[md5sum] = "3cfcbfb8525f6e4c70110e44a85e907e" | ||
9 | SRC_URI[sha256sum] = "d665a4cc58c9a5d207fb0dc9869fc0ee10f4f66ad885e84886ef6339ccce0a6f" | ||
10 | |||
11 | S = "${WORKDIR}/psutil-${PV}" | ||
12 | |||
13 | inherit setuptools | ||
14 | |||
diff --git a/meta-oe/recipes-devtools/python/python-pyalsaaudio_0.4.bb b/meta-oe/recipes-devtools/python/python-pyalsaaudio_0.4.bb new file mode 100644 index 0000000000..0e660adff6 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-pyalsaaudio_0.4.bb | |||
@@ -0,0 +1,15 @@ | |||
1 | SUMMARY = "Support for the Linux 2.6.x ALSA Sound System" | ||
2 | SECTION = "devel/python" | ||
3 | DEPENDS = "alsa-lib" | ||
4 | LICENSE = "PSF" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1a3b161aa0fcec32a0c8907a2219ad9d" | ||
6 | SRCNAME = "pyalsaaudio" | ||
7 | PR = "ml2" | ||
8 | |||
9 | SRC_URI = "${SOURCEFORGE_MIRROR}/pyalsaaudio/${SRCNAME}-${PV}.tar.gz" | ||
10 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
11 | |||
12 | inherit distutils | ||
13 | |||
14 | SRC_URI[md5sum] = "b312c28efba7db0494836a79f0a49898" | ||
15 | SRC_URI[sha256sum] = "07148ce16024724b17cc24c51d0f4fb78af214b09b7dc8dcb7b06e5647f4c582" | ||
diff --git a/meta-oe/recipes-devtools/python/python-pyopenssl_0.13.bb b/meta-oe/recipes-devtools/python/python-pyopenssl_0.13.bb new file mode 100644 index 0000000000..01f43da271 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-pyopenssl_0.13.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | SUMMARY = "Simple Python wrapper around the OpenSSL library" | ||
2 | SECTION = "devel/python" | ||
3 | |||
4 | LICENSE = "Apache-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | ||
6 | |||
7 | SRCNAME = "pyOpenSSL" | ||
8 | |||
9 | DEPENDS = "openssl" | ||
10 | PR = "r1" | ||
11 | |||
12 | SRC_URI = "http://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-${PV}.tar.gz" | ||
13 | SRC_URI[md5sum] = "767bca18a71178ca353dff9e10941929" | ||
14 | SRC_URI[sha256sum] = "21e12b03abaa0e04ecc8cd9c251598f71bae11c9f385304234e4ea5618c6163b" | ||
15 | |||
16 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
17 | |||
18 | inherit distutils | ||
19 | |||
20 | PACKAGES =+ "${PN}-tests" | ||
21 | FILES_${PN}-tests = "${libdir}/${PYTHON_DIR}/site-packages/OpenSSL/test" | ||
22 | |||
23 | RDEPENDS_${PN} = "python-threading" | ||
24 | RDEPENDS_${PN}-tests = "${PN}" | ||
diff --git a/meta-oe/recipes-devtools/python/python-pyqt-4.9.6/pyqt-generated.patch b/meta-oe/recipes-devtools/python/python-pyqt-4.9.6/pyqt-generated.patch new file mode 100644 index 0000000000..6579aa4000 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-pyqt-4.9.6/pyqt-generated.patch | |||
@@ -0,0 +1,12 @@ | |||
1 | diff -uNr PyQt-x11-gpl-4.9.5.orig/QtGui/sipQtGuiQSystemTrayIcon.cpp PyQt-x11-gpl-4.9.5/QtGui/sipQtGuiQSystemTrayIcon.cpp | ||
2 | --- PyQt-x11-gpl-4.9.5.orig/QtGui/sipQtGuiQSystemTrayIcon.cpp 2012-10-01 16:48:16.496700577 +0200 | ||
3 | +++ PyQt-x11-gpl-4.9.5/QtGui/sipQtGuiQSystemTrayIcon.cpp 2012-10-01 21:40:43.063130099 +0200 | ||
4 | @@ -993,8 +993,6 @@ | ||
5 | qtgui_untrack(sipCpp); | ||
6 | #line 995 "QtGui/sipQtGuiQSystemTrayIcon.cpp" | ||
7 | |||
8 | - QSystemTrayIcon *sipCpp = reinterpret_cast<QSystemTrayIcon *>(sipCppV); | ||
9 | - | ||
10 | if (QThread::currentThread() == sipCpp->thread()) | ||
11 | delete sipCpp; | ||
12 | else | ||
diff --git a/meta-oe/recipes-devtools/python/python-pyqt-4.9.6/qreal_float_support.diff b/meta-oe/recipes-devtools/python/python-pyqt-4.9.6/qreal_float_support.diff new file mode 100644 index 0000000000..abdf70fab0 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-pyqt-4.9.6/qreal_float_support.diff | |||
@@ -0,0 +1,248 @@ | |||
1 | ## 03_qreal_float_support.dpatch by Michael Casadevall <sonicmctails@gmail.com> | ||
2 | Index: python-qt4-4.8.3/configure.py | ||
3 | =================================================================== | ||
4 | --- python-qt4-4.8.3.orig/configure.py 2011-02-24 10:33:30.000000000 +0200 | ||
5 | +++ python-qt4-4.8.3/configure.py 2011-02-24 10:33:18.000000000 +0200 | ||
6 | @@ -2004,8 +2004,9 @@ | ||
7 | out << "PyQt_NoOpenGLES\\n"; | ||
8 | #endif | ||
9 | |||
10 | - if (sizeof (qreal) != sizeof (double)) | ||
11 | +#if defined(QT_NO_FPU) || defined(QT_ARCH_ARM) || defined(QT_ARCH_WINDOWSCE) | ||
12 | out << "PyQt_qreal_double\\n"; | ||
13 | +#endif | ||
14 | |||
15 | return 0; | ||
16 | } | ||
17 | Index: python-qt4-4.8.3/sip/QtCore/qlist.sip | ||
18 | =================================================================== | ||
19 | --- python-qt4-4.8.3.orig/sip/QtCore/qlist.sip 2011-02-24 10:33:27.000000000 +0200 | ||
20 | +++ python-qt4-4.8.3/sip/QtCore/qlist.sip 2011-02-24 10:33:18.000000000 +0200 | ||
21 | @@ -811,3 +811,227 @@ | ||
22 | return sipGetState(sipTransferObj); | ||
23 | %End | ||
24 | }; | ||
25 | + | ||
26 | +// If we're on an architecture where qreal != double, then we need to also | ||
27 | +// explicately handle doubles. On architectures where qreal == double, they | ||
28 | +// will automaticially be cast upwards | ||
29 | + | ||
30 | +%If (!PyQt_qreal_double) | ||
31 | + | ||
32 | +%If (Qt_4_3_0 -) | ||
33 | +// QList<QPair<double, double> > is implemented as a Python list of 2-element tuples. | ||
34 | +%MappedType QList<QPair<double, double> > | ||
35 | +{ | ||
36 | +%TypeHeaderCode | ||
37 | +#include <qlist.h> | ||
38 | +#include <qpair.h> | ||
39 | +%End | ||
40 | + | ||
41 | +%ConvertFromTypeCode | ||
42 | + // Create the list. | ||
43 | + PyObject *l; | ||
44 | + | ||
45 | + if ((l = PyList_New(sipCpp->size())) == NULL) | ||
46 | + return NULL; | ||
47 | + | ||
48 | + // Set the list elements. | ||
49 | + for (int i = 0; i < sipCpp->size(); ++i) | ||
50 | + { | ||
51 | + const QPair<double, double> &p = sipCpp->at(i); | ||
52 | + PyObject *pobj; | ||
53 | + | ||
54 | + if ((pobj = Py_BuildValue((char *)"dd", p.first, p.second)) == NULL) | ||
55 | + { | ||
56 | + Py_DECREF(l); | ||
57 | + | ||
58 | + return NULL; | ||
59 | + } | ||
60 | + | ||
61 | + PyList_SET_ITEM(l, i, pobj); | ||
62 | + } | ||
63 | + | ||
64 | + return l; | ||
65 | +%End | ||
66 | + | ||
67 | +%ConvertToTypeCode | ||
68 | + SIP_SSIZE_T len; | ||
69 | + | ||
70 | + // Check the type if that is all that is required. | ||
71 | + if (sipIsErr == NULL) | ||
72 | + { | ||
73 | + if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0) | ||
74 | + return 0; | ||
75 | + | ||
76 | + for (SIP_SSIZE_T i = 0; i < len; ++i) | ||
77 | + { | ||
78 | + PyObject *tup = PySequence_ITEM(sipPy, i); | ||
79 | + | ||
80 | + if (!PySequence_Check(tup) || PySequence_Size(tup) != 2) | ||
81 | + return 0; | ||
82 | + } | ||
83 | + | ||
84 | + return 1; | ||
85 | + } | ||
86 | + | ||
87 | + QList<QPair<double, double> > *ql = new QList<QPair<double, double> >; | ||
88 | + len = PySequence_Size(sipPy); | ||
89 | + | ||
90 | + for (SIP_SSIZE_T i = 0; i < len; ++i) | ||
91 | + { | ||
92 | + PyObject *tup = PySequence_ITEM(sipPy, i); | ||
93 | + | ||
94 | + double first = PyFloat_AsDouble(PySequence_ITEM(tup, 0)); | ||
95 | + double second = PyFloat_AsDouble(PySequence_ITEM(tup, 1)); | ||
96 | + | ||
97 | + ql->append(QPair<double, double>(first, second)); | ||
98 | + } | ||
99 | + | ||
100 | + *sipCppPtr = ql; | ||
101 | + | ||
102 | + return sipGetState(sipTransferObj); | ||
103 | +%End | ||
104 | +}; | ||
105 | +%End | ||
106 | +%If (Qt_4_3_0 -) | ||
107 | +// QList<QPair<double, TYPE> > is implemented as a Python list of 2-element tuples. | ||
108 | +template<double, TYPE> | ||
109 | +%MappedType QList<QPair<double, TYPE> > | ||
110 | +{ | ||
111 | +%TypeHeaderCode | ||
112 | +#include <qlist.h> | ||
113 | +#include <qpair.h> | ||
114 | +%End | ||
115 | + | ||
116 | +%ConvertFromTypeCode | ||
117 | + // Create the list. | ||
118 | + PyObject *l; | ||
119 | + | ||
120 | + if ((l = PyList_New(sipCpp->size())) == NULL) | ||
121 | + return NULL; | ||
122 | + | ||
123 | + // Set the list elements. | ||
124 | + for (int i = 0; i < sipCpp->size(); ++i) | ||
125 | + { | ||
126 | + const QPair<double, TYPE> &p = sipCpp->at(i); | ||
127 | + TYPE *t = new TYPE(p.second); | ||
128 | + PyObject *pobj; | ||
129 | + | ||
130 | + if ((pobj = sipBuildResult(NULL, "(dB)", p.first, t, sipClass_TYPE, sipTransferObj)) == NULL) | ||
131 | + { | ||
132 | + Py_DECREF(l); | ||
133 | + delete t; | ||
134 | + | ||
135 | + return NULL; | ||
136 | + } | ||
137 | + | ||
138 | + PyList_SET_ITEM(l, i, pobj); | ||
139 | + } | ||
140 | + | ||
141 | + return l; | ||
142 | +%End | ||
143 | + | ||
144 | +%ConvertToTypeCode | ||
145 | + SIP_SSIZE_T len; | ||
146 | + | ||
147 | + // Check the type if that is all that is required. | ||
148 | + if (sipIsErr == NULL) | ||
149 | + { | ||
150 | + if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0) | ||
151 | + return 0; | ||
152 | + | ||
153 | + for (SIP_SSIZE_T i = 0; i < len; ++i) | ||
154 | + { | ||
155 | + PyObject *tup = PySequence_ITEM(sipPy, i); | ||
156 | + | ||
157 | + if (!PySequence_Check(tup) || PySequence_Size(tup) != 2) | ||
158 | + return 0; | ||
159 | + | ||
160 | + if (!sipCanConvertToInstance(PySequence_ITEM(tup, 1), sipClass_TYPE, SIP_NOT_NONE)) | ||
161 | + return 0; | ||
162 | + } | ||
163 | + | ||
164 | + return 1; | ||
165 | + } | ||
166 | + | ||
167 | + QList<QPair<double, TYPE> > *ql = new QList<QPair<double, TYPE> >; | ||
168 | + len = PySequence_Size(sipPy); | ||
169 | + | ||
170 | + for (SIP_SSIZE_T i = 0; i < len; ++i) | ||
171 | + { | ||
172 | + PyObject *tup = PySequence_ITEM(sipPy, i); | ||
173 | + double d; | ||
174 | + int state; | ||
175 | + | ||
176 | + d = PyFloat_AsDouble(PySequence_ITEM(tup, 0)); | ||
177 | + TYPE *t = reinterpret_cast<TYPE *>(sipConvertToInstance(PySequence_ITEM(tup, 1), sipClass_TYPE, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr)); | ||
178 | + | ||
179 | + if (*sipIsErr) | ||
180 | + { | ||
181 | + sipReleaseInstance(t, sipClass_TYPE, state); | ||
182 | + | ||
183 | + delete ql; | ||
184 | + return 0; | ||
185 | + } | ||
186 | + | ||
187 | + ql->append(QPair<double, TYPE>(d, *t)); | ||
188 | + | ||
189 | + sipReleaseInstance(t, sipClass_TYPE, state); | ||
190 | + } | ||
191 | + | ||
192 | + *sipCppPtr = ql; | ||
193 | + | ||
194 | + return sipGetState(sipTransferObj); | ||
195 | +%End | ||
196 | +}; | ||
197 | +%End | ||
198 | + | ||
199 | +// QList<double> is implemented as a Python list of doubles. | ||
200 | +%MappedType QList<double> | ||
201 | +{ | ||
202 | +%TypeHeaderCode | ||
203 | +#include <qlist.h> | ||
204 | +%End | ||
205 | + | ||
206 | +%ConvertFromTypeCode | ||
207 | + // Create the list. | ||
208 | + PyObject *l; | ||
209 | + | ||
210 | + if ((l = PyList_New(sipCpp->size())) == NULL) | ||
211 | + return NULL; | ||
212 | + | ||
213 | + // Set the list elements. | ||
214 | + for (int i = 0; i < sipCpp->size(); ++i) | ||
215 | + { | ||
216 | + PyObject *pobj; | ||
217 | + | ||
218 | + if ((pobj = PyFloat_FromDouble(sipCpp->value(i))) == NULL) | ||
219 | + { | ||
220 | + Py_DECREF(l); | ||
221 | + | ||
222 | + return NULL; | ||
223 | + } | ||
224 | + | ||
225 | + PyList_SET_ITEM(l, i, pobj); | ||
226 | + } | ||
227 | + | ||
228 | + return l; | ||
229 | +%End | ||
230 | + | ||
231 | +%ConvertToTypeCode | ||
232 | + // Check the type if that is all that is required. | ||
233 | + if (sipIsErr == NULL) | ||
234 | + return (PySequence_Check(sipPy) && PySequence_Size(sipPy) >= 0); | ||
235 | + | ||
236 | + QList<double> *ql = new QList<double>; | ||
237 | + SIP_SSIZE_T len = PySequence_Size(sipPy); | ||
238 | + | ||
239 | + for (SIP_SSIZE_T i = 0; i < len; ++i) | ||
240 | + ql->append(PyFloat_AsDouble(PySequence_ITEM(sipPy, i))); | ||
241 | + | ||
242 | + *sipCppPtr = ql; | ||
243 | + | ||
244 | + return sipGetState(sipTransferObj); | ||
245 | +%End | ||
246 | +}; | ||
247 | + | ||
248 | +%End | ||
diff --git a/meta-oe/recipes-devtools/python/python-pyqt_4.9.6.bb b/meta-oe/recipes-devtools/python/python-pyqt_4.9.6.bb new file mode 100644 index 0000000000..2f0e189ef4 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-pyqt_4.9.6.bb | |||
@@ -0,0 +1,103 @@ | |||
1 | SUMMARY = "Python Qt4 Bindings" | ||
2 | HOMEPAGE = "http://riverbankcomputing.co.uk" | ||
3 | AUTHOR = "Phil Thomson @ riverbank.co.uk" | ||
4 | SECTION = "devel/python" | ||
5 | LICENSE = "GPLv2 & GPLv3 & GPL_EXCEPTION" | ||
6 | LIC_FILES_CHKSUM = "\ | ||
7 | file://GPL_EXCEPTION.TXT;md5=b73b0be471db679533dc94781c14af58 \ | ||
8 | file://GPL_EXCEPTION_ADDENDUM.TXT;md5=c1e04ec2aa0911061005a801abf81e40 \ | ||
9 | file://OPENSOURCE-NOTICE.TXT;md5=6ad9123620cc04a22c394753ad4767d7 \ | ||
10 | file://LICENSE.GPL2;md5=276c6b9cad5f85a3af3534299825feff \ | ||
11 | file://LICENSE.GPL3;md5=eda942b9c6ba7eb0f40fee79e94950d5 \ | ||
12 | " | ||
13 | |||
14 | DEPENDS = "sip-native python-sip" | ||
15 | RDEPENDS_${PN} = "python-core" | ||
16 | |||
17 | PYQT_OE_VERSION = "Qt_4_8_3" | ||
18 | PR = "r1" | ||
19 | |||
20 | SRC_URI = "\ | ||
21 | ${SOURCEFORGE_MIRROR}/pyqt/PyQt-x11-gpl-${PV}.tar.gz \ | ||
22 | file://pyqt-generated.patch;apply=no \ | ||
23 | " | ||
24 | SRC_URI[md5sum] = "514e1f9597771dc732ba75ba9fa5c6b6" | ||
25 | SRC_URI[sha256sum] = "a350f9e5c6d8062671c0f29bf1a70824719b18175ce8372c29bf7c1eda44b18d" | ||
26 | S = "${WORKDIR}/PyQt-x11-gpl-${PV}" | ||
27 | |||
28 | # arm and mips machines need some extra patches | ||
29 | SRC_URI_append_arm = "\ | ||
30 | file://qreal_float_support.diff \ | ||
31 | " | ||
32 | |||
33 | SRC_URI_append_mipsel = "\ | ||
34 | file://qreal_float_support.diff \ | ||
35 | " | ||
36 | |||
37 | inherit qt4x11 sip distutils-base | ||
38 | |||
39 | PARALLEL_MAKE = "" | ||
40 | |||
41 | QMAKE_PROFILES = "pyqt.pro" | ||
42 | # NOTE: has to match with MIN(qt version we have in OE, last known Qt version by SIP/PyQt) | ||
43 | EXTRA_SIPTAGS = "-tWS_X11 -t${PYQT_OE_VERSION} -xVendorID -xPyQt_SessionManager -xPyQt_Accessibility" | ||
44 | EXTRA_OEMAKE = " MAKEFLAGS= " | ||
45 | |||
46 | # arm and mips need extra params for the qreal issue | ||
47 | EXTRA_SIPTAGS_append_arm = " -x PyQt_qreal_double" | ||
48 | EXTRA_SIPTAGS_append_mipsel = " -x PyQt_qreal_double" | ||
49 | |||
50 | SIP_MODULES = "QtCore QtDeclarative QtGui QtNetwork QtSql QtSvg QtXml QtWebKit" | ||
51 | MAKE_MODULES = "qpy ${SIP_MODULES}" | ||
52 | |||
53 | EXTRA_QMAKEVARS_POST += "\ | ||
54 | INCLUDEPATH+=${OE_QMAKE_INCDIR_QT}/Qt \ | ||
55 | INCLUDEPATH+=${STAGING_INCDIR}/${PYTHON_DIR} \ | ||
56 | INCLUDEPATH+=../qpy/QtCore \ | ||
57 | INCLUDEPATH+=../qpy/QtGui \ | ||
58 | INCLUDEPATH+=../qpy/QtDeclarative \ | ||
59 | INCLUDEPATH+=${OE_QMAKE_INCDIR_QT}/QtCore \ | ||
60 | INCLUDEPATH+=${OE_QMAKE_INCDIR_QT}/QtGui \ | ||
61 | INCLUDEPATH+=${OE_QMAKE_INCDIR_QT}/QtDeclarative \ | ||
62 | INCLUDEPATH+=${OE_QMAKE_INCDIR_QT}/QtWebKit \ | ||
63 | INCLUDEPATH+=${OE_QMAKE_INCDIR_QT}/QtNetwork \ | ||
64 | " | ||
65 | FIX_QREAL = "\ | ||
66 | " | ||
67 | |||
68 | do_generate_prepend() { | ||
69 | for i in ${FIX_QREAL}; do | ||
70 | sed -i -e s,qreal,float,g sip/$i | ||
71 | done | ||
72 | } | ||
73 | |||
74 | do_configure_prepend() { | ||
75 | printf "TEMPLATE=subdirs\nSUBDIRS=${MAKE_MODULES}\n" >pyqt.pro | ||
76 | printf "TEMPLATE=subdirs\nSUBDIRS=QtCore QtDeclarative QtGui\n" >qpy/qpy.pro | ||
77 | ln -sf ./qpycore.pro qpy/QtCore/QtCore.pro | ||
78 | ln -sf ./qpydeclarative.pro qpy/QtDeclarative/QtDeclarative.pro | ||
79 | ln -sf ./qpygui.pro qpy/QtGui/QtGui.pro | ||
80 | echo "INCLUDEPATH+=${S}/QtCore" >>qpy/QtCore/QtCore.pro | ||
81 | echo "INCLUDEPATH+=${S}/QtGui" >>qpy/QtGui/QtGui.pro | ||
82 | echo "INCLUDEPATH+=${S}/QtDeclarative" >>qpy/QtDeclarative/QtDeclarative.pro | ||
83 | echo "LIBS+=-L../qpy/QtGui/ -lqpygui" >>QtGui/QtGui.pro | ||
84 | echo "LIBS+=-L../qpy/QtCore/ -lqpycore" >>QtCore/QtCore.pro | ||
85 | echo "LIBS+=-L../qpy/QtDeclarative/ -lqpydeclarative" >>QtDeclarative/QtDeclarative.pro | ||
86 | # hack for broken generated code (duplicated sipCpp declaration). | ||
87 | patch -p1 < ${WORKDIR}/pyqt-generated.patch || echo "pyqt-generated.patch failed to apply, probably reexecuting do_configure, ignoring that" | ||
88 | } | ||
89 | |||
90 | do_install() { | ||
91 | install -d ${D}${libdir}/${PYTHON_DIR}/site-packages/PyQt4 | ||
92 | install -d ${D}${datadir}/sip/qt/ | ||
93 | for module in ${SIP_MODULES} | ||
94 | do | ||
95 | install -m 0644 ${S}/sip/${module}/*.sip ${D}${datadir}/sip/qt/ | ||
96 | echo "from PyQt4.${module} import *\n" >> ${D}${libdir}/${PYTHON_DIR}/site-packages/PyQt4/Qt.py | ||
97 | install -m 0755 ${module}/lib${module}.so ${D}${libdir}/${PYTHON_DIR}/site-packages/PyQt4/${module}.so | ||
98 | done | ||
99 | cp -pPR elementtree ${D}${libdir}/${PYTHON_DIR}/site-packages/PyQt4/ | ||
100 | cp __init__.py ${D}${libdir}/${PYTHON_DIR}/site-packages/PyQt4/ | ||
101 | } | ||
102 | |||
103 | FILES_${PN} = "${libdir}/${PYTHON_DIR}/site-packages ${datadir}/sip/qt/" | ||
diff --git a/meta-oe/recipes-devtools/python/python-pyserial_2.4.bb b/meta-oe/recipes-devtools/python/python-pyserial_2.4.bb new file mode 100644 index 0000000000..2263b2ccc0 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-pyserial_2.4.bb | |||
@@ -0,0 +1,22 @@ | |||
1 | SUMMARY = "Serial Port Support for Python" | ||
2 | SECTION = "devel/python" | ||
3 | LICENSE = "PSF" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7424386ffe323e815ee62ee9ad591dd8" | ||
5 | SRCNAME = "pyserial" | ||
6 | PR = "ml4" | ||
7 | |||
8 | SRC_URI = "${SOURCEFORGE_MIRROR}/${SRCNAME}/${SRCNAME}-${PV}.tar.gz" | ||
9 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
10 | |||
11 | inherit setuptools | ||
12 | |||
13 | # FIXME might stop packaging serialwin32 and serialjava files | ||
14 | |||
15 | RDEPENDS_${PN} = "\ | ||
16 | python-fcntl \ | ||
17 | python-io \ | ||
18 | python-stringold \ | ||
19 | " | ||
20 | |||
21 | SRC_URI[md5sum] = "eec19df59fd75ba5a136992897f8e468" | ||
22 | SRC_URI[sha256sum] = "6b6a9e3d2fd5978c92c843e0109918a4bcac481eecae316254481c0e0f7e73c8" | ||
diff --git a/meta-oe/recipes-devtools/python/python-pyudev_0.16.1.bb b/meta-oe/recipes-devtools/python/python-pyudev_0.16.1.bb new file mode 100644 index 0000000000..964b5f92b5 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-pyudev_0.16.1.bb | |||
@@ -0,0 +1,25 @@ | |||
1 | SUMMARY = "A libudev binding" | ||
2 | HOMEPAGE = "http://pypi.python.org/pypi/pyudev" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "GPLv2" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" | ||
6 | |||
7 | SRCNAME = "pyudev" | ||
8 | SRC_URI = "http://pypi.python.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz" | ||
9 | SRC_URI[md5sum] = "4034de584b6d9efcbfc590a047c63285" | ||
10 | SRC_URI[sha256sum] = "765d1c14bd9bd031f64e2612225621984cb2bbb8cbc0c03538bcc4c735ff1c95" | ||
11 | |||
12 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
13 | |||
14 | inherit setuptools | ||
15 | |||
16 | do_configure_prepend() { | ||
17 | sed -i "/import pyudev/d" ${S}/setup.py | ||
18 | sed -i "s/str(pyudev.__version__)/'${PV}'/g" ${S}/setup.py | ||
19 | } | ||
20 | |||
21 | RDEPENDS_${PN} = "\ | ||
22 | python-ctypes \ | ||
23 | python-subprocess \ | ||
24 | python-misc \ | ||
25 | " | ||
diff --git a/meta-oe/recipes-devtools/python/python-pyusb_1.0.0a2.bb b/meta-oe/recipes-devtools/python/python-pyusb_1.0.0a2.bb new file mode 100644 index 0000000000..360f213221 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-pyusb_1.0.0a2.bb | |||
@@ -0,0 +1,18 @@ | |||
1 | SUMMARY = "PyUSB provides USB access on the Python language" | ||
2 | HOMEPAGE = "http://pyusb.sourceforge.net/" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "BSD" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a53a9c39efcfb812e2464af14afab013" | ||
6 | DEPENDS = "libusb1" | ||
7 | PR = "r1" | ||
8 | |||
9 | SRC_URI = "\ | ||
10 | ${SOURCEFORGE_MIRROR}/pyusb/${SRCNAME}-${PV}.tar.gz \ | ||
11 | " | ||
12 | SRC_URI[md5sum] = "9136b3dc019272c62a5b6d4eb624f89f" | ||
13 | SRC_URI[sha256sum] = "dacbf7d568c0bb09a974d56da66d165351f1ba3c4d5169ab5b734266623e1736" | ||
14 | |||
15 | SRCNAME = "pyusb" | ||
16 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
17 | |||
18 | inherit distutils | ||
diff --git a/meta-oe/recipes-devtools/python/python-pyyaml/setup.py b/meta-oe/recipes-devtools/python/python-pyyaml/setup.py new file mode 100644 index 0000000000..fb64983419 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-pyyaml/setup.py | |||
@@ -0,0 +1,64 @@ | |||
1 | NAME = 'PyYAML' | ||
2 | VERSION = '3.06' | ||
3 | DESCRIPTION = "YAML parser and emitter for Python" | ||
4 | LONG_DESCRIPTION = """\ | ||
5 | YAML is a data serialization format designed for human readability and | ||
6 | interaction with scripting languages. PyYAML is a YAML parser and | ||
7 | emitter for Python. | ||
8 | |||
9 | PyYAML features a complete YAML 1.1 parser, Unicode support, pickle | ||
10 | support, capable extension API, and sensible error messages. PyYAML | ||
11 | supports standard YAML tags and provides Python-specific tags that allow | ||
12 | to represent an arbitrary Python object. | ||
13 | |||
14 | PyYAML is applicable for a broad range of tasks from complex | ||
15 | configuration files to object serialization and persistance.""" | ||
16 | AUTHOR = "Kirill Simonov" | ||
17 | AUTHOR_EMAIL = 'xi@resolvent.net' | ||
18 | LICENSE = "MIT" | ||
19 | PLATFORMS = "Any" | ||
20 | URL = "http://pyyaml.org/wiki/PyYAML" | ||
21 | DOWNLOAD_URL = "http://pyyaml.org/download/pyyaml/%s-%s.tar.gz" % (NAME, VERSION) | ||
22 | CLASSIFIERS = [ | ||
23 | "Development Status :: 5 - Production/Stable", | ||
24 | "Intended Audience :: Developers", | ||
25 | "License :: OSI Approved :: MIT License", | ||
26 | "Operating System :: OS Independent", | ||
27 | "Programming Language :: Python", | ||
28 | "Topic :: Software Development :: Libraries :: Python Modules", | ||
29 | "Topic :: Text Processing :: Markup", | ||
30 | ] | ||
31 | |||
32 | from distutils.core import setup | ||
33 | from distutils.extension import Extension | ||
34 | from Cython.Distutils import build_ext | ||
35 | |||
36 | import sys, os.path | ||
37 | |||
38 | |||
39 | if __name__ == '__main__': | ||
40 | |||
41 | setup( | ||
42 | name=NAME, | ||
43 | version=VERSION, | ||
44 | description=DESCRIPTION, | ||
45 | long_description=LONG_DESCRIPTION, | ||
46 | author=AUTHOR, | ||
47 | author_email=AUTHOR_EMAIL, | ||
48 | license=LICENSE, | ||
49 | platforms=PLATFORMS, | ||
50 | url=URL, | ||
51 | download_url=DOWNLOAD_URL, | ||
52 | classifiers=CLASSIFIERS, | ||
53 | |||
54 | package_dir={'': 'lib'}, | ||
55 | packages=['yaml'], | ||
56 | |||
57 | ext_modules = [ | ||
58 | Extension( "_yaml", ["ext/_yaml.pyx"], libraries = ["yaml"] ) | ||
59 | ], | ||
60 | |||
61 | cmdclass={ | ||
62 | 'build_ext': build_ext, | ||
63 | }, | ||
64 | ) | ||
diff --git a/meta-oe/recipes-devtools/python/python-pyyaml_3.10.bb b/meta-oe/recipes-devtools/python/python-pyyaml_3.10.bb new file mode 100644 index 0000000000..100e1c81ac --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-pyyaml_3.10.bb | |||
@@ -0,0 +1,22 @@ | |||
1 | SUMMARY = "Python support for YAML" | ||
2 | HOMEPAGE = "http://www.pyyaml.org" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=6015f088759b10e0bc2bf64898d4ae17" | ||
6 | DEPENDS = "libyaml python-cython-native" | ||
7 | |||
8 | SRC_URI = "http://pyyaml.org/download/pyyaml/PyYAML-${PV}.tar.gz \ | ||
9 | file://setup.py \ | ||
10 | " | ||
11 | |||
12 | SRC_URI[md5sum] = "74c94a383886519e9e7b3dd1ee540247" | ||
13 | SRC_URI[sha256sum] = "e713da45c96ca53a3a8b48140d4120374db622df16ab71759c9ceb5b8d46fe7c" | ||
14 | |||
15 | S = "${WORKDIR}/PyYAML-${PV}" | ||
16 | |||
17 | inherit distutils | ||
18 | |||
19 | do_configure_prepend() { | ||
20 | # upstream setup.py overcomplicated, use ours | ||
21 | install -m 0644 ${WORKDIR}/setup.py ${S} | ||
22 | } | ||
diff --git a/meta-oe/recipes-devtools/python/python-simplejson_2.2.1.bb b/meta-oe/recipes-devtools/python/python-simplejson_2.2.1.bb new file mode 100644 index 0000000000..7e42a7c142 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-simplejson_2.2.1.bb | |||
@@ -0,0 +1,27 @@ | |||
1 | SUMMARY = "Simple, fast, extensible JSON encoder/decoder for Python" | ||
2 | HOMEPAGE = "http://cheeseshop.python.org/pypi/simplejson" | ||
3 | SECTION = "devel/python" | ||
4 | |||
5 | LICENSE = "MIT" | ||
6 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=8a9f8dcfcd28c34daa443e5b1d29813b" | ||
7 | PR = "r1" | ||
8 | |||
9 | SRCNAME = "simplejson" | ||
10 | |||
11 | SRC_URI = "http://cheeseshop.python.org/packages/source/s/simplejson/${SRCNAME}-${PV}.tar.gz" | ||
12 | SRC_URI[md5sum] = "070c6467462bd63306f1756b01df6d70" | ||
13 | SRC_URI[sha256sum] = "e85c5ae24dd9827113893c1dd2c799528195057388096f0fc45ad4b32b378c26" | ||
14 | |||
15 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
16 | |||
17 | inherit distutils | ||
18 | |||
19 | RDEPENDS_${PN} = "\ | ||
20 | python-core \ | ||
21 | python-re \ | ||
22 | python-io \ | ||
23 | python-netserver \ | ||
24 | python-numbers \ | ||
25 | " | ||
26 | |||
27 | |||
diff --git a/meta-oe/recipes-devtools/python/python-sip_4.14.2.bb b/meta-oe/recipes-devtools/python/python-sip_4.14.2.bb new file mode 100644 index 0000000000..acabc97210 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-sip_4.14.2.bb | |||
@@ -0,0 +1,46 @@ | |||
1 | SUMMARY = "Runtime helper for sip-generated python wrapper libraries" | ||
2 | SECTION = "devel/python" | ||
3 | HOMEPAGE = "http://www.riverbankcomputing.co.uk/sip" | ||
4 | AUTHOR = "Phil Thompson" | ||
5 | LICENSE = "GPLv2+" | ||
6 | LIC_FILES_CHKSUM = "file://siplib.sbf.in;endline=15;md5=3d462bd8cb43db3e4be998fe155ae9cf" | ||
7 | DEPENDS = "python" | ||
8 | RDEPENDS_${PN} = "python-core" | ||
9 | |||
10 | # riverbankcomputing is upstream, but keeps only latest version, sf usually have few older | ||
11 | #SRC_URI = "http://www.riverbankcomputing.com/static/Downloads/sip4/sip-${PV}.tar.gz" | ||
12 | SRC_URI = "${SOURCEFORGE_MIRROR}/project/pyqt/sip/sip-${PV}/sip-${PV}.tar.gz" | ||
13 | SRC_URI[md5sum] = "b93442e745b3be2fad89de0686a76ce9" | ||
14 | SRC_URI[sha256sum] = "1a9d3bf26c821f369c175f8e68946b79bc994da4f96e8f5ecff06e6ee7ac0528" | ||
15 | |||
16 | S = "${WORKDIR}/sip-${PV}/siplib" | ||
17 | |||
18 | inherit qt4x11 distutils-base | ||
19 | |||
20 | EXTRA_QMAKEVARS_POST += " TEMPLATE=lib \ | ||
21 | CONFIG=console \ | ||
22 | DESTDIR= \ | ||
23 | VERSION=1.0.0 \ | ||
24 | TARGET=sip \ | ||
25 | DEFINES=SIP_QT_SUPPORT \ | ||
26 | INCLUDEPATH+=. \ | ||
27 | INCLUDEPATH+=${STAGING_INCDIR}/${PYTHON_DIR} \ | ||
28 | INCLUDEPATH+=${STAGING_INCDIR}" | ||
29 | |||
30 | |||
31 | do_configure_prepend() { | ||
32 | cat siplib.sbf.in | sed s,target,TARGET, | sed s,sources,SOURCES, | sed s,headers,HEADERS, | sed s,@CFG_MODULE_BASENAME@,sip, > siplib.pro | ||
33 | cat siplib.c.in | sed s,@CFG_MODULE_BASENAME@,sip, > siplib.c | ||
34 | cat sip.h.in | sed -e s,@CFG_MODULE_NAME@,sip,g > sip.h | ||
35 | } | ||
36 | |||
37 | do_install() { | ||
38 | install -d ${D}${libdir}/${PYTHON_DIR}/site-packages/ | ||
39 | install -m 0755 libsip.so.1.0.0 ${D}${libdir}/${PYTHON_DIR}/site-packages/sip.so | ||
40 | # sipconfig.py sipdistutils.py | ||
41 | install -d ${D}${includedir} | ||
42 | install -m 0644 ../siplib/sip.h ${D}${includedir}/sip.h | ||
43 | } | ||
44 | |||
45 | FILES_${PN} = "${libdir}/${PYTHON_DIR}/site-packages/sip.so" | ||
46 | |||
diff --git a/meta-oe/recipes-devtools/python/python-smbus_3.0.3.bb b/meta-oe/recipes-devtools/python/python-smbus_3.0.3.bb new file mode 100644 index 0000000000..14548a9635 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-smbus_3.0.3.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | SUMMARY = "Set of i2c tools for linux - Python module" | ||
2 | LICENSE = "GPLv2" | ||
3 | LIC_FILES_CHKSUM = "file://smbusmodule.c;startline=1;endline=17;md5=fa24df321a520ff8e10f203425ab9fa8" | ||
4 | |||
5 | SRC_URI = "http://dl.lm-sensors.org/i2c-tools/releases/i2c-tools-${PV}.tar.bz2 \ | ||
6 | " | ||
7 | SRC_URI[md5sum] = "511376eed04455cdb277ef19c5f73bb4" | ||
8 | SRC_URI[sha256sum] = "23b28e474741834e3f1b35b0686528769a13adc92d2ff5603cbda1d6bd5e5629" | ||
9 | |||
10 | DEPENDS = "i2c-tools" | ||
11 | |||
12 | inherit distutils | ||
13 | |||
14 | S = "${WORKDIR}/i2c-tools-${PV}/py-smbus/" | ||
15 | |||
16 | do_configure_prepend() { | ||
17 | # Adjust for OE header rename | ||
18 | sed -i s:linux/i2c-dev.h:linux/i2c-dev-user.h: Module.mk | ||
19 | sed -i s:linux/i2c-dev.h:linux/i2c-dev-user.h: smbusmodule.c | ||
20 | } | ||
diff --git a/meta-oe/recipes-devtools/python/python-sqlalchemy_0.7.9.bb b/meta-oe/recipes-devtools/python/python-sqlalchemy_0.7.9.bb new file mode 100644 index 0000000000..43b4b7efa2 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-sqlalchemy_0.7.9.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | DESCRIPTION = "Python SQL toolkit and Object Relational Mapper that gives \ | ||
2 | application developers the full power and flexibility of SQL" | ||
3 | HOMEPAGE = "http://www.sqlalchemy.org/" | ||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=baffc5e5f4804c92fc9be155fed70d41" | ||
6 | RDEPENDS_${PN} += "python-numbers" | ||
7 | |||
8 | SRCNAME = "SQLAlchemy" | ||
9 | SRC_URI = "${SOURCEFORGE_MIRROR}/sqlalchemy/${SRCNAME}-${PV}.tar.gz" | ||
10 | SRC_URI[md5sum] = "c4852d586d95a59fbc9358f4467875d5" | ||
11 | SRC_URI[sha256sum] = "f7a305ad122144f364ce09a2d9ed5159d5f46ec43650653593e7dfa05d3294a1" | ||
12 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
13 | |||
14 | inherit setuptools | ||
diff --git a/meta-oe/recipes-devtools/python/python-tornado/0001-disable-AI_ADDRCONFIG-flag.patch b/meta-oe/recipes-devtools/python/python-tornado/0001-disable-AI_ADDRCONFIG-flag.patch new file mode 100644 index 0000000000..0b0d471a42 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-tornado/0001-disable-AI_ADDRCONFIG-flag.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From d7fb0a6ef3f3cbdfc1f21f5a67d54fa9d2c1e183 Mon Sep 17 00:00:00 2001 | ||
2 | From: Koen Kooi <koen@dominion.thruhere.net> | ||
3 | Date: Wed, 2 Nov 2011 11:07:24 +0100 | ||
4 | Subject: [PATCH] disable AI_ADDRCONFIG flag | ||
5 | |||
6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
7 | |||
8 | Upstream-Status: unknown | ||
9 | --- | ||
10 | tornado/netutil.py | 6 ------ | ||
11 | 1 files changed, 0 insertions(+), 6 deletions(-) | ||
12 | |||
13 | diff --git a/tornado/netutil.py b/tornado/netutil.py | ||
14 | index cfff0ba..c181f24 100644 | ||
15 | --- a/tornado/netutil.py | ||
16 | +++ b/tornado/netutil.py | ||
17 | @@ -238,12 +238,6 @@ def bind_sockets(port, address=None, family=socket.AF_UNSPEC, backlog=128): | ||
18 | if address == "": | ||
19 | address = None | ||
20 | flags = socket.AI_PASSIVE | ||
21 | - if hasattr(socket, "AI_ADDRCONFIG"): | ||
22 | - # AI_ADDRCONFIG ensures that we only try to bind on ipv6 | ||
23 | - # if the system is configured for it, but the flag doesn't | ||
24 | - # exist on some platforms (specifically WinXP, although | ||
25 | - # newer versions of windows have it) | ||
26 | - flags |= socket.AI_ADDRCONFIG | ||
27 | for res in set(socket.getaddrinfo(address, port, family, socket.SOCK_STREAM, | ||
28 | 0, flags): | ||
29 | af, socktype, proto, canonname, sockaddr = res | ||
30 | -- | ||
31 | 1.7.2.5 | ||
32 | |||
diff --git a/meta-oe/recipes-devtools/python/python-tornado_git.bb b/meta-oe/recipes-devtools/python/python-tornado_git.bb new file mode 100644 index 0000000000..28026b352b --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-tornado_git.bb | |||
@@ -0,0 +1,16 @@ | |||
1 | DESCRIPTION = "Tornado is an open source version of the scalable, non-blocking web server and tools that power FriendFeed." | ||
2 | LICENSE = "Apache-2.0" | ||
3 | LIC_FILES_CHKSUM = "file://README;md5=e7fb9954003d7cd93322ccf282210d1c" | ||
4 | |||
5 | PV = "2.2.1+git${SRCPV}" | ||
6 | |||
7 | SRCREV = "c501917eba46dec30b1f2ef12497dffc4beec505" | ||
8 | SRC_URI = "git://github.com/facebook/tornado.git;branch=branch2.2 \ | ||
9 | file://0001-disable-AI_ADDRCONFIG-flag.patch \ | ||
10 | " | ||
11 | |||
12 | S = "${WORKDIR}/git" | ||
13 | |||
14 | inherit setuptools | ||
15 | |||
16 | |||
diff --git a/meta-oe/recipes-devtools/python/python-twisted_13.2.0.bb b/meta-oe/recipes-devtools/python/python-twisted_13.2.0.bb new file mode 100644 index 0000000000..80d64a0193 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-twisted_13.2.0.bb | |||
@@ -0,0 +1,222 @@ | |||
1 | DESCRIPTION = "Twisted is an event-driven networking framework written in Python and licensed under the LGPL. \ | ||
2 | Twisted supports TCP, UDP, SSL/TLS, multicast, Unix sockets, a large number of protocols \ | ||
3 | (including HTTP, NNTP, IMAP, SSH, IRC, FTP, and others), and much more." | ||
4 | HOMEPAGE = "http://www.twistedmatrix.com" | ||
5 | SECTION = "console/network" | ||
6 | |||
7 | #twisted/topfiles/NEWS:655: - Relicensed: Now under the MIT license, rather than LGPL. | ||
8 | LICENSE = "MIT" | ||
9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5602d7228daf59a16f0f1b2640c46bca" | ||
10 | |||
11 | SRC_URI = "https://pypi.python.org/packages/source/T/Twisted/Twisted-${PV}.tar.bz2" | ||
12 | SRC_URI[md5sum] = "83fe6c0c911cc1602dbffb036be0ba79" | ||
13 | SRC_URI[sha256sum] = "095175638c019ac7c0604f4c291724a16ff1acd062e181b01293bf4dcbc62cf3" | ||
14 | |||
15 | S = "${WORKDIR}/Twisted-${PV}" | ||
16 | |||
17 | inherit setuptools | ||
18 | |||
19 | do_install_append() { | ||
20 | # remove some useless files before packaging | ||
21 | find ${D} \( -name "*.bat" -o -name "*.c" -o -name "*.h" \) -exec rm -f {} \; | ||
22 | } | ||
23 | |||
24 | PACKAGES += "\ | ||
25 | ${PN}-zsh \ | ||
26 | ${PN}-test \ | ||
27 | ${PN}-protocols \ | ||
28 | ${PN}-conch \ | ||
29 | ${PN}-lore \ | ||
30 | ${PN}-mail \ | ||
31 | ${PN}-names \ | ||
32 | ${PN}-news \ | ||
33 | ${PN}-runner \ | ||
34 | ${PN}-web \ | ||
35 | ${PN}-words \ | ||
36 | ${PN}-flow \ | ||
37 | ${PN}-pair \ | ||
38 | ${PN}-core \ | ||
39 | " | ||
40 | |||
41 | RDEPENDS_${PN} = "python-core python-zopeinterface" | ||
42 | RDEPENDS_${PN} += "\ | ||
43 | ${PN}-conch \ | ||
44 | ${PN}-lore \ | ||
45 | ${PN}-mail \ | ||
46 | ${PN}-names \ | ||
47 | ${PN}-news \ | ||
48 | ${PN}-runner \ | ||
49 | ${PN}-web \ | ||
50 | ${PN}-words \ | ||
51 | " | ||
52 | |||
53 | ALLOW_EMPTY_${PN} = "1" | ||
54 | FILES_${PN} = "" | ||
55 | |||
56 | FILES_${PN}-test = " \ | ||
57 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/test \ | ||
58 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/*/test \ | ||
59 | " | ||
60 | |||
61 | FILES_${PN}-protocols = " \ | ||
62 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/protocols/*.py* \ | ||
63 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/protocols/gps/ \ | ||
64 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/protocols/mice/ \ | ||
65 | " | ||
66 | |||
67 | FILES_${PN}-zsh = " \ | ||
68 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/zsh \ | ||
69 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/zshcomp.* \ | ||
70 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/twisted-completion.zsh \ | ||
71 | " | ||
72 | |||
73 | FILES_${PN}-conch = " \ | ||
74 | ${bindir}/ckeygen \ | ||
75 | ${bindir}/tkconch \ | ||
76 | ${bindir}/conch \ | ||
77 | ${bindir}/conchftp \ | ||
78 | ${bindir}/cftp \ | ||
79 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_conch.py* \ | ||
80 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/conch \ | ||
81 | " | ||
82 | |||
83 | FILES_${PN}-core = " \ | ||
84 | ${bindir}/manhole \ | ||
85 | ${bindir}/mktap \ | ||
86 | ${bindir}/twistd \ | ||
87 | ${bindir}/tap2deb \ | ||
88 | ${bindir}/tap2rpm \ | ||
89 | ${bindir}/tapconvert \ | ||
90 | ${bindir}/tkmktap \ | ||
91 | ${bindir}/trial \ | ||
92 | ${bindir}/easy_install* \ | ||
93 | ${bindir}/pyhtmlizer \ | ||
94 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/*.so \ | ||
95 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/*.py* \ | ||
96 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/__init__.py* \ | ||
97 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/notestplugin.py* \ | ||
98 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/testplugin.py* \ | ||
99 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_ftp.py* \ | ||
100 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_inet.py* \ | ||
101 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_manhole.py* \ | ||
102 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_portforward.py* \ | ||
103 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_socks.py* \ | ||
104 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_telnet.py* \ | ||
105 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_trial.py* \ | ||
106 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/dropin.cache \ | ||
107 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/application \ | ||
108 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/cred \ | ||
109 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/enterprise \ | ||
110 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/internet \ | ||
111 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/manhole \ | ||
112 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/manhole \ | ||
113 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/persisted \ | ||
114 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/protocols\ | ||
115 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python\ | ||
116 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/timeoutqueue.py* \ | ||
117 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/filepath.py* \ | ||
118 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/dxprofile.py* \ | ||
119 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/plugin.py* \ | ||
120 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/htmlizer.py* \ | ||
121 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/__init__.py* \ | ||
122 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/dispatch.py* \ | ||
123 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/hook.py* \ | ||
124 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/threadpool.py* \ | ||
125 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/otp.py* \ | ||
126 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/usage.py* \ | ||
127 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/roots.py* \ | ||
128 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/versions.py* \ | ||
129 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/urlpath.py* \ | ||
130 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/util.py* \ | ||
131 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/components.py* \ | ||
132 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/logfile.py* \ | ||
133 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/runtime.py* \ | ||
134 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/reflect.py* \ | ||
135 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/context.py* \ | ||
136 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/threadable.py* \ | ||
137 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/rebuild.py* \ | ||
138 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/failure.py* \ | ||
139 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/lockfile.py* \ | ||
140 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/formmethod.py* \ | ||
141 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/finalize.py* \ | ||
142 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/win32.py* \ | ||
143 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/dist.py* \ | ||
144 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/shortcut.py* \ | ||
145 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/zipstream.py* \ | ||
146 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/release.py* \ | ||
147 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/syslog.py* \ | ||
148 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/log.py* \ | ||
149 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/compat.py* \ | ||
150 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/zshcomp.py* \ | ||
151 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/procutils.py* \ | ||
152 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/text.py* \ | ||
153 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/_twisted_zsh_stub \ | ||
154 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/scripts/ \ | ||
155 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/spread/ \ | ||
156 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/tap/ \ | ||
157 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/trial/ \ | ||
158 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/__init__.py* \ | ||
159 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/_version.py* \ | ||
160 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/copyright.py* \ | ||
161 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/im.py* \ | ||
162 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/*.py* \ | ||
163 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/*.py* \ | ||
164 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/*.py* \ | ||
165 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/topfiles \ | ||
166 | ${libdir}/${PYTHON_DIR}/site-packages/Twisted*egg-info \ | ||
167 | " | ||
168 | |||
169 | FILES_${PN}-lore = " \ | ||
170 | ${bindir}/bookify \ | ||
171 | ${bindir}/lore \ | ||
172 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_lore.py* \ | ||
173 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/lore \ | ||
174 | " | ||
175 | |||
176 | FILES_${PN}-mail = " \ | ||
177 | ${bindir}/mailmail \ | ||
178 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_mail.py* \ | ||
179 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/mail \ | ||
180 | " | ||
181 | |||
182 | FILES_${PN}-names = " \ | ||
183 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_names.py* \ | ||
184 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/names \ | ||
185 | " | ||
186 | |||
187 | FILES_${PN}-news = " \ | ||
188 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_news.py* \ | ||
189 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/news \ | ||
190 | " | ||
191 | |||
192 | FILES_${PN}-runner = " \ | ||
193 | ${libdir}/site-packages/twisted/runner/portmap.so \ | ||
194 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/runner\ | ||
195 | " | ||
196 | |||
197 | FILES_${PN}-web = " \ | ||
198 | ${bindir}/websetroot \ | ||
199 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_web.py* \ | ||
200 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/web\ | ||
201 | " | ||
202 | |||
203 | FILES_${PN}-words = " \ | ||
204 | ${bindir}/im \ | ||
205 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_words.py* \ | ||
206 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/words\ | ||
207 | " | ||
208 | |||
209 | FILES_${PN}-flow = " \ | ||
210 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_flow.py* \ | ||
211 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/flow \" | ||
212 | |||
213 | FILES_${PN}-pair = " \ | ||
214 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_pair.py* \ | ||
215 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/pair \ | ||
216 | " | ||
217 | |||
218 | FILES_${PN}-dbg += " \ | ||
219 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/*/.debug \ | ||
220 | ${libdir}/${PYTHON_DIR}/site-packages/twisted/*/*/.debug \ | ||
221 | " | ||
222 | |||
diff --git a/meta-oe/recipes-devtools/python/python-vobject_0.8.1c.bb b/meta-oe/recipes-devtools/python/python-vobject_0.8.1c.bb new file mode 100644 index 0000000000..a28c02f7e7 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-vobject_0.8.1c.bb | |||
@@ -0,0 +1,16 @@ | |||
1 | SUMMARY = "Python package for parsing and generating vCard and vCalendar files" | ||
2 | SECTION = "devel/python" | ||
3 | LICENSE = "Apache-2.0" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE-2.0.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" | ||
5 | HOMEPAGE = "http://vobject.skyhouseconsulting.com/" | ||
6 | SRCNAME = "vobject" | ||
7 | RDEPENDS_${PN} = "python python-dateutil" | ||
8 | PR = "r4" | ||
9 | |||
10 | SRC_URI = "http://vobject.skyhouseconsulting.com/${SRCNAME}-${PV}.tar.gz" | ||
11 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
12 | |||
13 | inherit setuptools | ||
14 | |||
15 | SRC_URI[md5sum] = "c9686dd74d39fdae140890d9c694c076" | ||
16 | SRC_URI[sha256sum] = "594113117f2017ed837c8f3ce727616f9053baa5a5463a7420c8249b8fc556f5" | ||
diff --git a/meta-oe/recipes-devtools/python/python-webdav_0.1.2.bb b/meta-oe/recipes-devtools/python/python-webdav_0.1.2.bb new file mode 100644 index 0000000000..7a6437dc53 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-webdav_0.1.2.bb | |||
@@ -0,0 +1,19 @@ | |||
1 | DESCRIPTION = "This project aims to provide an object-oriented Python WebDAV client-side library\ | ||
2 | based on Python`s standard httplib and Greg Stein`s davlib.\ | ||
3 | The client shall fully support RFCs 4918 (basic specification),\ | ||
4 | 3744 (access control), and 3253 (versioning)." | ||
5 | SECTION = "devel/python" | ||
6 | LICENSE = "Apache-2.0" | ||
7 | LIC_FILES_CHKSUM = "file://src/webdav/WebdavClient.py;endline=15;md5=a1520fad859feb7b0d7f05277bc6ce48" | ||
8 | HOMEPAGE = "http://sourceforge.net/projects/pythonwebdavlib/" | ||
9 | SRCNAME = "Python_WebDAV_Library" | ||
10 | DEPENDS = "python" | ||
11 | |||
12 | SRC_URI = "${SOURCEFORGE_MIRROR}/pythonwebdavlib/Python%20WebDAV%20Library%20-%20${PV}/${SRCNAME}-${PV}.zip" | ||
13 | SRC_URI[md5sum] = "8e49e0ecc5b4327c4f752a544ee10e1a" | ||
14 | SRC_URI[sha256sum] = "72c029ad1e25de950f59c2f1812d009d2c1691b70e4b5b09f1af9006e8fd5f23" | ||
15 | |||
16 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
17 | |||
18 | inherit distutils | ||
19 | |||
diff --git a/meta-oe/recipes-devtools/python/python-zopeinterface_4.1.1.bb b/meta-oe/recipes-devtools/python/python-zopeinterface_4.1.1.bb new file mode 100644 index 0000000000..4151f585b8 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-zopeinterface_4.1.1.bb | |||
@@ -0,0 +1,22 @@ | |||
1 | SUMMARY = "Interface definitions for Zope products" | ||
2 | SECTION = "console/network" | ||
3 | |||
4 | LICENSE = "ZPL-2.1" | ||
5 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e54fd776274c1b7423ec128974bd9d46" | ||
6 | |||
7 | SRC_URI = "http://pypi.python.org/packages/source/z/zope.interface/zope.interface-${PV}.tar.gz" | ||
8 | SRC_URI[md5sum] = "edcd5f719c5eb2e18894c4d06e29b6c6" | ||
9 | SRC_URI[sha256sum] = "91cba7b7cd7cb82f6f4e023fe77f94dc3df4ae5287fd55def2148dc232d0c7da" | ||
10 | |||
11 | S = "${WORKDIR}/zope.interface-${PV}" | ||
12 | |||
13 | inherit setuptools | ||
14 | |||
15 | RPROVIDES_${PN} += "zope-interfaces" | ||
16 | FILES_${PN}-dbg += "${PYTHON_SITEPACKAGES_DIR}/*.egg/*/*/.debug" | ||
17 | FILES_${PN}-dev += "${PYTHON_SITEPACKAGES_DIR}/zope/interface/*.c" | ||
18 | FILES_${PN}-doc += "${PYTHON_SITEPACKAGES_DIR}/zope/interface/*.txt" | ||
19 | FILES_${PN}-tests = " \ | ||
20 | ${PYTHON_SITEPACKAGES_DIR}/zope/interface/tests \ | ||
21 | ${PYTHON_SITEPACKAGES_DIR}/zope/interface/common/tests \ | ||
22 | " | ||