diff options
author | Pascal Bach <pascal.bach@siemens.com> | 2017-04-21 15:20:15 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-04-26 20:13:29 +0200 |
commit | 8c1c8c269b3e798cd410326ed6c4ff25bc7c290d (patch) | |
tree | 47c865b46e43290274b3d31c5be56604c3f6d1ce /meta-python | |
parent | f420757d1c31dc2c752321e7589357d25d6ce9d8 (diff) | |
download | meta-openembedded-8c1c8c269b3e798cd410326ed6c4ff25bc7c290d.tar.gz |
python3-setuptools-scm: make version available for both Python 2 & 3
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python')
3 files changed, 18 insertions, 15 deletions
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 000000000..324987093 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-setuptools-scm.inc | |||
@@ -0,0 +1,14 @@ | |||
1 | SUMMARY = "the blessed package to manage your versions by scm tags" | ||
2 | LICENSE = "MIT" | ||
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=838c366f69b72c5df05c96dff79b35f2" | ||
4 | |||
5 | SRC_URI[md5sum] = "b6916c78ed6253d6602444fad4279c5b" | ||
6 | SRC_URI[sha256sum] = "daf12d05aa2155a46aa357453757ffdc47d87f839e62114f042bceac6a619e2f" | ||
7 | |||
8 | PYPI_PACKAGE = "setuptools_scm" | ||
9 | inherit pypi | ||
10 | |||
11 | RDEPENDS_${PN}_class-target = "${PYTHON_PN}-py ${PYTHON_PN}-setuptools ${PYTHON_PN}-argparse ${PYTHON_PN}-debugger ${PYTHON_PN}-json" | ||
12 | RDEPENDS_${PN}_class-native = "${PYTHON_PN}-setuptools-native" | ||
13 | |||
14 | BBCLASSEXTEND = "native" | ||
diff --git a/meta-python/recipes-devtools/python/python-setuptools-scm_1.15.0.bb b/meta-python/recipes-devtools/python/python-setuptools-scm_1.15.0.bb index 08008cec0..5f9bb0b5c 100644 --- a/meta-python/recipes-devtools/python/python-setuptools-scm_1.15.0.bb +++ b/meta-python/recipes-devtools/python/python-setuptools-scm_1.15.0.bb | |||
@@ -1,15 +1,2 @@ | |||
1 | SUMMARY = "the blessed package to manage your versions by scm tags" | 1 | inherit setuptools |
2 | LICENSE = "MIT" | 2 | require python-setuptools-scm.inc |
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=838c366f69b72c5df05c96dff79b35f2" | ||
4 | |||
5 | SRC_URI[md5sum] = "b6916c78ed6253d6602444fad4279c5b" | ||
6 | SRC_URI[sha256sum] = "daf12d05aa2155a46aa357453757ffdc47d87f839e62114f042bceac6a619e2f" | ||
7 | |||
8 | PYPI_PACKAGE = "setuptools_scm" | ||
9 | |||
10 | RDEPENDS_${PN}_class-target = "python-py python-setuptools python-argparse python-debugger python-json" | ||
11 | RDEPENDS_${PN}_class-native = "python-setuptools-native" | ||
12 | |||
13 | BBCLASSEXTEND = "native" | ||
14 | |||
15 | inherit pypi setuptools | ||
diff --git a/meta-python/recipes-devtools/python/python3-setuptools-scm_1.15.0.bb b/meta-python/recipes-devtools/python/python3-setuptools-scm_1.15.0.bb new file mode 100644 index 000000000..5bf598387 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-setuptools-scm_1.15.0.bb | |||
@@ -0,0 +1,2 @@ | |||
1 | inherit setuptools3 | ||
2 | require python-setuptools-scm.inc | ||