mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-17 22:48:28 +00:00
python3-incremental: Consolidate in a single file
Consolidate inc and bb files into a single bb file. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
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 \
|
||||
"
|
||||
|
||||
# -native is needed to build python[3]-twisted, however, we need to take steps to
|
||||
# prevent a circular dependency. The build apparently does not use the part of
|
||||
# python-incremental which uses python-twisted, so this hack is OK.
|
||||
RDEPENDS_${PYTHON_PN}-incremental-native_remove = "${PYTHON_PN}-twisted-native"
|
||||
BBCLASSEXTEND = "native"
|
||||
@@ -1,2 +1,20 @@
|
||||
inherit setuptools3
|
||||
require python-incremental.inc
|
||||
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 setuptools3
|
||||
|
||||
RDEPENDS_${PN} += " \
|
||||
${PYTHON_PN}-twisted \
|
||||
${PYTHON_PN}-click \
|
||||
"
|
||||
|
||||
# -native is needed to build python[3]-twisted, however, we need to take steps to
|
||||
# prevent a circular dependency. The build apparently does not use the part of
|
||||
# python-incremental which uses python-twisted, so this hack is OK.
|
||||
RDEPENDS_${PYTHON_PN}-incremental-native_remove = "${PYTHON_PN}-twisted-native"
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
Reference in New Issue
Block a user