diff options
author | Tim Orling <ticotimo@gmail.com> | 2019-11-29 16:30:46 -0800 |
---|---|---|
committer | Tim Orling <ticotimo@gmail.com> | 2019-12-01 17:04:25 -0800 |
commit | 3a336d8f08b3f597807d3158077d0e1c830c75ed (patch) | |
tree | 133756c00c77a7d2062a29e7309970193d7cfde2 /recipes-devtools/python/python-astroid_2.3.3.bb | |
parent | cbb37ae16a84c38c5be6b34f7ec8f30a8e9f52af (diff) | |
download | meta-python2-3a336d8f08b3f597807d3158077d0e1c830c75ed.tar.gz |
recipes-devtools: merge inc and bb PART VI
Since we no longer need to support two python
versions, merge inc and bb.
This makes maintenance easier with AUH and devtool.
While we are at it, drop dangling inc files and
general recipe cleanup, including adding SUMMARY
and HOMEPAGE.
Signed-off-by: Tim Orling <ticotimo@gmail.com>
Diffstat (limited to 'recipes-devtools/python/python-astroid_2.3.3.bb')
-rw-r--r-- | recipes-devtools/python/python-astroid_2.3.3.bb | 48 |
1 files changed, 44 insertions, 4 deletions
diff --git a/recipes-devtools/python/python-astroid_2.3.3.bb b/recipes-devtools/python/python-astroid_2.3.3.bb index 687394d..bbd1095 100644 --- a/recipes-devtools/python/python-astroid_2.3.3.bb +++ b/recipes-devtools/python/python-astroid_2.3.3.bb @@ -1,10 +1,50 @@ -inherit setuptools -require python-astroid.inc -RDEPENDS_${PN}_class-target += " \ - ${PYTHON_PN}-enum34 \ +SUMMARY = "An abstract syntax tree for Python with inference support." +DESCRIPTION = "The aim of this module is to provide a common base \ +representation of python source code. It is currently the library powering \ +pylint’s capabilities.\ +\ +It provides a compatible representation which comes from the _ast module. It \ +rebuilds the tree generated by the builtin _ast module by recursively walking \ +down the AST and building an extended ast. The new node classes have \ +additional methods and attributes for different usages. They include some \ +support for static inference and local name scopes. Furthermore, astroid can \ +also build partial trees by inspecting living objects." +HOMEPAGE = "https://pypi.python.org/pypi/astroid" +SECTION = "devel/python" + +LICENSE = "LGPL-2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" + +SRC_URI[md5sum] = "5f3d73d82d1753b59bb49a6bc6046dee" +SRC_URI[sha256sum] = "71ea07f44df9568a75d0f354c49143a4575d90645e9fead6dfb52c26a85ed13a" + +DEPENDS += "${PYTHON_PN}-pytest-runner-native" + +PACKAGES =+ "${PN}-tests" + +inherit pypi setuptools + +FILES_${PN}-tests += " \ + ${PYTHON_SITEPACKAGES_DIR}/astroid/test* \ + ${PYTHON_SITEPACKAGES_DIR}/astroid/__pycache__/test* \ +" + +RDEPENDS_${PN}_class-target += "\ ${PYTHON_PN}-backports-functools-lru-cache \ + ${PYTHON_PN}-distutils \ + ${PYTHON_PN}-enum34 \ + ${PYTHON_PN}-lazy-object-proxy \ + ${PYTHON_PN}-logging \ ${PYTHON_PN}-re \ + ${PYTHON_PN}-setuptools \ ${PYTHON_PN}-singledispatch \ + ${PYTHON_PN}-six \ ${PYTHON_PN}-subprocess \ + ${PYTHON_PN}-wrapt \ +" + +RDEPENDS_${PN}-tests_class-target += "\ + ${PYTHON_PN}-unittest \ + ${PYTHON_PN}-xml \ " |