diff options
Diffstat (limited to 'recipes-devtools')
93 files changed, 847 insertions, 899 deletions
diff --git a/recipes-devtools/python/python-packaging.inc b/recipes-devtools/python/python-packaging.inc deleted file mode 100644 index c32caaa..0000000 --- a/recipes-devtools/python/python-packaging.inc +++ /dev/null @@ -1,10 +0,0 @@ -DESCRIPTION = "Core utilities for Python packages" -HOMEPAGE = "https://github.com/pypa/packaging" -LICENSE = "Apache-2.0 & BSD" -LIC_FILES_CHKSUM = "file://LICENSE;md5=faadaedca9251a90b205c9167578ce91" - -SRC_URI[md5sum] = "867ce70984dc7b89bbbc3cac2a72b171" -SRC_URI[sha256sum] = "28b924174df7a2fa32c1953825ff29c61e2f5e082343165438812f00d3a7fc47" - -DEPENDS += "${PYTHON_PN}-setuptools-scm-native" -RDEPENDS_${PN} += "${PYTHON_PN}-six ${PYTHON_PN}-pyparsing" diff --git a/recipes-devtools/python/python-packaging_19.2.bb b/recipes-devtools/python/python-packaging_19.2.bb index 55d0746..aa9cd2e 100644 --- a/recipes-devtools/python/python-packaging_19.2.bb +++ b/recipes-devtools/python/python-packaging_19.2.bb @@ -1,2 +1,15 @@ +SUMMARY = "Core utilities for Python packages" +DESCRIPTION = "The packaging project includes the following: version handling, \ +specifiers, markers, requirements, tags, utilities." +HOMEPAGE = "https://github.com/pypa/packaging" +LICENSE = "Apache-2.0 & BSD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=faadaedca9251a90b205c9167578ce91" + +SRC_URI[md5sum] = "867ce70984dc7b89bbbc3cac2a72b171" +SRC_URI[sha256sum] = "28b924174df7a2fa32c1953825ff29c61e2f5e082343165438812f00d3a7fc47" + inherit pypi setuptools -require python-packaging.inc + +DEPENDS += "${PYTHON_PN}-setuptools-scm-native" + +RDEPENDS_${PN} += "${PYTHON_PN}-six ${PYTHON_PN}-pyparsing" diff --git a/recipes-devtools/python/python-paho-mqtt.inc b/recipes-devtools/python/python-paho-mqtt.inc deleted file mode 100644 index 0a0e610..0000000 --- a/recipes-devtools/python/python-paho-mqtt.inc +++ /dev/null @@ -1,22 +0,0 @@ -SUMMARY = "MQTT version 3.1/3.1.1 client library" -LICENSE = "EPL-1.0 | EDL-1.0" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=eb48c6ee2cb9f5b8b9fe75e6f817bdfc \ - file://epl-v10;md5=8d383c379e91d20ba18a52c3e7d3a979 \ - file://edl-v10;md5=c09f121939f063aeb5235972be8c722c \ -" -SRCNAME = "paho-mqtt" - -inherit pypi - -SRC_URI[md5sum] = "45e80d9b8066a8d0ba1ecfffe271bd3d" -SRC_URI[sha256sum] = "e3d286198baaea195c8b3bc221941d25a3ab0e1507fc1779bdb7473806394be4" - -DEPENDS += "${PYTHON_PN}-pytest-runner-native" - -RDEPENDS_${PN} = "\ - ${PYTHON_PN}-io \ - ${PYTHON_PN}-logging \ - ${PYTHON_PN}-math \ - ${PYTHON_PN}-netclient \ - ${PYTHON_PN}-threading \ -" diff --git a/recipes-devtools/python/python-paho-mqtt_1.5.0.bb b/recipes-devtools/python/python-paho-mqtt_1.5.0.bb index a103117..01643d5 100644 --- a/recipes-devtools/python/python-paho-mqtt_1.5.0.bb +++ b/recipes-devtools/python/python-paho-mqtt_1.5.0.bb @@ -1,6 +1,25 @@ -inherit setuptools -require python-paho-mqtt.inc +SUMMARY = "MQTT version 3.1/3.1.1 client library" +HOMEPAGE = "http://eclipse.org/paho" +LICENSE = "EPL-1.0 | EDL-1.0" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=eb48c6ee2cb9f5b8b9fe75e6f817bdfc \ + file://epl-v10;md5=8d383c379e91d20ba18a52c3e7d3a979 \ + file://edl-v10;md5=c09f121939f063aeb5235972be8c722c \ +" + +SRC_URI[md5sum] = "45e80d9b8066a8d0ba1ecfffe271bd3d" +SRC_URI[sha256sum] = "e3d286198baaea195c8b3bc221941d25a3ab0e1507fc1779bdb7473806394be4" + +SRCNAME = "paho-mqtt" + +inherit pypi setuptools + +DEPENDS += "${PYTHON_PN}-pytest-runner-native" -RDEPENDS_${PN} += " \ +RDEPENDS_${PN} = "\ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-math \ + ${PYTHON_PN}-netclient \ ${PYTHON_PN}-subprocess \ + ${PYTHON_PN}-threading \ " diff --git a/recipes-devtools/python/python-pandas.inc b/recipes-devtools/python/python-pandas.inc deleted file mode 100644 index d6ca243..0000000 --- a/recipes-devtools/python/python-pandas.inc +++ /dev/null @@ -1,23 +0,0 @@ -SUMMARY = "pandas library for high-performance data analysis tools" -DESCRIPTION = "pandas is an open source, BSD-licensed library providing \ -high-performance, easy-to-use data structures and data analysis tools for \ -the Python programming language." -HOMEPAGE = "http://pandas.pydata.org/" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=ee0470f2de336c370a71c2f8d5e81c11" - -SRC_URI[md5sum] = "7b597c7f989652e0c9af5f09a157e3ae" -SRC_URI[sha256sum] = "5b24ca47acf69222e82530e89111dd9d14f9b970ab2cd3a1c2c78f0c4fbba4f4" - -inherit pypi - -DEPENDS += " \ - ${PYTHON_PN}-numpy-native ${PYTHON_PN}-cython-native \ -" - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-json \ - ${PYTHON_PN}-numpy \ - ${PYTHON_PN}-dateutil \ - ${PYTHON_PN}-pytz \ -" diff --git a/recipes-devtools/python/python-parse-type.inc b/recipes-devtools/python/python-parse-type.inc deleted file mode 100644 index 4549ec9..0000000 --- a/recipes-devtools/python/python-parse-type.inc +++ /dev/null @@ -1,12 +0,0 @@ -SUMMARY = "Simplifies building parse types based on the parse module" -HOMEPAGE = "https://github.com/jenisys/parse_type" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=d07323820cca0f1d192cbbf8a0516f95" - -SRC_URI[md5sum] = "b5fa59e45965d1b2896023742df2e707" -SRC_URI[sha256sum] = "f596bdc75d3dd93036fbfe3d04127da9f6df0c26c36e01e76da85adef4336b3c" - -PYPI_PACKAGE = "parse_type" -inherit pypi - -RDEPENDS_${PN} += "${PYTHON_PN}-parse" diff --git a/recipes-devtools/python/python-parse-type_0.4.2.bb b/recipes-devtools/python/python-parse-type_0.4.2.bb index 8e10e80..c81dade 100644 --- a/recipes-devtools/python/python-parse-type_0.4.2.bb +++ b/recipes-devtools/python/python-parse-type_0.4.2.bb @@ -1,2 +1,13 @@ -inherit setuptools -require python-parse-type.inc +SUMMARY = "Simplifies building parse types based on the parse module" +HOMEPAGE = "https://github.com/jenisys/parse_type" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d07323820cca0f1d192cbbf8a0516f95" + +SRC_URI[md5sum] = "b5fa59e45965d1b2896023742df2e707" +SRC_URI[sha256sum] = "f596bdc75d3dd93036fbfe3d04127da9f6df0c26c36e01e76da85adef4336b3c" + +PYPI_PACKAGE = "parse_type" + +inherit pypi setuptools + +RDEPENDS_${PN} += "${PYTHON_PN}-parse" diff --git a/recipes-devtools/python/python-parse.inc b/recipes-devtools/python/python-parse.inc deleted file mode 100644 index ccd5a93..0000000 --- a/recipes-devtools/python/python-parse.inc +++ /dev/null @@ -1,14 +0,0 @@ -SUMMARY = "Parse strings using a specification based on the Python format() syntax" -HOMEPAGE = "https://github.com/r1chardj0n3s/parse" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://parse.py;beginline=1317;endline=1337;md5=fa03bae3f51a2db25e239e869c647437" - -SRC_URI[md5sum] = "8fc634769f1d841f14a52dd731ca447a" -SRC_URI[sha256sum] = "a5fca7000c6588d77bc65c28f3f21bfce03b5e44daa8f9f07c17fe364990d717" - -inherit pypi - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-datetime \ - ${PYTHON_PN}-logging \ - " diff --git a/recipes-devtools/python/python-parse_1.12.1.bb b/recipes-devtools/python/python-parse_1.12.1.bb index d31ccc7..4ab2346 100644 --- a/recipes-devtools/python/python-parse_1.12.1.bb +++ b/recipes-devtools/python/python-parse_1.12.1.bb @@ -1,2 +1,14 @@ -inherit setuptools -require python-parse.inc +SUMMARY = "Parse strings using a specification based on the Python format() syntax" +HOMEPAGE = "https://github.com/r1chardj0n3s/parse" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://parse.py;beginline=1317;endline=1337;md5=fa03bae3f51a2db25e239e869c647437" + +SRC_URI[md5sum] = "8fc634769f1d841f14a52dd731ca447a" +SRC_URI[sha256sum] = "a5fca7000c6588d77bc65c28f3f21bfce03b5e44daa8f9f07c17fe364990d717" + +inherit pypi setuptools + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-logging \ + " diff --git a/recipes-devtools/python/python-passlib.inc b/recipes-devtools/python/python-passlib.inc deleted file mode 100644 index 8a6d7e9..0000000 --- a/recipes-devtools/python/python-passlib.inc +++ /dev/null @@ -1,19 +0,0 @@ -SUMMARY = "comprehensive password hashing framework supporting over 30 schemes" -DESCRIPTION = "\ -Passlib is a password hashing library for Python 2 & 3, which provides cross-platform \ -implementations of over 30 password hashing algorithms, as well as a framework for \ -managing existing password hashes. It’s designed to be useful for a wide range of \ -tasks, from verifying a hash found in /etc/shadow, to providing full-strength password \ -hashing for multi-user applications." -HOMEPAGE = "https://bitbucket.org/ecollins/passlib" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=73eed1a5470b969951dac411086c7036" - -SRC_URI[md5sum] = "254869dae3fd9f09f0746a3cb29a0b15" -SRC_URI[sha256sum] = "3d948f64138c25633613f303bcc471126eae67c04d5e3f6b7b8ce6242f8653e0" - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-crypt \ - ${PYTHON_PN}-logging \ - ${PYTHON_PN}-netclient \ -" diff --git a/recipes-devtools/python/python-passlib_1.7.1.bb b/recipes-devtools/python/python-passlib_1.7.1.bb index 11c598a..780d355 100644 --- a/recipes-devtools/python/python-passlib_1.7.1.bb +++ b/recipes-devtools/python/python-passlib_1.7.1.bb @@ -1,2 +1,21 @@ +SUMMARY = "comprehensive password hashing framework supporting over 30 schemes" +DESCRIPTION = "\ +Passlib is a password hashing library for Python 2 & 3, which provides cross-platform \ +implementations of over 30 password hashing algorithms, as well as a framework for \ +managing existing password hashes. It’s designed to be useful for a wide range of \ +tasks, from verifying a hash found in /etc/shadow, to providing full-strength password \ +hashing for multi-user applications." +HOMEPAGE = "https://bitbucket.org/ecollins/passlib" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=73eed1a5470b969951dac411086c7036" + +SRC_URI[md5sum] = "254869dae3fd9f09f0746a3cb29a0b15" +SRC_URI[sha256sum] = "3d948f64138c25633613f303bcc471126eae67c04d5e3f6b7b8ce6242f8653e0" + inherit pypi setuptools -require python-passlib.inc + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-crypt \ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-netclient \ +" diff --git a/recipes-devtools/python/python-pathlib2.inc b/recipes-devtools/python/python-pathlib2.inc deleted file mode 100644 index 3199b56..0000000 --- a/recipes-devtools/python/python-pathlib2.inc +++ /dev/null @@ -1,11 +0,0 @@ -DESCRIPTION = "Object-oriented filesystem paths" -HOMEPAGE = "https://github.com/mcmtroffaes/pathlib2" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=042856c23a3e903b33bf361ea1cbe29a" - -SRC_URI[md5sum] = "f2bd0a363eb0f8fa0556f35c1d9e66fb" -SRC_URI[sha256sum] = "6cd9a47b597b37cc57de1c05e56fb1a1c9cc9fab04fe78c29acd090418529868" - -RDEPENDS_${PN} += "${PYTHON_PN}-six" - -BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/python/python-pathlib2_2.3.5.bb b/recipes-devtools/python/python-pathlib2_2.3.5.bb index 6317e1c..3d83a29 100644 --- a/recipes-devtools/python/python-pathlib2_2.3.5.bb +++ b/recipes-devtools/python/python-pathlib2_2.3.5.bb @@ -1,6 +1,24 @@ +SUMMARY = "Object-oriented filesystem paths" +DESCRIPTION = "The old pathlib module on bitbucket is in bugfix-only mode. \ +The goal of pathlib2 is to provide a backport of standard pathlib module which \ +tracks the standard library module, so all the newest features of the standard \ +pathlib can be used also on older Python versions." +HOMEPAGE = "https://github.com/mcmtroffaes/pathlib2" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=042856c23a3e903b33bf361ea1cbe29a" + +SRC_URI[md5sum] = "f2bd0a363eb0f8fa0556f35c1d9e66fb" +SRC_URI[sha256sum] = "6cd9a47b597b37cc57de1c05e56fb1a1c9cc9fab04fe78c29acd090418529868" + inherit pypi setuptools -require python-pathlib2.inc -RDEPENDS_${PN} += "python-scandir \ - python-misc \ +# Needs python-misc for ntpath +# Could probably be removed by patching out Windows code +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-six \ + python-misc \ + python-scandir \ + python-shell \ " + +BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/python/python-periphery.inc b/recipes-devtools/python/python-periphery.inc deleted file mode 100644 index ea43e5f..0000000 --- a/recipes-devtools/python/python-periphery.inc +++ /dev/null @@ -1,7 +0,0 @@ -DESCRIPTION = "A pure Python 2/3 library for peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO, Serial) in Linux." -HOMEPAGE = "http://pythonhosted.org/python-periphery/" -LICENSE = "MIT" - -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=19f978bd6c8afe3fa9e408b71330512f" - -PYPI_PACKAGE = "python-periphery" diff --git a/recipes-devtools/python/python-periphery_2.0.0.bb b/recipes-devtools/python/python-periphery_2.0.0.bb index 7069f3f..1a28e23 100644 --- a/recipes-devtools/python/python-periphery_2.0.0.bb +++ b/recipes-devtools/python/python-periphery_2.0.0.bb @@ -1,4 +1,12 @@ + +DESCRIPTION = "A pure Python 2/3 library for peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO, Serial) in Linux." +HOMEPAGE = "http://pythonhosted.org/python-periphery/" +LICENSE = "MIT" + +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=19f978bd6c8afe3fa9e408b71330512f" + +PYPI_PACKAGE = "python-periphery" + inherit pypi setuptools -require python-periphery.inc SRC_URI[sha256sum] = "2df05528a7668db4fb3faaff516b34ed99e9009ed9610a4efe3ea6c0ea8a3aab" diff --git a/recipes-devtools/python/python-pexpect.inc b/recipes-devtools/python/python-pexpect.inc deleted file mode 100644 index efeab83..0000000 --- a/recipes-devtools/python/python-pexpect.inc +++ /dev/null @@ -1,21 +0,0 @@ -SUMMARY = "A Pure Python Expect like Module for Python" -HOMEPAGE = "http://pexpect.readthedocs.org/" -SECTION = "devel/python" -LICENSE = "ISC" -LIC_FILES_CHKSUM = "file://LICENSE;md5=1c7a725251880af8c6a148181665385b" - -SRC_URI[md5sum] = "d4f3372965a996238d57d19b95d2e03a" -SRC_URI[sha256sum] = "2a8e88259839571d1251d278476f3eec5db26deb73a70be5ed5dc5435e418aba" - -UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/pexpect" - -RDEPENDS_${PN} = "\ - ${PYTHON_PN}-core \ - ${PYTHON_PN}-io \ - ${PYTHON_PN}-terminal \ - ${PYTHON_PN}-resource \ - ${PYTHON_PN}-fcntl \ - ${PYTHON_PN}-ptyprocess \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/python/python-pexpect_4.6.0.bb b/recipes-devtools/python/python-pexpect_4.6.0.bb index 1c46b47..eab5643 100644 --- a/recipes-devtools/python/python-pexpect_4.6.0.bb +++ b/recipes-devtools/python/python-pexpect_4.6.0.bb @@ -1,2 +1,23 @@ -require python-pexpect.inc +SUMMARY = "A Pure Python Expect like Module for Python" +HOMEPAGE = "http://pexpect.readthedocs.org/" +SECTION = "devel/python" +LICENSE = "ISC" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1c7a725251880af8c6a148181665385b" + +SRC_URI[md5sum] = "d4f3372965a996238d57d19b95d2e03a" +SRC_URI[sha256sum] = "2a8e88259839571d1251d278476f3eec5db26deb73a70be5ed5dc5435e418aba" + +UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/pexpect" + inherit pypi setuptools + +RDEPENDS_${PN} = "\ + ${PYTHON_PN}-core \ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-terminal \ + ${PYTHON_PN}-resource \ + ${PYTHON_PN}-fcntl \ + ${PYTHON_PN}-ptyprocess \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/python/python-pika.inc b/recipes-devtools/python/python-pika.inc deleted file mode 100644 index bde154f..0000000 --- a/recipes-devtools/python/python-pika.inc +++ /dev/null @@ -1,22 +0,0 @@ -SUMMARY = "Pika is a RabbitMQ (AMQP 0-9-1) client library for Python." -DESCRIPTION = " \ -Pika is a pure-Python implementation of the AMQP 0-9-1 protocol \ -including RabbitMQ’s extensions. \ -" -SECTION = "devel/python" -HOMEPAGE = "https://pika.readthedocs.io" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=535836bf0a5de515a7bfee026075701d" - -SRC_URI[md5sum] = "6002400cdd33bf85ec8680ece72910d4" -SRC_URI[sha256sum] = "9fa76ba4b65034b878b2b8de90ff8660a59d925b087c5bb88f8fdbb4b64a1dbf" - -inherit pypi - -PYPI_PACKAGE = "pika" - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-logging \ - ${PYTHON_PN}-tornado \ - ${PYTHON_PN}-twisted \ -" diff --git a/recipes-devtools/python/python-pika_1.1.0.bb b/recipes-devtools/python/python-pika_1.1.0.bb index f7e0198..910a7d5 100644 --- a/recipes-devtools/python/python-pika_1.1.0.bb +++ b/recipes-devtools/python/python-pika_1.1.0.bb @@ -1,2 +1,22 @@ -inherit setuptools -require python-pika.inc +SUMMARY = "Pika is a RabbitMQ (AMQP 0-9-1) client library for Python." +DESCRIPTION = " \ +Pika is a pure-Python implementation of the AMQP 0-9-1 protocol \ +including RabbitMQ’s extensions. \ +" +SECTION = "devel/python" +HOMEPAGE = "https://pika.readthedocs.io" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=535836bf0a5de515a7bfee026075701d" + +SRC_URI[md5sum] = "6002400cdd33bf85ec8680ece72910d4" +SRC_URI[sha256sum] = "9fa76ba4b65034b878b2b8de90ff8660a59d925b087c5bb88f8fdbb4b64a1dbf" + +inherit pypi setuptools + +PYPI_PACKAGE = "pika" + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-tornado \ + ${PYTHON_PN}-twisted \ +" diff --git a/recipes-devtools/python/python-pint.inc b/recipes-devtools/python/python-pint.inc deleted file mode 100644 index 0900d91..0000000 --- a/recipes-devtools/python/python-pint.inc +++ /dev/null @@ -1,15 +0,0 @@ -DESCRIPTION = "Interval arithmetic for Python" -HOMEPAGE = "https://github.com/AlexandreDecan/python-intervals" -SECTION = "devel/python" - -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b" - -PYPI_PACKAGE := "Pint" - -inherit pypi - -SRC_URI[md5sum] = "d0681cb7cfaca9fc68ce7edab0d08d88" -SRC_URI[sha256sum] = "32d8a9a9d63f4f81194c0014b3b742679dce81a26d45127d9810a68a561fe4e2" - -BBCLASSEXTEND = "native" diff --git a/recipes-devtools/python/python-pint_0.9.bb b/recipes-devtools/python/python-pint_0.9.bb index 480f088..71ddf54 100644 --- a/recipes-devtools/python/python-pint_0.9.bb +++ b/recipes-devtools/python/python-pint_0.9.bb @@ -1,2 +1,24 @@ -inherit setuptools -require python-pint.inc +SUMMARY = "Physical quantities module" +DESCRIPTION = "Pint is a Python package to define, operate and manipulate \ +physical quantities: the product of a numerical value and a unit of \ +measurement. It allows arithmetic operations between them and conversions from \ +and to different units. \ +\ +It is distributed with a comprehensive list of physical units, prefixes and \ +constants. Due to its modular design, you can extend (or even rewrite!) the \ +complete list without changing the source code. It supports a lot of numpy \ +mathematical operations without monkey patching or wrapping numpy." +HOMEPAGE = "https://github.com/hgrecco/pint" +SECTION = "devel/python" + +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b" + +PYPI_PACKAGE = "Pint" + +SRC_URI[md5sum] = "d0681cb7cfaca9fc68ce7edab0d08d88" +SRC_URI[sha256sum] = "32d8a9a9d63f4f81194c0014b3b742679dce81a26d45127d9810a68a561fe4e2" + +inherit pypi setuptools + +BBCLASSEXTEND = "native" diff --git a/recipes-devtools/python/python-pluggy.inc b/recipes-devtools/python/python-pluggy.inc deleted file mode 100644 index 1931532..0000000 --- a/recipes-devtools/python/python-pluggy.inc +++ /dev/null @@ -1,14 +0,0 @@ -SUMMARY = "Plugin and hook calling mechanisms for python" -HOMEPAGE = "https://github.com/pytest-dev/pluggy" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=1c8206d16fd5cc02fa9b0bb98955e5c2" - -SRC_URI[md5sum] = "4b8384b69cddbc2e104fdd3ff5631788" -SRC_URI[sha256sum] = "fa5fa1622fa6dd5c030e9cad086fa19ef6a0cf6d7a2d12318e10cb49d6d68f34" - -DEPENDS += "${PYTHON_PN}-setuptools-scm-native" -RDEPENDS_${PN} += "${PYTHON_PN}-importlib-metadata \ - ${PYTHON_PN}-more-itertools \ -" - -inherit pypi diff --git a/recipes-devtools/python/python-pluggy_0.13.0.bb b/recipes-devtools/python/python-pluggy_0.13.0.bb index edcd4f5..8ac82ad 100644 --- a/recipes-devtools/python/python-pluggy_0.13.0.bb +++ b/recipes-devtools/python/python-pluggy_0.13.0.bb @@ -1,2 +1,14 @@ -inherit setuptools -require python-pluggy.inc +SUMMARY = "Plugin and hook calling mechanisms for python" +HOMEPAGE = "https://github.com/pytest-dev/pluggy" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1c8206d16fd5cc02fa9b0bb98955e5c2" + +SRC_URI[md5sum] = "4b8384b69cddbc2e104fdd3ff5631788" +SRC_URI[sha256sum] = "fa5fa1622fa6dd5c030e9cad086fa19ef6a0cf6d7a2d12318e10cb49d6d68f34" + +DEPENDS += "${PYTHON_PN}-setuptools-scm-native" +RDEPENDS_${PN} += "${PYTHON_PN}-importlib-metadata \ + ${PYTHON_PN}-more-itertools \ +" + +inherit pypi setuptools diff --git a/recipes-devtools/python/python-ply.inc b/recipes-devtools/python/python-ply.inc deleted file mode 100644 index 149fe05..0000000 --- a/recipes-devtools/python/python-ply.inc +++ /dev/null @@ -1,18 +0,0 @@ -SUMMARY = "Python Lex and Yacc" -DESCRIPTION = "Python ply: PLY is yet another implementation of lex and yacc for Python" -HOMEPAGE = "https://pypi.python.org/pypi/ply" -SECTION = "devel/python" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://README.md;beginline=5;endline=32;md5=f5ee5c355c0e6719c787a71b8f0fa96c" - -SRC_URI[md5sum] = "6465f602e656455affcd7c5734c638f8" -SRC_URI[sha256sum] = "00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3" - -inherit pypi - -RDEPENDS_${PN}_class-target += "\ - ${PYTHON_PN}-netclient \ - ${PYTHON_PN}-shell \ -" - -BBCLASSEXTEND = "native" diff --git a/recipes-devtools/python/python-ply_3.11.bb b/recipes-devtools/python/python-ply_3.11.bb index 2b6165c..0faec95 100644 --- a/recipes-devtools/python/python-ply_3.11.bb +++ b/recipes-devtools/python/python-ply_3.11.bb @@ -1,2 +1,18 @@ -require python-ply.inc -inherit setuptools +SUMMARY = "Python Lex and Yacc" +DESCRIPTION = "Python ply: PLY is yet another implementation of lex and yacc for Python" +HOMEPAGE = "https://pypi.python.org/pypi/ply" +SECTION = "devel/python" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://README.md;beginline=5;endline=32;md5=f5ee5c355c0e6719c787a71b8f0fa96c" + +SRC_URI[md5sum] = "6465f602e656455affcd7c5734c638f8" +SRC_URI[sha256sum] = "00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3" + +inherit pypi setuptools + +RDEPENDS_${PN}_class-target += "\ + ${PYTHON_PN}-netclient \ + ${PYTHON_PN}-shell \ +" + +BBCLASSEXTEND = "native" diff --git a/recipes-devtools/python/python-pocketsphinx.inc b/recipes-devtools/python/python-pocketsphinx.inc deleted file mode 100644 index 1f8f66a..0000000 --- a/recipes-devtools/python/python-pocketsphinx.inc +++ /dev/null @@ -1,9 +0,0 @@ -SUMMARY = "This package provides a python interface to CMU Sphinxbase and Pocketsphinx libraries created with SWIG and Setuptools." -SECTION = "devel/python" -LICENSE = "BSD-2-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=826ebda787eb48e78aec2624f9faba72" - -SRC_URI[md5sum] = "c0f2bfd54bc4c438c3bb64825f57d575" -SRC_URI[sha256sum] = "2cc493ed48c1301e0d2e69b137dc646c2f8caca190ef4bce61836eac96d1796f" - -DEPENDS += "swig-native" diff --git a/recipes-devtools/python/python-pretend.inc b/recipes-devtools/python/python-pretend.inc deleted file mode 100644 index 58f1961..0000000 --- a/recipes-devtools/python/python-pretend.inc +++ /dev/null @@ -1,9 +0,0 @@ -SUMMARY = "A library for stubbing in Python" -HOMEPAGE = "https://github.com/alex/pretend" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=411780c0b7fa756753e94affeee5bc99" - -SRC_URI[md5sum] = "ad53883ede48aeac7ae584f0de0240e8" -SRC_URI[sha256sum] = "c90eb810cde8ebb06dafcb8796f9a95228ce796531bc806e794c2f4649aa1b10" - -BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/python/python-pretend_1.0.9.bb b/recipes-devtools/python/python-pretend_1.0.9.bb index 73b8ed4..0c7c3c7 100644 --- a/recipes-devtools/python/python-pretend_1.0.9.bb +++ b/recipes-devtools/python/python-pretend_1.0.9.bb @@ -1,2 +1,11 @@ +SUMMARY = "A library for stubbing in Python" +HOMEPAGE = "https://github.com/alex/pretend" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=411780c0b7fa756753e94affeee5bc99" + +SRC_URI[md5sum] = "ad53883ede48aeac7ae584f0de0240e8" +SRC_URI[sha256sum] = "c90eb810cde8ebb06dafcb8796f9a95228ce796531bc806e794c2f4649aa1b10" + inherit pypi setuptools -require python-pretend.inc + +BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/python/python-prettytable.inc b/recipes-devtools/python/python-prettytable.inc deleted file mode 100644 index 07e896d..0000000 --- a/recipes-devtools/python/python-prettytable.inc +++ /dev/null @@ -1,25 +0,0 @@ -SUMMARY = "Python library for displaying tabular data in a ASCII table format" -HOMEPAGE = "http://code.google.com/p/prettytable" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://COPYING;md5=3e73500ffa52de5071cff65990055282" - -SRC_URI[md5sum] = "0c1361104caff8b09f220748f9d69899" -SRC_URI[sha256sum] = "a53da3b43d7a5c229b5e3ca2892ef982c46b7923b51e98f0db49956531211c4f" - -SRCNAME = "prettytable" - -SRC_URI = "https://pypi.python.org/packages/source/P/PrettyTable/${SRCNAME}-${PV}.zip" - -S = "${WORKDIR}/${SRCNAME}-${PV}" - -do_install_append() { - perm_files=`find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "*.txt" -o -name "PKG-INFO"` - for f in $perm_files; do - chmod 644 "${f}" - done -} - -UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/PrettyTable/" -UPSTREAM_CHECK_REGEX = "/PrettyTable/(?P<pver>(\d+[\.\-_]*)+)" - -BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/python/python-prettytable_0.7.2.bb b/recipes-devtools/python/python-prettytable_0.7.2.bb index 69ff259..264a81f 100644 --- a/recipes-devtools/python/python-prettytable_0.7.2.bb +++ b/recipes-devtools/python/python-prettytable_0.7.2.bb @@ -1,3 +1,29 @@ +SUMMARY = "Python library for displaying tabular data in a ASCII table format" +HOMEPAGE = "http://code.google.com/p/prettytable" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://COPYING;md5=3e73500ffa52de5071cff65990055282" + +# file not found at path pypi.bbclass expects, unclear why... +SRC_URI = "https://pypi.python.org/packages/source/P/PrettyTable/${SRCNAME}-${PV}.zip" + +SRC_URI[md5sum] = "0c1361104caff8b09f220748f9d69899" +SRC_URI[sha256sum] = "a53da3b43d7a5c229b5e3ca2892ef982c46b7923b51e98f0db49956531211c4f" + +SRCNAME = "prettytable" + inherit setuptools -require python-prettytable.inc + +S = "${WORKDIR}/${SRCNAME}-${PV}" + +do_install_append() { + perm_files=`find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "*.txt" -o -name "PKG-INFO"` + for f in $perm_files; do + chmod 644 "${f}" + done +} + +UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/PrettyTable/" +UPSTREAM_CHECK_REGEX = "/PrettyTable/(?P<pver>(\d+[\.\-_]*)+)" + +BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/python/python-progress.inc b/recipes-devtools/python/python-progress.inc deleted file mode 100644 index d59ba2c..0000000 --- a/recipes-devtools/python/python-progress.inc +++ /dev/null @@ -1,14 +0,0 @@ -SUMMARY = "Easy progress reporting for Python" -HOMEPAGE = "http://github.com/verigak/progress/" -LICENSE = "ISC" -LIC_FILES_CHKSUM = "file://LICENSE;md5=aef5566ac4fede9815eccf124c281317" - -SRC_URI[md5sum] = "408df0e3db0ad4b74f19f6beec814ae4" -SRC_URI[sha256sum] = "69ecedd1d1bbe71bf6313d88d1e6c4d2957b7f1d4f71312c211257f7dae64372" - -RDEPENDS_${PN}_class-target += " \ - ${PYTHON_PN}-datetime \ - ${PYTHON_PN}-math \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/python/python-progress_1.5.bb b/recipes-devtools/python/python-progress_1.5.bb index 8060862..01003fc 100644 --- a/recipes-devtools/python/python-progress_1.5.bb +++ b/recipes-devtools/python/python-progress_1.5.bb @@ -1,2 +1,16 @@ +SUMMARY = "Easy progress reporting for Python" +HOMEPAGE = "http://github.com/verigak/progress/" +LICENSE = "ISC" +LIC_FILES_CHKSUM = "file://LICENSE;md5=aef5566ac4fede9815eccf124c281317" + +SRC_URI[md5sum] = "408df0e3db0ad4b74f19f6beec814ae4" +SRC_URI[sha256sum] = "69ecedd1d1bbe71bf6313d88d1e6c4d2957b7f1d4f71312c211257f7dae64372" + inherit pypi setuptools -require python-progress.inc + +RDEPENDS_${PN}_class-target += " \ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-math \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/python/python-prompt-toolkit.inc b/recipes-devtools/python/python-prompt-toolkit.inc deleted file mode 100644 index 91aa7bb..0000000 --- a/recipes-devtools/python/python-prompt-toolkit.inc +++ /dev/null @@ -1,18 +0,0 @@ -SUMMARY = "Library for building powerful interactive command lines in Python" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=b2cde7da89f0c1f3e49bf968d00d554f" - -SRC_URI[md5sum] = "5016c523e603cd7119644fbc0f00ce53" -SRC_URI[sha256sum] = "f15af68f66e664eaa559d4ac8a928111eebd5feda0c11738b5998045224829db" - -PYPI_PACKAGE = "prompt_toolkit" - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-core \ - ${PYTHON_PN}-six \ - ${PYTHON_PN}-terminal \ - ${PYTHON_PN}-threading \ - ${PYTHON_PN}-wcwidth \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/python/python-prompt-toolkit_2.0.10.bb b/recipes-devtools/python/python-prompt-toolkit_2.0.10.bb index 527c905..13acbc5 100644 --- a/recipes-devtools/python/python-prompt-toolkit_2.0.10.bb +++ b/recipes-devtools/python/python-prompt-toolkit_2.0.10.bb @@ -1,6 +1,21 @@ +SUMMARY = "Library for building powerful interactive command lines in Python" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=b2cde7da89f0c1f3e49bf968d00d554f" + +SRC_URI[md5sum] = "5016c523e603cd7119644fbc0f00ce53" +SRC_URI[sha256sum] = "f15af68f66e664eaa559d4ac8a928111eebd5feda0c11738b5998045224829db" + +PYPI_PACKAGE = "prompt_toolkit" + inherit pypi setuptools -require python-prompt-toolkit.inc RDEPENDS_${PN} += " \ + ${PYTHON_PN}-core \ + ${PYTHON_PN}-six \ ${PYTHON_PN}-subprocess \ + ${PYTHON_PN}-terminal \ + ${PYTHON_PN}-threading \ + ${PYTHON_PN}-wcwidth \ " + +BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/python/python-protobuf.inc b/recipes-devtools/python/python-protobuf.inc deleted file mode 100644 index 4061311..0000000 --- a/recipes-devtools/python/python-protobuf.inc +++ /dev/null @@ -1,32 +0,0 @@ -DESCRIPTION = "Protocol Buffers" -HOMEPAGE = "https://developers.google.com/protocol-buffers/" -SECTION = "devel/python" - -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=19e8f490f9526b1de84f8d949cfcfd4e" - -inherit pypi - -SRC_URI[md5sum] = "d634666c898148e4565ac62f3ba4a2ca" -SRC_URI[sha256sum] = "843f498e98ad1469ad54ecb4a7ccf48605a1c5d2bd26ae799c7a2cddab4a37ec" - -# http://errors.yoctoproject.org/Errors/Details/184715/ -# Can't find required file: ../src/google/protobuf/descriptor.proto -CLEANBROKEN = "1" - -UPSTREAM_CHECK_REGEX = "protobuf/(?P<pver>\d+(\.\d+)+)/" - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-datetime \ - ${PYTHON_PN}-json \ - ${PYTHON_PN}-logging \ - ${PYTHON_PN}-netclient \ - ${PYTHON_PN}-numbers \ - ${PYTHON_PN}-pkgutil \ - ${PYTHON_PN}-six \ - ${PYTHON_PN}-unittest \ -" - -# For usage in other recipies when compiling protobuf files (e.g. by grpcio-tools) -BBCLASSEXTEND = "native nativesdk" - diff --git a/recipes-devtools/python/python-protobuf_3.9.2.bb b/recipes-devtools/python/python-protobuf_3.9.2.bb index f04fc48..84ce220 100644 --- a/recipes-devtools/python/python-protobuf_3.9.2.bb +++ b/recipes-devtools/python/python-protobuf_3.9.2.bb @@ -1,2 +1,33 @@ -inherit setuptools -require python-protobuf.inc +SUMMARY = "Protocol Buffers" +DESCRIPTION = "Protocol Buffers are Google’s data interchange format" +HOMEPAGE = "https://developers.google.com/protocol-buffers/" +SECTION = "devel/python" + +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=19e8f490f9526b1de84f8d949cfcfd4e" + +inherit pypi setuptools + +SRC_URI[md5sum] = "d634666c898148e4565ac62f3ba4a2ca" +SRC_URI[sha256sum] = "843f498e98ad1469ad54ecb4a7ccf48605a1c5d2bd26ae799c7a2cddab4a37ec" + +# http://errors.yoctoproject.org/Errors/Details/184715/ +# Can't find required file: ../src/google/protobuf/descriptor.proto +CLEANBROKEN = "1" + +UPSTREAM_CHECK_REGEX = "protobuf/(?P<pver>\d+(\.\d+)+)/" + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-json \ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-netclient \ + ${PYTHON_PN}-numbers \ + ${PYTHON_PN}-pkgutil \ + ${PYTHON_PN}-six \ + ${PYTHON_PN}-unittest \ +" + +# For usage in other recipies when compiling protobuf files (e.g. by grpcio-tools) +BBCLASSEXTEND = "native nativesdk" + diff --git a/recipes-devtools/python/python-psutil.inc b/recipes-devtools/python/python-psutil.inc deleted file mode 100644 index 9312266..0000000 --- a/recipes-devtools/python/python-psutil.inc +++ /dev/null @@ -1,22 +0,0 @@ -SUMMARY = "A cross-platform process and system utilities module for Python" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=e35fd9f271d19d5f742f20a9d1f8bb8b" - -SRC_URI[md5sum] = "5561dfe61b5888fb1b3f17fbe4eeb15d" -SRC_URI[sha256sum] = "d051532ac944f1be0179e0506f6889833cf96e466262523e57a871de65a15147" - -PACKAGES =+ "${PN}-tests" - -FILES_${PN}-tests += " \ - ${PYTHON_SITEPACKAGES_DIR}/psutil/test* \ - ${PYTHON_SITEPACKAGES_DIR}/psutil/__pycache__/test* \ -" - - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-shell \ - ${PYTHON_PN}-threading \ - ${PYTHON_PN}-xml \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/python/python-psutil_5.6.5.bb b/recipes-devtools/python/python-psutil_5.6.5.bb index 9aabfb2..5aac5bc 100644 --- a/recipes-devtools/python/python-psutil_5.6.5.bb +++ b/recipes-devtools/python/python-psutil_5.6.5.bb @@ -1,6 +1,25 @@ +SUMMARY = "A cross-platform process and system utilities module for Python" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e35fd9f271d19d5f742f20a9d1f8bb8b" + +SRC_URI[md5sum] = "5561dfe61b5888fb1b3f17fbe4eeb15d" +SRC_URI[sha256sum] = "d051532ac944f1be0179e0506f6889833cf96e466262523e57a871de65a15147" + inherit pypi setuptools -require python-psutil.inc + +PACKAGES =+ "${PN}-tests" + +FILES_${PN}-tests += " \ + ${PYTHON_SITEPACKAGES_DIR}/psutil/test* \ + ${PYTHON_SITEPACKAGES_DIR}/psutil/__pycache__/test* \ +" + RDEPENDS_${PN} += " \ + ${PYTHON_PN}-shell \ ${PYTHON_PN}-subprocess \ + ${PYTHON_PN}-threading \ + ${PYTHON_PN}-xml \ " + +BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/python/python-ptyprocess.inc b/recipes-devtools/python/python-ptyprocess.inc deleted file mode 100644 index 49cc5a4..0000000 --- a/recipes-devtools/python/python-ptyprocess.inc +++ /dev/null @@ -1,20 +0,0 @@ -SUMMARY = "Run a subprocess in a pseudo terminal" -HOMEPAGE = "http://ptyprocess.readthedocs.io/en/latest/" -SECTION = "devel/python" -LICENSE = "ISC" -LIC_FILES_CHKSUM = "file://LICENSE;md5=cfdcd51fa7d5808da4e74346ee394490" - -SRCNAME = "ptyprocess" - -SRC_URI[md5sum] = "37402d69f3b50913d4d483587bffad8f" -SRC_URI[sha256sum] = "923f299cc5ad920c68f2bc0bc98b75b9f838b93b599941a6b63ddbc2476394c0" - -UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/ptyprocess" - -S = "${WORKDIR}/${SRCNAME}-${PV}" - -RDEPENDS_${PN} = "\ - ${PYTHON_PN}-core \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/python/python-ptyprocess_0.6.0.bb b/recipes-devtools/python/python-ptyprocess_0.6.0.bb index 7ca4587..bd4613e 100644 --- a/recipes-devtools/python/python-ptyprocess_0.6.0.bb +++ b/recipes-devtools/python/python-ptyprocess_0.6.0.bb @@ -1,2 +1,22 @@ -require python-ptyprocess.inc +SUMMARY = "Run a subprocess in a pseudo terminal" +HOMEPAGE = "http://ptyprocess.readthedocs.io/en/latest/" +SECTION = "devel/python" +LICENSE = "ISC" +LIC_FILES_CHKSUM = "file://LICENSE;md5=cfdcd51fa7d5808da4e74346ee394490" + +SRCNAME = "ptyprocess" + +SRC_URI[md5sum] = "37402d69f3b50913d4d483587bffad8f" +SRC_URI[sha256sum] = "923f299cc5ad920c68f2bc0bc98b75b9f838b93b599941a6b63ddbc2476394c0" + +UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/ptyprocess" + +S = "${WORKDIR}/${SRCNAME}-${PV}" + inherit pypi setuptools + +RDEPENDS_${PN} = "\ + ${PYTHON_PN}-core \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/python/python-py.inc b/recipes-devtools/python/python-py.inc deleted file mode 100644 index b6e0409..0000000 --- a/recipes-devtools/python/python-py.inc +++ /dev/null @@ -1,10 +0,0 @@ -SUMMARY = "Library with cross-python path, ini-parsing, io, code, log facilities" -HOMEPAGE = "http://py.readthedocs.io/" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=a6bb0320b04a0a503f12f69fea479de9" - -SRC_URI[md5sum] = "d9e30436ce7e79f30847f9b30b62e149" -SRC_URI[sha256sum] = "dc639b046a6e2cff5bbe40194ad65936d6ba360b52b3c3fe1d08a82dd50b5e53" - -DEPENDS += "${PYTHON_PN}-setuptools-scm-native" -BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/python/python-py_1.8.0.bb b/recipes-devtools/python/python-py_1.8.0.bb index 5ad2c19..cc9b9a8 100644 --- a/recipes-devtools/python/python-py_1.8.0.bb +++ b/recipes-devtools/python/python-py_1.8.0.bb @@ -1,2 +1,13 @@ +SUMMARY = "Library with cross-python path, ini-parsing, io, code, log facilities" +HOMEPAGE = "http://py.readthedocs.io/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a6bb0320b04a0a503f12f69fea479de9" + +SRC_URI[md5sum] = "d9e30436ce7e79f30847f9b30b62e149" +SRC_URI[sha256sum] = "dc639b046a6e2cff5bbe40194ad65936d6ba360b52b3c3fe1d08a82dd50b5e53" + +DEPENDS += "${PYTHON_PN}-setuptools-scm-native" + inherit pypi setuptools -require python-py.inc + +BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/python/python-pyalsaaudio.inc b/recipes-devtools/python/python-pyalsaaudio.inc deleted file mode 100644 index d150409..0000000 --- a/recipes-devtools/python/python-pyalsaaudio.inc +++ /dev/null @@ -1,11 +0,0 @@ -SUMMARY = "Support for the Linux 2.6.x ALSA Sound System" -SECTION = "devel/python" -LICENSE = "PSF" -LIC_FILES_CHKSUM = "file://LICENSE;md5=1a3b161aa0fcec32a0c8907a2219ad9d" - -SRC_URI[md5sum] = "b46f69561bc85fc52e698b2440ca251e" -SRC_URI[sha256sum] = "84e8f8da544d7f4bd96479ce4a237600077984d9be1d7f16c1d9a492ecf50085" - -DEPENDS += "alsa-lib" - -RDEPENDS_${PN} += "libasound" diff --git a/recipes-devtools/python/python-pyalsaaudio_0.8.4.bb b/recipes-devtools/python/python-pyalsaaudio_0.8.4.bb index e515342..2cd3e76 100644 --- a/recipes-devtools/python/python-pyalsaaudio_0.8.4.bb +++ b/recipes-devtools/python/python-pyalsaaudio_0.8.4.bb @@ -1,2 +1,14 @@ -require python-pyalsaaudio.inc + +SUMMARY = "Support for the Linux 2.6.x ALSA Sound System" +SECTION = "devel/python" +LICENSE = "PSF" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1a3b161aa0fcec32a0c8907a2219ad9d" + +SRC_URI[md5sum] = "b46f69561bc85fc52e698b2440ca251e" +SRC_URI[sha256sum] = "84e8f8da544d7f4bd96479ce4a237600077984d9be1d7f16c1d9a492ecf50085" + +DEPENDS += "alsa-lib" + inherit pypi setuptools + +RDEPENDS_${PN} += "libasound" diff --git a/recipes-devtools/python/python-pyasn1-modules.inc b/recipes-devtools/python/python-pyasn1-modules.inc deleted file mode 100644 index fcb140a..0000000 --- a/recipes-devtools/python/python-pyasn1-modules.inc +++ /dev/null @@ -1,16 +0,0 @@ -SUMMARY = "A collection of ASN.1-based protocols modules." -DESCRIPTION = "A collection of ASN.1 modules expressed in form of pyasn1\ - classes. Includes protocols PDUs definition (SNMP, LDAP etc.) and various\ - data structures (X.509, PKCS etc.)." -HOMEPAGE = "https://github.com/etingof/pyasn1-modules" -LICENSE = "BSD-2-Clause" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a14482d15c2249de3b6f0e8a47e021fd" - -SRC_URI[md5sum] = "18c77d56abeef631d94f95ff2d652859" -SRC_URI[sha256sum] = "0c35a52e00b672f832e5846826f1fb7507907f7d52fba6faa9e3c4cbe874fe4b" - -inherit pypi - -RDEPENDS_${PN} = "${PYTHON_PN}-pyasn1" - -BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/python/python-pyasn1-modules_0.2.7.bb b/recipes-devtools/python/python-pyasn1-modules_0.2.7.bb index eb78884..c3df6b1 100644 --- a/recipes-devtools/python/python-pyasn1-modules_0.2.7.bb +++ b/recipes-devtools/python/python-pyasn1-modules_0.2.7.bb @@ -1,2 +1,16 @@ -require python-pyasn1-modules.inc -inherit setuptools +SUMMARY = "A collection of ASN.1-based protocols modules." +DESCRIPTION = "A collection of ASN.1 modules expressed in form of pyasn1\ + classes. Includes protocols PDUs definition (SNMP, LDAP etc.) and various\ + data structures (X.509, PKCS etc.)." +HOMEPAGE = "https://github.com/etingof/pyasn1-modules" +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a14482d15c2249de3b6f0e8a47e021fd" + +SRC_URI[md5sum] = "18c77d56abeef631d94f95ff2d652859" +SRC_URI[sha256sum] = "0c35a52e00b672f832e5846826f1fb7507907f7d52fba6faa9e3c4cbe874fe4b" + +inherit pypi setuptools + +RDEPENDS_${PN} = "${PYTHON_PN}-pyasn1" + +BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/python/python-pyasn1.inc b/recipes-devtools/python/python-pyasn1.inc deleted file mode 100644 index 014fcf9..0000000 --- a/recipes-devtools/python/python-pyasn1.inc +++ /dev/null @@ -1,16 +0,0 @@ -SUMMARY = "Python library implementing ASN.1 types." -HOMEPAGE = "http://pyasn1.sourceforge.net/" -LICENSE = "BSD-2-Clause" -LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=a14482d15c2249de3b6f0e8a47e021fd" - -SRC_URI[md5sum] = "50290e833395016c49903f4f9c7e47e5" -SRC_URI[sha256sum] = "a9495356ca1d66ed197a0f72b41eb1823cf7ea8b5bd07191673e8147aecf8604" - -RDEPENDS_${PN}_class-target += " \ - ${PYTHON_PN}-codecs \ - ${PYTHON_PN}-logging \ - ${PYTHON_PN}-math \ - ${PYTHON_PN}-shell \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/python/python-pyasn1_0.4.7.bb b/recipes-devtools/python/python-pyasn1_0.4.7.bb index a13c74d..17fba4e 100644 --- a/recipes-devtools/python/python-pyasn1_0.4.7.bb +++ b/recipes-devtools/python/python-pyasn1_0.4.7.bb @@ -1,6 +1,20 @@ + +SUMMARY = "Python library implementing ASN.1 types." +HOMEPAGE = "http://pyasn1.sourceforge.net/" +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=a14482d15c2249de3b6f0e8a47e021fd" + +SRC_URI[md5sum] = "50290e833395016c49903f4f9c7e47e5" +SRC_URI[sha256sum] = "a9495356ca1d66ed197a0f72b41eb1823cf7ea8b5bd07191673e8147aecf8604" + inherit pypi setuptools -require python-pyasn1.inc -RDEPENDS_${PN} += "\ +RDEPENDS_${PN}_class-target += " \ + ${PYTHON_PN}-codecs \ ${PYTHON_PN}-lang \ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-math \ + ${PYTHON_PN}-shell \ " + +BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/python/python-pyaudio.inc b/recipes-devtools/python/python-pyaudio.inc deleted file mode 100644 index 0d3ddb1..0000000 --- a/recipes-devtools/python/python-pyaudio.inc +++ /dev/null @@ -1,13 +0,0 @@ -SUMMARY = "PyAudio provides Python bindings for PortAudio, the cross-platform audio I/O library" -SECTION = "devel/python" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://README;md5=288793c2b9b05bd67abbd2a8f5d144f7" - -PYPI_PACKAGE = "PyAudio" - -SRC_URI[md5sum] = "7e4c88139284033f67b4336c74eda3b8" -SRC_URI[sha256sum] = "93bfde30e0b64e63a46f2fd77e85c41fd51182a4a3413d9edfaf9ffaa26efb74" - -DEPENDS += "portaudio-v19" - -RDEPENDS_${PN} += "portaudio-v19" diff --git a/recipes-devtools/python/python-pybind11.inc b/recipes-devtools/python/python-pybind11.inc deleted file mode 100644 index d1d53e1..0000000 --- a/recipes-devtools/python/python-pybind11.inc +++ /dev/null @@ -1,7 +0,0 @@ -SUMMARY = "Seamless operability between C++11 and Python" -HOMEPAGE = "https://github.com/wjakob/pybind11" -LICENSE = "BSD-2-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=beb87117af69fd10fbf9fb14c22a2e62" - -SRC_URI[md5sum] = "23fdca8191b16ce3e7f38fb9e4252b2d" -SRC_URI[sha256sum] = "72e6def53fb491f7f4e92692029d2e7bb5a0783314f20d80222735ff10a75758" diff --git a/recipes-devtools/python/python-pybind11_2.4.3.bb b/recipes-devtools/python/python-pybind11_2.4.3.bb index e567430..a130980 100644 --- a/recipes-devtools/python/python-pybind11_2.4.3.bb +++ b/recipes-devtools/python/python-pybind11_2.4.3.bb @@ -1,2 +1,9 @@ +SUMMARY = "Seamless operability between C++11 and Python" +HOMEPAGE = "https://github.com/wjakob/pybind11" +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=beb87117af69fd10fbf9fb14c22a2e62" + +SRC_URI[md5sum] = "23fdca8191b16ce3e7f38fb9e4252b2d" +SRC_URI[sha256sum] = "72e6def53fb491f7f4e92692029d2e7bb5a0783314f20d80222735ff10a75758" + inherit pypi setuptools -require python-pybind11.inc diff --git a/recipes-devtools/python/python-pybluez.inc b/recipes-devtools/python/python-pybluez.inc deleted file mode 100644 index 399fe57..0000000 --- a/recipes-devtools/python/python-pybluez.inc +++ /dev/null @@ -1,21 +0,0 @@ -DESCRIPTION = "Bluetooth Python extension module" -HOMEPAGE = "http://karulis.github.io/pybluez/" -SECTION = "devel/python" - -DEPENDS = "bluez5" - -LICENSE = "GPL-2.0" -LIC_FILES_CHKSUM = "file://COPYING;md5=8a71d0475d08eee76d8b6d0c6dbec543" - -inherit pypi - -SRC_URI = "https://pypi.python.org/packages/c1/98/3149481d508bee174335be6725880f00d297afebe75c15e917af8f6fe169/PyBluez-0.22.zip" -SRC_URI[md5sum] = "49dab9d5a8f0b798c8125c7f649be3cd" -SRC_URI[sha256sum] = "4ce006716a54d9d18e8186a3f1c8b12a8e6befecffe8fd5828a291fb694ce49d" - -S = "${WORKDIR}/PyBluez-${PV}" - -RDEPENDS_${PN} += "\ - bluez5 \ - ${PYTHON_PN}-fcntl \ -" diff --git a/recipes-devtools/python/python-pybluez_0.22.bb b/recipes-devtools/python/python-pybluez_0.22.bb index 3158f4b..4da2292 100644 --- a/recipes-devtools/python/python-pybluez_0.22.bb +++ b/recipes-devtools/python/python-pybluez_0.22.bb @@ -1,2 +1,25 @@ -require python-pybluez.inc -inherit setuptools + +SUMMARY = "Bluetooth Python extension module" +DESCRIPTION = "Bluetooth Python extension module" +HOMEPAGE = "https://pybluez.readthedocs.io/" +SECTION = "devel/python" + +DEPENDS = "bluez5" + +LICENSE = "GPL-2.0" +LIC_FILES_CHKSUM = "file://COPYING;md5=8a71d0475d08eee76d8b6d0c6dbec543" + +SRC_URI[md5sum] = "49dab9d5a8f0b798c8125c7f649be3cd" +SRC_URI[sha256sum] = "4ce006716a54d9d18e8186a3f1c8b12a8e6befecffe8fd5828a291fb694ce49d" + +S = "${WORKDIR}/PyBluez-${PV}" + +PYPI_PACKAGE = "PyBluez" +PYPI_PACKAGE_EXT = "zip" + +inherit pypi setuptools + +RDEPENDS_${PN} += "\ + bluez5 \ + ${PYTHON_PN}-fcntl \ +" diff --git a/recipes-devtools/python/python-pycodestyle.inc b/recipes-devtools/python/python-pycodestyle.inc deleted file mode 100644 index 96cdc5d..0000000 --- a/recipes-devtools/python/python-pycodestyle.inc +++ /dev/null @@ -1,12 +0,0 @@ -SUMMARY = "Python style guide checker (formly called pep8)" -HOMEPAGE = "https://pypi.org/project/pycodestyle" -LICENSE = "MIT" -SECTION = "devel/python" -LIC_FILES_CHKSUM = "file://LICENSE;md5=01831ddbaf398471da3cc87f5037e822" - -SRC_URI[md5sum] = "40e7a76f364a18f531aaba11a4476e21" -SRC_URI[sha256sum] = "e40a936c9a450ad81df37f549d676d127b1b66000a6c500caa2b085bc0ca976c" - -inherit pypi - -BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/python/python-pycodestyle_2.5.0.bb b/recipes-devtools/python/python-pycodestyle_2.5.0.bb index ec6c12f..38ed843 100644 --- a/recipes-devtools/python/python-pycodestyle_2.5.0.bb +++ b/recipes-devtools/python/python-pycodestyle_2.5.0.bb @@ -1,5 +1,14 @@ -inherit setuptools -require python-pycodestyle.inc + +SUMMARY = "Python style guide checker (formly called pep8)" +HOMEPAGE = "https://pypi.org/project/pycodestyle" +LICENSE = "MIT" +SECTION = "devel/python" +LIC_FILES_CHKSUM = "file://LICENSE;md5=01831ddbaf398471da3cc87f5037e822" + +SRC_URI[md5sum] = "40e7a76f364a18f531aaba11a4476e21" +SRC_URI[sha256sum] = "e40a936c9a450ad81df37f549d676d127b1b66000a6c500caa2b085bc0ca976c" + +inherit pypi setuptools RDEPENDS_${PN} += "${PYTHON_PN}-lang" @@ -8,3 +17,5 @@ do_install_append () { mv ${D}${bindir}/pycodestyle ${D}${bindir}/pycodestyle-2 fi } + +BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/python/python-pycparser.inc b/recipes-devtools/python/python-pycparser.inc deleted file mode 100644 index 47a0e0e..0000000 --- a/recipes-devtools/python/python-pycparser.inc +++ /dev/null @@ -1,17 +0,0 @@ -SUMMARY = "Parser of the C language, written in pure Python" -HOMEPAGE = "https://github.com/eliben/pycparser" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=86f1cedb4e6410a88ce8e30b91079169" - -SRC_URI[md5sum] = "76396762adc3fa769c83d8e202d36b6f" -SRC_URI[sha256sum] = "a988718abfad80b6b157acce7bf130a30876d27603738ac39f140993246b25b3" - - -BBCLASSEXTEND = "native nativesdk" - -RDEPENDS_${PN}_class-target += "\ - ${PYTHON_PN}-ply \ - ${PYTHON_PN}-pprint \ - cpp \ - cpp-symlinks \ - " diff --git a/recipes-devtools/python/python-pycparser_2.19.bb b/recipes-devtools/python/python-pycparser_2.19.bb index 9874273..63c5a68 100644 --- a/recipes-devtools/python/python-pycparser_2.19.bb +++ b/recipes-devtools/python/python-pycparser_2.19.bb @@ -1,6 +1,19 @@ +SUMMARY = "Parser of the C language, written in pure Python" +HOMEPAGE = "https://github.com/eliben/pycparser" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=86f1cedb4e6410a88ce8e30b91079169" + +SRC_URI[md5sum] = "76396762adc3fa769c83d8e202d36b6f" +SRC_URI[sha256sum] = "a988718abfad80b6b157acce7bf130a30876d27603738ac39f140993246b25b3" + inherit pypi setuptools -require python-pycparser.inc -RDEPENDS_${PN} += " \ +RDEPENDS_${PN}_class-target += "\ + ${PYTHON_PN}-ply \ + ${PYTHON_PN}-pprint \ ${PYTHON_PN}-subprocess \ -" + cpp \ + cpp-symlinks \ + " + +BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/python/python-pycrypto.inc b/recipes-devtools/python/python-pycrypto.inc deleted file mode 100644 index 232cdb7..0000000 --- a/recipes-devtools/python/python-pycrypto.inc +++ /dev/null @@ -1,21 +0,0 @@ -DESCRIPTION = "Cryptographic modules for Python." -HOMEPAGE = "http://www.pycrypto.org/" -LICENSE = "PSFv2" -LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=35f354d199e8cb7667b059a23578e63d" - -FILESEXTRAPATHS_prepend := "${THISDIR}/python-pycrypto:" - -DEPENDS += " gmp" - -inherit pypi autotools-brokensep - -SRC_URI += "file://cross-compiling.patch \ - file://CVE-2013-7459.patch \ - " - -SRC_URI[md5sum] = "55a61a054aa66812daf5161a0d5d7eda" -SRC_URI[sha256sum] = "f2ce1e989b272cfcb677616763e0a2e7ec659effa67a88aa92b3a65528f60a3c" - -do_compile[noexec] = "1" - -BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/python/python-pycrypto_2.6.1.bb b/recipes-devtools/python/python-pycrypto_2.6.1.bb index e13db01..5750b17 100644 --- a/recipes-devtools/python/python-pycrypto_2.6.1.bb +++ b/recipes-devtools/python/python-pycrypto_2.6.1.bb @@ -1,5 +1,28 @@ -inherit distutils -require python-pycrypto.inc +SUMMARY = "Cryptographic modules for Python." +DESCRIPTION = "This is a collection of both secure hash functions (such as \ +SHA256 and RIPEMD160), and various encryption algorithms (AES, DES, RSA, \ +ElGamal, etc.). The package is structured to make adding new modules easy. \ +This section is essentially complete, and the software interface will almost \ +certainly not change in an incompatible way in the future; all that remains to \ +be done is to fix any bugs that show up." +HOMEPAGE = "http://www.pycrypto.org/" +LICENSE = "PSFv2" +LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=35f354d199e8cb7667b059a23578e63d" + +FILESEXTRAPATHS_prepend := "${THISDIR}/python-pycrypto:" + +DEPENDS += " gmp" + +inherit pypi autotools-brokensep distutils + +SRC_URI += "file://cross-compiling.patch \ + file://CVE-2013-7459.patch \ + " + +SRC_URI[md5sum] = "55a61a054aa66812daf5161a0d5d7eda" +SRC_URI[sha256sum] = "f2ce1e989b272cfcb677616763e0a2e7ec659effa67a88aa92b3a65528f60a3c" + +do_compile[noexec] = "1" # We explicitly call distutils_do_install, since we want it to run, but # *don't* want the autotools install to run, since this package doesn't @@ -7,3 +30,5 @@ require python-pycrypto.inc do_install() { distutils_do_install } + +BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/python/python-pycryptodome.inc b/recipes-devtools/python/python-pycryptodome.inc deleted file mode 100644 index 50ffd0a..0000000 --- a/recipes-devtools/python/python-pycryptodome.inc +++ /dev/null @@ -1,29 +0,0 @@ -SUMMARY = "Cryptographic library for Python" -DESCRIPTION = "PyCryptodome is a self-contained Python package of low-level\ - cryptographic primitives." -HOMEPAGE = "http://www.pycryptodome.org" -LICENSE = "PD & BSD-2-Clause" -LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=6dc0e2a13d2f25d6f123c434b761faba" - -SRC_URI[md5sum] = "c4e53f9ed33ca883b18249b9e1546251" -SRC_URI[sha256sum] = "39ddc3c493125494572e0beefa8e8e6a43369e93c3c3e163cb871b37c1c62fba" - -inherit pypi - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-io \ - ${PYTHON_PN}-math \ -" - -RDEPENDS_${PN}-tests += " \ - ${PYTHON_PN}-unittest \ -" - -PACKAGES =+ "${PN}-tests" - -FILES_${PN}-tests += " \ - ${PYTHON_SITEPACKAGES_DIR}/Crypto/SelfTest/ \ - ${PYTHON_SITEPACKAGES_DIR}/Crypto/SelfTest/__pycache__/ \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/python/python-pycryptodome_3.9.3.bb b/recipes-devtools/python/python-pycryptodome_3.9.3.bb index c7701eb..e2315fa 100644 --- a/recipes-devtools/python/python-pycryptodome_3.9.3.bb +++ b/recipes-devtools/python/python-pycryptodome_3.9.3.bb @@ -1,2 +1,29 @@ -require python-pycryptodome.inc -inherit setuptools +SUMMARY = "Cryptographic library for Python" +DESCRIPTION = "PyCryptodome is a self-contained Python package of low-level\ + cryptographic primitives." +HOMEPAGE = "http://www.pycryptodome.org" +LICENSE = "PD & BSD-2-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=6dc0e2a13d2f25d6f123c434b761faba" + +SRC_URI[md5sum] = "c4e53f9ed33ca883b18249b9e1546251" +SRC_URI[sha256sum] = "39ddc3c493125494572e0beefa8e8e6a43369e93c3c3e163cb871b37c1c62fba" + +inherit pypi setuptools + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-math \ +" + +RDEPENDS_${PN}-tests += " \ + ${PYTHON_PN}-unittest \ +" + +PACKAGES =+ "${PN}-tests" + +FILES_${PN}-tests += " \ + ${PYTHON_SITEPACKAGES_DIR}/Crypto/SelfTest/ \ + ${PYTHON_SITEPACKAGES_DIR}/Crypto/SelfTest/__pycache__/ \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/python/python-pycurl.inc b/recipes-devtools/python/python-pycurl.inc deleted file mode 100644 index ac9a370..0000000 --- a/recipes-devtools/python/python-pycurl.inc +++ /dev/null @@ -1,26 +0,0 @@ -SUMMARY = "A Python Interface To The cURL library" -DESCRIPTION = "\ -PycURL is a Python interface to libcurl, the multiprotocol file \ -transfer library. Similarly to the urllib Python module, PycURL can \ -be used to fetch objects identified by a URL from a Python program \ -" -SECTION = "devel/python" -HOMEPAGE = "http://pycurl.io/" - -LICENSE = "LGPLv2 | MIT" -LIC_FILES_CHKSUM = " \ - file://COPYING-LGPL;md5=4fbd65380cdd255951079008b364516c \ - file://COPYING-MIT;md5=2df767ed35d8ea83de4a93feb55e7815 \ -" - -SRC_URI[md5sum] = "f0ed4c805e8bec734990e2e0ee78568e" -SRC_URI[sha256sum] = "6f08330c5cf79fa8ef68b9912b9901db7ffd34b63e225dce74db56bb21deda8e" - -inherit pypi - -PYPI_PACKAGE = "pycurl" - -DEPENDS = "\ - curl \ - ${PYTHON_PN}\ -" diff --git a/recipes-devtools/python/python-pycurl_7.43.0.3.bb b/recipes-devtools/python/python-pycurl_7.43.0.3.bb index 7ab2592..6d833cf 100644 --- a/recipes-devtools/python/python-pycurl_7.43.0.3.bb +++ b/recipes-devtools/python/python-pycurl_7.43.0.3.bb @@ -1,2 +1,27 @@ -inherit setuptools -require python-pycurl.inc + +SUMMARY = "A Python Interface To The cURL library" +DESCRIPTION = "\ +PycURL is a Python interface to libcurl, the multiprotocol file \ +transfer library. Similarly to the urllib Python module, PycURL can \ +be used to fetch objects identified by a URL from a Python program \ +" +SECTION = "devel/python" +HOMEPAGE = "http://pycurl.io/" + +LICENSE = "LGPLv2 | MIT" +LIC_FILES_CHKSUM = " \ + file://COPYING-LGPL;md5=4fbd65380cdd255951079008b364516c \ + file://COPYING-MIT;md5=2df767ed35d8ea83de4a93feb55e7815 \ +" + +SRC_URI[md5sum] = "f0ed4c805e8bec734990e2e0ee78568e" +SRC_URI[sha256sum] = "6f08330c5cf79fa8ef68b9912b9901db7ffd34b63e225dce74db56bb21deda8e" + +inherit pypi setuptools + +PYPI_PACKAGE = "pycurl" + +DEPENDS = "\ + curl \ + ${PYTHON_PN}\ +" diff --git a/recipes-devtools/python/python-pydbus.inc b/recipes-devtools/python/python-pydbus.inc deleted file mode 100644 index 0773b7f..0000000 --- a/recipes-devtools/python/python-pydbus.inc +++ /dev/null @@ -1,11 +0,0 @@ -DESCRIPTION = "Pythonic DBus library" -HOMEPAGE = "https://pypi.python.org/pypi/pydbus/" -LICENSE = "LGPLv2.1" -LIC_FILES_CHKSUM = "file://LICENSE;md5=a916467b91076e631dd8edb7424769c7" - -SRC_URI[md5sum] = "c6abd44862322679bd4e907bebc3e0d0" -SRC_URI[sha256sum] = "4207162eff54223822c185da06c1ba8a34137a9602f3da5a528eedf3f78d0f2c" - -S = "${WORKDIR}/pydbus-${PV}" - -RDEPENDS_${PN} = "${PYTHON_PN}-pygobject" diff --git a/recipes-devtools/python/python-pydbus_0.6.0.bb b/recipes-devtools/python/python-pydbus_0.6.0.bb index 1722a80..bb848d7 100644 --- a/recipes-devtools/python/python-pydbus_0.6.0.bb +++ b/recipes-devtools/python/python-pydbus_0.6.0.bb @@ -1,2 +1,14 @@ -require python-pydbus.inc +SUMMARY = "Pythonic DBus library" +DESCRIPTION = "Pythonic DBus library" +HOMEPAGE = "https://pypi.python.org/pypi/pydbus/" +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a916467b91076e631dd8edb7424769c7" + +SRC_URI[md5sum] = "c6abd44862322679bd4e907bebc3e0d0" +SRC_URI[sha256sum] = "4207162eff54223822c185da06c1ba8a34137a9602f3da5a528eedf3f78d0f2c" + +S = "${WORKDIR}/pydbus-${PV}" + inherit pypi setuptools + +RDEPENDS_${PN} = "${PYTHON_PN}-pygobject" diff --git a/recipes-devtools/python/python-pyelftools.inc b/recipes-devtools/python/python-pyelftools.inc deleted file mode 100644 index 7d4f763..0000000 --- a/recipes-devtools/python/python-pyelftools.inc +++ /dev/null @@ -1,14 +0,0 @@ -DESCRIPTION = "pyelftools is a pure-Python library for parsing and analyzing ELF files and DWARF debugging information" -HOMEPAGE = "https://github.com/eliben/pyelftools" -SECTION = "devel/python" -LICENSE = "PD" -LIC_FILES_CHKSUM = "file://LICENSE;md5=5ce2a2b07fca326bc7c146d10105ccfc" - -SRC_URI[md5sum] = "c5629b9a5d19c82107a946cce52eeec2" -SRC_URI[sha256sum] = "89c6da6f56280c37a5ff33468591ba9a124e17d71fe42de971818cbff46c1b24" - -PYPI_PACKAGE = "pyelftools" - -inherit pypi - -BBCLASSEXTEND = "native" diff --git a/recipes-devtools/python/python-pyelftools_0.25.bb b/recipes-devtools/python/python-pyelftools_0.25.bb index de42025..2784637 100644 --- a/recipes-devtools/python/python-pyelftools_0.25.bb +++ b/recipes-devtools/python/python-pyelftools_0.25.bb @@ -1,2 +1,16 @@ -inherit setuptools -require python-pyelftools.inc +SUMMARY = "Library for analyzing ELF files and DWARF debugging information" +DESCRIPTION = "pyelftools is a pure-Python library for parsing and analyzing \ +ELF files and DWARF debugging information" +HOMEPAGE = "https://github.com/eliben/pyelftools" +SECTION = "devel/python" +LICENSE = "PD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=5ce2a2b07fca326bc7c146d10105ccfc" + +SRC_URI[md5sum] = "c5629b9a5d19c82107a946cce52eeec2" +SRC_URI[sha256sum] = "89c6da6f56280c37a5ff33468591ba9a124e17d71fe42de971818cbff46c1b24" + +PYPI_PACKAGE = "pyelftools" + +inherit pypi setuptools + +BBCLASSEXTEND = "native" diff --git a/recipes-devtools/python/python-pyexpect.inc b/recipes-devtools/python/python-pyexpect.inc deleted file mode 100644 index 85d9588..0000000 --- a/recipes-devtools/python/python-pyexpect.inc +++ /dev/null @@ -1,11 +0,0 @@ -SUMMARY = "Python expectaton library" -DESCRIPTION = "Minimal but very flexible implementation of the expect pattern" -SECTION = "devel/python" -HOMEPAGE = " https://bitbucket.org/dwt/pyexpect" -LICENSE = "ISC" -LIC_FILES_CHKSUM = "file://README.md;md5=500b884e9dcd5f677a53cbbee8ace939" - -inherit pypi - -SRC_URI[md5sum] = "dc744289858001925c75d21e26f1260f" -SRC_URI[sha256sum] = "bff4654b113dac6c2231e486e11dcb23281ddc0742a5404467303fe7638829ef" diff --git a/recipes-devtools/python/python-pyexpect_1.0.19.bb b/recipes-devtools/python/python-pyexpect_1.0.19.bb index d26beb7..d4547cf 100644 --- a/recipes-devtools/python/python-pyexpect_1.0.19.bb +++ b/recipes-devtools/python/python-pyexpect_1.0.19.bb @@ -1,2 +1,11 @@ -inherit setuptools -require python-pyexpect.inc +SUMMARY = "Python expectaton library" +DESCRIPTION = "Minimal but very flexible implementation of the expect pattern" +SECTION = "devel/python" +HOMEPAGE = " https://bitbucket.org/dwt/pyexpect" +LICENSE = "ISC" +LIC_FILES_CHKSUM = "file://README.md;md5=500b884e9dcd5f677a53cbbee8ace939" + +inherit pypi setuptools + +SRC_URI[md5sum] = "dc744289858001925c75d21e26f1260f" +SRC_URI[sha256sum] = "bff4654b113dac6c2231e486e11dcb23281ddc0742a5404467303fe7638829ef" diff --git a/recipes-devtools/python/python-pyfirmata.inc b/recipes-devtools/python/python-pyfirmata.inc deleted file mode 100644 index 2a53574..0000000 --- a/recipes-devtools/python/python-pyfirmata.inc +++ /dev/null @@ -1,13 +0,0 @@ -SUMMARY = "A Python interface for the Firmata protocol" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=84ddcef430b7c44caa22b2ff4b37a3df" -PYPI_PACKAGE = "pyFirmata" - -RDEPENDS_${PN} = "\ - ${PYTHON_PN}-pyserial \ -" - -SRC_URI[md5sum] = "159673cfb56c72ceafc30fe91eedd847" -SRC_URI[sha256sum] = "cc180d1b30c85a2bbca62c15fef1b871db048cdcfa80959968356d97bd3ff08e" - -inherit pypi diff --git a/recipes-devtools/python/python-pyfirmata_1.1.0.bb b/recipes-devtools/python/python-pyfirmata_1.1.0.bb index d77e0f3..c43127a 100644 --- a/recipes-devtools/python/python-pyfirmata_1.1.0.bb +++ b/recipes-devtools/python/python-pyfirmata_1.1.0.bb @@ -1,3 +1,14 @@ -inherit setuptools -require python-pyfirmata.inc +SUMMARY = "A Python interface for the Firmata protocol" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=84ddcef430b7c44caa22b2ff4b37a3df" +PYPI_PACKAGE = "pyFirmata" + +RDEPENDS_${PN} = "\ + ${PYTHON_PN}-pyserial \ +" + +SRC_URI[md5sum] = "159673cfb56c72ceafc30fe91eedd847" +SRC_URI[sha256sum] = "cc180d1b30c85a2bbca62c15fef1b871db048cdcfa80959968356d97bd3ff08e" + +inherit pypi setuptools diff --git a/recipes-devtools/python/python-pyflame.inc b/recipes-devtools/python/python-pyflame.inc deleted file mode 100644 index d8d8349..0000000 --- a/recipes-devtools/python/python-pyflame.inc +++ /dev/null @@ -1,18 +0,0 @@ -SUMMARY = "Pyflame: A Ptracing Profiler For Python" -HOMEPAGE = "https://github.com/uber/pyflame" -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" -DEPENDS = "python" - -SRC_URI = "git://github.com/uber/pyflame.git;protocol=https;nobranch=1" -S = "${WORKDIR}/git" - -inherit pkgconfig autotools - -COMPATIBLE_HOST_libc-musl_class-target = "null" -COMPATIBLE_HOST_mipsarch_class-target = "null" -COMPATIBLE_HOST_aarch64_class-target = "null" -COMPATIBLE_HOST_powerpc_class-target = "null" -COMPATIBLE_HOST_riscv64_class-target = "null" -COMPATIBLE_HOST_riscv32_class-target = "null" diff --git a/recipes-devtools/python/python-pyflame_1.6.7.bb b/recipes-devtools/python/python-pyflame_1.6.7.bb index cb08f30..ad8003f 100644 --- a/recipes-devtools/python/python-pyflame_1.6.7.bb +++ b/recipes-devtools/python/python-pyflame_1.6.7.bb @@ -1,4 +1,30 @@ -require python-pyflame.inc +SUMMARY = "Pyflame: A Ptracing Profiler For Python" +DESCRIPTION = "Pyflame is a high performance profiling tool that generates \ +flame graphs for Python. Pyflame is implemented in C++, and uses the Linux \ +ptrace(2) system call to collect profiling information. It can take snapshots \ +of the Python call stack without explicit instrumentation, meaning you can \ +profile a program without modifying its source code. Pyflame is capable of \ +profiling embedded Python interpreters like uWSGI. It fully supports profiling \ +multi-threaded Python programs." +HOMEPAGE = "https://github.com/uber/pyflame" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" + +SRC_URI = "git://github.com/uber/pyflame.git;protocol=https;nobranch=1" # v1.6.7 SRCREV = "c151d2f34737f28a1f5266a003b2b0720bbd9f96" + +DEPENDS = "python" + +S = "${WORKDIR}/git" + +inherit pkgconfig autotools + +COMPATIBLE_HOST_libc-musl_class-target = "null" +COMPATIBLE_HOST_mipsarch_class-target = "null" +COMPATIBLE_HOST_aarch64_class-target = "null" +COMPATIBLE_HOST_powerpc_class-target = "null" +COMPATIBLE_HOST_riscv64_class-target = "null" +COMPATIBLE_HOST_riscv32_class-target = "null" diff --git a/recipes-devtools/python/python-pyiface.inc b/recipes-devtools/python/python-pyiface.inc deleted file mode 100644 index 2e398fc..0000000 --- a/recipes-devtools/python/python-pyiface.inc +++ /dev/null @@ -1,11 +0,0 @@ -SUMMARY = "Pyiface is a package that exposes the network interfaces of the operating system in a easy to use and transparent way" -SECTION = "devel/python" -HOMEPAGE = "https://pypi.python.org/pypi/pyiface/" -LICENSE = "GPLv3+" - -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4fe869ee987a340198fb0d54c55c47f1" - -SRC_URI[md5sum] = "b066aa984656742738127c9c75436ab4" -SRC_URI[sha256sum] = "e231e5735d329c5b2d4fc8854f069fdaa5436d3ef91ed64ee49e41e3f5e8a3f5" - -inherit pypi diff --git a/recipes-devtools/python/python-pyiface_0.0.11.bb b/recipes-devtools/python/python-pyiface_0.0.11.bb index 854cb30..a5486f2 100644 --- a/recipes-devtools/python/python-pyiface_0.0.11.bb +++ b/recipes-devtools/python/python-pyiface_0.0.11.bb @@ -1,2 +1,11 @@ -inherit setuptools -require python-pyiface.inc
\ No newline at end of file +SUMMARY = "Pyiface is a package that exposes the network interfaces of the operating system in a easy to use and transparent way" +SECTION = "devel/python" +HOMEPAGE = "https://pypi.python.org/pypi/pyiface/" +LICENSE = "GPLv3+" + +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4fe869ee987a340198fb0d54c55c47f1" + +SRC_URI[md5sum] = "b066aa984656742738127c9c75436ab4" +SRC_URI[sha256sum] = "e231e5735d329c5b2d4fc8854f069fdaa5436d3ef91ed64ee49e41e3f5e8a3f5" + +inherit pypi setuptools diff --git a/recipes-devtools/python/python-pyinotify.inc b/recipes-devtools/python/python-pyinotify.inc deleted file mode 100644 index 21abdb8..0000000 --- a/recipes-devtools/python/python-pyinotify.inc +++ /dev/null @@ -1,16 +0,0 @@ -DESCRIPTION = "Python pyinotify: Linux filesystem events monitoring" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://COPYING;md5=ab173cade7965b411528464589a08382" - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-threading \ - ${PYTHON_PN}-io \ - ${PYTHON_PN}-misc \ - ${PYTHON_PN}-shell \ - ${PYTHON_PN}-smtpd \ -" - -SRC_URI[md5sum] = "8e580fa1ff3971f94a6f81672b76c406" -SRC_URI[sha256sum] = "9c998a5d7606ca835065cdabc013ae6c66eb9ea76a00a1e3bc6e0cfe2b4f71f4" - -inherit pypi diff --git a/recipes-devtools/python/python-pyinotify_0.9.6.bb b/recipes-devtools/python/python-pyinotify_0.9.6.bb index 0c9a2c7..4be1c4c 100644 --- a/recipes-devtools/python/python-pyinotify_0.9.6.bb +++ b/recipes-devtools/python/python-pyinotify_0.9.6.bb @@ -1,6 +1,18 @@ -inherit setuptools -require python-pyinotify.inc +SUMMARY = "Python pyinotify: Linux filesystem events monitoring" +DESCRIPTION = "Python pyinotify: Linux filesystem events monitoring" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=ab173cade7965b411528464589a08382" RDEPENDS_${PN} += "\ + ${PYTHON_PN}-threading \ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-misc \ + ${PYTHON_PN}-shell \ + ${PYTHON_PN}-smtpd \ ${PYTHON_PN}-subprocess \ " + +SRC_URI[md5sum] = "8e580fa1ff3971f94a6f81672b76c406" +SRC_URI[sha256sum] = "9c998a5d7606ca835065cdabc013ae6c66eb9ea76a00a1e3bc6e0cfe2b4f71f4" + +inherit pypi setuptools diff --git a/recipes-devtools/python/python-pyjks.inc b/recipes-devtools/python/python-pyjks.inc deleted file mode 100644 index 9a066f7..0000000 --- a/recipes-devtools/python/python-pyjks.inc +++ /dev/null @@ -1,22 +0,0 @@ -SUMMARY = "Pure-Python Java Keystore (JKS) library" -DESCRIPTION = "PyJKS enables Python projects to load and manipulate\ - Java KeyStore (JKS) data without a JVM dependency. PyJKS supports JKS,\ - JCEKS, BKS and UBER (BouncyCastle) keystores." -HOMEPAGE = "http://github.com/kurtbrose/pyjks" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=9694d6cc724caf7f7386be88a4a81958" - -SRC_URI[md5sum] = "b6e8f3b91be355d15e3ba99de2cccf9b" -SRC_URI[sha256sum] = "9ce5b40289bcdffcd6a8e7118b333ba8ba2ec4c9ebc5e324885cc8a69767011a" - -inherit pypi - -RDEPENDS_${PN} = "\ - ${PYTHON_PN}-javaobj-py3 \ - ${PYTHON_PN}-pyasn1 \ - ${PYTHON_PN}-pyasn1-modules \ - ${PYTHON_PN}-pycryptodome \ - ${PYTHON_PN}-twofish\ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/python/python-pyjks_19.0.0.bb b/recipes-devtools/python/python-pyjks_19.0.0.bb index ce99f28..75f9a0e 100644 --- a/recipes-devtools/python/python-pyjks_19.0.0.bb +++ b/recipes-devtools/python/python-pyjks_19.0.0.bb @@ -1,2 +1,23 @@ -require python-pyjks.inc -inherit setuptools + +SUMMARY = "Pure-Python Java Keystore (JKS) library" +DESCRIPTION = "PyJKS enables Python projects to load and manipulate\ + Java KeyStore (JKS) data without a JVM dependency. PyJKS supports JKS,\ + JCEKS, BKS and UBER (BouncyCastle) keystores." +HOMEPAGE = "http://github.com/kurtbrose/pyjks" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=9694d6cc724caf7f7386be88a4a81958" + +SRC_URI[md5sum] = "b6e8f3b91be355d15e3ba99de2cccf9b" +SRC_URI[sha256sum] = "9ce5b40289bcdffcd6a8e7118b333ba8ba2ec4c9ebc5e324885cc8a69767011a" + +inherit pypi setuptools + +RDEPENDS_${PN} = "\ + ${PYTHON_PN}-javaobj-py3 \ + ${PYTHON_PN}-pyasn1 \ + ${PYTHON_PN}-pyasn1-modules \ + ${PYTHON_PN}-pycryptodome \ + ${PYTHON_PN}-twofish\ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/python/python-pyjwt.inc b/recipes-devtools/python/python-pyjwt.inc deleted file mode 100644 index 9b89385..0000000 --- a/recipes-devtools/python/python-pyjwt.inc +++ /dev/null @@ -1,17 +0,0 @@ -SUMMARY = "JSON Web Token implementation in Python" -SUMMARY = "JSON Web Token implementation in Python" -DESCRIPTION = "A Python implementation of JSON Web Token draft 32.\ - Original implementation was written by https://github.com/progrium" -HOMEPAGE = "http://github.com/jpadilla/pyjwt" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=68626705a7b513ca8d5f44a3e200ed0c" - -SRC_URI[md5sum] = "a4712f980c008696e13e09504120b2a0" -SRC_URI[sha256sum] = "8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96" - -PYPI_PACKAGE = "PyJWT" -inherit pypi - -RDEPENDS_${PN} = "${PYTHON_PN}-cryptography" - -BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/python/python-pyjwt_1.7.1.bb b/recipes-devtools/python/python-pyjwt_1.7.1.bb index f0a77b6..9d27cb7 100644 --- a/recipes-devtools/python/python-pyjwt_1.7.1.bb +++ b/recipes-devtools/python/python-pyjwt_1.7.1.bb @@ -1,2 +1,17 @@ -require python-pyjwt.inc -inherit setuptools + +SUMMARY = "JSON Web Token implementation in Python" +DESCRIPTION = "A Python implementation of JSON Web Token draft 32.\ + Original implementation was written by https://github.com/progrium" +HOMEPAGE = "http://github.com/jpadilla/pyjwt" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=68626705a7b513ca8d5f44a3e200ed0c" + +SRC_URI[md5sum] = "a4712f980c008696e13e09504120b2a0" +SRC_URI[sha256sum] = "8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96" + +PYPI_PACKAGE = "PyJWT" +inherit pypi setuptools + +RDEPENDS_${PN} = "${PYTHON_PN}-cryptography" + +BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/python/python-pylint.inc b/recipes-devtools/python/python-pylint.inc deleted file mode 100644 index ba85b98..0000000 --- a/recipes-devtools/python/python-pylint.inc +++ /dev/null @@ -1,38 +0,0 @@ -SUMMARY="Pylint is a Python source code analyzer" -HOMEPAGE= "http://www.pylint.org/" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4" - -SRC_URI[md5sum] = "2eb5f3cb8fe567eaf5420dd415012202" -SRC_URI[sha256sum] = "c77311859e0c2d7932095f30d2b1bfdc4b6fe111f534450ba727a52eae330ef2" - -inherit pypi - -DEPENDS += "${PYTHON_PN}-pytest-runner-native" - -do_install_append(){ - rm ${D}${bindir}/pylint - cat >> ${D}${bindir}/pylint <<EOF -#!/usr/bin/env ${PYTHON_PN} -from pylint import run_pylint -run_pylint() -EOF - chmod 755 ${D}${bindir}/pylint - sed -i -e 's:^#!/usr/bin/python:#!/usr/bin/env\ ${PYTHON_PN}:g' ${D}/${PYTHON_SITEPACKAGES_DIR}/pylint/test/data/ascript -} - -PACKAGES =+ "${PN}-tests" -FILES_${PN}-tests+= " \ - ${PYTHON_SITEPACKAGES_DIR}/pylint/test/ \ - ${PYTHON_SITEPACKAGES_DIR}/pylint/testutils.py \ -" - -RDEPENDS_${PN} += "${PYTHON_PN}-astroid \ - ${PYTHON_PN}-isort \ - ${PYTHON_PN}-numbers \ - ${PYTHON_PN}-shell \ - ${PYTHON_PN}-json \ - ${PYTHON_PN}-pkgutil \ - ${PYTHON_PN}-difflib \ - ${PYTHON_PN}-netserver \ - " diff --git a/recipes-devtools/python/python-pylint_1.8.3.bb b/recipes-devtools/python/python-pylint_1.8.3.bb index 7b51d3f..223a5b0 100644 --- a/recipes-devtools/python/python-pylint_1.8.3.bb +++ b/recipes-devtools/python/python-pylint_1.8.3.bb @@ -1,4 +1,39 @@ -inherit setuptools python-dir -require python-pylint.inc +SUMMARY="Pylint is a Python source code analyzer" +HOMEPAGE= "http://www.pylint.org/" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4" -RDEPENDS_${PN} += "${PYTHON_PN}-backports-functools-lru-cache" +SRC_URI[md5sum] = "2eb5f3cb8fe567eaf5420dd415012202" +SRC_URI[sha256sum] = "c77311859e0c2d7932095f30d2b1bfdc4b6fe111f534450ba727a52eae330ef2" + +inherit pypi setuptools python-dir + +DEPENDS += "${PYTHON_PN}-pytest-runner-native" + +do_install_append(){ + rm ${D}${bindir}/pylint + cat >> ${D}${bindir}/pylint <<EOF +#!/usr/bin/env ${PYTHON_PN} +from pylint import run_pylint +run_pylint() +EOF + chmod 755 ${D}${bindir}/pylint + sed -i -e 's:^#!/usr/bin/python:#!/usr/bin/env\ ${PYTHON_PN}:g' ${D}/${PYTHON_SITEPACKAGES_DIR}/pylint/test/data/ascript +} + +PACKAGES =+ "${PN}-tests" +FILES_${PN}-tests+= " \ + ${PYTHON_SITEPACKAGES_DIR}/pylint/test/ \ + ${PYTHON_SITEPACKAGES_DIR}/pylint/testutils.py \ +" + +RDEPENDS_${PN} += "${PYTHON_PN}-astroid \ + ${PYTHON_PN}-backports-functools-lru-cache \ + ${PYTHON_PN}-isort \ + ${PYTHON_PN}-numbers \ + ${PYTHON_PN}-shell \ + ${PYTHON_PN}-json \ + ${PYTHON_PN}-pkgutil \ + ${PYTHON_PN}-difflib \ + ${PYTHON_PN}-netserver \ + " diff --git a/recipes-devtools/python/python-pymisp.inc b/recipes-devtools/python/python-pymisp.inc deleted file mode 100644 index 4c61d9f..0000000 --- a/recipes-devtools/python/python-pymisp.inc +++ /dev/null @@ -1,15 +0,0 @@ -DESCRIPTION = "Python API for MISP" -HOMEPAGE = "https://github.com/MISP/PyMISP" -LICENSE = "BSD-2-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=a3639cf5780f71b125d3e9d1dc127c20" - -SRC_URI[md5sum] = "77aef367e57ba7dcc6f9b3d445a960ed" -SRC_URI[sha256sum] = "de67196f6a8916b9c52a84a1c45ea967c53fa9d2b3795b070ad2c1cbc28d79d7" - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-dateutil \ - ${PYTHON_PN}-json \ - ${PYTHON_PN}-jsonschema \ - ${PYTHON_PN}-requests \ - ${PYTHON_PN}-six \ -" diff --git a/recipes-devtools/python/python-pymisp_2.4.117.2.bb b/recipes-devtools/python/python-pymisp_2.4.117.2.bb index 1b1fbe9..ad1d164 100644 --- a/recipes-devtools/python/python-pymisp_2.4.117.2.bb +++ b/recipes-devtools/python/python-pymisp_2.4.117.2.bb @@ -1,2 +1,23 @@ +SUMMARY = "Python API for MISP" +DESCRIPTION = "PyMISP is a Python library to access MISP platforms via their \ +REST API. \ +\ +PyMISP allows you to fetch events, add or update events/attributes, add or \ +update samples or search for attributes." +HOMEPAGE = "https://github.com/MISP/PyMISP" +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a3639cf5780f71b125d3e9d1dc127c20" + +SRC_URI[md5sum] = "77aef367e57ba7dcc6f9b3d445a960ed" +SRC_URI[sha256sum] = "de67196f6a8916b9c52a84a1c45ea967c53fa9d2b3795b070ad2c1cbc28d79d7" + inherit pypi setuptools -require python-pymisp.inc + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-dateutil \ + ${PYTHON_PN}-json \ + ${PYTHON_PN}-jsonschema \ + ${PYTHON_PN}-requests \ + ${PYTHON_PN}-six \ +" + diff --git a/recipes-devtools/python/python-pymongo.inc b/recipes-devtools/python/python-pymongo.inc deleted file mode 100644 index cd11d98..0000000 --- a/recipes-devtools/python/python-pymongo.inc +++ /dev/null @@ -1,29 +0,0 @@ -SUMMARY = "Python driver for MongoDB <http://www.mongodb.org>" -DESCRIPTION = "\ -The PyMongo distribution contains tools for interacting with MongoDB \ -database from Python. The bson package is an implementation of the BSON \ -format for Python. The pymongo package is a native Python driver for \ -MongoDB. The gridfs package is a gridfs implementation on top of pymongo." -HOMEPAGE = "http://github.com/mongodb/mongo-python-driver" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" - -SRC_URI[md5sum] = "531786df7ad98f15c43f1b17edf5f84c" -SRC_URI[sha256sum] = "4249c6ba45587b959292a727532826c5032d59171f923f7f823788f413c2a5a3" - -PACKAGES =+ "${PYTHON_PN}-bson" - -FILES_${PYTHON_PN}-bson = "${PYTHON_SITEPACKAGES_DIR}/bson/*" - -RDEPENDS_${PYTHON_PN}-bson += " \ - ${PYTHON_PN}-datetime \ - ${PYTHON_PN}-json \ - ${PYTHON_PN}-netclient \ - ${PYTHON_PN}-numbers \ - ${PYTHON_PN}-threading \ -" - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-bson \ - ${PYTHON_PN}-pprint \ -" diff --git a/recipes-devtools/python/python-pymongo_3.9.0.bb b/recipes-devtools/python/python-pymongo_3.9.0.bb index b1778b2..ab7a421 100644 --- a/recipes-devtools/python/python-pymongo_3.9.0.bb +++ b/recipes-devtools/python/python-pymongo_3.9.0.bb @@ -1,2 +1,31 @@ +SUMMARY = "Python driver for MongoDB <http://www.mongodb.org>" +DESCRIPTION = "\ +The PyMongo distribution contains tools for interacting with MongoDB \ +database from Python. The bson package is an implementation of the BSON \ +format for Python. The pymongo package is a native Python driver for \ +MongoDB. The gridfs package is a gridfs implementation on top of pymongo." +HOMEPAGE = "http://github.com/mongodb/mongo-python-driver" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" + +SRC_URI[md5sum] = "531786df7ad98f15c43f1b17edf5f84c" +SRC_URI[sha256sum] = "4249c6ba45587b959292a727532826c5032d59171f923f7f823788f413c2a5a3" + inherit pypi setuptools -require python-pymongo.inc + +PACKAGES =+ "${PYTHON_PN}-bson" + +FILES_${PYTHON_PN}-bson = "${PYTHON_SITEPACKAGES_DIR}/bson/*" + +RDEPENDS_${PYTHON_PN}-bson += " \ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-json \ + ${PYTHON_PN}-netclient \ + ${PYTHON_PN}-numbers \ + ${PYTHON_PN}-threading \ +" + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-bson \ + ${PYTHON_PN}-pprint \ +" diff --git a/recipes-devtools/python/python-pymysql.inc b/recipes-devtools/python/python-pymysql.inc deleted file mode 100644 index 8c7f455..0000000 --- a/recipes-devtools/python/python-pymysql.inc +++ /dev/null @@ -1,18 +0,0 @@ -SUMMARY = "A pure-Python MySQL client library" -DESCRIPTION = " \ - This package contains a pure-Python MySQL client library, based on PEP 249 \ - Most public APIs are compatible with mysqlclient and MySQLdb. \ - " -SECTION = "devel/python" -HOMEPAGE = "https://pymysql.readthedocs.io" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=528175c84163bb800d23ad835c7fa0fc" - -SRC_URI[md5sum] = "e5d9183cc0a775ac29f9e0365cca6556" -SRC_URI[sha256sum] = "d8c059dcd81dedb85a9f034d5e22dcb4442c0b201908bede99e306d65ea7c8e7" - -inherit pypi - -PYPI_PACKAGE = "PyMySQL" - -RDEPENDS_${PN} += "${PYTHON_PN}-cryptography" diff --git a/recipes-devtools/python/python-pymysql_0.9.3.bb b/recipes-devtools/python/python-pymysql_0.9.3.bb index 27d097e..df87913 100644 --- a/recipes-devtools/python/python-pymysql_0.9.3.bb +++ b/recipes-devtools/python/python-pymysql_0.9.3.bb @@ -1,2 +1,19 @@ -inherit setuptools -require python-pymysql.inc + +SUMMARY = "A pure-Python MySQL client library" +DESCRIPTION = " \ + This package contains a pure-Python MySQL client library, based on PEP 249 \ + Most public APIs are compatible with mysqlclient and MySQLdb. \ + " +SECTION = "devel/python" +HOMEPAGE = "https://pymysql.readthedocs.io" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=528175c84163bb800d23ad835c7fa0fc" + +SRC_URI[md5sum] = "e5d9183cc0a775ac29f9e0365cca6556" +SRC_URI[sha256sum] = "d8c059dcd81dedb85a9f034d5e22dcb4442c0b201908bede99e306d65ea7c8e7" + +inherit pypi setuptools + +PYPI_PACKAGE = "PyMySQL" + +RDEPENDS_${PN} += "${PYTHON_PN}-cryptography" diff --git a/recipes-devtools/python/python-pynetlinux.inc b/recipes-devtools/python/python-pynetlinux.inc deleted file mode 100644 index c755c0a..0000000 --- a/recipes-devtools/python/python-pynetlinux.inc +++ /dev/null @@ -1,11 +0,0 @@ -SUMMARY = "Linux network configuration library for Python" -DESCRIPTION = "This library contains Python bindings to ioctl calls" -SECTION = "devel/python" -HOMEPAGE = "http://github.com/rlisagor/pynetlinux" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=74e1861736ee959824fe7542323c12e9" - -inherit pypi - -SRC_URI[md5sum] = "3336e5d4a478acca4e35bf3125b4f883" -SRC_URI[sha256sum] = "4ad08298c9f5ba15a11cddc639ba8778cabdfc402b51066d9e0a325e5a5b391c" diff --git a/recipes-devtools/python/python-pynetlinux_1.1.bb b/recipes-devtools/python/python-pynetlinux_1.1.bb index c45ad6a..313e2c7 100644 --- a/recipes-devtools/python/python-pynetlinux_1.1.bb +++ b/recipes-devtools/python/python-pynetlinux_1.1.bb @@ -1,2 +1,12 @@ -inherit setuptools -require python-pynetlinux.inc + +SUMMARY = "Linux network configuration library for Python" +DESCRIPTION = "This library contains Python bindings to ioctl calls" +SECTION = "devel/python" +HOMEPAGE = "http://github.com/rlisagor/pynetlinux" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=74e1861736ee959824fe7542323c12e9" + +inherit pypi setuptools + +SRC_URI[md5sum] = "3336e5d4a478acca4e35bf3125b4f883" +SRC_URI[sha256sum] = "4ad08298c9f5ba15a11cddc639ba8778cabdfc402b51066d9e0a325e5a5b391c" diff --git a/recipes-devtools/python/python-pyopenssl.inc b/recipes-devtools/python/python-pyopenssl.inc deleted file mode 100644 index 00c103f..0000000 --- a/recipes-devtools/python/python-pyopenssl.inc +++ /dev/null @@ -1,23 +0,0 @@ -SUMMARY = "Simple Python wrapper around the OpenSSL library" -HOMEPAGE = "https://pyopenssl.org/" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" - -DEPENDS += "openssl ${PYTHON_PN}-cryptography" - -SRC_URI[md5sum] = "b9876625dc1d5a5a662d748689191537" -SRC_URI[sha256sum] = "aeca66338f6de19d1aa46ed634c3b9ae519a64b458f8468aec688e7e3c20f200" - -PYPI_PACKAGE = "pyOpenSSL" - -PACKAGES =+ "${PN}-tests" -FILES_${PN}-tests = "${libdir}/${PYTHON_DIR}/site-packages/OpenSSL/test" - -RDEPENDS_${PN}_class-target = " \ - ${PYTHON_PN}-cryptography \ - ${PYTHON_PN}-six \ - ${PYTHON_PN}-threading \ -" -RDEPENDS_${PN}-tests = "${PN}" - -BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/python/python-pyopenssl_19.0.0.bb b/recipes-devtools/python/python-pyopenssl_19.0.0.bb index b7d5146..4842b8d 100644 --- a/recipes-devtools/python/python-pyopenssl_19.0.0.bb +++ b/recipes-devtools/python/python-pyopenssl_19.0.0.bb @@ -1,2 +1,25 @@ -require python-pyopenssl.inc +SUMMARY = "Simple Python wrapper around the OpenSSL library" +HOMEPAGE = "https://pyopenssl.org/" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +DEPENDS += "openssl ${PYTHON_PN}-cryptography" + +SRC_URI[md5sum] = "b9876625dc1d5a5a662d748689191537" +SRC_URI[sha256sum] = "aeca66338f6de19d1aa46ed634c3b9ae519a64b458f8468aec688e7e3c20f200" + +PYPI_PACKAGE = "pyOpenSSL" + inherit pypi setuptools + +PACKAGES =+ "${PN}-tests" +FILES_${PN}-tests = "${libdir}/${PYTHON_DIR}/site-packages/OpenSSL/test" + +RDEPENDS_${PN}_class-target = " \ + ${PYTHON_PN}-cryptography \ + ${PYTHON_PN}-six \ + ${PYTHON_PN}-threading \ +" +RDEPENDS_${PN}-tests = "${PN}" + +BBCLASSEXTEND = "native nativesdk" |