diff options
Diffstat (limited to 'meta-python/recipes-devtools/python')
36 files changed, 1022 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/pyrtm_0.2.bb b/meta-python/recipes-devtools/python/pyrtm_0.2.bb new file mode 100644 index 000000000..706515bc4 --- /dev/null +++ b/meta-python/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/${BPN}/${BP}.tar.gz" | ||
11 | SRC_URI[md5sum] = "34423f39caf7df8a9db8e243be9cf1a0" | ||
12 | SRC_URI[sha256sum] = "d9d46d096a38cb692b55f4ee9f364d54348298e9497b11c1ef057539b5de1567" | ||
diff --git a/meta-python/recipes-devtools/python/python-autobahn_0.8.6.bb b/meta-python/recipes-devtools/python/python-autobahn_0.8.6.bb new file mode 100644 index 000000000..ac775c4c3 --- /dev/null +++ b/meta-python/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-python/recipes-devtools/python/python-cheetah_2.4.4.bb b/meta-python/recipes-devtools/python/python-cheetah_2.4.4.bb new file mode 100644 index 000000000..e015d0b02 --- /dev/null +++ b/meta-python/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-python/recipes-devtools/python/python-cloudeebus_0.6.0.bb b/meta-python/recipes-devtools/python/python-cloudeebus_0.6.0.bb new file mode 100644 index 000000000..120a8a792 --- /dev/null +++ b/meta-python/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-python/recipes-devtools/python/python-cython_0.20.2.bb b/meta-python/recipes-devtools/python/python-cython_0.20.2.bb new file mode 100644 index 000000000..9f357ec04 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-cython_0.20.2.bb | |||
@@ -0,0 +1,16 @@ | |||
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 | |||
10 | SRC_URI = "http://www.cython.org/release/${SRCNAME}-${PV}.tar.gz" | ||
11 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
12 | |||
13 | SRC_URI[md5sum] = "7fc13e1c665bdf7cea19ad08906af91f" | ||
14 | SRC_URI[sha256sum] = "ed13b606a2aeb5bd6c235f8ed6c9988c99d01a033d0d21d56137c13d5c7be63f" | ||
15 | |||
16 | inherit setuptools | ||
diff --git a/meta-python/recipes-devtools/python/python-dateutil_1.5.bb b/meta-python/recipes-devtools/python/python-dateutil_1.5.bb new file mode 100644 index 000000000..37f19a839 --- /dev/null +++ b/meta-python/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 = "${BPN}" | ||
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-python/recipes-devtools/python/python-epydoc_3.0.1.bb b/meta-python/recipes-devtools/python/python-epydoc_3.0.1.bb new file mode 100644 index 000000000..4ec066857 --- /dev/null +++ b/meta-python/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-python/recipes-devtools/python/python-feedparser_5.1.3.bb b/meta-python/recipes-devtools/python/python-feedparser_5.1.3.bb new file mode 100644 index 000000000..92d55682f --- /dev/null +++ b/meta-python/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-python/recipes-devtools/python/python-gdata_1.2.4.bb b/meta-python/recipes-devtools/python/python-gdata_1.2.4.bb new file mode 100644 index 000000000..ea602779b --- /dev/null +++ b/meta-python/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-python/recipes-devtools/python/python-gevent_0.13.8.bb b/meta-python/recipes-devtools/python/python-gevent_0.13.8.bb new file mode 100644 index 000000000..3fd3e7c53 --- /dev/null +++ b/meta-python/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-python/recipes-devtools/python/python-greenlet_0.4.1.bb b/meta-python/recipes-devtools/python/python-greenlet_0.4.1.bb new file mode 100644 index 000000000..a6db8ab7b --- /dev/null +++ b/meta-python/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-python/recipes-devtools/python/python-ldap/setup.cfg.patch b/meta-python/recipes-devtools/python/python-ldap/setup.cfg.patch new file mode 100644 index 000000000..a703d342e --- /dev/null +++ b/meta-python/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-python/recipes-devtools/python/python-ldap_2.3.9.bb b/meta-python/recipes-devtools/python/python-ldap_2.3.9.bb new file mode 100644 index 000000000..bc4993bdb --- /dev/null +++ b/meta-python/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/${BPN}/${BP}.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-python/recipes-devtools/python/python-lxml_3.0.2.bb b/meta-python/recipes-devtools/python/python-lxml_3.0.2.bb new file mode 100644 index 000000000..5ab7b4a79 --- /dev/null +++ b/meta-python/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-python/recipes-devtools/python/python-m2crypto/0001-setup.py-link-in-sysroot-not-in-host-directories.patch b/meta-python/recipes-devtools/python/python-m2crypto/0001-setup.py-link-in-sysroot-not-in-host-directories.patch new file mode 100644 index 000000000..bcbdf24bb --- /dev/null +++ b/meta-python/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-python/recipes-devtools/python/python-m2crypto_0.21.1.bb b/meta-python/recipes-devtools/python/python-m2crypto_0.21.1.bb new file mode 100644 index 000000000..67ec9214a --- /dev/null +++ b/meta-python/recipes-devtools/python/python-m2crypto_0.21.1.bb | |||
@@ -0,0 +1,44 @@ | |||
1 | SUMMARY = "A Python crypto and SSL toolkit" | ||
2 | HOMEPAGE = "http://chandlerproject.org/bin/view/Projects/MeTooCrypto" | ||
3 | |||
4 | DEPENDS = "openssl swig-native python" | ||
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 | # Get around a problem with swig, but only if the | ||
24 | # multilib header file exists. | ||
25 | # | ||
26 | do_compile_prepend() { | ||
27 | if [ "${SITEINFO_BITS}" = "64" ];then | ||
28 | bit="64" | ||
29 | else | ||
30 | bit="32" | ||
31 | fi | ||
32 | |||
33 | if [ -e ${STAGING_INCDIR}/openssl/opensslconf-${bit}.h ] ;then | ||
34 | for i in SWIG/_ec.i SWIG/_evp.i; do | ||
35 | sed -i -e "s/opensslconf.*\./opensslconf-${bit}\./" "$i" | ||
36 | done | ||
37 | elif [ -e ${STAGING_INCDIR}/openssl/opensslconf-n${bit}.h ] ;then | ||
38 | for i in SWIG/_ec.i SWIG/_evp.i; do | ||
39 | sed -i -e "s/opensslconf.*\./opensslconf-n${bit}\./" "$i" | ||
40 | done | ||
41 | fi | ||
42 | } | ||
43 | |||
44 | BBCLASSEXTEND = "native" | ||
diff --git a/meta-python/recipes-devtools/python/python-matplotlib/fix_setup.patch b/meta-python/recipes-devtools/python/python-matplotlib/fix_setup.patch new file mode 100644 index 000000000..938158353 --- /dev/null +++ b/meta-python/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-python/recipes-devtools/python/python-matplotlib/fix_setupext.patch b/meta-python/recipes-devtools/python/python-matplotlib/fix_setupext.patch new file mode 100644 index 000000000..e07159552 --- /dev/null +++ b/meta-python/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-python/recipes-devtools/python/python-matplotlib_1.1.0.bb b/meta-python/recipes-devtools/python/python-matplotlib_1.1.0.bb new file mode 100644 index 000000000..7bb61fd57 --- /dev/null +++ b/meta-python/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-python/recipes-devtools/python/python-numeric/no-lapack.patch b/meta-python/recipes-devtools/python/python-numeric/no-lapack.patch new file mode 100644 index 000000000..c1916b8b9 --- /dev/null +++ b/meta-python/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-python/recipes-devtools/python/python-numeric_24.2.bb b/meta-python/recipes-devtools/python/python-numeric_24.2.bb new file mode 100644 index 000000000..c0b04e144 --- /dev/null +++ b/meta-python/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-python/recipes-devtools/python/python-pexpect_2.3.bb b/meta-python/recipes-devtools/python/python-pexpect_2.3.bb new file mode 100644 index 000000000..d4c2ba477 --- /dev/null +++ b/meta-python/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-python/recipes-devtools/python/python-pip_1.3.1.bb b/meta-python/recipes-devtools/python/python-pip_1.3.1.bb new file mode 100644 index 000000000..d1a7c8b3a --- /dev/null +++ b/meta-python/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-python/recipes-devtools/python/python-psutil_0.6.1.bb b/meta-python/recipes-devtools/python/python-psutil_0.6.1.bb new file mode 100644 index 000000000..ff113d0f2 --- /dev/null +++ b/meta-python/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-python/recipes-devtools/python/python-pyalsaaudio_0.4.bb b/meta-python/recipes-devtools/python/python-pyalsaaudio_0.4.bb new file mode 100644 index 000000000..0e660adff --- /dev/null +++ b/meta-python/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-python/recipes-devtools/python/python-pyserial_2.4.bb b/meta-python/recipes-devtools/python/python-pyserial_2.4.bb new file mode 100644 index 000000000..2263b2ccc --- /dev/null +++ b/meta-python/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-python/recipes-devtools/python/python-pyudev_0.16.1.bb b/meta-python/recipes-devtools/python/python-pyudev_0.16.1.bb new file mode 100644 index 000000000..964b5f92b --- /dev/null +++ b/meta-python/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-python/recipes-devtools/python/python-pyusb_1.0.0a2.bb b/meta-python/recipes-devtools/python/python-pyusb_1.0.0a2.bb new file mode 100644 index 000000000..360f21322 --- /dev/null +++ b/meta-python/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-python/recipes-devtools/python/python-pyyaml/setup.py b/meta-python/recipes-devtools/python/python-pyyaml/setup.py new file mode 100644 index 000000000..fb6498341 --- /dev/null +++ b/meta-python/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-python/recipes-devtools/python/python-pyyaml_3.10.bb b/meta-python/recipes-devtools/python/python-pyyaml_3.10.bb new file mode 100644 index 000000000..100e1c81a --- /dev/null +++ b/meta-python/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-python/recipes-devtools/python/python-smbus_3.0.3.bb b/meta-python/recipes-devtools/python/python-smbus_3.0.3.bb new file mode 100644 index 000000000..14548a963 --- /dev/null +++ b/meta-python/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-python/recipes-devtools/python/python-sqlalchemy_0.7.9.bb b/meta-python/recipes-devtools/python/python-sqlalchemy_0.7.9.bb new file mode 100644 index 000000000..43b4b7efa --- /dev/null +++ b/meta-python/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-python/recipes-devtools/python/python-twisted_13.2.0.bb b/meta-python/recipes-devtools/python/python-twisted_13.2.0.bb new file mode 100644 index 000000000..80d64a019 --- /dev/null +++ b/meta-python/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-python/recipes-devtools/python/python-vobject_0.8.1c.bb b/meta-python/recipes-devtools/python/python-vobject_0.8.1c.bb new file mode 100644 index 000000000..a28c02f7e --- /dev/null +++ b/meta-python/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-python/recipes-devtools/python/python-webdav_0.1.2.bb b/meta-python/recipes-devtools/python/python-webdav_0.1.2.bb new file mode 100644 index 000000000..7a6437dc5 --- /dev/null +++ b/meta-python/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-python/recipes-devtools/python/python-zopeinterface_4.1.1.bb b/meta-python/recipes-devtools/python/python-zopeinterface_4.1.1.bb new file mode 100644 index 000000000..4151f585b --- /dev/null +++ b/meta-python/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 | " | ||