From cb00dea5885535d4faba25c42e3bcef7bc407599 Mon Sep 17 00:00:00 2001 From: Herb Kuta Date: Thu, 25 Apr 2019 11:54:28 -0700 Subject: [PATCH] DRAFT Add python3-pydocstyle_2.0.0.bb --- recipes-devtools/python/python-pydocstyle.inc | 17 +++++++++++++++++ .../python/python3-pydocstyle_2.0.0.bb | 5 +++++ 2 files changed, 22 insertions(+) create mode 100644 recipes-devtools/python/python-pydocstyle.inc create mode 100644 recipes-devtools/python/python3-pydocstyle_2.0.0.bb diff --git a/recipes-devtools/python/python-pydocstyle.inc b/recipes-devtools/python/python-pydocstyle.inc new file mode 100644 index 0000000..fe57320 --- /dev/null +++ b/recipes-devtools/python/python-pydocstyle.inc @@ -0,0 +1,17 @@ +# Copyright (c) 2019 LG Electronics, Inc. + +DESCRIPTION = "pydocstyle is a static analysis tool for checking compliance with Python docstring conventions" +HOMEPAGE = "https://github.com/PyCQA/pydocstyle" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" + +SRC_URI[md5sum] = "2be57712e2743d23949bafed957d8c86" +SRC_URI[sha256sum] = "49680b7ea8c18e911135167e9f6986a3829031b55f2c737e6d2c398df38aafb5" + +# It's the default tar.gz for v3.0.0 +PYPI_PACKAGE_EXT = "zip" + +inherit pypi + +BBCLASSEXTEND = "native" diff --git a/recipes-devtools/python/python3-pydocstyle_2.0.0.bb b/recipes-devtools/python/python3-pydocstyle_2.0.0.bb new file mode 100644 index 0000000..f6b6905 --- /dev/null +++ b/recipes-devtools/python/python3-pydocstyle_2.0.0.bb @@ -0,0 +1,5 @@ +# Copyright (c) 2019 LG Electronics, Inc. + +require python-pydocstyle.inc + +inherit setuptools3