python3-automat: consolidate inc and bb files into a single bb file

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Derek Straka 2020-02-09 19:55:10 -05:00 committed by Khem Raj
parent 04cd18f1d9
commit 6b9db4343a
3 changed files with 21 additions and 26 deletions

View File

@ -1,24 +0,0 @@
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] = "47e980a48201a1dabe37fa11f0187013"
SRC_URI[sha256sum] = "269a09dfb063a3b078983f4976d83f0a0d3e6e7aaf8e27d8df1095e09dc4a484"
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 \
"

View File

@ -1,2 +1,21 @@
inherit setuptools3
require python-automat.inc
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"
SRC_URI[md5sum] = "47e980a48201a1dabe37fa11f0187013"
SRC_URI[sha256sum] = "269a09dfb063a3b078983f4976d83f0a0d3e6e7aaf8e27d8df1095e09dc4a484"
DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
SRC_URI_append = " \
file://0001-setup.py-remove-the-dependency-on-m2r.patch \
"
PYPI_PACKAGE = "Automat"
inherit pypi setuptools3
RDEPENDS_${PN} += "\
${PYTHON_PN}-attrs \
${PYTHON_PN}-six \
"