layer recipe: add python recipes from meta-openembbeded

python-oe is inserted from meta-openembedded (master branch - 27.6.2018)
Commit id: 4517d1c695efd0b175f4e7242e1a7bb4361527d9

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
This commit is contained in:
Ramon Moesching 2018-06-27 17:38:15 +02:00 committed by Patrick Zysset
parent 6d31dba28c
commit d9e2f955c3
574 changed files with 6631 additions and 0 deletions

3
recipes-devtools/README Normal file
View File

@ -0,0 +1,3 @@
python-oe is inserted from meta-openembedded (master branch - 27.6.2018)
Commit id: 4517d1c695efd0b175f4e7242e1a7bb4361527d9

View File

@ -0,0 +1,36 @@
SUMMARY = "Python interface for Remember The Milk API"
AUTHOR = "Sridhar Ratnakumar / srid"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=a53cbc7cb75660694e138ba973c148df"
PYPI_PACKAGE_EXT = "tar.bz2"
SRC_URI[md5sum] = "7c87da94656b620dfe532ca63d642eb8"
SRC_URI[sha256sum] = "b2d701b25ad3f9a1542057f3eb492c5c1d7dbe2b8d1e8f763043dcc14ee1d933"
inherit pypi setuptools
PACKAGES =+ "${PN}-tests ${PN}-samples"
FILES_${PN}-samples += " \
${PYTHON_SITEPACKAGES_DIR}/rtm/samples \
"
FILES_${PN}-tests += " \
${PYTHON_SITEPACKAGES_DIR}/rtm/tests \
"
RDEPENDS_${PN} += "\
${PYTHON_PN}-json \
${PYTHON_PN}-logging \
${PYTHON_PN}-netclient \
"
RDEPENDS_${PN}-samples += " \
${PN} \
"
RDEPENDS_${PN}-tests += " \
${PN} \
${PYTHON_PN}-unittest \
"

View File

@ -0,0 +1,15 @@
DESCRIPTION = "A database migration tool for SQLAlchemy"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c5f1361296835ff94bda73db7dd312a6"
SRC_URI[md5sum] = "5cfef58641c9a94d4a5d547e951a7dda"
SRC_URI[sha256sum] = "13b8611788acf0d7b617775db5c2ae26554a6d4263c590ef628d448fd05aef56"
PYPI_PACKAGE = "alembic"
RDEPENDS_${PN} += "\
${PYTHON_PN}-dateutil \
${PYTHON_PN}-editor \
${PYTHON_PN}-mako \
${PYTHON_PN}-sqlalchemy \
"

View File

@ -0,0 +1,2 @@
inherit pypi setuptools
require python-alembic.inc

View File

@ -0,0 +1,13 @@
SUMMARY = "Wraps the best available JSON implementation available in a common interface"
DESCRIPTION = "Anyjson loads whichever is the fastest JSON module installed and \
provides a uniform API regardless of which JSON implementation is used."
HOMEPAGE = "https://bitbucket.org/runeh/anyjson"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=989aa97e73c912a83a3c873fa11deb08"
inherit pypi
SRC_URI[md5sum] = "2ea28d6ec311aeeebaf993cb3008b27c"
SRC_URI[sha256sum] = "37812d863c9ad3e35c0734c42e0bf0320ce8c3bed82cd20ad54cb34d158157ba"
RDEPENDS_${PN} += "${PYTHON_PN}-simplejson"

View File

@ -0,0 +1,2 @@
inherit setuptools
require python-anyjson.inc

View File

@ -0,0 +1,8 @@
SUMMARY = "A small Python module for determining appropriate + platform-specific dirs, e.g. a user data dir."
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=31625363c45eb0c67c630a2f73e438e4"
SRC_URI[md5sum] = "44c679904082a2133f5566c8a0d3ab42"
SRC_URI[sha256sum] = "9e5896d1372858f8dd3344faf4e5014d21849c756c8d5701f78f8a103b372d92"
inherit pypi

View File

@ -0,0 +1,2 @@
inherit setuptools
require python-appdirs.inc

View File

@ -0,0 +1,23 @@
DESCRIPTION = "Python binding to the Networking and Cryptography (NaCl) library"
HOMEPAGE = "https://github.com/pyca/pynacl"
SECTION = "devel/python"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=52010cd3c7d7bd965b55721ef4d93ec2"
PYPI_PACKAGE = "asn1crypto"
SRC_URI[md5sum] = "de3520426e81a6581352d4366f310eb1"
SRC_URI[sha256sum] = "9d5c20441baf0cb60a4ac34cc447c6c189024b6b4c6cd7877034f4965c464e49"
inherit pypi
RDEPENDS_${PN}_class-target += " \
${PYTHON_PN}-codecs \
${PYTHON_PN}-crypt \
${PYTHON_PN}-ctypes \
${PYTHON_PN}-datetime \
${PYTHON_PN}-io \
${PYTHON_PN}-netclient \
"
BBCLASSEXTEND = "native"

View File

@ -0,0 +1,7 @@
inherit setuptools
require python-asn1crypto.inc
RDEPENDS_${PN} += " \
${PYTHON_PN}-subprocess \
${PYTHON_PN}-textutils \
"

View File

@ -0,0 +1,31 @@
SUMMARY = "An abstract syntax tree for Python with inference support."
HOMEPAGE = "https://pypi.python.org/pypi/astroid"
SECTION = "devel/python"
LICENSE = "LGPL-2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
SRC_URI[md5sum] = "7d7dc000b25f0cbfcca20cb9a8dc0310"
SRC_URI[sha256sum] = "35cfae47aac19c7b407b7095410e895e836f2285ccf1220336afba744cc4c5f2"
inherit pypi
PACKAGES =+ "${PN}-tests"
FILES_${PN}-tests += " \
${PYTHON_SITEPACKAGES_DIR}/astroid/test* \
${PYTHON_SITEPACKAGES_DIR}/astroid/__pycache__/test* \
"
RDEPENDS_${PN}_class-target += "\
${PYTHON_PN}-distutils \
${PYTHON_PN}-lazy-object-proxy \
${PYTHON_PN}-logging \
${PYTHON_PN}-six \
${PYTHON_PN}-wrapt \
${PYTHON_PN}-setuptools \
"
RDEPENDS_${PN}-tests_class-target += "\
${PYTHON_PN}-unittest \
${PYTHON_PN}-xml \
"

View File

@ -0,0 +1,10 @@
inherit setuptools
require python-astroid.inc
RDEPENDS_${PN}_class-target += " \
${PYTHON_PN}-enum34 \
${PYTHON_PN}-backports-functools-lru-cache \
${PYTHON_PN}-re \
${PYTHON_PN}-singledispatch \
${PYTHON_PN}-subprocess \
"

View File

@ -0,0 +1,9 @@
DESCRIPTION = "Simple decorator to set attributes of target function or class in a DRY way"
HOMEPAGE = "https://github.com/denis-ryzhkov/attr"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://PKG-INFO;md5=59805a0285f4d2b6abdedae73db4f5c1"
SRC_URI[md5sum] = "68b9a503991241fb2df28488686b0e1e"
SRC_URI[sha256sum] = "9091548058d17f132596e61fa7518e504f76b9a4c61ca7d86e1f96dbf7d4775d"
inherit pypi

View File

@ -0,0 +1,2 @@
inherit setuptools
require python-attr.inc

View File

@ -0,0 +1,14 @@
DESCRIPTION = "Classes Without Boilerplate"
HOMEPAGE = "http://www.attrs.org/"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=d4ab25949a73fe7d4fdee93bcbdbf8ff"
SRC_URI[md5sum] = "d7a89063b2e0fd36bd82389c4d82821d"
SRC_URI[sha256sum] = "1c7960ccfd6a005cd9f7ba884e6316b5e430a3f1a6c37c5f87d8b43f83b54ec9"
inherit pypi
RDEPENDS_${PN}_class-target += " \
${PYTHON_PN}-cryptography \
${PYTHON_PN}-ctypes \
"

View File

@ -0,0 +1,6 @@
inherit setuptools
require python-attrs.inc
RDEPENDS_${PN} += "\
${PYTHON_PN}-subprocess \
"

View File

@ -0,0 +1,24 @@
DESCRIPTION = "Self-service finite-state machines for the programmer on the go"
HOMEPAGE = "https://github.com/glyph/Automat"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=4ad213bcca81688e94593e5f60c87477"
FILESEXTRAPATHS_prepend := "${THISDIR}/python-automat:"
SRC_URI[md5sum] = "ad7bba58d262d8956d732330cb5ef53d"
SRC_URI[sha256sum] = "3c1fd04ecf08ac87b4dd3feae409542e9bf7827257097b2b6ed5692f69d6f6a8"
PYPI_PACKAGE = "Automat"
inherit pypi
SRC_URI_append = " \
file://0001-setup.py-remove-the-dependency-on-m2r.patch \
"
DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
RDEPENDS_${PN} += "\
${PYTHON_PN}-attrs \
${PYTHON_PN}-six \
"

View File

@ -0,0 +1,49 @@
From d5ebe479fc8fe11c5c75e7f35484849320349222 Mon Sep 17 00:00:00 2001
From: Derek Straka <derek@asterius.io>
Date: Fri, 22 Dec 2017 09:07:00 -0500
Subject: [PATCH] setup.py: remove the dependency on m2r
The dependency on m2r is removed here as it only provides the
long_description value that is optional. This item is just the
text that would be present on PyPi, so it doesn't provide much
value in this case
Upstream-Status: Inappropriate (OE specific)
Signed-off-by: Derek Straka <derek@asterius.io>
---
setup.py | 10 ----------
1 file changed, 10 deletions(-)
Index: Automat-0.6.0/setup.py
===================================================================
--- Automat-0.6.0.orig/setup.py
+++ Automat-0.6.0/setup.py
@@ -4,14 +4,6 @@ Setup file for automat
from setuptools import setup, find_packages
-try:
- from m2r import parse_from_file
- long_description = parse_from_file('README.md')
-except(IOError, ImportError):
- print("\n\n!!! m2r not found, long_description is bad, don't upload this to PyPI !!!\n\n")
- import io
- long_description = io.open('README.md', encoding="utf-8").read()
-
setup(
name='Automat',
use_scm_version=True,
@@ -19,12 +11,10 @@ setup(
description="""
Self-service finite-state machines for the programmer on the go.
""".strip(),
- long_description=long_description,
packages=find_packages(exclude=[]),
package_dir={'automat': 'automat'},
setup_requires=[
'setuptools-scm',
- 'm2r',
],
install_requires=[
"attrs",

View File

@ -0,0 +1,2 @@
inherit setuptools
require python-automat.inc

View File

@ -0,0 +1,41 @@
DESCRIPTION = "SDK for connecting to AWS IoT using Python."
HOMEPAGE = "https://github.com/aws/aws-iot-device-sdk-python"
LICENSE = "Apache-2.0 & (EPL-1.0 | EDL-1.0)"
LICENSE_${PN}-examples = "Apache-2.0"
LIC_FILES_CHKSUM = "\
file://LICENSE.txt;md5=9ac49901b833e769c7d6f21e8dbd7b30 \
file://AWSIoTPythonSDK/core/protocol/paho/client.py;endline=14;md5=5a3c8a1a4bb71bd934f450ecff972ad9 \
"
SRC_URI[md5sum] = "97e8cf0d40ef3765d979c19b534a716d"
SRC_URI[sha256sum] = "d68cbff396143e837b4c23b6621d3b7ae374281afc75eed8e51a28625d9125ba"
inherit pypi
PYPI_PACKAGE = "AWSIoTPythonSDK"
do_install_append() {
install -d -m0755 ${D}${datadir}/${BPN}/examples
cp --preserve=mode,timestamps -R ${S}/samples/* ${D}${datadir}/${BPN}/examples
# this requires the full blown AWS Python SDK
rm -r ${D}${datadir}/${BPN}/examples/basicPubSub
}
PACKAGES =+ "${PN}-examples"
RDEPENDS_${PN} += " \
${PYTHON_PN}-crypt \
${PYTHON_PN}-datetime \
${PYTHON_PN}-io \
${PYTHON_PN}-json \
${PYTHON_PN}-logging \
${PYTHON_PN}-math \
${PYTHON_PN}-netclient \
${PYTHON_PN}-numbers \
${PYTHON_PN}-threading \
"
RDEPENDS_${PN}-examples += "${PN}"
FILES_${PN}-examples = "${datadir}/${BPN}/examples"
BBCLASSEXTEND = "native nativesdk"

View File

@ -0,0 +1,4 @@
inherit setuptools
require python-aws-iot-device-sdk-python.inc
RDEPENDS_${PN}-examples += "${PYTHON_PN}-argparse"

View File

@ -0,0 +1,25 @@
DESCRIPTION = "A collection of tools for internationalizing Python applications"
HOMEPAGE = "http://babel.edgewall.org/"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e6eeaabc92cfc2d03f53e789324d7292"
SRC_URI[md5sum] = "152a6b17fe4110b95675aceb9af9fab2"
SRC_URI[sha256sum] = "8ce4cb6fdd4393edd323227cba3a077bceb2a6ce5201c902c65e730046f41f14"
PYPI_PACKAGE = "Babel"
inherit pypi
CLEANBROKEN = "1"
RDEPENDS_${PN} += " \
${PYTHON_PN}-codecs \
${PYTHON_PN}-difflib \
${PYTHON_PN}-distutils \
${PYTHON_PN}-netserver \
${PYTHON_PN}-numbers \
${PYTHON_PN}-pickle \
${PYTHON_PN}-pytz \
${PYTHON_PN}-shell \
${PYTHON_PN}-threading \
"

View File

@ -0,0 +1,6 @@
inherit setuptools
require python-babel.inc
RDEPENDS_${PN} += " \
${PYTHON_PN}-subprocess \
"

View File

@ -0,0 +1,18 @@
SUMMARY = "collections.abc from Python 3.4"
DESCRIPTION = "A backport of recent additions to the 'collections.abc' module"
LICENSE = "PSF"
LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=dd98d01d471fac8d8dbdd975229dba03"
# pypi package doesn't have valid entry for license
SRC_URI += "https://raw.githubusercontent.com/cython/backports_abc/master/LICENSE;name=license"
SRC_URI[md5sum] = "0b65a216ce9dc9c1a7e20a729dd7c05b"
SRC_URI[sha256sum] = "8b3e4092ba3d541c7a2f9b7d0d9c0275b21c6a01c53a61c731eba6686939d0a5"
SRC_URI[license.md5sum] = "dd98d01d471fac8d8dbdd975229dba03"
SRC_URI[license.sha256sum] = "0a4f3b38055f50f047a42521568fa6ddb9a5976c2884f6ae138796d0f71150ca"
PYPI_PACKAGE = "backports_abc"
inherit pypi setuptools

View File

@ -0,0 +1,19 @@
SUMMARY = "Backport of functools.lru_cache from Python 3.3"
HOMEPAGE = "https://github.com/jaraco/backports.functools_lru_cache"
SECTION = "devel/python"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://setup.py;beginline=47;endline=47;md5=98fc3658e5970d26f6b2109808c766be"
PYPI_PACKAGE = "backports.functools_lru_cache"
SRC_URI[md5sum] = "b954e7d5e2ca0f0f66ad2ed12ba800e5"
SRC_URI[sha256sum] = "31f235852f88edc1558d428d890663c49eb4514ffec9f3650e7f3c9e4a12e36f"
DEPENDS += "python-setuptools-scm-native"
inherit setuptools pypi
RDEPENDS_${PN} += "\
${PYTHON_PN}-pickle \
${PYTHON_PN}-threading \
"

View File

@ -0,0 +1,18 @@
SUMMARY = "The ssl.match_hostname() function from Python 3.4"
DESCRIPTION = "The Secure Sockets layer is only actually secure if you check the hostname in the \
certificate returned by the server to which you are connecting, and verify that it matches to hostname \
that you are trying to reach. But the matching logic, defined in RFC2818, can be a bit tricky to implement \
on your own. So the ssl package in the Standard Library of Python 3.2 and greater now includes a \
match_hostname() function for performing this check instead of requiring every application to \
implement the check separately. This backport brings match_hostname() to users of earlier versions of Python"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://PKG-INFO;md5=95a5ee8fd779fbeca8b4cbca64433c87"
SRC_URI[md5sum] = "c03fc5e2c7b3da46b81acf5cbacfe1e6"
SRC_URI[sha256sum] = "502ad98707319f4a51fa2ca1c677bd659008d27ded9f6380c79e8932e38dcdf2"
PYPI_PACKAGE = "backports.ssl_match_hostname"
inherit pypi setuptools
RDEPENDS_${PN} += "${PYTHON_PN}-pkgutil"

View File

@ -0,0 +1,17 @@
DESCRIPTION = "Modern password hashing for your software and your servers."
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=8f7bb094c7232b058c7e9f2e431f389c"
DEPENDS += "${PYTHON_PN}-cffi-native"
SRC_URI[md5sum] = "8408abc974446e64862a9742104e97b6"
SRC_URI[sha256sum] = "67ed1a374c9155ec0840214ce804616de49c3df9c5bc66740687c1c9b1cd9e8d"
inherit pypi
RDEPENDS_${PN}_class-target += "\
${PYTHON_PN}-cffi \
${PYTHON_PN}-ctypes \
${PYTHON_PN}-shell \
${PYTHON_PN}-six \
"

View File

@ -0,0 +1,6 @@
inherit setuptools
require python-bcrypt.inc
RDEPENDS_${PN} += "\
${PYTHON_PN}-subprocess \
"

View File

@ -0,0 +1,17 @@
SUMMARY = "Screen-scraping library"
HOMEPAGE = " https://www.crummy.com/software/BeautifulSoup/bs4"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=f2d38d8a40bf73fd4b3d16ca2e5882d1"
SRC_URI[md5sum] = "c17714d0f91a23b708a592cb3c697728"
SRC_URI[sha256sum] = "808b6ac932dccb0a4126558f7dfdcf41710dd44a4ef497a0bb59a77f9f078e89"
inherit pypi
RDEPENDS_${PN}_class-target = "\
${PYTHON_PN}-core \
${PYTHON_PN}-html5lib \
${PYTHON_PN}-lxml \
"
BBCLASSEXTEND = "native nativesdk"

View File

@ -0,0 +1,2 @@
inherit setuptools
require python-beautifulsoup4.inc

View File

@ -0,0 +1,10 @@
SUMMARY = "A behavior-driven development framework, Python style"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=d950439e8ea6ed233e4288f5e1a49c06"
SRC_URI[md5sum] = "3f05c859a1c45f5ed33e925817ad887d"
SRC_URI[sha256sum] = "b9662327aa53294c1351b0a9c369093ccec1d21026f050c3bd9b3e5cccf81a86"
RDEPENDS_${PN} += "python-difflib python-setuptools python-pkgutil python-misc python-argparse python-xml python-enum34 python-parse python-parse-type python-six"
inherit pypi setuptools

View File

@ -0,0 +1,11 @@
SUMMARY = "A high-level Python efficient arrays of booleans -- C extension"
HOMEPAGE = "https://github.com/ilanschnell/bitarray"
LICENSE = "PSF"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3ba469353f9f2a244b2075902351e37d"
SRC_URI[md5sum] = "3825184f54f4d93508a28031b4c65d3b"
SRC_URI[sha256sum] = "7da501356e48a83c61f479393681c1bc4b94e5a34ace7e08cb29e7dd9290ab18"
inherit pypi
BBCLASSEXTEND = "native nativesdk"

View File

@ -0,0 +1,2 @@
inherit setuptools
require python-bitarray.inc

View File

@ -0,0 +1,7 @@
DESCRIPTION = "Fast, simple object-to-object and broadcast signaling."
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://PKG-INFO;md5=946d7e89af6f7733aeaebed5635d2682"
SRC_URI[md5sum] = "8b3722381f83c2813c52de3016b68d33"
SRC_URI[sha256sum] = "471aee25f3992bd325afa3772f1063dbdbbca947a041b8b89466dc00d606f8b6"

View File

@ -0,0 +1,2 @@
inherit pypi setuptools
require python-blinker.inc

View File

@ -0,0 +1,17 @@
SUMMARY = "Controller Area Network (CAN) interface module for Python"
SECTION = "devel/python"
LICENSE = "LGPLv3"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=38138baa100d7259934590850bc0406e"
SRC_URI[md5sum] = "3310f0aa2a8492d0ff614ecf636ec8a8"
SRC_URI[sha256sum] = "4a5c01dd67feeda35f88e6c12ea14ac8cabd426b9be0cc5f9fd083fe90a9dbfc"
PYPI_PACKAGE="python-can"
RDEPENDS_${PN}_class-target += "\
${PYTHON_PN}-ctypes \
${PYTHON_PN}-logging \
${PYTHON_PN}-misc \
${PYTHON_PN}-netserver \
${PYTHON_PN}-sqlite3 \
"

View File

@ -0,0 +1,8 @@
require python-can.inc
inherit pypi setuptools
RDEPENDS_${PN}_class-target += "\
${PYTHON_PN}-argparse \
${PYTHON_PN}-subprocess \
${PYTHON_PN}-zlib \
"

View File

@ -0,0 +1,33 @@
SUMMARY = "DataStax Python Driver for Apache Cassandra"
DESCRIPTION = "A modern, feature-rich and highly-tunable Python client \
library for Apache Cassandra (1.2+) and DataStax Enterprise (3.1+) using \
exclusively Cassandra's binary protocol and Cassandra Query Language v3."
HOMEPAGE = "https://github.com/datastax/python-driver"
SECTION = "devel/python"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
SRCNAME = "cassandra-driver"
SRC_URI[md5sum] = "5c8b4a3adfc48180e8ec38b8c4e996fd"
SRC_URI[sha256sum] = "61b670fb2ba95d51d91fa7b589aae3666df494713f5d1ed78bb5c510778d77f0"
DISTUTILS_BUILD_ARGS += " \
--no-libev \
"
DISTUTILS_INSTALL_ARGS += " \
--no-libev \
"
inherit pypi
RDEPENDS_${PN} += "\
${PYTHON_PN}-cython \
${PYTHON_PN}-multiprocessing \
${PYTHON_PN}-six \
${PYTHON_PN}-json \
libevent \
"
DEPENDS_${PN} += "\
${PYTHON_PN}-cython \
"

View File

@ -0,0 +1,13 @@
SUMMARY = "Python package for providing Mozilla's CA Bundle."
DESCRIPTION = "This installable Python package contains a CA Bundle that you can reference in your \
Python code. This is useful for verifying HTTP requests, for example. This is the same CA Bundle \
which ships with the Requests codebase, and is derived from Mozilla Firefox's canonical set."
HOMEPAGE = " http://certifi.io/"
LICENSE = "ISC"
LIC_FILES_CHKSUM = "file://LICENSE;md5=f77f61d14ee6feac4228d3ebd26cc1f1"
SRC_URI[md5sum] = "068fd5c3c690ae47504b3e0bf4e56c4c"
SRC_URI[sha256sum] = "edbc3f203427eef571f79a7692bb160a2b0f7ccaa31953e99bd17e307cf63f7d"
BBCLASSEXTEND = "native nativesdk"

View File

@ -0,0 +1,2 @@
inherit pypi setuptools
require python-certifi.inc

View File

@ -0,0 +1,16 @@
SUMMARY = "Foreign Function Interface for Python calling C code"
HOMEPAGE = "http://cffi.readthedocs.org/"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=5677e2fdbf7cdda61d6dd2b57df547bf"
DEPENDS += "libffi ${PYTHON_PN}-pycparser"
SRC_URI[md5sum] = "ac8492f4ad952360737413e82d661908"
SRC_URI[sha256sum] = "e90f17980e6ab0f3c2f3730e56d1fe9bcba1891eeea58966e89d352492cc74f4"
RDEPENDS_${PN}_class-target = " \
${PYTHON_PN}-ctypes \
${PYTHON_PN}-io \
${PYTHON_PN}-shell \
"
BBCLASSEXTEND = "native nativesdk"

View File

@ -0,0 +1,6 @@
require python-cffi.inc
inherit pypi setuptools
RDEPENDS_${PN} += " \
${PYTHON_PN}-subprocess \
"

View File

@ -0,0 +1,23 @@
SUMMARY = "Universal encoding detector for Python 2 and 3"
LICENSE = "LGPL-2.1"
LIC_FILES_CHKSUM = "file://LICENSE;md5=a6f89e2100d9b6cdffcea4f398e37343"
inherit pypi
# setup.py of chardet needs this.
DEPENDS += "${PYTHON_PN}-pytest-runner-native"
SRC_URI[md5sum] = "7dd1ba7f9c77e32351b0a0cfacf4055c"
SRC_URI[sha256sum] = "84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae"
BBCLASSEXTEND = "native nativesdk"
PACKAGES =+ "${PN}-cli"
RDEPENDS_${PN}-cli = "${PN} "
FILES_${PN}-cli += " \
${PYTHON_SITEPACKAGES_DIR}/chardet/cli \
"
RDEPENDS_${PN}_class-target += " \
${PYTHON_PN}-logging \
"

View File

@ -0,0 +1,4 @@
inherit setuptools
require python-chardet.inc
RDEPENDS_${PN} += "${PYTHON_PN}-argparse"

View File

@ -0,0 +1,16 @@
SUMMARY = "Python template engine and code generation tool"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=aff1107514aa6aae948f9fe71fdc393b"
PR = "r3"
PYPI_PACKAGE = "Cheetah"
inherit pypi setuptools
RDEPENDS_${PN} = "python-pickle python-pprint"
RDEPENDS_${PN}_class-native = ""
BBCLASSEXTEND = "native nativesdk"
SRC_URI[md5sum] = "853917116e731afbc8c8a43c37e6ddba"
SRC_URI[sha256sum] = "be308229f0c1e5e5af4f27d7ee06d90bb19e6af3059794e5fd536a6f29a9b550"

View File

@ -0,0 +1,23 @@
SUMMARY = "A simple wrapper around optparse for powerful command line utilities."
DESCRIPTION = "\
Click is a Python package for creating beautiful command line interfaces \
in a composable way with as little code as necessary. It's the "Command \
Line Interface Creation Kit". It's highly configurable but comes with \
sensible defaults out of the box."
HOMEPAGE = "http://click.pocoo.org/"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=09e8b7869f94ba9e9a7b260d53c65dab"
SRC_URI[md5sum] = "fc4cc00c4863833230d3af92af48abd4"
SRC_URI[sha256sum] = "f15516df478d5a56180fbf80e68f206010e6d160fc39fa508b65e035fd75130b"
UPSTREAM_CHECK_REGEX = "click/(?P<pver>\d+(\.\d+)+)/"
CLEANBROKEN = "1"
RDEPENDS_${PN} += "\
${PYTHON_PN}-io \
${PYTHON_PN}-threading \
"
BBCLASSEXTEND = "native nativesdk"

View File

@ -0,0 +1,4 @@
inherit pypi setuptools
require python-click.inc
RDEPENDS_${PN} += "${PYTHON_PN}-contextlib"

View File

@ -0,0 +1,21 @@
SUMMARY = "Extra features for standard library's cmd module"
HOMEPAGE = "http://packages.python.org/cmd2/"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://setup.py;beginline=51;endline=51;md5=0f13c9cfc75288223cf7edd2f3b985a2"
SRC_URI[md5sum] = "701b916ffac99137bea413205106f993"
SRC_URI[sha256sum] = "d09976f9ad2327883c2d07b5acb42e66ad52b17e352873c22041ed124bfe8aba"
inherit pypi setuptools
RDEPENDS_${PN} += "\
${PYTHON_PN}-doctest \
${PYTHON_PN}-pyparsing \
${PYTHON_PN}-pyperclip \
${PYTHON_PN}-shell \
${PYTHON_PN}-six \
${PYTHON_PN}-stringold \
${PYTHON_PN}-subprocess \
${PYTHON_PN}-threading \
${PYTHON_PN}-textutils \
"

View File

@ -0,0 +1,11 @@
SUMMARY = "This module provides the ConfigParser class which implements a basic configuration language which provides a structure similar to whats found in Microsoft Windows INI files."
SECTION = "devel/python"
HOMEPAGE = "https://docs.python.org/3/library/configparser.html"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489"
SRC_URI[md5sum] = "cfdd915a5b7a6c09917a64a573140538"
SRC_URI[sha256sum] = "5308b47021bc2340965c371f0f058cc6971a04502638d4244225c49d80db273a"
inherit pypi

View File

@ -0,0 +1,2 @@
inherit setuptools
require python-configparser.inc

View File

@ -0,0 +1,11 @@
DESCRIPTION = "Symbolic constants in Python"
HOMEPAGE = "https://github.com/twisted/constantly"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e393e4ddd223e3a74982efa784f89fd7"
SRC_URI[md5sum] = "f0762f083d83039758e53f8cf0086eef"
SRC_URI[sha256sum] = "586372eb92059873e29eba4f9dec8381541b4d3834660707faf8ba59146dfc35"
inherit pypi
RDEPENDS_${PN} += "${PYTHON_PN}-json"

View File

@ -0,0 +1,2 @@
inherit setuptools
require python-constantly.inc

View File

@ -0,0 +1,18 @@
SUMMARY = "Test vectors for the cryptography package."
HOMEPAGE = "https://cryptography.io/"
SECTION = "devel/python"
LICENSE = "Apache-2.0 | BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4"
DEPENDS += " \
${PYTHON_PN}-cryptography \
"
SRC_URI[md5sum] = "303a08ff50a5590d0ba05252981417ee"
SRC_URI[sha256sum] = "cf601c7d87ad6a938bcea29062375dce1d3e26dabd1db52bbc37eeaf4aac970d"
PYPI_PACKAGE = "cryptography_vectors"
BBCLASSEXTEND = "native nativesdk"
UPSTREAM_CHECK_REGEX = ""

View File

@ -0,0 +1,2 @@
inherit pypi setuptools
require python-cryptography-vectors.inc

View File

@ -0,0 +1,58 @@
SUMMARY = "Provides cryptographic recipes and primitives to python developers"
HOMEPAGE = "https://cryptography.io/"
LICENSE = "Apache-2.0 | BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=097f805837700cfac572ac274cd38124"
DEPENDS += " \
${PYTHON_PN}-cffi \
${PYTHON_PN}-cffi-native \
${PYTHON_PN}-asn1crypto \
${PYTHON_PN}-six \
"
SRC_URI[md5sum] = "c49c1ee145a900313a216fa2c788208c"
SRC_URI[sha256sum] = "f5a0279e362c37e2150a32fe35ec20226e9237b6c9927fce8d53ef8e49e64f48"
RDEPENDS_${PN} += " \
${PYTHON_PN}-cffi \
${PYTHON_PN}-idna \
${PYTHON_PN}-asn1crypto \
${PYTHON_PN}-pycparser \
${PYTHON_PN}-setuptools \
${PYTHON_PN}-six \
"
RDEPENDS_${PN}_class-target += " \
${PYTHON_PN}-cffi \
${PYTHON_PN}-idna \
${PYTHON_PN}-numbers \
${PYTHON_PN}-asn1crypto \
${PYTHON_PN}-pycparser \
${PYTHON_PN}-setuptools \
${PYTHON_PN}-six \
${PYTHON_PN}-threading \
"
RDEPENDS_${PN}-ptest += " \
${PN} \
${PYTHON_PN}-cryptography-vectors \
${PYTHON_PN}-iso8601 \
${PYTHON_PN}-pretend \
${PYTHON_PN}-pytest \
${PYTHON_PN}-pytz \
"
inherit ptest
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
install -d ${D}${PTEST_PATH}/tests/hazmat
cp -rf ${S}/tests/hazmat/* ${D}${PTEST_PATH}/tests/hazmat/
}
FILES_${PN}-dbg += " \
${libdir}/${PYTHON_PN}2.7/site-packages/${SRCNAME}/hazmat/bindings/.debug \
"
BBCLASSEXTEND = "native nativesdk"

View File

@ -0,0 +1,2 @@
#!/bin/sh
py.test

View File

@ -0,0 +1,22 @@
inherit pypi setuptools
require python-cryptography.inc
SRC_URI += " \
file://run-ptest \
"
DEPENDS += " \
${PYTHON_PN}-enum34 \
"
RDEPENDS_${PN} += " \
${PYTHON_PN}-enum34 \
${PYTHON_PN}-ipaddress \
"
RDEPENDS_${PN}_class-target += " \
${PYTHON_PN}-enum34 \
${PYTHON_PN}-ipaddress \
${PYTHON_PN}-contextlib \
${PYTHON_PN}-subprocess \
"

View File

@ -0,0 +1,40 @@
DESCRIPTION = "Cython is a language specially designed for writing Python extension modules. \
It's designed to bridge the gap between the nice, high-level, easy-to-use world of Python \
and the messy, low-level world of C."
SECTION = "devel/python"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa"
PYPI_PACKAGE = "Cython"
BBCLASSEXTEND = "native nativesdk"
SRC_URI[md5sum] = "0e0568d6bed4b09ad01afe0a38805305"
SRC_URI[sha256sum] = "634e2f10fc8d026c633cffacb45cd8f4582149fa68e1428124e762dbc566e68a"
inherit pypi
RDEPENDS_${PN}_class-target += "\
${PYTHON_PN}-misc \
${PYTHON_PN}-netserver \
${PYTHON_PN}-pkgutil \
${PYTHON_PN}-pyparsing \
${PYTHON_PN}-setuptools \
${PYTHON_PN}-shell \
${PYTHON_PN}-xml \
"
RDEPENDS_${PN}_class-nativesdk += "\
nativesdk-${PYTHON_PN}-misc \
nativesdk-${PYTHON_PN}-netserver \
nativesdk-${PYTHON_PN}-pkgutil \
nativesdk-${PYTHON_PN}-pyparsing \
nativesdk-${PYTHON_PN}-setuptools \
nativesdk-${PYTHON_PN}-shell \
nativesdk-${PYTHON_PN}-xml \
"
do_install_append() {
# Make sure we use /usr/bin/env python
for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do
sed -i -e '1s|^#!.*|#!/usr/bin/env ${PYTHON_PN}|' $PYTHSCRIPT
done
}

View File

@ -0,0 +1,10 @@
inherit setuptools
require python-cython.inc
UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/Cython/"
UPSTREAM_CHECK_REGEX = "/Cython/(?P<pver>(\d+[\.\-_]*)+)"
RDEPENDS_${PN} += "\
${PYTHON_PN}-distribute \
${PYTHON_PN}-subprocess \
"

View File

@ -0,0 +1,31 @@
From 0981eee9f0198c2045dc0eaa78a005d06fc7bfe4 Mon Sep 17 00:00:00 2001
From: Carlos Eduardo Moreira dos Santos <cems@cemshost.com.br>
Date: Tue, 28 Mar 2017 18:23:44 -0300
Subject: [PATCH] Workaround for issue 2 [1]
[1] https://pagure.io/python-daemon/issue/2
---
version.py | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/version.py b/version.py
index d58422a377ee..293e2d64c2b7 100644
--- a/version.py
+++ b/version.py
@@ -648,9 +648,10 @@ class ChangelogAwareDistribution(distutils.dist.Distribution, object):
@lru_cache(maxsize=128)
def get_version_info(self):
- changelog_path = get_changelog_path(self)
- version_info = generate_version_info_from_changelog(changelog_path)
- return version_info
+ return {
+ 'version': '2.1.2',
+ 'maintainer': 'Ben Finney'
+ }
def get_version(self):
version_info = self.get_version_info()
--
2.7.4

View File

@ -0,0 +1,27 @@
DESCRIPTION = "Library to implement a well-behaved Unix daemon process"
HOMEPAGE = "https://pagure.io/python-daemon/"
SECTION = "devel/python"
DEPENDS = "python-docutils"
RDEPENDS_${PN} = "python-docutils \
python-lockfile (>= 0.10) \
python-resource \
"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
inherit pypi setuptools
SRC_URI[md5sum] = "9c57343d81f2a96c51cffeab982b04d2"
SRC_URI[sha256sum] = "261c859be5c12ae7d4286dc6951e87e9e1a70a882a8b41fd926efc1ec4214f73"
# Fix for build error in Yocto:
# i = p.rfind('/') + 1
# AttributeError: 'NoneType' object has no attribute 'rfind'
#S = "${WORKDIR}/python-daemon"
SRC_URI_append = " \
file://0001-Workaround-for-issue-2-1.patch \
"
PYPI_PACKAGE = "python-daemon"

View File

@ -0,0 +1,16 @@
SUMMARY = "Library to enable your code run as a daemon process on Unix-like systems"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=13e982bf1b7b164b9d6d1665dac83873"
SRCNAME = "daemonize"
inherit pypi setuptools
RDEPENDS_${PN} = "\
python-fcntl \
python-unixadmin \
python-logging \
python-resource \
"
SRC_URI[md5sum] = "6759005b12dfeea0d4305f8536b4b0c2"
SRC_URI[sha256sum] = "c0194e861826be456c7c69985825ac7b79632d8ac7ad4cde8e12fee7971468c8"

View File

@ -0,0 +1,21 @@
SUMMARY = "Extensions to the standard Python datetime module"
DESCRIPTION = "The dateutil module provides powerful extensions to the datetime module available in the Python standard library."
HOMEPAGE = "https://dateutil.readthedocs.org"
LICENSE = "BSD-3-Clause & Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e3155c7bdc71f66e02678411d2abf996"
SRC_URI[md5sum] = "03a08c8bcf0a2b29f1cd21b9de4d12fb"
SRC_URI[sha256sum] = "9d8074be4c993fbe4947878ce593052f71dac82932a677d49194d8ce9778002e"
PYPI_PACKAGE = "python-dateutil"
inherit pypi
PACKAGES =+ "${PN}-zoneinfo"
FILES_${PN}-zoneinfo = "${libdir}/${PYTHON_DIR}/site-packages/dateutil/zoneinfo"
RDEPENDS_${PN}_class-target = "\
${PYTHON_PN}-datetime \
${PYTHON_PN}-numbers \
${PYTHON_PN}-six \
${PYTHON_PN}-stringold \
"

View File

@ -0,0 +1,2 @@
inherit setuptools
require python-dateutil.inc

View File

@ -0,0 +1,32 @@
SUMMARY = "Python bindings for the DBus inter-process communication system"
SECTION = "devel/python"
HOMEPAGE = "http://www.freedesktop.org/Software/dbus"
LICENSE = "MIT & AFL-2.1 | GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=b03240518994df6d8c974675675e5ca4 \
file://dbus-gmain/COPYING;md5=05c3eacd50f69bb1d58afec460baad57 "
DEPENDS = "expat dbus dbus-glib virtual/libintl python-pyrex-native"
SRC_URI = "http://dbus.freedesktop.org/releases/dbus-python/dbus-python-${PV}.tar.gz \
"
SRC_URI[md5sum] = "1ce1ddf2582060f8f971652ea54cc17e"
SRC_URI[sha256sum] = "32f29c17172cdb9cb61c68b1f1a71dfe7351506fc830869029c47449bd04faeb"
S = "${WORKDIR}/dbus-python-${PV}"
inherit distutils-base autotools pkgconfig
PACKAGECONFIG ?= ""
PACKAGECONFIG[docs] = "--enable-html-docs,--disable-html-docs,python3-docutils-native"
PACKAGECONFIG[api-docs] = "--enable-api-docs,--disable-api-docs,python3-docutils-native python3-epydoc-native"
export STAGING_LIBDIR
export STAGING_INCDIR
RDEPENDS_${PN} = "python-io python-logging python-stringold python-threading python-xml"
FILES_${PN}-dev += "${libdir}/pkgconfig"
do_install_append() {
# Remove files that clash with python3-dbus; their content is same
rm ${D}${includedir}/dbus-1.0/dbus/dbus-python.h ${D}${libdir}/pkgconfig/dbus-python.pc
}

View File

@ -0,0 +1,52 @@
From c4436fd42f2936e5fb0f95434d06e45aa9959ca0 Mon Sep 17 00:00:00 2001
From: Simon Busch <simon.busch@lge.com>
Date: Wed, 9 Apr 2014 13:18:33 +0200
Subject: [PATCH] Add functionality to add own objects to internal object
list
In some case the tests might want to create dynamically dbus objects which extended
functionality from own class definitions within templates. In such cases we need to
register those objects with the internal object manager of dbusmock.
Signed-off-by: Simon Busch <simon.busch@lge.com>
---
dbusmock/__init__.py | 4 ++--
dbusmock/mockobject.py | 8 ++++++++
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/dbusmock/__init__.py b/dbusmock/__init__.py
index 8a482ab..3d5d71a 100644
--- a/dbusmock/__init__.py
+++ b/dbusmock/__init__.py
@@ -14,8 +14,8 @@ __license__ = 'LGPL 3+'
__version__ = '0.16.7'
from dbusmock.mockobject import (DBusMockObject, MOCK_IFACE,
- OBJECT_MANAGER_IFACE, get_object, get_objects)
+ OBJECT_MANAGER_IFACE, get_object, get_objects, add_object)
from dbusmock.testcase import DBusTestCase
__all__ = ['DBusMockObject', 'MOCK_IFACE', 'OBJECT_MANAGER_IFACE',
- 'DBusTestCase', 'get_object', 'get_objects']
+ 'DBusTestCase', 'get_object', 'get_objects', 'add_object']
diff --git a/dbusmock/mockobject.py b/dbusmock/mockobject.py
index 586dbad..e4f130f 100644
--- a/dbusmock/mockobject.py
+++ b/dbusmock/mockobject.py
@@ -688,6 +688,14 @@ dbus.service._method_lookup = _dbusmock_method_lookup
# Helper API for templates
#
+def add_object(path, obj):
+ if path in objects:
+ raise dbus.exceptions.DBusException(
+ 'org.freedesktop.DBus.Mock.NameError',
+ 'object %s already exists' % path)
+
+ objects[path] = obj
+
def get_objects():
'''Return all existing object paths'''

View File

@ -0,0 +1,27 @@
From 03bd5cb77c54033857810bb17562859eefa41221 Mon Sep 17 00:00:00 2001
From: Simon Busch <simon.busch@lge.com>
Date: Wed, 9 Apr 2014 13:20:33 +0200
Subject: [PATCH] Add possibility to import templates from packages
Does not have any unit tests yet.
Signed-off-by: Simon Busch <simon.busch@lge.com>
---
dbusmock/mockobject.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dbusmock/mockobject.py b/dbusmock/mockobject.py
index e4f130f..389df70 100644
--- a/dbusmock/mockobject.py
+++ b/dbusmock/mockobject.py
@@ -46,6 +46,9 @@ def load_module(name):
exec(f.read(), mod.__dict__, mod.__dict__)
return mod
+ if '.' in name:
+ return importlib.import_module(name)
+
return importlib.import_module('dbusmock.templates.' + name)

View File

@ -0,0 +1,25 @@
# Copyright (c) 2014 LG Electronics, Inc.
SUMMARY = "With this program/Python library you can easily create mock objects on D-Bus"
AUTHOR = "Martin Pitt <martin.pitt@ubuntu.com>"
LICENSE = "GPL-3.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=e6a600fd5e1d9cbde2d983680233ad02"
SRC_URI[md5sum] = "80f8caa838fad96483a8751e11d384f9"
SRC_URI[sha256sum] = "2d2ea892fa4633c3ec6ac1e912120ec493047a5c6522849b7d1c95ad755bce75"
SRC_URI += " \
file://0001-Add-functionality-to-add-own-objects-to-internal-obj.patch \
file://0002-Add-possibility-to-import-templates-from-packages.patch \
"
PYPI_PACKAGE = "python-dbusmock"
inherit pypi setuptools
RDEPENDS_${PN} += "\
${PYTHON_PN}-dbus \
${PYTHON_PN}-pygobject \
${PYTHON_PN}-xml \
"

View File

@ -0,0 +1,19 @@
SUMMARY = "Python decorator utilities"
DESCRIPTION = "\
The aim of the decorator module it to simplify the usage of decorators \
for the average programmer, and to popularize decorators by showing \
various non-trivial examples. Of course, as all techniques, decorators \
can be abused and you should not try to solve every problem with a \
decorator, just because you can."
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=893f896413826096ce5270c700a498fd"
SRC_URI[md5sum] = "249e7299b9b4bced0c382343f84eb1c0"
SRC_URI[sha256sum] = "c39efa13fbdeb4506c476c9b3babf6a718da943dab7811c206005a4a956c080c"
inherit pypi
RDEPENDS_${PN} += "\
${PYTHON_PN}-stringold \
"

View File

@ -0,0 +1,4 @@
inherit setuptools
require python-decorator.inc
RDEPENDS_${PN} += "${PYTHON_PN}-contextlib"

View File

@ -0,0 +1,17 @@
SUMMARY = "Migrations for Django"
DESCRIPTION = "South is an intelligent database migrations library for the Django web framework. It is database-independent and DVCS-friendly, as well as a whole host of other features."
HOMEPAGE = "http://south.aeracode.org/"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=17;endline=18;md5=2155d8ae21e7c23101d5febac696b27e"
SRC_URI[md5sum] = "c76a9758b2011bc3b6c39f881bba2f66"
SRC_URI[sha256sum] = "d360bd31898f9df59f6faa786551065bba45b35e7ee3c39b381b4fbfef7392f4"
PYPI_PACKAGE = "South"
inherit pypi
BBCLASSEXTEND = "native nativesdk"
RDEPENDS_${PN} += "\
${PYTHON_PN}-django \
"

View File

@ -0,0 +1,2 @@
require python-django-south.inc
inherit setuptools

View File

@ -0,0 +1,32 @@
SUMMARY = "A high-level Python Web framework"
HOMEPAGE = "http://www.djangoproject.com/"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa"
SRC_URI[md5sum] = "f306015e16a8d5024dbac923ac34fffb"
SRC_URI[sha256sum] = "22383567385a9c406d8a5ce080a2694c82c6b733e157922197e8b393bb3aacd9"
PYPI_PACKAGE = "Django"
inherit pypi
FILES_${PN} += "${datadir}/django"
BBCLASSEXTEND = "native nativesdk"
RDEPENDS_${PN} += "\
${PYTHON_PN}-compression \
${PYTHON_PN}-ctypes \
${PYTHON_PN}-datetime \
${PYTHON_PN}-email \
${PYTHON_PN}-html \
${PYTHON_PN}-json \
${PYTHON_PN}-logging \
${PYTHON_PN}-multiprocessing \
${PYTHON_PN}-netserver \
${PYTHON_PN}-numbers \
${PYTHON_PN}-pkgutil \
${PYTHON_PN}-pytz \
${PYTHON_PN}-threading \
${PYTHON_PN}-unixadmin \
${PYTHON_PN}-xml \
"

View File

@ -0,0 +1,8 @@
require python-django.inc
inherit setuptools
RDEPENDS_${PN} += " \
${PYTHON_PN}-argparse \
${PYTHON_PN}-subprocess \
${PYTHON_PN}-zlib \
"

View File

@ -0,0 +1,20 @@
DESCRIPTION = "DNS toolkit for Python"
HOMEPAGE = "http://www.dnspython.org/"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=b9d855ee0d7bea17c8b0994d37985e1e"
SRC_URI[md5sum] = "05d33ffb5d8f35ae0474bb952778a344"
SRC_URI[sha256sum] = "40f563e1f7a7b80dc5a4e76ad75c23da53d62f1e15e6e517293b04e1f84ead7c"
PYPI_PACKAGE_EXT = "zip"
inherit pypi
RDEPENDS_${PN} += " \
${PYTHON_PN}-crypt \
${PYTHON_PN}-io \
${PYTHON_PN}-math \
${PYTHON_PN}-netclient \
${PYTHON_PN}-numbers \
${PYTHON_PN}-threading \
"

View File

@ -0,0 +1,2 @@
inherit setuptools
require python-dnspython.inc

View File

@ -0,0 +1,18 @@
SUMMARY = "Text processing system for documentation"
HOMEPAGE = "http://docutils.sourceforge.net"
SECTION = "devel/python"
LICENSE = "PSF & BSD-2-Clause & GPLv3"
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=35a23d42b615470583563132872c97d6"
DEPENDS = "python"
SRC_URI = "${SOURCEFORGE_MIRROR}/docutils/docutils-${PV}.tar.gz"
SRC_URI[md5sum] = "2f4bee6451958252f7bec71f18b05be3"
SRC_URI[sha256sum] = "3caee0bcb2a49fdf24fcfa70849a60abb7a181aa68b030f7cb7494096181830c"
S = "${WORKDIR}/docutils-${PV}"
inherit distutils
BBCLASSEXTEND = "native"

View File

@ -0,0 +1,11 @@
SUMMARY = "Dominate is a Python library for creating and manipulating HTML documents using an elegant DOM API."
LICENSE = "LGPLv3"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b52f2d57d10c4f7ee67a7eb9615d5d24"
SRC_URI[md5sum] = "45bd97e6f7888aac24ae86013c57638e"
SRC_URI[sha256sum] = "4b8ce6f33633c9dd9175b228d21c00c801b6bd0327747cd5e17fc2da934c3a69"
RDEPENDS_${PN} += "\
${PYTHON_PN}-numbers \
${PYTHON_PN}-threading \
"

View File

@ -0,0 +1,2 @@
inherit pypi setuptools
require python-dominate.inc

View File

@ -0,0 +1,9 @@
DESCRIPTION = "Programmatically open and editor, capture the result"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314"
SRC_URI[md5sum] = "0aca5f2ef176ce68e98a5b7e31372835"
SRC_URI[sha256sum] = "a3c066acee22a1c94f63938341d4fb374e3fdd69366ed6603d7b24bed1efc565"
PYPI_PACKAGE = "python-editor"

View File

@ -0,0 +1,2 @@
inherit pypi setuptools
require python-editor.inc

View File

@ -0,0 +1,11 @@
SUMMARY = "backport of Python 3.4's enum package"
HOMEPAGE = "https://bitbucket.org/stoneleaf/enum34"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://enum/LICENSE;md5=0a97a53a514564c20efd7b2e8976c87e"
SRC_URI[md5sum] = "5f13a0841a61f7fc295c514490d120d0"
SRC_URI[sha256sum] = "8ad8c4783bf61ded74527bffb48ed9b54166685e4230386a9ed9b1279e2df5b1"
inherit pypi setuptools
BBCLASSEXTEND = "native nativesdk"

View File

@ -0,0 +1,19 @@
DESCRIPTION = "Epydoc is a tool for generating API documentation for Python modules, based on their docstrings"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=011c0d78eb6054d731c879132d7313f0"
HOMEPAGE = "http://epydoc.sourceforge.net/"
SRC_URI[md5sum] = "cdd6f6c76dd8bab5e653a343a0544294"
SRC_URI[sha256sum] = "d4e5c8d90937d01b05170f592c1fa9b29e9ed0498dfe7f0eb2a3af61725b6ad1"
inherit pypi distutils
RDEPENDS_${PN} += "\
${PYTHON_PN}-codecs \
${PYTHON_PN}-pickle \
${PYTHON_PN}-stringold \
${PYTHON_PN}-re \
${PYTHON_PN}-xml \
"
BBCLASSEXTEND = "native"

View File

@ -0,0 +1,21 @@
SUMMARY = "Python evdev lib"
HOMEPAGE = "https://github.com/gvalkov/python-evdev"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=18debddbb3f52c661a129724a883a8e2"
SRC_URI[md5sum] = "c7e855ae9f97f869a59e75b29f05ce74"
SRC_URI[sha256sum] = "57edafc469a414f58b51af1bfb9ee2babb9f626dd2df530d71c1176871850aa1"
do_compile_prepend() {
rm -rf ${S}/evdev/ecodes.c
}
DISTUTILS_BUILD_ARGS = "build_ecodes --evdev-headers ${STAGING_DIR_TARGET}/usr/include/linux/input.h:${STAGING_DIR_TARGET}/usr/include/linux/input-event-codes.h"
RDEPENDS_${PN} += "\
${PYTHON_PN}-ctypes \
${PYTHON_PN}-fcntl \
${PYTHON_PN}-io \
${PYTHON_PN}-shell \
${PYTHON_PN}-stringold \
"

View File

@ -0,0 +1,2 @@
inherit pypi setuptools
require python-evdev.inc

View File

@ -0,0 +1,16 @@
DESCRIPTION = "A Python library for generating news feeds in RSS and Atom formats"
HOMEPAGE = "http://code.google.com/p/feedformatter/"
SECTION = "devel/python"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=258e3f39e2383fbd011035d04311008d"
SRCREV = "7391193c83e10420b5a2d8ef846d23fc368c6d85"
SRC_URI = "git://github.com/marianoguerra/feedformatter.git"
S = "${WORKDIR}/git"
RDEPENDS_${PN} += "\
${PYTHON_PN}-datetime \
${PYTHON_PN}-io \
${PYTHON_PN}-xml \
"

View File

@ -0,0 +1,2 @@
inherit setuptools
require python-feedformatter.inc

View File

@ -0,0 +1,17 @@
SUMMARY = "Python Atom and RSS feed parser"
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c21a7713ef6dc1b99644061c397e7c2a"
SRC_URI[md5sum] = "d552f7a2a55e8e33b2a3fe1082505b42"
SRC_URI[sha256sum] = "bd030652c2d08532c034c27fcd7c85868e7fa3cb2b17f230a44a6bbc92519bf9"
inherit pypi setuptools
RDEPENDS_${PN} += "\
${PYTHON_PN}-codecs \
${PYTHON_PN}-email \
${PYTHON_PN}-html \
${PYTHON_PN}-netserver \
${PYTHON_PN}-stringold \
"

View File

@ -0,0 +1,16 @@
DESCRIPTION = "i18n and l10n support for Flask based on babel and pytz"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=51917f3e8e858f5ae295a7d0e2eb3cc9"
SRC_URI[md5sum] = "07803453743f139309021572a799c6b3"
SRC_URI[sha256sum] = "c0d75710bd4b0fe866f9f2347de6e19208712f9cec006436b4c1c15d4cb0c939"
PYPI_PACKAGE = "Flask-Babel"
inherit pypi
RDEPENDS_${PN} += "\
${PYTHON_PN}-speaklater \
${PYTHON_PN}-babel \
${PYTHON_PN}-flask \
"

View File

@ -0,0 +1,2 @@
inherit pypi setuptools
require python-flask-babel.inc

View File

@ -0,0 +1,12 @@
DESCRIPTION = "Bcrypt hashing for Flask."
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=0ee2ee5bee7fe96597770e92db5719a8"
SRC_URI[md5sum] = "d345c36ac6637d3ca9fa942e238d00ca"
SRC_URI[sha256sum] = "d71c8585b2ee1c62024392ebdbc447438564e2c8c02b4e57b56a4cafd8d13c5f"
PYPI_PACKAGE = "Flask-Bcrypt"
inherit pypi setuptools
RDEPENDS_${PN} += "${PYTHON_PN}-bcrypt ${PYTHON_PN}-flask"

View File

@ -0,0 +1,14 @@
DESCRIPTION = "An extension that includes Bootstrap in your project, without any boilerplate code."
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://PKG-INFO;md5=a03749709f06118a17349deb5a210619"
SRC_URI[md5sum] = "e40d50f5c5b6438c1c6200a6f2871f81"
SRC_URI[sha256sum] = "cb08ed940183f6343a64e465e83b3a3f13c53e1baabb8d72b5da4545ef123ac8"
PYPI_PACKAGE = "Flask-Bootstrap"
RDEPENDS_${PN} += "\
${PYTHON_PN}-dominate \
${PYTHON_PN}-flask \
${PYTHON_PN}-visitor \
"

View File

@ -0,0 +1,2 @@
inherit pypi setuptools
require python-flask-bootstrap.inc

View File

@ -0,0 +1,14 @@
SUMMARY = "User session management for Flask"
DESCRIPTION = "Flask-Login provides user session management for Flask. \
It handles the common tasks of logging in, logging out, and remembering \
your users sessions over extended periods of time."
HOMEPAGE = " https://github.com/maxcountryman/flask-login"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=8aa87a1cd9fa41d969ad32cfdac2c596"
SRC_URI[md5sum] = "25b34c74bd509792f291c16e184225df"
SRC_URI[sha256sum] = "c815c1ac7b3e35e2081685e389a665f2c74d7e077cb93cecabaea352da4752ec"
PYPI_PACKAGE = "Flask-Login"
RDEPENDS_${PN}_class-target = "${PYTHON_PN}-flask"

View File

@ -0,0 +1,2 @@
inherit pypi setuptools
require python-flask-login.inc

View File

@ -0,0 +1,12 @@
SUMMARY = "Flask extension for sending email"
DESCRIPTION = "A Flask extension for sending email"
HOMEPAGE = " https://github.com/rduplain/flask-email"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=5b16dfa6d3f275ace5985bb92949f770"
SRC_URI[md5sum] = "04b35a42a44ec7aa724ec8ce55e2e08e"
SRC_URI[sha256sum] = "22e5eb9a940bf407bcf30410ecc3708f3c56cc44b29c34e1726fe85006935f41"
PYPI_PACKAGE = "Flask-Mail"
RDEPENDS_${PN} = "${PYTHON_PN}-flask"

View File

@ -0,0 +1,2 @@
inherit pypi setuptools
require python-flask-mail.inc

View File

@ -0,0 +1,14 @@
DESCRIPTION = "SQLAlchemy database migrations for Flask applications using Alembic"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b69377f79f3f48c661701236d5a6a85"
SRC_URI[md5sum] = "def4106c80897b7fad2afb3bc05360e4"
SRC_URI[sha256sum] = "b709ca8642559c3c5a81a33ab10839fa052177accd5ba821047a99db635255ed"
PYPI_PACKAGE = "Flask-Migrate"
RDEPENDS_${PN} += "\
${PYTHON_PN}-flask-sqlalchemy \
${PYTHON_PN}-alembic \
${PYTHON_PN}-flask \
"

View File

@ -0,0 +1,2 @@
inherit pypi setuptools
require python-flask-migrate.inc

View File

@ -0,0 +1,13 @@
DESCRIPTION = "Easily create navigation for Flask applications."
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://PKG-INFO;md5=2729ee82259d601d90d28b0574d12416"
SRC_URI[md5sum] = "4d51cfd06d58f8d0fe85775a6696c0e5"
SRC_URI[sha256sum] = "44e40b755380a1e68ab521a2f9174de259a2c94ddcdaabf36b3aca2e110a33f4"
PYPI_PACKAGE = "flask-nav"
RDEPENDS_${PN} += "\
${PYTHON_PN}-blinker \
${PYTHON_PN}-flask \
"

Some files were not shown because too many files have changed in this diff Show More