Commit e5860362 authored by Martin Jansa's avatar Martin Jansa Committed by Herb Kuta
Browse files

python3-{mypy,mypy-extensions,typed-ast,typing-extensions}: simplify


* we don't need sca description and score
* fold .inc into the recipe (we don't plan to have python2 version)
* use BBCLASSEXTEND to provide target recipe as well
* fix indentation
Signed-off-by: default avatarMartin Jansa <martin.jansa@lge.com>
parent ca927045
Showing with 38 additions and 62 deletions
+38 -62
inherit setuptools3
require python-mypy-extensions-native.inc
SRC_URI[md5sum] = "d14d945e5c54e7a61607e00fcfdbbcd5"
SRC_URI[sha256sum] = "37e0e956f41369209a3d5f34580150bcacfabaa57b33a15c0b25f4b5725e0812"
......@@ -6,4 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=0fe3219e2470a78c0d1837019b8b426e"
PYPI_PACKAGE = "mypy_extensions"
inherit pypi
inherit native
inherit setuptools3
SRC_URI[md5sum] = "d14d945e5c54e7a61607e00fcfdbbcd5"
SRC_URI[sha256sum] = "37e0e956f41369209a3d5f34580150bcacfabaa57b33a15c0b25f4b5725e0812"
BBCLASSEXTEND = "native"
{
"languages": [ "python" ],
"scope": [ "functional" ],
"buildspeed" : 5,
"execspeed": 10,
"quality": 9
}
{
"functional": [
"mypy.mypy.*"
]
}
DESCRIPTION = "Optional static typing for Python 3 and 2 (PEP 484)"
HOMEPAGE = "https://github.com/python/mypy"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=8d438618dacdddfdf08836bfe5e4b8a7"
DEPENDS += " \
${PYTHON_PN}-mypy-extensions-native \
${PYTHON_PN}-typed-ast-native \
${PYTHON_PN}-typing-extensions-native \
"
PYPI_PACKAGE = "mypy"
inherit pypi
inherit sca-sanity
FILES_${PN} += "${datadir}"
SRC_URI += "file://mypy.sca.description \
file://mypy.sca.score"
inherit native
do_install_append() {
install -d ${D}${datadir}
install ${WORKDIR}/mypy.sca.description ${D}${datadir}
install ${WORKDIR}/mypy.sca.score ${D}${datadir}
}
inherit setuptools3
require python-mypy-native.inc
SRC_URI[md5sum] = "ae3f2772193f0bfe0f7182993daef051"
SRC_URI[sha256sum] = "49925f9da7cee47eebf3420d7c0e00ec662ec6abb2780eb0a16260a7ba25f9c4"
SUMMARY = "Optional static typing for Python 3 and 2 (PEP 484)"
HOMEPAGE = "https://github.com/python/mypy"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=8d438618dacdddfdf08836bfe5e4b8a7"
RDEPENDS_${PN} = " \
${PYTHON_PN}-mypy-extensions \
${PYTHON_PN}-typed-ast \
${PYTHON_PN}-typing-extensions \
"
PYPI_PACKAGE = "mypy"
inherit pypi
inherit setuptools3
SRC_URI[md5sum] = "ae3f2772193f0bfe0f7182993daef051"
SRC_URI[sha256sum] = "49925f9da7cee47eebf3420d7c0e00ec662ec6abb2780eb0a16260a7ba25f9c4"
BBCLASSEXTEND = "native"
inherit setuptools3
require python-typed-ast-native.inc
SRC_URI[md5sum] = "9a3dd35e136427313465faa75f3110da"
SRC_URI[sha256sum] = "66480f95b8167c9c5c5c87f32cf437d585937970f3fc24386f313a4c97b44e34"
......@@ -7,4 +7,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=97f1494e93daf66a5df47118407a4c4f"
PYPI_PACKAGE = "typed_ast"
inherit pypi
inherit native
inherit setuptools3
SRC_URI[md5sum] = "9a3dd35e136427313465faa75f3110da"
SRC_URI[sha256sum] = "66480f95b8167c9c5c5c87f32cf437d585937970f3fc24386f313a4c97b44e34"
BBCLASSEXTEND = "native"
inherit setuptools3
require python-typing-extensions-native.inc
SRC_URI[md5sum] = "98510adbacf8ea74f46f98b0a5cbdf73"
SRC_URI[sha256sum] = "2ed632b30bb54fc3941c382decfd0ee4148f5c591651c9272473fea2c6397d95"
......@@ -7,4 +7,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=64fc2b30b67d0a8423c250e0386ed72f"
PYPI_PACKAGE = "typing_extensions"
inherit pypi
inherit native
inherit setuptools3
SRC_URI[md5sum] = "98510adbacf8ea74f46f98b0a5cbdf73"
SRC_URI[sha256sum] = "2ed632b30bb54fc3941c382decfd0ee4148f5c591651c9272473fea2c6397d95"
BBCLASSEXTEND = "native"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment