python-versiontools: add new recipe for python2/3

versiontools is a smart replacement for plain tuple used in __version__

close #21

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
This commit is contained in:
Jackie Huang 2019-07-29 11:24:45 +08:00 committed by Saul Wold
parent 6581c6435d
commit cf7bfee341
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