From 8c1c8c269b3e798cd410326ed6c4ff25bc7c290d Mon Sep 17 00:00:00 2001 From: Pascal Bach Date: Fri, 21 Apr 2017 15:20:15 +0200 Subject: python3-setuptools-scm: make version available for both Python 2 & 3 Signed-off-by: Pascal Bach Signed-off-by: Martin Jansa --- .../recipes-devtools/python/python-setuptools-scm.inc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-setuptools-scm.inc (limited to 'meta-python/recipes-devtools/python/python-setuptools-scm.inc') diff --git a/meta-python/recipes-devtools/python/python-setuptools-scm.inc b/meta-python/recipes-devtools/python/python-setuptools-scm.inc new file mode 100644 index 0000000000..3249870934 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-setuptools-scm.inc @@ -0,0 +1,14 @@ +SUMMARY = "the blessed package to manage your versions by scm tags" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=838c366f69b72c5df05c96dff79b35f2" + +SRC_URI[md5sum] = "b6916c78ed6253d6602444fad4279c5b" +SRC_URI[sha256sum] = "daf12d05aa2155a46aa357453757ffdc47d87f839e62114f042bceac6a619e2f" + +PYPI_PACKAGE = "setuptools_scm" +inherit pypi + +RDEPENDS_${PN}_class-target = "${PYTHON_PN}-py ${PYTHON_PN}-setuptools ${PYTHON_PN}-argparse ${PYTHON_PN}-debugger ${PYTHON_PN}-json" +RDEPENDS_${PN}_class-native = "${PYTHON_PN}-setuptools-native" + +BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf