diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-04-01 22:23:53 -0400 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-04-04 13:38:59 +0000 |
commit | 001113296d3300ffaf6b6d1578a4232dbf2695c8 (patch) | |
tree | 14ddda5f75227063a7dea14becfecda14e67c500 /import-layers/meta-openembedded/meta-python/recipes-devtools | |
parent | 211ccf33fb57ddede03d26cf7cb05924d039b2df (diff) | |
download | blackbird-openbmc-001113296d3300ffaf6b6d1578a4232dbf2695c8.tar.gz blackbird-openbmc-001113296d3300ffaf6b6d1578a4232dbf2695c8.zip |
Rocko refresh
poky: 0ec241873367e18f5371a3ad9aca1e2801dcd4ee
meta-openembbeded: dacfa2b1920e285531bec55cd2f08743390aaf57
meta-virtualization: bd77388f31929f38e7d4cc9c711f0f83f563007e
meta-raspberrypi: b58ccfc696e4fa6b680ae5ca79960312676d7af9
Tested: Built witherspoon, palmetto and qemu images
Change-Id: I934ff48674042bb5ce6b7d75642e7adb9668a409
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'import-layers/meta-openembedded/meta-python/recipes-devtools')
17 files changed, 154 insertions, 3 deletions
diff --git a/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-attrs.inc b/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-attrs.inc new file mode 100644 index 000000000..edde79e5d --- /dev/null +++ b/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-attrs.inc @@ -0,0 +1,9 @@ +DESCRIPTION = "Classes Without Boilerplate" +HOMEPAGE = "http://www.attrs.org/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d4ab25949a73fe7d4fdee93bcbdbf8ff" + +SRC_URI[md5sum] = "4314f784ca3174d91956da9828248960" +SRC_URI[sha256sum] = "c78f53e32d7cf36d8597c8a2c7e3c0ad210f97b9509e152e4c37fa80869f823c" + +inherit pypi diff --git a/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-attrs_17.3.0.bb b/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-attrs_17.3.0.bb new file mode 100644 index 000000000..a6fdf158d --- /dev/null +++ b/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-attrs_17.3.0.bb @@ -0,0 +1,2 @@ +inherit setuptools +require python-attrs.inc diff --git a/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-automat.inc b/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-automat.inc new file mode 100644 index 000000000..43b9ce9e3 --- /dev/null +++ b/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-automat.inc @@ -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 \ +" diff --git a/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-automat/0001-setup.py-remove-the-dependency-on-m2r.patch b/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-automat/0001-setup.py-remove-the-dependency-on-m2r.patch new file mode 100644 index 000000000..0ebb22075 --- /dev/null +++ b/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-automat/0001-setup.py-remove-the-dependency-on-m2r.patch @@ -0,0 +1,52 @@ +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(-) + +diff --git a/setup.py b/setup.py +index d360c64..7b4180a 100644 +--- a/setup.py ++++ b/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>=16.1.0", +-- +2.7.4 + diff --git a/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-automat_0.6.0.bb b/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-automat_0.6.0.bb new file mode 100644 index 000000000..8ac8c9c0f --- /dev/null +++ b/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-automat_0.6.0.bb @@ -0,0 +1,2 @@ +inherit setuptools +require python-automat.inc diff --git a/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-constantly.inc b/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-constantly.inc new file mode 100644 index 000000000..815350492 --- /dev/null +++ b/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-constantly.inc @@ -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" diff --git a/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-constantly_15.1.0.bb b/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-constantly_15.1.0.bb new file mode 100644 index 000000000..29b15eb60 --- /dev/null +++ b/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-constantly_15.1.0.bb @@ -0,0 +1,2 @@ +inherit setuptools +require python-constantly.inc diff --git a/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-cryptography.inc b/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-cryptography.inc index 87ff16c37..4ba3e320f 100644 --- a/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-cryptography.inc +++ b/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-cryptography.inc @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d5ede125ed08d4fd14ec44d334bdb388" DEPENDS += " \ ${PYTHON_PN}-cffi \ ${PYTHON_PN}-cffi-native \ - ${PYTHON_PN}-pyasn1 \ + ${PYTHON_PN}-asn1crypto \ ${PYTHON_PN}-six \ " @@ -16,7 +16,7 @@ SRC_URI[sha256sum] = "d04bb2425086c3fe86f7bc48915290b13e798497839fbb18ab7f6dffcf RDEPENDS_${PN} += " \ ${PYTHON_PN}-cffi \ ${PYTHON_PN}-idna \ - ${PYTHON_PN}-pyasn1 \ + ${PYTHON_PN}-asn1crypto \ ${PYTHON_PN}-pycparser \ ${PYTHON_PN}-setuptools \ ${PYTHON_PN}-six \ @@ -26,7 +26,7 @@ RDEPENDS_${PN}_class-target += " \ ${PYTHON_PN}-cffi \ ${PYTHON_PN}-idna \ ${PYTHON_PN}-numbers \ - ${PYTHON_PN}-pyasn1 \ + ${PYTHON_PN}-asn1crypto \ ${PYTHON_PN}-pycparser \ ${PYTHON_PN}-subprocess \ ${PYTHON_PN}-setuptools \ diff --git a/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-hyperlink.inc b/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-hyperlink.inc new file mode 100644 index 000000000..2b5b0a0ff --- /dev/null +++ b/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-hyperlink.inc @@ -0,0 +1,17 @@ +DESCRIPTION = "A featureful, correct URL for Python" +HOMEPAGE = "https://github.com/python-hyper/hyperlink" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3893d4ed05dcc823f8ed685a9ea19bcb" + +SRC_URI[md5sum] = "eaccb9845b559817e838846669cbc68a" +SRC_URI[sha256sum] = "bc4ffdbde9bdad204d507bd8f554f16bba82dd356f6130cb16f41422909c33bc" + +inherit pypi + +RDEPENDS_${PN} += "${PYTHON_PN}-stringold ${PYTHON_PN}-netclient" + +PACKAGES =. "${PN}-test " + +FILES_${PN}-test += " \ + ${PYTHON_SITEPACKAGES_DIR}/hyperlinkt/test \ +" diff --git a/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-hyperlink_17.3.1.bb b/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-hyperlink_17.3.1.bb new file mode 100644 index 000000000..59a9a5c8d --- /dev/null +++ b/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-hyperlink_17.3.1.bb @@ -0,0 +1,2 @@ +inherit setuptools +require python-hyperlink.inc diff --git a/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-incremental.inc b/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-incremental.inc new file mode 100644 index 000000000..367545868 --- /dev/null +++ b/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-incremental.inc @@ -0,0 +1,14 @@ +DESCRIPTION = "Incremental is a small library that versions your Python projects" +HOMEPAGE = "https://github.com/twisted/incremental" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=6ca9b07f08e2c72d48c74d363d1e0e15" + +SRC_URI[md5sum] = "602746e0d438e075a5a9e0678140bba2" +SRC_URI[sha256sum] = "7b751696aaf36eebfab537e458929e194460051ccad279c72b755a167eebd4b3" + +inherit pypi + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-twisted \ + ${PYTHON_PN}-click \ +" diff --git a/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-incremental_17.5.0.bb b/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-incremental_17.5.0.bb new file mode 100644 index 000000000..139ac0c52 --- /dev/null +++ b/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python-incremental_17.5.0.bb @@ -0,0 +1,2 @@ +inherit setuptools +require python-incremental.inc diff --git a/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-attrs_17.3.0.bb b/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-attrs_17.3.0.bb new file mode 100644 index 000000000..c34693f50 --- /dev/null +++ b/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-attrs_17.3.0.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-attrs.inc diff --git a/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-automat_0.6.0.bb b/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-automat_0.6.0.bb new file mode 100644 index 000000000..0469e6138 --- /dev/null +++ b/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-automat_0.6.0.bb @@ -0,0 +1,4 @@ +inherit setuptools3 +require python-automat.inc + +RDEPENDS_${PN} += "${PYTHON_PN}-enum " diff --git a/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-constantly_15.1.0.bb b/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-constantly_15.1.0.bb new file mode 100644 index 000000000..3f667540d --- /dev/null +++ b/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-constantly_15.1.0.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-constantly.inc diff --git a/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-hyperlink_17.3.1.bb b/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-hyperlink_17.3.1.bb new file mode 100644 index 000000000..3d30af29a --- /dev/null +++ b/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-hyperlink_17.3.1.bb @@ -0,0 +1,4 @@ +inherit setuptools3 +require python-hyperlink.inc + +RDEPENDS_${PN} += "${PYTHON_PN}-selectors ${PYTHON_PN}-enum" diff --git a/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-incremental_17.5.0.bb b/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-incremental_17.5.0.bb new file mode 100644 index 000000000..0f04df4a6 --- /dev/null +++ b/import-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-incremental_17.5.0.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-incremental.inc |