python-versiontools: add recipes for python2 and python3

python-versiontools is a smart replacement for plain
tuple used in __version__.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Jackie Huang
2019-09-29 13:42:38 +08:00
committed by Khem Raj
parent 80aca39963
commit e8a0323766
3 changed files with 14 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
SUMMARY = "Smart replacement for plain tuple used in __version__"
SECTION = "devel/python"
HOMEPAGE = "https://launchpad.net/versiontools"
LICENSE = "LGPLv3"
LIC_FILES_CHKSUM = "file://setup.py;beginline=3;endline=20;md5=02193721a38fd8a05a4ddeb7df8e294d"
inherit pypi
SRC_URI[md5sum] = "602b7db8eea30dd29a1d451997adf251"
SRC_URI[sha256sum] = "a969332887a18a9c98b0df0ea4d4ca75972f24ca94f06fb87d591377e83414f6"

View File

@@ -0,0 +1,2 @@
inherit setuptools
require python-versiontools.inc

View File

@@ -0,0 +1,2 @@
inherit setuptools3
require python-versiontools.inc